[jboss-jira] [JBoss JIRA] Updated: (AS7-1353) Load on startup is ignored - JaxWS webservice is always initialized first
Alexander Rashed (JIRA)
jira-events at lists.jboss.org
Wed Jul 20 09:55:24 EDT 2011
[ https://issues.jboss.org/browse/AS7-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Rashed updated AS7-1353:
----------------------------------
Description:
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.
was:
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.
Forum Reference: http://community.jboss.org/message/616310
Added forum link
> 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
More information about the jboss-jira
mailing list