I am using the following software:
Windows 2000
Eclipse 2.0 (final release)
Sun JDK 1.4.0_01
JBoss 3.0.0 with embedded Jetty servlet engine
Genuitec EASIE JBoss Plugin version 1.0EA5
( http://www.genuitec.com/products.htm )
In the Eclipse JBoss Plugin preferences page, I have:
"Optional Java VM arguments" set to "-Djboss.boot.loader.name=run.bat"
When I click on "Start JBoss", JBoss starts up.
During startup, I observe this message:
20:35:12,249 WARN [Jetty] JSP compilation requires $JAVA_HOME/lib/tools.jar
on your JBOSS_CLASSPATH
Later, I try accessing a JSP page
http://localhost:8080/menloexample/Simple.jsp
I observe this error:
20:35:54,077 WARN [Jetty] WARNING: Servlet Exception for
/menloexample/Simple.jsp
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:176)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:188)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:607)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1387)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1326)
at org.mortbay.http.HttpServer.service(HttpServer.java:757)
at org.jboss.jetty.Jetty.service(Jetty.java:527)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:742)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:915)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:757)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:151)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
at java.lang.Thread.run(Thread.java:536)
If I start JBoss from the command line ( using JBoss' run.bat file ),
Jetty serves JSP pages without any errors.
The JSP problems occur only when I run JBoss within the
Eclipse / Easie Plugin.
Do you have any advice?
Thanks.
-Sean
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user