-
1. Re: Initialize WS in deployment descriptor?
thomas.diesler Sep 4, 2006 11:34 AM (in response to gmn314)Have a look at ServiceLifecycle
-
2. Re: Initialize WS in deployment descriptor?
grexe Feb 22, 2010 6:17 AM (in response to thomas.diesler)This is still an issue for me, we are (still) using 4.2.3.GA + JBossWS-CXF.
The workaround you described seems to work only with JBossWS-Native, or did you mean the standard JEE ServiceLifeCycle interface?
The actual problem we face is that the web service stack is only started upon first WebService-call, which takes so long that we get a timeout on the first call, but no problems afterwards.
Isn't there a more elegant way to ensure the web service stack starts up when JBoss is started?
-
3. Re: Initialize WS in deployment descriptor?
ropalka Feb 23, 2010 3:30 AM (in response to grexe)Though the bean specified in servlet-class is not servlet,
users can specify load on startup for such beans.
During the deployment process the webservice bean
is translated to servlet that will handle the requests.
Thus setting load-on-startup is the solution you're looking for.