From: <tho...@jb...> - 2005-05-01 13:25:59
|
Currently the deployment of web service endpoints is based on notifications emmited by the TomcatDeployer, EJBDeployer respectivly. During the CREATE step is is neccessary to detect wheter a given war deployment is relevant to the WebServiceDeployerJSE so that the WS layer can modify the web.xml and replace the invalid <servlet-class> entries. So far the detection depends on the existens of the WEB-INF/webservices.xml descriptor. With the event of JSR-181 annotations, the entries in <servlet-class> have to be checked for @javax.jws.WebService. In order to do that, these classes need to be loaded. The web context classloader, however is not made available before the START step of the web deployment, at which time the web.xml should have been modified already. How is it possible to load a class from WEB-INF/classes (and other valid war locations) without introducing a dependency on Tomcat in JBossWS? AFAIK, the DeploymentInfo.ucl does not see these locations. IMO, the web context loader should be made available in WebMetaData.ctxLoader during INIT or CREATE if that is at all possible. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876060#3876060 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876060 |