[jboss-user] [JBossWS] - Re: Problems with EJB3 and JBossWS

2009-01-14 Thread giordano
This is the error I have in the client. Client access to server application via 
Web service.

javax.xml.ws.soap.SOAPFaultException: 
org.hibernate.LazyInitializationException: failed to lazily initialize a 
collection of role: enea.d1.domain.model.SettoreDipendente.listaTempi, no 
session or session was closed
at 
com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
at 
com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy30.getSettori(Unknown Source)
at testwsclientmitserver3.Main.getSettori(Main.java:113)
at testwsclientmitserver3.Main.main(Main.java:44)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201747#4201747

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problems with EJB3 and JBossWS

2009-01-14 Thread giordano
This is an error I have:

persistence.unit:unitName=#MitServer3PU -> org.hibernate.HibernateException: can
not simultaneously fetch multiple bags

 -> **
 UNRESOLVED Demands 'jndi:HdwmFacade/local-enea.d1.domain.facade.HdwmFacadeLocal
' ** | ** UNRESOLVED Demands 'jndi:SettoreFacade/local-enea.d1.domain.facade.Set
toreFacadeLocal' ** | ** UNRESOLVED Demands 'jndi:SettoreDipendenteFacade/local-
enea.d1.domain.facade.SettoreDipendenteFacadeLocal' **


 -> ** UNRESOLVED Demands 'jndi:ModelManagerBean/remote-enea.d1.test.ModelManage
rRemote' **

 -> ** UN
RESOLVED Demands 'persistence.unit:unitName=#MitServer3PU' **

 -> ** UNRES
OLVED Demands 'persistence.unit:unitName=#MitServer3PU' **

 -> ** UNRESOLVED Demands 'persistence.unit:unitName=#MitServer3PU' **


at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
loyersImpl.java:863)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainD
eployerImpl.java:665)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
nner.java:293)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
ner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java
:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201744#4201744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problems with EJB3 and JBossWS

2009-01-14 Thread alessio.sold...@jboss.com
To better understand, could you please post the exception you're getting please?
Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201616#4201616

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user