[EJB 3.0 Users] - JBoss 4.2.1 RemoteEJB Lookup ClassCastException
by kyle.bober
I have two EAR files that each contain an ejb jar file.
I have configured each of the EAR files to isolate there classloaders like so..
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE jboss-app PUBLIC
| "-//JBoss//DTD J2EE Application 1.4//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
| <jboss-app>
| <loader-repository>com.kbss:loader=service1.ear
| <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
| </loader-repository>
| </jboss-app>
|
and
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE jboss-app PUBLIC
| "-//JBoss//DTD J2EE Application 1.4//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
| <jboss-app>
| <loader-repository>com.kbss:loader=service2.ear
| <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
| </loader-repository>
| </jboss-app>
|
Here is the Local, Remote and Implementation class for Service1EJB
Local
| package com.kbss;
|
| import java.util.List;
| import javax.ejb.Remote;
|
| @Local
| public interface IService1Local {
|
| public static final String EJB_JNDI = "Service1/local";
|
| public Integer read() throws RemoteException;
| }
|
Remote
| package com.thesearchagency.mms.service.customization;
|
| import java.util.List;
|
| import javax.ejb.Remote;
| import javax.xml.bind.annotation.XmlTransient;
|
| @Remote
| public interface IService1Remote {
|
| /**
| * JNDI registrations for locating interface:
| */
| public static final String EJB_JNDI = "Service1/remote";
|
| public Integer read() throws RemoteException;
| }
|
Implementation
|
| package com.kbss;
|
| import javax.ejb.Stateless;
| import org.jboss.annotation.ejb.LocalBinding;
| import org.jboss.annotation.ejb.RemoteBinding;
|
| @Stateless
| @LocalBinding(jndiBinding=IService1Local.EJB_JNDI)
| @RemoteBinding(jndiBinding=IService1Remote.EJB_JNDI)
| public class Service1EJB implements IService1Local, IService1Remote {
|
| public Integer read() throws RemoteException {
| return new Integer(123);
| }
| }
|
Here is the Local, Remote and Implementation class for Service2EJB
Local
| package com.kbss;
|
| import javax.ejb.Local;
|
| @Local
| public interface IService2Local {
|
| public static final String EJB_JNDI = "Service2/local";
|
| public void test() throws RemoteException;
| }
|
Remote
| package com.kbss;
|
| import javax.ejb.Remote;
|
| @Remote
| public interface IService2Remote {
|
| public static final String EJB_JNDI = "Service2/remote";
|
|
| public void test() throws RemoteException;
| }
|
Implementation
| package com.kbss;
|
| import javax.ejb.Stateless;
| import javax.naming.InitialContext;
| import javax.naming.NamingException;
|
| import org.jboss.annotation.ejb.LocalBinding;
| import org.jboss.annotation.ejb.RemoteBinding;
|
| @Stateless
| @LocalBinding(jndiBinding=IUserLocal.EJB_JNDI)
| @RemoteBinding(jndiBinding=IUserRemote.EJB_JNDI)
| public class Service2EJB implements IService2Local, IService2Remote {
|
|
| public void test() throws RemoteException {
|
| InitialContext ctx = new InitialContext();
| IService1Remote remote = (IService1Remote)ctx.lookup(IService1Remote.EJB_JNDI);
| System.out.println("Remote Integer :: "+remote.read());
| }
| }
|
When I call the test method on service1 I am always presented with the following ClassCastException:
(I changed some of the above code to remove my clients information so the Exception Stack maybe a little different then the classes stated above)
| javax.ejb.EJBException: java.lang.ClassCastException: $Proxy187
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
| at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
| at $Proxy196.create(Unknown Source)
| at com.kbss.mms.service.user.impl.UserWS.create(UserWS.java:48)
| 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.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
| at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
| at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
| 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:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| 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:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ClassCastException: $Proxy187
| at com.kbss.mms.service.user.impl.UserEJB.getRemoteService(UserEJB.java:83)
| at com.kbss.mms.service.user.impl.UserEJB.create(UserEJB.java:52)
| 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| ... 48 more
| 17:38:07,031 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.ejb.EJBException: java.lang.ClassCastException: $Proxy187
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
| at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
| at $Proxy196.create(Unknown Source)
| at com.kbss.mms.service.user.impl.UserWS.create(UserWS.java:48)
| 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.ws.core.server.ServiceEndpointInvokerJSE.invokeServiceEndpointInstance(ServiceEndpointInvokerJSE.java:104)
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:207)
| at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212)
| at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
| 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:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| 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:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ClassCastException: $Proxy187
| at com.kbss.mms.service.user.impl.UserEJB.getRemoteService(UserEJB.java:83)
| at com.thesearchagency.mms.service.user.impl.UserEJB.create(UserEJB.java:52)
| 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| ... 48 more
|
|
Both of these EAR are deployed on the same JBoss instance. I assume I am doing something wrong in trying to make a RemoteEJB call. Any help here would be much appreciated. I have looked at all the other forum posts in the EJB forum and nothing has helped me resolve this issue.
Thanks,
Kyle
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265139#4265139
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265139
16 years, 7 months
[EJB] - Deployment issues for EJBs in JBoss
by rschallack
We have EJBs that have deployed successfully to OpenEJB We're trying to migrate them to JBoss and we're blocked at this point and are in need of some help.
JBoss version: 5.1.0
Java version: 1.5.0_20
OS: Linux version 2.6.18 (CentOS release 5.2)
We're using EJB 3.0 for most of our EJBs, but we have need of a couple of singletons. We got OpenEJB to work with the 3.1 spec. In JBoss, we need to designate those singletons as a service. Even when we do that, we get deployment errors since many of our local EJBs depend on this one singleton (checks to see if a system is available, otherwise use local cached data). So we get entries in our log file like this:
Deployment "jboss.j2ee:jar=our-app.jar,name=OurDaoProxyEjb,service=EJB3" is missing the following dependencies:
| Dependency "<UNKNOWN jboss.j2ee:jar=our-app.jar,name= OurDaoProxyEjb,service=EJB3>"
| (should be in state "Described", but is actually in state "** UNRESOLVED
| Demands 'jndi:OurDaoEjb/local-com.company.ecom.ejb.api.dao.pkg.OurDaoLocal' **")
| Dependency "<UNKNOWN jboss.j2ee:jar=our-app.jar,name=OurDaoEjb,service=EJB3>"
| (should be in state "Described", but is actually in state "** UNRESOLVED
| Demands 'jndi:SystemMonitorDaoEjb/local-com.company.ecom.ejb.api.dao.tools.SystemMonitorDaoLocal' **")
|
SystemMonitorDaoLocal is our class to check availability. We've recoded it to use the JBoss specific annotations for a service and looks like this (imports omitted):
| @Singleton
| @TransactionAttribute(value=TransactionAttributeType.NOT_SUPPORTED)
| @Service
| @Local(SystemMonitorDaoLocal.class)
| public class SystemMonitorDaoEjb extends BaseSystemDao implements
| SystemMonitorDaoLocal {
|
@Singleton should be ignored by JBoss (we've tried omitting it with no change in the logs). And our BaseSystemDao contains the instance of SystemMonitorLocal. BaseSystemDao is our base class for all classes dependent on that system being up.
I feel like I'm missing something. Is it configuration? Any help is appreciated.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265136#4265136
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265136
16 years, 7 months
[jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio
by hrworx
Thanks again for the suggestion. Each time I get a little further.
Now my config looks like this:
| <jbpm-configuration>
|
| <import resource="jbpm.default.cfg.xml" />
| <import resource="jbpm.businesscalendar.cfg.xml" />
| <import resource="jbpm.jpdl.cfg.xml" />
|
| <process-engine-context>
| <command-service name="txRequiredCommandService">
| <retry-interceptor />
| <environment-interceptor />
| <spring-transaction-interceptor />
| </command-service>
| </process-engine-context>
|
| <transaction-context>
| <object class="org.jbpm.pvm.internal.id.DatabaseDbidGenerator">
| <field name="commandService">
| <ref object="txRequiredCommandService" />
| </field>
| </object>
|
| <object class="org.jbpm.pvm.internal.id.DatabaseIdComposer"
| init="eager" />
| <object class="com.hrworx.formworx.service.user.JbpmIdentitySessionImpl" />
| <transaction />
| <hibernate-session current="false" />
| </transaction-context>
|
| </jbpm-configuration>
|
and I am getting a new error:
| org.jbpm.pvm.internal.tx.TransactionException: complete on transaction in state COMMITTED
| at org.jbpm.pvm.internal.tx.StandardTransaction.complete(StandardTransaction.java:69)
| at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:93)
| at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
| at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
| at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
| at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:91)
|
I have also tried adding this back into my configuration without success:
<import resource="jbpm.tx.spring.cfg.xml" />
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265133#4265133
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265133
16 years, 7 months
[jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio
by hrworx
Thanks for the reply. After changing the configuration as you suggest, I now get the following stack trace:
org.jbpm.api.JbpmException: couldn't acquire block of ids
| at org.jbpm.pvm.internal.id.DatabaseDbidGenerator.getNextId(DatabaseDbidGenerator.java:65)
| at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:56)
| at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
| at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
| at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
| at org.jbpm.pvm.internal.spring.CommandTransactionCallback.doInTransaction(CommandTransactionCallback.java:50)
| at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
| at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:77)
| at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
| at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
| at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
| at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:91)
|
| Caused by: java.lang.NullPointerException
| at org.jbpm.pvm.internal.id.DatabaseDbidGenerator.acquireDbidBlock(DatabaseDbidGenerator.java:76)
| at org.jbpm.pvm.internal.id.DatabaseDbidGenerator.getNextId(DatabaseDbidGenerator.java:63)
|
which is similar to https://jira.jboss.org/jira/browse/JBPM-2599
that is claimed to be resolved in 4.2
Basically, the commandService in DatabaseDbidGenerator is null. Am I missing some other new piece of configuration?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265127#4265127
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265127
16 years, 7 months