[JBossWS] - Re: Problems with EJB3 and JBossWS
by 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
15 years, 11 months
[JBossWS] - Re: Problems with EJB3 and JBossWS
by giordano
This is an error I have:
persistence.unit:unitName=#MitServer3PU -> org.hibernate.HibernateException: can
not simultaneously fetch multiple bags
<UNKNOWN jboss.j2ee:jar=MitServer3.jar,name=ModelManagerBean,service=EJB3> -> **
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' **
<UNKNOWN jboss.j2ee:jar=MitServer3.jar,name=ModelManagerWebService,service=EJB3>
-> ** UNRESOLVED Demands 'jndi:ModelManagerBean/remote-enea.d1.test.ModelManage
rRemote' **
<UNKNOWN jboss.j2ee:jar=MitServer3.jar,name=SettoreFacade,service=EJB3> -> ** UN
RESOLVED Demands 'persistence.unit:unitName=#MitServer3PU' **
<UNKNOWN jboss.j2ee:jar=MitServer3.jar,name=HdwmFacade,service=EJB3> -> ** UNRES
OLVED Demands 'persistence.unit:unitName=#MitServer3PU' **
<UNKNOWN jboss.j2ee:jar=MitServer3.jar,name=SettoreDipendenteFacade,service=EJB3
> -> ** 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
15 years, 11 months