RestComm / jss7

RestComm Java SS7 Stack and Services
http://www.restcomm.com/
GNU Affero General Public License v3.0
191 stars 224 forks source link

TcapSS7Service defined in Wildfly's standalone.xml does not get bound to JNDI. #306

Closed georgeyanev closed 6 years ago

georgeyanev commented 6 years ago

/kind bug

What happened: TcapSS7Service bean declared in standalone.xml does not get bound to the wildfly 10.1's JNDI. As a result no SS7 resource adapters can be deployed because they look in the JNDI and find nothing.

What you expected to happen: I expect the bean to be bound properly. How to reproduce it (as minimally and precisely as possible):

  1. Deploy restcomm JSS7 on wildfly 10.1 slee (built from 7.2.0-150 release).
  2. Deploy the tcap resource adapter (from slee 7.2.0-150)
  3. See the error message in server log saying javax.naming.NameNotFoundException: restcomm/ss7/tcap

Anything else we need to know?: Actually in the org.mobicents.ss7.service.SS7ExtensionService class line 1167 is commented out. And there the JNDI name gets set. After uncommenting and recompiling there is an error in server starting log saying: WFLYNAM0043: Naming context is read-only

So how can I proceed further?

Environment: