3 Replies Latest reply on Jun 16, 2004 10:03 AM by Sacha Labourey

    Jboss3.0.4_tomcat-4.1.12 and ECPerf 1.1

    yaumeileng Newbie

       

      "yaumeileng" wrote:
      I have downloaded the most updated copy pf JBOss-ecperf from source forge.
      I managed to deploy the ECperf and run at

      localhost:8080/ECperf and
      localhost:8080/Supplier/DeliveryServlet

      1)These works fine but not at
      localhost:8080/Emulator/EmulatorServlet

      with the return error:

      ++++++++++++++++++++++++++++
      HTTP Status 500 - Internal Server Error

      type Exception report

      message Internal Server Error

      description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: Servlet.init() for servlet Emulator threw exception
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:952)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
      at java.lang.Thread.run(Thread.java:534)

      root cause

      java.lang.VerifyError: (class: com/sun/jini/thread/WakeupManager, method: checkHead signature: ()V) Illegal use of nonvirtual function call
      at com.sun.ecperf.supplier.emulator.Scheduler.getScheduler(Scheduler.java:66)
      at com.sun.ecperf.supplier.emulator.Scheduler.(Scheduler.java:85)
      at com.sun.ecperf.supplier.emulator.EmulatorServlet.init(EmulatorServlet.java:133)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
      at java.lang.Thread.run(Thread.java:534)

      Apache Tomcat/4.1.12-LE-jdk14
      ++++++++++++++++++++++++++++

      Can anyone help me solve what's the main cause of the problem?


      2) Besides am having problem to buid the driver at

      ant -Dappserver=jboss driver

      with the error:
      ++++++++++++++++++++++++++++++++++++++++
      [root@intel1 ecperf]# ant -Dappserver=jboss driver
      Buildfile: build.xml

      compile:
      [echo] The classpath for compilation is /usr/local/jboss-3.0.4_tomcat-4.1.12/server/default/lib/jboss-j2ee.jar:jars/xerces.jar

      driver:
      [rmic] RMI Compiling 4 classes to /ecperf/classes

      BUILD FAILED
      file:/ecperf/build.xml:137: Cannot use SUN rmic, as it is not available. A common solution is to set the environment variable JAVA_HOME or CLASSPATH.

      ++++++++++++++++++++++++++++++++++++++++
      I have already set my JAVA_HOME and CLASSPATH at the conf/jboss.env. If it is not working my ECPerf and Supplier wouldn't have having. But why is the build fail?

      Please advice:

      Thanx: meileng


        • 1. Re: Jboss3.0.4_tomcat-4.1.12 and ECPerf 1.1
          yaumeileng Newbie

           

          "yaumeileng" wrote:
          I have downloaded the most updated copy pf JBOss-ecperf from source forge.
          I managed to deploy the ECperf and run at

          localhost:8080/ECperf and
          localhost:8080/Supplier/DeliveryServlet

          1)These works fine but not at
          localhost:8080/Emulator/EmulatorServlet

          with the return error:

          ++++++++++++++++++++++++++++
          HTTP Status 500 - Internal Server Error

          type Exception report

          message Internal Server Error

          description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.

          exception

          javax.servlet.ServletException: Servlet.init() for servlet Emulator threw exception
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:952)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
          at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
          at java.lang.Thread.run(Thread.java:534)

          root cause

          java.lang.VerifyError: (class: com/sun/jini/thread/WakeupManager, method: checkHead signature: ()V) Illegal use of nonvirtual function call
          at com.sun.ecperf.supplier.emulator.Scheduler.getScheduler(Scheduler.java:66)
          at com.sun.ecperf.supplier.emulator.Scheduler.(Scheduler.java:85)
          at com.sun.ecperf.supplier.emulator.EmulatorServlet.init(EmulatorServlet.java:133)
          at javax.servlet.GenericServlet.init(GenericServlet.java:256)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
          at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
          at java.lang.Thread.run(Thread.java:534)

          Apache Tomcat/4.1.12-LE-jdk14
          ++++++++++++++++++++++++++++

          Can anyone help me solve what's the main cause of the problem?


          2) Besides am having problem to buid the driver at

          ant -Dappserver=jboss driver

          with the error:
          ++++++++++++++++++++++++++++++++++++++++
          [root@intel1 ecperf]# ant -Dappserver=jboss driver
          Buildfile: build.xml

          compile:
          [echo] The classpath for compilation is /usr/local/jboss-3.0.4_tomcat-4.1.12/server/default/lib/jboss-j2ee.jar:jars/xerces.jar

          driver:
          [rmic] RMI Compiling 4 classes to /ecperf/classes

          BUILD FAILED
          file:/ecperf/build.xml:137: Cannot use SUN rmic, as it is not available. A common solution is to set the environment variable JAVA_HOME or CLASSPATH.

          ++++++++++++++++++++++++++++++++++++++++
          I have already set my JAVA_HOME and CLASSPATH at the conf/jboss.env. If it is not working my ECPerf and Supplier wouldn't have having. But why is the build fail?

          Please advice:

          Thanx: meileng


          • 2. Re: Jboss3.0.4_tomcat-4.1.12 and ECPerf 1.1
            Amit Tyagi Newbie

            use
            ant -Dappserver-jboss clean
            ant -Dappserver-jboss driver

            • 3. Re: Jboss3.0.4_tomcat-4.1.12 and ECPerf 1.1
              Sacha Labourey Master

              and please use a recent optimized version, like 3.2.4 or at least 3.2.3. 3.0.4 is very old and hasn't gone through the same steps of optimisation has the 3.2.x (x>3) branch.

              Cheers,

              sacha