0 Replies Latest reply on Sep 4, 2002 5:38 PM by Sudhi

    Jboss default  directory customization

    Sudhi Newbie

      Hi
      I am trying to customize the directory structure of JBOsss to suit our requirements (porting from weblogic to jboss)

      I followed the steps below

      1. Renamed the directory all to "sudhi"
      2. From c:\jboss-3.0.2\bin > run -c sudhi
      3. The ejb jar file gets deployed. It seems to be working fine.
      4. on browser I point to "http://localhost:8080/jmx-console
      I get exception as follows. I know Servlet package is mising.. but where, how and why... (bit confused) can anyone help.
      Here is the stack trace if intered


      13:44:08,321 WARN [jbossweb] WARNING: Exception for /jmx-console/
      org.apache.jasper.JasperException: Unable to compile class for JSP
      C:\DOCUME~1\SUDHEN~1\LOCALS~1\Temp\Jetty__8080___jmx-console\index$jsp.java:3: P
      ackage javax.servlet not found in import.
      import javax.servlet.*;
      ^

      C:\DOCUME~1\SUDHEN~1\LOCALS~1\Temp\Jetty__8080___jmx-console\index$jsp.java:4: P
      ackage javax.servlet.http not found in import.
      import javax.servlet.http.*;
      ^

      C:\DOCUME~1\SUDHEN~1\LOCALS~1\Temp\Jetty__8080___jmx-console\index$jsp.java:5: P
      ackage javax.servlet.jsp not found in import.
      import javax.servlet.jsp.*;
      ^

      C:\DOCUME~1\SUDHEN~1\LOCALS~1\Temp\Jetty__8080___jmx-console\index$jsp.java:6: P
      ackage org.apache.jasper.runtime not found in import.
      import org.apache.jasper.runtime.*;
      ^

      C:\DOCUME~1\SUDHEN~1\LOCALS~1\Temp\Jetty__8080___jmx-console\index$jsp.java:9: S
      uperclass org.apache.jsp.HttpJspBase of class org.apache.jsp.index$jsp not found
      .
      public class index$jsp extends HttpJspBase {
      ^
      5 errors

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:289)
      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:344
      )
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
      onHandler.java:313)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:204)
      at org.mortbay.jetty.servlet.Default.handleGet(Default.java:222)
      at org.mortbay.jetty.servlet.Default.service(Default.java:142)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344
      )
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
      onHandler.java:313)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
      54)
      at org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplication
      Handler.java:199)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
      at org.mortbay.http.HttpServer.service(HttpServer.java:795)
      at org.jboss.jetty.Jetty.service(Jetty.java:531)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
      186)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
      at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
      at java.lang.Thread.run(Thread.java:479)

      13:44:08,331 WARN [jbossweb] WARNING: Reserve: 1185>512
      13:44:08,331 WARN [jbossweb] WARNING: New reserve: 3500+1185>=4096