[Persistence, JBoss/CMP, Hibernate, Database] - Re: Exception: CMR field value is already loaded
by Oyabun
Hi,
Same problem under JBOSS 4.0.2. We get this while stress testing our application. We use a JSP to render 1-N entity beans.
javax.ejb.EJBException: CMR field value is already loaded
| at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$FieldState.loadRelations(JDBCCMRFieldBridge.java:1979)
| at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.load(JDBCCMRFieldBridge.java:1417)
| at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.load(JDBCCMRFieldBridge.java:1404)
| at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:717)
| at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:669)
| at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
| at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
| at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
|
Regards,
Alex
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972284#3972284
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972284
19 years, 7 months
[JBoss Portal] - Re: IPC and 2.4GA
by thatporguy
"PeterJ" wrote : I don't think this is necessairly related just to IPC portlets. I have noticed that when I remove a war file containing my portlets that the portal doesn't automatically clean up references to that portal. And then all kinds of errors and warnings show up.
|
| I think that the way to cleanly remove a portlet is:
|
| 1) Remove the portlet windows from all pages.
| 2) Delete the portlet instances (might automatically do step 1, I'll have to try this).
| 3) Remove the war/sar file.
|
| I haven't tried this yet (emphasis on "yet", it is on my list of things to try this weekend).
I have had luck with this, Although it takes a "long" time if you have the IPC portlet (which are actually two portlets) then you have to go though the hassle of removing them from the pages, then removing the instances and THEN removing the war/sar file. I'm not the greatest developer so I'm constantly changing things and this will just add to the overhead.
I wonder what happened, in CR3 the "hot undeploy" worked like a charm and i loved it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972283#3972283
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972283
19 years, 7 months
[JBoss jBPM] - Superstate example
by AlClientView
Hi all,
Could someone provide an example of a process definition using Superstate ? I'm trying to understand how it works but can't find an example. I read the user guide but that's not enough. How to use it with the GPD ? If I follow the xml example provided by the user guide:
<process-definition>
...
<super-state name="phase one">
</super-state>
...
</process-definition>
The states within the Superstate don't show up on the graph. I replaced the the state by a task node and when the execution is supposed to get to the task node I get an error... Anyway I am sure I'm missing something about the Superstate and I'm just asking an example.
Where the nodes of the Superstate are supposed to be defined on the graphical view ? And how to link them to the Superstate Node ? Basically my question is how to use the Superstate node in GPD...
I've been trying to figure out how it works for a while and I am running out of idea so please if you can help.... Thanks a lot!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972282#3972282
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972282
19 years, 7 months