[JBoss jBPM] - Re: Problem with Fork and Join Node
by ailenin
Fork and Join works in jboss app server but fails in Weblogic 9.1
org.hibernate.StaleObjectStateException: Row was updated or deleted by another t
ransaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#2
282]
at org.hibernate.persister.entity.AbstractEntityPersister.forceVersionIn
crement(AbstractEntityPersister.java:1235)
at org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(
AbstractLockUpgradeEventListener.java:82)
at org.hibernate.event.def.DefaultLockEventListener.onLock(DefaultLockEv
entListener.java:64)
at org.hibernate.impl.SessionImpl.fireLock(SessionImpl.java:584)
at org.hibernate.impl.SessionImpl.lock(SessionImpl.java:576)
at org.jbpm.graph.node.Join.execute(Join.java:109)
at org.jbpm.graph.def.Node.enter(Node.java:318)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyI
nitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$f476c7f6.enter()
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:393)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098953#4098953
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098953
18Â years, 6Â months
[EJB 3.0] - ArrayList Mapping
by poyge394
Hi,
I have an Object Rollingstock, inside Rollingstock I have a collection off Vehicles.
Hear is the mapping:
| @JoinTable( name="vehicles",
| joinColumns= @JoinColumn( name= "fk_rollingstock"),
| inverseJoinColumns= @JoinColumn( name="id_vehicle") )
| public Collection<Vehicle> getVehicles() { return vehicles; }
| public void setVehicles(ArrayList<Vehicle> vehicles) { this.vehicles = vehicles;}
|
when i try to persist an Roolingstock i get this error:
| 19:41:54,218 ERROR [property.BasicPropertyAccessor] expected type: java.util.ArrayList, actual value: org.hibernate.collection.Pe
| rsistentBag
| 19:41:54,234 ERROR [er.jms.inflow.JmsServerSession] Unexpected error delivering message delegator->JBossMessage[376834]:PERSISTEN
| T, deliveryId=1
| javax.ejb.EJBTransactionRolledbackException: org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calli
| ng setter of se.sj.ipl.rollingstock.domain.Rollingstock.vehicles
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
| 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.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:51)
| 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.dynamicInvoke(StatelessContainer.java:278)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:79)
| at org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor.invoke(ClusteredIsLocalInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(StatelessClusteredProxy.java:105)
| at $Proxy158.persistRollingStock(Unknown Source)
|
|
Any Ideas ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098950#4098950
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098950
18Â years, 6Â months
[JBoss Seam] - Re: Seam built-in components not working with Woodstock !!!
by b.reeve
Seems like this should be of high priority. I have an application with Woodstock + Seam +Spring in the stack. I get any 2 of these working together but not the 3.
For example: I have a seam bean having Spring bean injected into it. When i try to set any input field into this Seam bean, it is not working with Woodstock. But the spring bean is getting injected.
1. If i remove Woodstock from the classpath, everything is working fine. (Seam + Spring = works fine)
2. If I remove Spring injection, field setters are getting called. (Woodstock +Seam (without seam -spring integration) = works fine)
3. If I remove Seam from the stack, everything works fine. (Woodstock + Spring = works fine)
I am not able to figure out any work around for this situation. I really need help. Because, seems like I have to choose among Woodstock and Seam, but I really wish i could use the combination.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098947#4098947
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098947
18Â years, 6Â months