[JBoss jBPM] - Problems in jbpm-3.1.4 with JBoss4.0.2
by mr.sathya
Hi Everybody,
I am wondering if anybody can help me to solve this problem..I am using Jbpm-3.1.4 with Jboss 4.0.2.I have successfully built then i found the following error while run that in jboss 4.0.2.
09:54:43,196 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/E:/jboss-4.0.2/server/jbpm/deploy/jmx-co
sole.war/
09:54:43,367 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@f0cdd3ee { url=file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@14d921a
status: Deployment FAILED reason: URL file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.war/ deployment fa
led
state: FAILED
watch: file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war
altDD: null
lastDeployed: 1175142281837
lastModified: 1175142281806
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=WebService
State: FAILED
Reason: org.jboss.deployment.DeploymentException: No Attribute found with name: DownloadResources
Depends On Me:
jboss.ejb:service=EJBDeployer
ObjectName: jboss.ejb:service=EJBDeployer
State: CONFIGURED
I Depend On:
jboss:service=TransactionManager
jboss:service=WebService
ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed
ObjectName: jboss:service=WebService
State: FAILED
Reason: org.jboss.deployment.DeploymentException: No Attribute found with name: DownloadResources
Depends On Me:
jboss.ejb:service=EJBDeployer
09:54:43,492 ERROR [Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@f0cdd3ee { url=file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@14d921a
status: Deployment FAILED reason: URL file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.war/ deployment fa
led
state: FAILED
watch: file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war
altDD: null
lastDeployed: 1175142281837
lastModified: 1175142281806
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=WebService
State: FAILED
Reason: org.jboss.deployment.DeploymentException: No Attribute found with name: DownloadResources
Depends On Me:
jboss.ejb:service=EJBDeployer
ObjectName: jboss.ejb:service=EJBDeployer
State: CONFIGURED
I Depend On:
jboss:service=TransactionManager
jboss:service=WebService
ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed
ObjectName: jboss:service=WebService
State: FAILED
Reason: org.jboss.deployment.DeploymentException: No Attribute found with name: DownloadResources
Depends On Me:
jboss.ejb:service=EJBDeployer
at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1286)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:741)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:534)
09:54:43,664 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8090
09:54:43,758 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
09:54:43,773 INFO [JkMain] Jk running ID=0 time=0/46 config=null
09:54:43,773 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 12s
711ms
Any suggestions would be greatly appreciated..
Thanks In advance...
-Sathya,Cranes software International
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032624#4032624
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032624
19Â years
[JBoss Portal] - login by DatabaseServerLoginModule, but fail to access Porta
by liutaiyo
Why the Role fail to set to the user?
Error Message After Login
HTTP Status 403 - Access to the requested resource has been denied
--------------------------------------------------------------------------------
type Status report
message Access to the requested resource has been denied
description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
#############################################
Here is My Trace Logs
LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule
ControlFlag: LoginModuleControlFlag: required
Options:name=rolesQuery, value=select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?
name=principalsQuery, value=select password from loyalty.user where username = ?
name=password-stacking, value=useFirstPass
name=unauthenticatedIdentity, value=guest
name=additionalRole, value=Authenticated
name=factoryJNDIName, value=java:/portal/SessionFactory
name=dsJndiName, value=java:PortalDS_postgres
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End getAppConfigurationEntry(portal), authInfo=AppConfigurationEntry[]:
[0]
LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule
ControlFlag: LoginModuleControlFlag: required
Options:name=rolesQuery, value=select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?
name=principalsQuery, value=select password from loyalty.user where username = ?
name=password-stacking, value=useFirstPass
name=unauthenticatedIdentity, value=guest
name=additionalRole, value=Authenticated
name=factoryJNDIName, value=java:/portal/SessionFactory
name=dsJndiName, value=java:PortalDS_postgres
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] initialize, instance=@31147885
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] initialize, instance=@31147885
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Saw unauthenticatedIdentity=guest
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Saw unauthenticatedIdentity=guest
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] DatabaseServerLoginModule, dsJndiName=java:PortalDS_postgres
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] DatabaseServerLoginModule, dsJndiName=java:PortalDS_postgres
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] principalsQuery=select password from loyalty.user where username = ?
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] principalsQuery=select password from loyalty.user where username = ?
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] rolesQuery=select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] rolesQuery=select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendResume=true
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendResume=true
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] login
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] login
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendAnyTransaction
2007-03-29 11:38:25,656 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendAnyTransaction
2007-03-29 11:38:25,656 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: registering pool with interval 900000 old interval: 450000
2007-03-29 11:38:25,765 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Excuting query: select password from loyalty.user where username = ?, with username: user
2007-03-29 11:38:25,765 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Excuting query: select password from loyalty.user where username = ?, with username: user
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Obtained user password
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Obtained user password
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] resumeAnyTransaction
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] resumeAnyTransaction
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] User 'user' authenticated, loginOk=true
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] User 'user' authenticated, loginOk=true
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] commit, loginOk=true
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] commit, loginOk=true
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] getRoleSets using rolesQuery: select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?, username: user
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] getRoleSets using rolesQuery: select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?, username: user
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendAnyTransaction
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendAnyTransaction
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Excuting query: select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?, with username: user
2007-03-29 11:38:25,781 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Excuting query: select loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, loyalty.role_type where loyalty.role_type.role_type_id = loyalty.user.role_type_id and loyalty.role_type.role_id = loyalty.role.role_id and loyalty.user.username = ?, with username: user
2007-03-29 11:38:25,796 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Assign user to role User
2007-03-29 11:38:25,796 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Assign user to role User
2007-03-29 11:38:25,796 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Assign user to role Authenticated
2007-03-29 11:38:25,796 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Assign user to role Authenticated
2007-03-29 11:38:25,796 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] resumeAnyTransaction
2007-03-29 11:38:25,796 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] resumeAnyTransaction
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] defaultLogin, lc=javax.security.auth.login.LoginContext@b6585, subject=Subject(3549137).principals=org.jboss.security.SimplePrincipal@19610820(user)
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] defaultLogin, lc=javax.security.auth.login.LoginContext@b6585, subject=Subject(3549137).principals=org.jboss.security.SimplePrincipal@19610820(user)
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] updateCache, inputSubject=Subject(3549137).principals=org.jboss.security.SimplePrincipal@19610820(user), cacheSubject=Subject(24123599).principals=org.jboss.security.SimplePrincipal@19610820(user)
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] updateCache, inputSubject=Subject(3549137).principals=org.jboss.security.SimplePrincipal@19610820(user), cacheSubject=Subject(24123599).principals=org.jboss.security.SimplePrincipal@19610820(user)
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Inserted cache info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@6cd243[Subject(24123599).principals=org.jboss.security.SimplePrincipal@19610820(user),credential.class=java.lang.String(a)3945515,expirationTime=1175141305656]
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Inserted cache info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@6cd243[Subject(24123599).principals=org.jboss.security.SimplePrincipal@19610820(user),credential.class=java.lang.String(a)3945515,expirationTime=1175141305656]
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] End isValid, true
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] End isValid, true
2007-03-29 11:38:25,796 TRACE [org.jboss.security.SecurityAssociation] pushSubjectContext, subject=Subject:
Principal: user
, sc=org.jboss.security.SecurityAssociation$SubjectContext@1ff5976{principal=user,subject=21655743}
2007-03-29 11:38:25,796 TRACE [org.jboss.security.SecurityAssociation] pushSubjectContext, subject=Subject:
Principal: user
, sc=org.jboss.security.SecurityAssociation$SubjectContext@1ff5976{principal=user,subject=21655743}
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getPrincipal, cache info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@6cd243[Subject(24123599).principals=org.jboss.security.SimplePrincipal@19610820(user),credential.class=java.lang.String(a)3945515,expirationTime=1175141305656]
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getPrincipal, cache info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@6cd243[Subject(24123599).principals=org.jboss.security.SimplePrincipal@19610820(user),credential.class=java.lang.String(a)3945515,expirationTime=1175141305656]
2007-03-29 11:38:25,796 TRACE [org.jboss.security.SecurityAssociation] getSubject, sc=org.jboss.security.SecurityAssociation$SubjectContext@1ff5976{principal=user,subject=21655743}
2007-03-29 11:38:25,796 TRACE [org.jboss.security.SecurityAssociation] getSubject, sc=org.jboss.security.SecurityAssociation$SubjectContext@1ff5976{principal=user,subject=21655743}
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getUserRoles, subject: Subject:
Principal: user
2007-03-29 11:38:25,796 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getUserRoles, subject: Subject:
Principal: user
2007-03-29 11:38:25,796 TRACE [org.jboss.security.SecurityAssociation] clear, server=true
2007-03-29 11:38:25,796 TRACE [org.jboss.security.SecurityAssociation] clear, server=true
2007-03-29 11:38:25,812 TRACE [org.jboss.security.SecurityAssociation] clear, server=true
2007-03-29 11:38:25,812 TRACE [org.jboss.security.SecurityAssociation] clear, server=true
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032616#4032616
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032616
19Â years
[EJB 3.0] - CascadeType is misbehaving!
by justinmiller
I am seeing something very weird with respect to cascading. There are really two problems. Let's say that I have classes A and B, and then a main method below that:
|
| @Entity
| @Table(name="A")
| public class A {
|
| @Column(name="ID")
| private String id;
|
| @OneToMany(cascade= {CascadeType.REMOVE, CascadeType.REFRESH, CascadeType.PERSIST})
| @JoinColumn(name="PARENT_ID")
| private Collection<B> children;
|
|
| public A() {
| super();
| }
|
| public A(String id) {
| this.id = id;
| }
|
| public Collection<B> getChildren() {
| return children;
| }
|
|
| public void setChildren(Collection<B> children) {
| this.children = children;
| }
|
| public String getId() {
| return id;
| }
|
| public void setId(String id) {
| this.id = id;
| }
|
| }
|
|
| @Entity
| @Table(name="B")
| public class B implements Serializable {
|
| @Column(name="ID")
| private String id;
|
| @Column(name="PARENT_ID")
| private String parent;
|
| public B() {
| super();
| }
|
| public B(String id) {
| this.id = id;
| }
|
| public String getId() {
| return id;
| }
|
| public void setId(String id) {
| this.id = id;
| }
|
| public String getParent() {
| return parent;
| }
|
| public void setParent(String parent) {
| this.parent = parent;
| }
|
| }
|
|
| public class EJB3Test {
|
| public static void main(String[] args) {
| A a = new A(generateId());
| B b = new B(generateId());
|
| a.setChildren(Arrays.asLis(new B[] { b }));
| b.setParent(a.getId());
|
| //for argument's sake, let's just say SessionFacade is just a wrapper
| //around EntityManager.persist/merge/remove
| SessionFacade.persist(a);
|
| a = new A(a.getId());
|
| //let's say we've changed 'a' somehow, and we want those changes
| //persisted, but we WANT it's relationship to it's children
| //preserved.
| SessionFacade.merge(a);
| }
| }
|
The first problem:
Notice how I don't have CascadeType.MERGE set on the relationship between A and it's children. Why then, when I do the merge(), will it attempt to set B.PARENT_ID to null? I would think that if it's not set to cascade on a merge, the EntityManager shouldn't even touch children. I have found however, that setting updatable=false on the JoinColumn causes the expected behavior.
The second problem is an extension of the first:
Let's take it one step further, assuming we set updatable=false, and right before we try SessionFacade.merge(a), we do this:
| a.setChildren(Arrays.asList(new B[] { new B(someNewId) } ));
|
| //then do:
| SessionFacade.merge(a)
|
The merge now throws an exception, even though it's NOT set to cascade on merge, and children is set to updatable=false. The exception we get is an EntityNotFoundException stating that it can't find an object B with id: someNewId. Well no kidding! It's not there! I know it seems weird to NOT want to cascade, but I assure you - in my context, I simply need more control over how the children are inserted. Therefore, it makes perfect sense to have children that I do not want persisted until I explicitly do so.
I shouldn't have to grab a reference to the children, null out the field in A, and then merge all the children.
| Collection<B> children = a.getChildren();
| a.setChildren(null);
|
| SessionFacade.merge(a);
|
| for(B child : children)
| SessionFacade.merge(child);
|
ANY help would be greatly appreciated!!! This is driving me crazy!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032614#4032614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032614
19Â years