Re: [SourceJammer-users] Re: Web Browsing Problem
Brought to you by:
robertmacgrogan
From: Robert M. <rob...@ya...> - 2002-02-11 15:04:33
|
Excellent. Thanks for responding, Stan. This problem is new to 1.1, and I think it was introduced because of the web-browsing element. I'm not really sure why sun/tools/javac/Main is not accessible from the JRE. I suppose I could check on java.sun.com, though. --Rob --- gpduck <gp...@ti...> wrote: > Thanks that worked! > > Stan Wong writes: > > > Chris, > > > > I had a similar problem except on a Linux server. > The problem in my > > case was that I was missing the file tools.jar. > It turns out that > > tools.jar is not included in the JRE. Once I > downloaded and installed > > the JDK and pointed to it this error went away. > If this is your > > problem then you can get the JDK from Sun at: > > > > http://java.sun.com/j2se/1.3/ > > > > and select 'Windows' (the other choices are > Solaris and Linux). > > I started with server 1.1 so I don't know if this > was something > > introduced between 1.0 and 1.1. Good luck. > > > > Stan > > > > > > gpduck wrote: > >> I have upgraded my SJ server to 1.1 and like the > changes I see. I am > >> having a problem with the web browsing feature > though. Here is the error > >> message I am getting: > >> Error: 500 > >> Location: /sourcejammer/index.jsp > >> Internal Servlet Error: > >> javax.servlet.ServletException: > sun/tools/javac/Main > >> at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java, > > >> Compiled Code) > >> at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > >> at > >> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) > >> at > org.apache.tomcat.core.Handler.service(Handler.java:287) > >> at > >> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > >> at > >> > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java > > >> :80 6) > >> at > >> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) > >> at > >> > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Ht > > >> tpC onnectionHandler.java:213) > >> at > >> > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, > > >> Compiled Code) > >> at > >> > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, > > >> Compiled Code) > >> at java.lang.Thread.run(Unknown Source) > >> Root cause: > >> java.lang.NoClassDefFoundError: > sun/tools/javac/Main > >> at > >> > org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:1 > > >> 36) > >> > >> at > org.apache.jasper.compiler.Compiler.compile(Compiler.java, > > >> Compiled Code) > >> at > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612) > >> at > >> > org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) > >> at > org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542) > >> at > >> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Js > > >> pSe rvlet.java:258) > >> at > >> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet > > >> .ja va:268) > >> at > >> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) > >> at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java, > > >> Compiled Code) > >> at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > >> at > >> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) > >> at > org.apache.tomcat.core.Handler.service(Handler.java:287) > >> at > >> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > >> at > >> > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java > > >> :80 6) > >> at > >> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) > >> at > >> > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Ht > > >> tpC onnectionHandler.java:213) > >> at > >> > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, > > >> Compiled Code) > >> at > >> > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, > > >> Compiled Code) > >> at java.lang.Thread.run(Unknown Source) > >> I should note that I am running the server as a > service on a Win 2000 > >> Professional machine. The only difference I > think this makes is that > >> instead of executing start_sourcejammer.bat and > tomcat_sj.bat I am > >> starting from a file called wrapper.properties > that is provided with > >> Tomcat. I have modified this file to include the > jar's for SJ in the > >> classpath and to start Tomcat using the > server_sourcejammer.xml file. I > >> have no idea if any of this could be causing the > error. Let me know what > >> you think. > >> Chris > >> > >> _______________________________________________ > >> SourceJammer-users mailing list > >> Sou...@li... > >> > https://lists.sourceforge.net/lists/listinfo/sourcejammer-users > > >> > > > > > > > > > > _______________________________________________ > > SourceJammer-users mailing list > > Sou...@li... > > > https://lists.sourceforge.net/lists/listinfo/sourcejammer-users > > > _______________________________________________ > SourceJammer-users mailing list > Sou...@li... > https://lists.sourceforge.net/lists/listinfo/sourcejammer-users __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com |