Bugs item #985975, was opened at 2004-07-06 06:33 Message generated for change (Comment added) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=985975&group_id=22866
Category: CatalinaBundle Group: v4.0 >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Gerry Reno (grenoml) Assigned to: Scott M Stark (starksm) Summary: Cygwin 1.5.9: jboss-4.0.0DR4: jmx-console: Unable to compile Initial Comment: I downloaded jboss-4.0.0DR4 to my Cygwin 1.5.9 (running on Windows XP Pro). I previously had installed J2SE 1.5.0beta. When I run the run.sh script the server starts fine but when I access the jmx console with http://localhost:8080/jmx-console I get this error: -------------------------------------------------------------------- HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406) org.apache.jasper.compiler.Compiler.compile(Compiler.java:463) org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs. Apache Tomcat/5.0.25 -------------------------------------------------------------------- Log shows same error. The error is saying to copy the tools.jar into common/lib directory. I didn't find a common/lib so I tried copying tools.jar to server/default/lib and then server/all/lib. Next tried moving tools.jar to server/default/deploy/jbossweb-tomcat50.sar and restarting. None of these worked. Still getting same error. Here are the startup values: JBoss Bootstrap Environment JBOSS_HOME: C:\cygwin\usr\local\jboss-4.0.0DR4 JAVA: /cygdrive/c/PROGRA~1/java/j2sdk1.5.0/bin/java JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh CLASSPATH: C:\cygwin\usr\local\jboss-4.0.0DR4\bin\run.jar;c:\PROGRA~1\java\j2sdk1.5.0\lib\tools.jar ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2004-08-07 10:57 Message: Logged In: YES user_id=175228 This works fine with jdk-1.5.0beta2 and 4.0.0RC1. ---------------------------------------------------------------------- Comment By: Gerry Reno (grenoml) Date: 2004-07-08 07:47 Message: Logged In: YES user_id=753835 I uninstalled J2SE 5.0 and reinstalled J2SE 1.4.2 and the problem went away so this appears to be related to some incompatibility between JBoss 4.0.0DR4 and J2SE 5.0. ---------------------------------------------------------------------- Comment By: Gerry Reno (grenoml) Date: 2004-07-06 12:42 Message: Logged In: YES user_id=753835 Reinstalled J2SE to a path without spaces (just to be safe) and no improvement. Same error occurs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=985975&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
