[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
AW:
- One thing I miss in the compiler call is the
scratchdir D:\Program Files\Apache Group\Apache\WWW
in the classpath.
But I don't think that's the main problem.
- Can you post/send your config?
> -----Ursprüngliche Nachricht-----
> Von: Malinowski, Dariusz [mailto:DARIUSZ.MALINOWSKI@ca.com]
> Gesendet: Dienstag, 12. Dezember 2000 16:44
> An: gnujsp@career.gjt.org
> Betreff:
>
>
> Hi,
>
> I have just installed Apache 1.3.9, JServ 1.1.1 and GNUjsp
> 1.0.1 in Windows2000.
> I test the running servlets work correctly but have problems
> with running JSP.
> I tried to run a sample hello.jsp but I received
>
> HTTP 500 - Internal server error
> Internet Explorer
>
>
> I checked the jserv.log
>
> [12/12/2000 16:00:59:006 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: started
> [12/12/2000 16:00:59:006 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: Debugging enabled.
> [12/12/2000 16:00:59:006 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: $Id: JspServlet.java,v 1.55
> 2000/09/07 15:39:06 alph Exp $
> [12/12/2000 16:00:59:016 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: compiler = 'builtin-javac
> -classpath
> "%classpath%;%scratchdir%;D:\jdk1.3\jre\lib\rt.jar;D:\jdk1.3\l
> ib\tools.jar;D:\Program
> Files\gnujsp-1.0.1\lib\servlet-2.0-plus.jar;D:\Program
> Files\gnujsp-1.0.1\lib\gnujsp10.jar" -d %scratchdir%
> -depracation %source%'
> [12/12/2000 16:00:59:016 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: scratchdir = 'D:\Program
> Files\Apache Group\Apache\WWW'
> [12/12/2000 16:00:59:016 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: checkDeps = true
> [12/12/2000 16:00:59:016 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pagebase = null
> [12/12/2000 16:00:59:016 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: needsPageBase= false
> [12/12/2000 16:00:59:016 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: usePackages = true
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getServInfo:
> 'ApacheJServ/1.1.1/ GNUJSP 1.0.1 wrapper'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.os.name : 'Windows 2000'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.os.arch : 'x86'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.os.version : '5.0'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.java.vendor: 'Sun
> Microsystems Inc.'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.java.versi : '1.3.0'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.java.clvers: '47.0'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: JspServlet: initialized
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: service started
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: PathInfo = '/hello.jsp'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: RequestURI = '/hello.jsp'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: ServletPath = '/alph/gnujsp'
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getPageForURI: uri=/hello.jsp
> [12/12/2000 16:00:59:036 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getPageForURI: key=/hello.jsp
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: getResourceImpl:
> pathdebug.path : '/hello.jsp'
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: getResourceImpl:
> pathDebug.includePath: null
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.jsdk20 : yes
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.pagebase : null
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getRealPath: null
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getPathTran:
> 'd:\program files\apache group\apache\www\hello.jsp'
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getReqURI : '/hello.jsp'
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getPathInfo: '/hello.jsp'
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: pathdebug.getServPath: '/alph/gnujsp'
> [12/12/2000 16:00:59:066 GMT+01:00]
> gnujsp/org.gjt.jsp.JspServlet: getResIm: return
file:d:/program files/apache group/apache/www/hello.jsp
[12/12/2000 16:00:59:066 GMT+01:00] gnujsp/org.gjt.jsp.JspServlet:
Parsing file:d:/program files/apache group/apache/www/hello.jsp
[12/12/2000 16:00:59:086 GMT+01:00] gnujsp/org.gjt.jsp.JspServlet:
Depends on file:d:/program files/apache group/apache/www/hello.jsp
[12/12/2000 16:00:59:086 GMT+01:00] gnujsp/org.gjt.jsp.JspServlet:
file:d:/program files/apache group/apache/www/hello.jsp timestamp
976631814159
[12/12/2000 16:00:59:086 GMT+01:00] gnujsp/org.gjt.jsp.JspServlet:
Emitting source to D:\Program Files\Apache
Group\Apache\WWW\jsp\_hello_2ejsp.java
[12/12/2000 16:00:59:106 GMT+01:00] gnujsp/org.gjt.jsp.JspServlet:
Compiling D:\Program Files\Apache Group\Apache\WWW\jsp\_hello_2ejsp.java
[12/12/2000 16:00:59:106 GMT+01:00] gnujsp/org.gjt.jsp.JspServlet:
Compiler command: builtin-javac -classpath D:\Program Files\Apache JServ
1.1.1\ApacheJServ.jar;d:\Program
Files\gnujsp-1.0.1\lib\servlet-2.0-plus.jar;D:\jdk1.3\jre\lib\rt.jar;D:\
jdk1.3\lib\tools.jar;D:\Program
Files\gnujsp-1.0.1\lib\servlet-2.0-plus.jar;D:\Program
Files\gnujsp-1.0.1\lib\gnujsp10.jar -d D:\Program Files\Apache
Group\Apache\WWW -depracation D:\Program Files\Apache
Group\Apache\WWW\jsp\_hello_2ejsp.java
So it seems that it stops during compiling phase. In Apache log file I
found
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServlet
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
Exception in thread "main"
But it strange because I added all needed classes for "classpath"
parameter
Darek