On Fri, Oct 12, 2012 at 3:42 PM, Hongwu LU
<hong...@gmail.com> wrote:
Dear all,
I have two demo applications, one is designed to listen on SSN 6 and another is listen to SSN 8. But I can not find how to configure jss7 to make both running together.
in file jboss-beans.xml
I tried to duplicate the TcapStackMap (with parameter 6) to TcapStackMapMSC (with parameter 8), and I can also duplicate the MapStack (which refers to TcapStackMap) to MapStackMSC (which refers to TcapStackMapMSC).
This is correct.
then, what should I do ? should I duplicate the MAPSS7service?
Yes. Use unique JNDI names.
and as my demo applications have dependency MAP RA 2.0.0-SNAPSHOT which makes them using jndi java:/mobicents/ss7/map, I could not get out how to make make them attach to MapStack and to MapStackMSC seperately.
You will have to create two "Entities" of MAP RA. Each lookingup different JNDI. Please refer to JSLEE Specs JSR 240. Also look at Mobicents JSLEE docs that comes bundled with Mobicents JSLEE binary release.
thank you in advance