[
https://issues.jboss.org/browse/AS7-1353?page=com.atlassian.jira.plugin.s...
]
Alessio Soldano commented on AS7-1353:
--------------------------------------
Please open a forum thread on this and link here. Generally speaking, if you have a WS
endpoint in your deployment, that's started during the deployment phase. The
initialization of the endpoint servlet is just the transport part of that.
Load on startup is ignored - JaxWS webservice is always initialized
first
-------------------------------------------------------------------------
Key: AS7-1353
URL:
https://issues.jboss.org/browse/AS7-1353
Project: Application Server 7
Issue Type: Feature Request
Components: Web Services
Affects Versions: 7.0.0.Final
Environment: Windows 7
Reporter: Alexander Rashed
Assignee: Alessio Soldano
Labels: jaxws, load-on-startup
I want to execute a servlet on startup to initialize my environment (for db access,
resource management and so on).
This servlet just implements javax.servlet.Servlet.
The other services (using JaxWS) should be instantiated after the Startup-servlet to
provide access to the created resources.
But they are always instantiated before the Startup-servlet, even if I use the
<load-on-startup> parameter in the web.xml.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira