aspose file tools*
The moose likes Websphere and the fly likes NdStatelessEjbServerBean.invokeService method failing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "NdStatelessEjbServerBean.invokeService method failing" Watch "NdStatelessEjbServerBean.invokeService method failing" New topic
Author

NdStatelessEjbServerBean.invokeService method failing

sravani satish
Greenhorn

Joined: Feb 12, 2009
Posts: 1


Hi i am trying to ivoke the method NdStatelessEjbServerBean.invokeService to invoke the Blaze rules service.

Server i have used is : WAS 7.0 and IDE: RAD v7.5.

Surprising thing is the same application deployed in WAS 6.0 & 6.1 its working perfectly.

The issue is only when i deploy the app in WAS 7.0. Please help me if any expert has done analysis on this. thanks in advance.

I am facing the following issue:

CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "invokeexecuteRuleProcess" on bean "BeanId(appear#appejb.jar#RuleServiceSession, null)". Exception data: com.blazesoft.server.deploy.ejb.NdWrappedEJBException: nested exception is: com.blazesoft.util.NdWrappedRuntimeException:
com.blazesoft.engines.rules.NdResourceInitializationException: There were 5 exceptions while initializing the Java class provider resource.
-------- 1
com.blazesoft.engines.rules.java.NdJavaClassImportResourceException: Exception adding support Java class to the Java class provider resource.

While importing the 'boolean equals(Object)' method of the 'java.lang.Object' class.

An error occurred while importing the external Java class for the return type.
Could not import the Java class java.io.Serializable.
java.lang.NullPointerException
--------
-------- 2
com.blazesoft.engines.rules.java.NdJavaClassImportResourceException: Exception adding support Java class to the Java class provider resource.
Could not import the Java class java.io.Serializable.
java.lang.NullPointerException
--------
-------- 3
com.blazesoft.engines.rules.java.NdJavaClassImportResourceException: Exception adding support Java class to the Java class provider resource.
Could not import the Java class java.io.Serializable.
java.lang.NullPointerException
--------
-------- 4
com.blazesoft.engines.rules.java.NdJavaClassImportResourceException: Exception adding support Java class to the Java class provider resource.
Could not import the Java class java.io.Serializable.
java.lang.NullPointerException
--------
-------- 5
com.blazesoft.engines.rules.java.NdJavaClassImportResourceException: Exception adding support Java class to the Java class provider resource.
Could not import the Java class java.io.Serializable.
java.lang.NullPointerException
--------
at com.blazesoft.engines.rules.java.NdDefJavaClassProviderResource.initialize(:2090)
at com.blazesoft.template.repository.objects.bom.NdPromBomSupport.WjIhiHP(:1767)
at com.blazesoft.template.repository.objects.bom.NdPromBomSupport.WjIamrG(:2054)
at com.blazesoft.template.repository.objects.bom.NdPromBomSupport.WjIamnC(:1897)
at com.blazesoft.template.repository.objects.bom.NdPromBomSupport.WjIeRKX(:1873)
at com.blazesoft.template.repository.objects.bom.NdPromBomSupport.mergeProjectBoms(:1808)
at com.blazesoft.template.repository.objects.bom.NdPromBomSupport.<init>(:190)
at com.blazesoft.template.repository.impl.NdPromProjectImpl.mergeBoms(:694)
at com.blazesoft.template.repository.impl.NdPromProjectImpl.getBomSupport(:870)
at com.blazesoft.template.repository.deploy.WjHNpnZ.WjIpnEO(:200)
at com.blazesoft.template.repository.deploy.WjHNpnZ.WjIpnEN(:155)
at com.blazesoft.template.repository.deploy.WjHNpnZ.WjIpnEM(:138)
at com.blazesoft.server.rules.NdRulesProjectPromInnovatorLoader.getRulesProject(:323)
at com.blazesoft.server.deploy.manager.java.NdDeploymentManagerJavaServerManager$SiPpNrJ.getSerializedProjectLoader(:286)
at com.blazesoft.server.rules.NdSerializedRulesProjectLoaderFactory.SiPpLgA(:255)
at com.blazesoft.server.rules.NdSerializedRulesProjectLoaderFactory.newSerializedRulesProjectLoader(:282)
at com.blazesoft.server.rules.NdNonThreadedScriptRulesServiceAgentFactory.SiPsUjB(:188)
at com.blazesoft.server.rules.NdNonThreadedScriptRulesServiceAgentFactory.createAgent(:339)
at com.blazesoft.server.local.NdLocalServiceAgentFactoryBase.SiPphYQ(:96)
at com.blazesoft.server.local.NdLocalServiceAgentFactoryBase.processAgentRequest(:65)
at com.blazesoft.server.local.NdLocalServiceAgentFactoryBase.createAgents(:112)
at com.blazesoft.server.rules.NdNonThreadedScriptRulesServiceAgentFactory.createAgents(:461)
at com.blazesoft.server.local.NdLocalServiceAgentDispenser.SiPpcsQ(:562)
at com.blazesoft.server.local.NdLocalServiceAgentDispenser.SiPsoxI(:547)
at com.blazesoft.server.local.NdLocalServiceAgentDispenser.SiPsoyJ(:711)
at com.blazesoft.server.local.NdLocalService.SiPsrlM(:2286)
at com.blazesoft.server.local.NdLocalServer.setServiceClassLoadingContext(:1176)
at com.blazesoft.server.deploy.NdServerDeployment.setServiceClassLoadingContext(:896)
at com.blazesoft.server.deploy.ejb.session.NdStatelessEjbServer.SiPtSxY(:187)
at com.blazesoft.server.deploy.ejb.session.NdStatelessEjbServerBean.create(:88)
at com.blazesoft.server.deploy.ejb.session.NdStatelessEjbServerBean.ejbCreate(:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.ibm.ejs.container.StatelessBeanO.initialize(StatelessBeanO.java:382)
at com.ibm.ejs.container.BMStatelessBeanOFactory.create(BMStatelessBeanOFactory.java:45)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1028)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1138)
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:84)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:599)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3919)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:3224)
at com.ejb.EJSLocalStatelessServiceSession_3c7933a6.invokeexecuteRuleProcess(EJSLocalStatelessRuleServiceSession_3c7933a6.java:66)
at com.ejbservice.RuleEJBService.invokeNewRule(RuleEJBService.java:155)
at com.action.MyAction.execute(MyAction.java:63)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1449)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

query by:
sravanisatish

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: NdStatelessEjbServerBean.invokeService method failing