[jBPM] - Create task for user group
by Ranjith R P
Ranjith R P [http://community.jboss.org/people/ranjithrp] created the discussion
"Create task for user group"
To view the discussion, visit: http://community.jboss.org/message/611812#611812
--------------------------------------------------------------
Hi All,
Im new to jBPM and im trying to use the human task component of jBPM as standalone task manager.
I was able to add task to a user successfully, by creating an mvel expression and by using the apis present in the TaskClient class.
But while following the same path to create task for a user group i get the following error.
Referential integrity constraint violation: "FK1EE418D2C122ED2: PUBLIC.PEOPLEASSIGNMENTS_POTOWNERS FOREIGN KEY(ENTITY_ID) REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into PeopleAssignments_PotOwners (task_id, entity_id) values (?, ?)
As per the documentation it looks like i can add tasks to a user group (or just add tasks unassigned to any user), but can someone point me as to how that can be accomplished.
Also will i be able to edit a task (say the description or the priority) after the task has been created?
Thanks
Ranjith
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/611812#611812]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[EJB3] - Re: invalid invocation
by Siddhartha Kapil
Siddhartha Kapil [http://community.jboss.org/people/siddharthakapil] created the discussion
"Re: invalid invocation"
To view the discussion, visit: http://community.jboss.org/message/612504#612504
--------------------------------------------------------------
Hi, I am new to this community. I am facing problem when migrating my EJB's from JBoss4.2 to Jboss6.0. The EJB jars working fine in Jboss 4.2 but when same build is deployed on Jboss 6.0 Exception is coming. I have searched on the Internet communities and forums but didn't find solution for this.
Please help me as this is hampering my schedule here.
EJB jars deployed successfully on the server but error comes when I try to access my application.
Please find the error stacktrace below:
SessionHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException:: javax.ejb.EJBExcept
ion: Invalid invocation, check your deployment packaging,
throws javax.ejb.CreateException,java.rmi.RemoteException
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionC
ontainer.java:172) [:6.0.0.Final]
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnect
ionInterceptor.java:187) [:6.0.0.Final]
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInst
anceInterceptor.java:97) [:6.0.0.Final]
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java
:56) [:6.0.0.Final]
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125) [:
6.0.0.Final]
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) [:6
.0.0.Final]
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161) [:6.0.0.Fina
l]
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230) [:6.0.0.F
inal]
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205) [:6.0.
0.Final]
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java
:99) [:6.0.0.Final]
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.j
ava:88) [:6.0.0.Final]
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132) [:6.0.0.Final]
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderIntercep
tor.java:107) [:6.0.0.Final]
at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:639) [:6.0.0.Fina
l]
at org.jboss.ejb.Container.invoke(Container.java:1089) [:6.0.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1
.6.0]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0]
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0
.GA]
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA
]
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) [
:6.0.0.Final]
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) [:6.0.0.Final]
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) [:6.0.0.
Final]
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) [:6.0.0.Final
]
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) [:6.0.0.Fin
al]
at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
[:6.0.0.Final]
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68) [:6.0.0.Final]
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184) [:6.0.0.Final]
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101) [:6.0.0.Final]
at $Proxy287.create(Unknown Source)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/612504#612504]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months