In migrating this to SLEE 7.0.0 I have tried the following:
restcomm-slee-7.0.63.64-wildfly-10.1.0.Final/resources/http-servlet/build.xml ->
This just copies http-servlet-common-7.0.13.jar, restcomm-slee-ra-http-servlet-DU-7.0.13.jar, restcomm.war to the deployments folder.
I don't think this is correct as it causes this error:
Caused by: org.jboss.modules.ModuleNotFoundException: org.restcomm.slee.resource.http.common:main
Next step I tried is:
Create a module org.restcomm.slee.resource.http.common with module.xml and include http-servlet-common-7.0.13.jar. Also include this module as a dependency for slee/container/lib module.
This gets a bit further but now complains with:
Caused by: java.lang.ClassNotFoundException: HttpServletRaServlet from [Module "deployment.restcomm.war:main" from Service Module Loader]
So my questions are:
Regards
| |||||||||||
This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/home/email-disclaimer/
| |||||||||||
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-public+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sorry, you have right. Unfortunately, we use a
customized/own version of the HTTPSevletRA – and it’s working.
The WAR file must be deployed in the deployment folder. The error java.lang.ClassNotFoundException: HttpServletRaServlet from [Module "deployment.restcomm.war:main" from Service Module Loader] indicate that the restcomm.war cannot access the module with the http-servlet-common-7.0.13.jar. Is this jar file deployed under /modules/system/layers/base/org/restcomm/slee/resource/http/common/main?
| |||||||||||
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-public+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| |||||||||||
Just set in standalone.xml<logger category="org.jboss.as"><level name="TRACE"/></logger>
When I try with the original restcomm SLEE & HTTP-Servlet I have the same error.2017-04-05 11:31:28,212 WARN [org.jboss.as.ee] (MSC service thread 1-5) WFLYEE0007: Not installing optional component HttpServletRaSessionListener due to an exception (enable DEBUG log level to see the cause)2017-04-05 11:31:28,212 DEBUG [org.jboss.as.ee] (MSC service thread 1-5) Not installing optional component HttpServletRaSessionListener due to an exception: java.lang.ClassNotFoundException: HttpServletRaSessionListener from [Module "deployment.restcomm.war:main" from Service Module Loader]at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)but2017-04-05 11:31:28,210 TRACE [org.jboss.modules] (MSC service thread 1-5) Finding local class HttpServletRaSessionListener from Module "org.restcomm.slee.resource.http.common:main" from local module loader @4ae82894 (finder: local module finder @543788f3 (roots: /opt/tmp/restcomm-slee-7.0.63.64-wildfly-10.1.0.Final/wildfly-10.1.0.Final/modules,/opt/tmp/restcomm-slee-7.0.63.64-wildfly-10.1.0.Final/wildfly-10.1.0.Final/modules/system/layers/base))2017-04-05 11:31:28,210 TRACE [org.jboss.modules] (MSC service thread 1-5) Loading class HttpServletRaSessionListener locally from Module "org.restcomm.slee.resource.http.common:main" from local module loader @4ae82894 (finder: local module finder @543788f3 (roots: /opt/tmp/restcomm-slee-7.0.63.64-wildfly-10.1.0.Final/wildfly-10.1.0.Final/modules,/opt/tmp/restcomm-slee-7.0.63.64-wildfly-10.1.0.Final/wildfly-10.1.0.Final/modules/system/layers/base))2017-04-05 11:31:28,210 TRACE [org.jboss.modules] (MSC service thread 1-5) No local specification found for class HttpServletRaSessionListener in Module "org.restcomm.slee.resource.http.common:main" from local module loader @4ae82894 (finder: local module finder @543788f3 (roots: /opt/tmp/restcomm-slee-7.0.63.64-wildfly-10.1.0.Final/wildfly-10.1.0.Final/modules,/opt/tmp/restcomm-slee-7.0.63.64-wildfly-10.1.0.Final/wildfly-10.1.0.Final/modules/system/layers/base))I have no idea why the HttpServletRaSessionListener cannot be fopund in the module
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-public+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, with the restcomm version I have the same problems and I have no idea, why the HttpServletRaSessionListener cannot be found in the module.
I can’t find any big differences between our version (cloned from 2.8.0) and the new restcomm. Only that previously it was org.mobicents and now it’s org.restcomm. But if you have an old working RA, you can try to reuse it – put the ra & war in deployment folder (put the jboss-deployment-structure.xml in the war/web-inf) and the common jar in the module (change the jar name in the module.xml).
I hope this works
| |||||||||||
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-public+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.