9 Replies Latest reply on Sep 6, 2002 5:25 AM by Adrian Brock

    configuring jboss-service for jetty in 3.0.2 has following e

    Sudhi Newbie

      09:53:36,042 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
      -3.0.2/server/ePeople/deploy/jmx-console.war/
      09:53:36,062 ERROR [MainDeployer] DeploymentException while trying to deploy a p
      ackage with a new deployer
      org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/
      jboss-3.0.2/server/ePeople/deploy/jmx-console.war/; - nested throwable: (javax.x
      ml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.DocumentB
      uilderFactoryImpl not found)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:822)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:224)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSuppo
      rt.java:98)
      at org.jboss.jetty.JettyService.startService(JettyService.java:172)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      64)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:967)
      at $Proxy5.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:427)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:553)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:202)
      + nested throwable:
      javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.Do
      cumentBuilderFactoryImpl not found
      at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
      actory.java:109)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer
      .java:873)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:29
      8)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:224)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSuppo
      rt.java:98)
      at org.jboss.jetty.JettyService.startService(JettyService.java:172)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      64)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:967)
      at $Proxy5.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:427)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:553)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:202)
      09:53:37,013 INFO [jbossweb] Starting Jetty/4.1
      09:53:37,023 INFO [jbossweb] Started org.mortbay.http.NCSARequestLog@62c841
      09:53:37,053 INFO [jbossweb] Started SocketListener on 0.0.0.0:81
      09:53:37,073 INFO [jbossweb] Started org.jboss.jetty.Jetty@4efde4
      09:53:37,073 INFO [JettyService] Started
      09:53:37,083 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.0.2/server/
      ePeople/deploy/jbossweb.sar/

        • 1. Re: configuring jboss-service for jetty in 3.0.2 has followi
          Adrian Brock Master

          What changes have you made to create the configuration
          ePeople?

          Regards,
          Adrian

          • 2. Re: configuring jboss-service for jetty in 3.0.2 has followi
            Sudhi Newbie

            I have created a direcotry called epeople and copied all the files under all to epeople.
            Then, added oracle-service to server/epeople/deploy/ directroy.
            copied all jars to repsective sub directory. of deply.

            thanks
            sudhi

            • 3. Re: configuring jboss-service for jetty in 3.0.2 has followi
              Adrian Brock Master

              "Copied all jars to respective sub directory of deploy"?

              I can't help you unless you are more specific.

              Try
              ./run.sh -c all

              if that works
              copy all to ePeople
              try
              ./run.sh -c ePeople

              if that works make the changes one at time until you
              hit he problem.

              Regards,
              Adrian

              • 4. Re: configuring jboss-service for jetty in 3.0.2 has followi
                Sudhi Newbie

                Hi alex
                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 "epeople"
                2. From c:\jboss-3.0.2\bin > run -c epeople
                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



                • 5. Re: configuring jboss-service for jetty in 3.0.2 has followi
                  Adrian Brock Master

                  Those classes should now be in
                  epeople/lib/javax.servlet.jar

                  Is that jar being loaded?

                  Regards,
                  Adrian

                  • 6. Re: configuring jboss-service for jetty in 3.0.2 has followi
                    Sudhi Newbie

                    javax.servlet.jar is present @ epeople/lib directory.
                    This is after having servlet.jar in lib directory.

                    pls help.

                    thanks
                    sudhi

                    • 7. Re: configuring jboss-service for jetty in 3.0.2 has followi
                      Adrian Brock Master

                      You have javax.servlet.jar and servlet.jar?

                      Regards,
                      Adrian

                      • 8. Re: configuring jboss-service for jetty in 3.0.2 has followi
                        Sudhi Newbie

                        oops am sorry for confusion
                        I have only javax.servlet.jar

                        thanks
                        sudhi

                        • 9. Re: configuring jboss-service for jetty in 3.0.2 has followi
                          Adrian Brock Master

                          The javax.servlet.jar is being loaded?

                          Do you have any jars in
                          ${java.home}/jre/lib/ext
                          or ${JBOSS.CLASSPATH}
                          that are not there by default?

                          This can sometimes cause confusion.

                          Regards,
                          Adrian