--
Hi,
I installed Apache Server Win32 1.3.6 + Jserv 1.0 + GnuJSP 0-9-10
under WIN95, I hope correctly .
When I try to activate a simple servlet or a simple jsp page all seem to
work well.
I built a simple jsp file including the <BEAN name="tester"
type="test.TestBean"></BEAN> directive,
gnujsp compiles correctly without error messages and it produces files
under the corrisponding servlet directory but the Jserv return always
the following error
in the mod_jserv.log:
[08/07/1999 16:33:38:890] (ERROR) ajp11: Servlet Error:
java.lang.NoClassDefFoundError: test/TestBean: test/TestBean
[08/07/1999 16:33:38:890] (ERROR) an error returned handling request via
protocol "ajpv11"
in the jserv.log file:
[08/07/1999 18:31:30:800 GMT+02:00] ApacheJServ/1.0 is starting...
[08/07/1999 18:31:30:800 GMT+02:00] WARNING: connection authentication
is disabled
[08/07/1999 18:31:31:130 GMT+02:00] Connection allowed from
194.184.120.186/194.184.120.186
[08/07/1999 18:31:31:130 GMT+02:00] Listening on port 8007 accepting 50
maximum connections
[08/07/1999 18:31:31:240 GMT+02:00] Creating Servlet Zones
[08/07/1999 18:33:15:220 GMT+02:00] gnujsp/org.gjt.jsp.JSPServlet: init
[08/07/1999 18:33:38:450 GMT+02:00]
gnujsp/_jsp._C_3a._Programmi._Apache_20Group._Apache._htdocs._test_2ejsp:
init
[08/07/1999 18:33:38:830 GMT+02:00] java.lang.NoClassDefFoundError:
test/TestBean
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
Under this class dir:
_jsp._C_3a._Programmi._Apache_20Group._Apache._htdocs.
there is also the test/TestBean
in the error.log (Apache Server)
java.lang.NoClassDefFoundError: test/TestBean
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
I tried to set in many way the classpath whitout results.
Please could you someone help me?
---------
The java configuration for my JSERV.properties is:
wrapper.bin=C:\jdk1.2\bin\java.exe
wrapper.classpath=C:\Programmi\Apache Group\Apache JServ\ApacheJServ.jar
wrapper.classpath=C:\JSDK2.0\lib\jsdk.jar
wrapper.classpath=C:\jdk1.2\lib\tools.jar
wrapper.classpath=C:\Programmi\Apache Group\gnujsp\lib\gnujsp.jar
the other directive are equal to the original provided in the
installation.
The java configuration for my Zone.properties is :
repositories=C:\Programmi\Apache Group\Apache
JServ\servlets\java,C:\Programmi\Apache
Group\gnujsp\lib\gnujsp.jar,C:\Programmi\Apache Group\Apache
JServ\servlets
servlet.gnujsp.code=org.gjt.jsp.JSPServlet
servlet.gnujsp.initArgs=repository=C:\Programmi\Apache Group\Apache
JServ\servlets\java
the other directives are equal to the original provided in the
installation.
Thank you in advance
Daniela
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]