Author Topic: Exception in run the specjappserver2004  (Read 523 times)

elnino

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Exception in run the specjappserver2004
« on: January 23, 2015, 06:28:21 AM »
Hi Spec members,

I encountered problem in configuring appserver workload.

I passed the Atomicity Tests, but when I ran the client, there was some problem
the log in the client console was:

    -> O1:43: error adding cars to cart for customer 124 - Part 2 java.lang.NullPointerException
    -> O1:723: error adding cars to cart for customer 37 - Part 2 java.lang.NullPointerException
    -> O1:431: error adding cars to cart for customer 421 - Part 2 java.lang.NullPointerException



and the log in glassfish is :

  [org.spec.jappserver.orders.itemBrowserSes.ejb.ItemBrowserSesEJB]: Cannot load from  BACKUPSTORE FOR Key:

<[6690ac5e001c1f-1607fc90-78]>]]

javax.ejb.NoSuchObjectLocalException: The EJB does not exist. session-key: 6690ac5e001c1f-1607fc90-78
        at com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulSessionContainer.java:1626)
        at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2579)
        at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1971)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke

(EJBLocalObjectInvocationHandler.java:210)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke

(EJBLocalObjectInvocationHandler.java:135)
        at com.sun.proxy.$Proxy247.browseForward(Unknown Source)
        at org.spec.jappserver.servlet.helper.SpecAction_Local.getVehicleQuotes(SpecAction_Local.java:365)
        at org.spec.jappserver.servlet.helper.SpecServletAction.doVehicleQuotes(SpecServletAction.java:690)
        at org.spec.jappserver.servlet.SpecAppServlet.performTask(SpecAppServlet.java:200)
        at org.spec.jappserver.servlet.SpecAppServlet.doGet(SpecAppServlet.java:96)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
        at org.apache.catalina.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call

(ContainerMapper.java:459)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
        at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
        at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
        at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart

(DefaultFilterChain.java:201)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
        at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
        at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100

(WorkerThreadIOStrategy.java:56)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run

(WorkerThreadIOStrategy.java:137)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Thread.java:744)
]]





Thanks for your help.


AnoopGupta

  • Moderator
  • Jr. Member
  • *****
  • Posts: 60
  • Karma: +0/-0
Re: Exception in run the specjappserver2004
« Reply #1 on: January 28, 2015, 02:22:06 PM »
If the Atomicity tests are passing, but the run has such errors, the likely cause is that the database was loaded at a lower rate than required by SPECvirt.
SPECvirt requires DB to be loaded at IR 500.

For loading, set txRate=500 in:
/opt/SPECjAppServer2004/config/run.properties
After loading, for run, switch it back to txRate=100.
Please see User Guide section 2.5 for details.

elnino

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: Exception in run the specjappserver2004
« Reply #2 on: January 28, 2015, 08:10:58 PM »
Thanks for your help, I had soloved that problem, but there is another error in running.
this is the part of primectrl.out:

2015-01-27 10:01:58:325 PrimeControl: calling setIsRampUp() ...
2015-01-27 10:01:58:325 Polling start time = Tue Jan 27 10:21:59 CST 2015
2015-01-27 10:01:58:325 Polling end time   = Tue Jan 27 12:21:59 CST 2015
2015-01-27 10:01:59:327 PrimeControl: getting job... id=0
2015-01-27 10:22:01:324 [ERROR] client:1098 (PRIME_HOST[0][0]) failed to enter run phase before start of polling interval!
2015-01-27 10:22:01:324 PrimeControl: dumping polling start response times...
2015-01-27 10:22:01:324 [ERROR] client:1098 (PRIME_HOST[0][0]) msec after pollStart: 9223372036854775807
2015-01-27 10:22:01:324 PrimeControl: [ERROR] one or more workloads failed to start runtime before start of polling interval. Aborting.
2015-01-27 10:22:01:325 PrimeControl: sending abortTest() to prime clients.

« Last Edit: January 28, 2015, 09:42:54 PM by elnino »

AnoopGupta

  • Moderator
  • Jr. Member
  • *****
  • Posts: 60
  • Karma: +0/-0
Re: Exception in run the specjappserver2004
« Reply #3 on: January 30, 2015, 12:08:41 AM »
I think you have posted this issue in a separate thread. I have answered there.