Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apache, Sun One ASP and Java

807567Jun 15 2003 — edited Jun 16 2003
Hello,

I want to access a custom Java Object from Sun One ASP 4 installed with Apache 1.3.27.
The samples included with the ChiliBean works very well, but when I try to run my own class, the system allways tell me that he cannot find the class.
The System Classpath is set ok, I can run the class from the command line.
My system is Windows 2000 with Apache 1.3.27 and JRE 1.4.

This is the error:

ChiliBean Control error '800a03e8'

java.lang.NoClassDefFoundError: test/testClass

/index.asp, line 3


The ASP file is as follow:

<%

Set vobj=NewJavaObject("test.testClass")
Set version=vobj.main()

%>

I can run it from the command line:

java test.testClass

with no problem, the JAR of the class is on the system classpath.

How can I specify the ClassPath to the Sun ONE ASP with apache? The docs only explain how to do that in Unix...

thank you very much!
Diego Dal Cero.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2003
Added on Jun 15 2003
1 comment
161 views