Closed richardgood closed 7 years ago
Restcomm.jar fails to deploy on Wildfly with current master configuration.
In resources/http-servlet/war/src/main/webapp/WEB-INF/web.xml the listener-class and servlet-class need to define the full classpath and not just the class name:
diff --git a/resources/http-servlet/war/src/main/webapp/WEB-INF/web.xml b/resources/http-servlet/war/src/main/webapp/WEB-INF/web.xml index d80a73a..dd30211 100644 --- a/resources/http-servlet/war/src/main/webapp/WEB-INF/web.xml +++ b/resources/http-servlet/war/src/main/webapp/WEB-INF/web.xml @@ -9,13 +9,13 @@ </welcome-file-list> <listener> <listener-class> - HttpServletRaSessionListener + org.restcomm.slee.resource.http.HttpServletRaSessionListener^M </listener-class> </listener> <servlet> <servlet-name>${servlet-name}</servlet-name> <servlet-class> - HttpServletRaServlet + org.restcomm.slee.resource.http.HttpServletRaServlet^M </servlet-class> <init-param> <param-name>ra-entry-point-jndi-name</param-name>
With this change restcomm.jar deploys fine.
@SergeyLee can you fix this ?
@deruelle I fixed it already: https://github.com/RestComm/jain-slee.http/commit/b27694e85d94ce38fccf876c7bf337b34b980e36 so we can close this issue here.
Restcomm.jar fails to deploy on Wildfly with current master configuration.
In resources/http-servlet/war/src/main/webapp/WEB-INF/web.xml the listener-class and servlet-class need to define the full classpath and not just the class name:
With this change restcomm.jar deploys fine.