Raghav Nyapati

Deployment Manager Issue

Discussion created by Raghav Nyapati on Mar 3, 2009
Latest reply on Mar 3, 2009 by Andrei Palskoi

We are trying to use deployment manager for web service integration. When we are trying to add rules through RMA and execute it through webservice then the newly added rules are not getting executed.So we thought of using deployment manager so that we can get the updated rule project everytime for rules execution.

 

But we are getting some error while deploying the deployment manager and invoking the webservice in JBOSS server

 

 

This is a very critical issue and any help would be highly appreciated


2009-03-02 20:40:53,578 ERROR [org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC] SOAP request exceptionjava.rmi.ServerException: EJBException:; nested exception is:  javax.ejb.EJBException: Could not instantiate bean at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:960) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.wsf.container.jboss42.InvocationHandlerEJB21.invoke(InvocationHandlerEJB21.java:147) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:221) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134) at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595)Caused by: javax.ejb.EJBException: Could not instantiate bean at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:206) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:118) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) ... 38 moreCaused by: com.blazesoft.server.deploy.ejb.NdWrappedEJBException: com.blazesoft.util.NdWrappedRuntimeException: Failed to initialize server for server deployment EJB.Server 'AssetRiskMonitoringSystem' on host 'INVSTAW2008374'.Failed to create the server from a configuration.Failed to construct instance of class 'com.blazesoft.server.deploy.NdStatelessServer'.Constructor args: (com.blazesoft.server.deploy.rules.NdDeployRulesServerConfig@110b205)Server 'AssetRiskMonitoringSystem' on host 'INVSTAW2008374'.Failed to create a deployment manager server manager from the configurationFailed to construct instance of class 'com.blazesoft.server.deploy.manager.rmi.NdDeploymentManagerRmiServerManagerAdapter'.Constructor args: (com.blazesoft.server.config.NdDeploymentManagerServerManagerFactory@1ff323)Error setting up the Naming Context for the Remote ConnectionFailed to construct instance of class 'com.blazesoft.proxy.NdRmiRemoteNamingContext'.Constructor args: ({com.blazesoft.proxy.rmi.UseRMIRegistryWhenNdRmiRegistryNotPresent =true, java.naming.provider.url=rmi://localhost:51099, java.naming.factory.initial=, java.naming.security.principal=, java.naming.security.credentials=})Cannot instantiate class: Failed to initialize server for server deployment EJB.Server 'AssetRiskMonitoringSystem' on host 'INVSTAW2008374'.Failed to create the server from a configuration.Failed to construct instance of class 'com.blazesoft.server.deploy.NdStatelessServer'.Constructor args: (com.blazesoft.server.deploy.rules.NdDeployRulesServerConfig@110b205)Server 'AssetRiskMonitoringSystem' on host 'INVSTAW2008374'.Failed to create a deployment manager server manager from the configurationFailed to construct instance of class 'com.blazesoft.server.deploy.manager.rmi.NdDeploymentManagerRmiServerManagerAdapter'.Constructor args: (com.blazesoft.server.config.NdDeploymentManagerServerManagerFactory@1ff323)Error setting up the Naming Context for the Remote ConnectionFailed to construct instance of class 'com.blazesoft.proxy.NdRmiRemoteNamingContext'.Constructor args: ({com.blazesoft.proxy.rmi.UseRMIRegistryWhenNdRmiRegistryNotPresent =true, java.naming.provider.url=rmi://localhost:51099, java.naming.factory.initial=, java.naming.security.principal=, java.naming.security.credentials=})Cannot instantiate class:  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at com.blazesoft.objects.ejb.NdEJBLib.newEJBSystemException(:443) at com.blazesoft.server.deploy.ejb.session.NdStatelessEjbServer.SiPtSxY(:193) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:78) at org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:49) at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:184) ... 45 moreCaused by: com.blazesoft.util.NdWrappedRuntimeException: Failed to initialize server for server deployment EJB.Server 'AssetRiskMonitoringSystem' on host 'INVSTAW2008374'.Failed to create the server from a configuration.Failed to construct instance of class 'com.blazesoft.server.deploy.NdStatelessServer'.Constructor args: (com.blazesoft.server.deploy.rules.NdDeployRulesServerConfig@110b205)Server 'AssetRiskMonitoringSystem' on host 'INVSTAW2008374'.Failed to create a deployment manager server manager from the configurationFailed to construct instance of class 'com.blazesoft.server.deploy.manager.rmi.NdDeploymentManagerRmiServerManagerAdapter'.Constructor args: (com.blazesoft.server.config.NdDeploymentManagerServerManagerFactory@1ff323)Error setting up the Naming Context for the Remote ConnectionFailed to construct instance of class 'com.blazesoft.proxy.NdRmiRemoteNamingContext'.Constructor args: ({com.blazesoft.proxy.rmi.UseRMIRegistryWhenNdRmiRegistryNotPresent =true, java.naming.provider.url=rmi://localhost:51099, java.naming.factory.initial=, java.naming.security.principal=, java.naming.security.credentials=})Cannot instantiate class:  at com.blazesoft.server.deploy.ejb.NdWrappedEJBException.<init>(:97)

 

Outcomes