|
Hi All,
I am facing problem in running .jsp file in
Jboss3.0.4.
I have installed Jboss3.0.4 with jetty option on
Red Hat Linux7.2.
I am getting below exception
>>>>>>>>>>>
**************************************************************
17:03:24,468 WARN [jbossweb] WARNING:
Exception for /test/doc.jsp
java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.ja va:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessar y(JspServlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 81) 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:366 ) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati onHandler.java:293) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5 81) at org.mortbay.http.HttpContext.handle(HttpContext.java:1687) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication Context.java:544) at org.mortbay.http.HttpContext.handle(HttpContext.java:1637) at org.mortbay.http.HttpServer.service(HttpServer.java:875) at org.jboss.jetty.Jetty.service(Jetty.java:543) at org.mortbay.http.HttpConnection.service(HttpConnection.java:806) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java: 203) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290) at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743) at java.lang.Thread.run(Thread.java:484) *****************************************************************
When I started the server I got following
error>>>>>>>>>>>>
run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE. If anyone faced the similar kind of problem earlier
pl help ?
What can be possible cause and
solution?
Pl help .
Thanks in advance.
Brijesh Tripathi Software Engg SOLiTAR Systems (India) P Ltd 82 Udyog Vihar, Phase IV Gurgaon, India |
- Re: [JBoss-user] Jsp compilation Problem with Jboss3.0... Brijesh
- Re: [JBoss-user] Jsp compilation Problem with Jbo... Thomas Lionel SMETS
