Why SS7Service is in not Real state? Something is missing?But now SS7 management shell seems to become available:09:22:14,469 INFO [ShellServer] (main) Starting SS7 management shell environment
09:22:14,473 INFO [ShellServer] (main) ShellExecutor listening at
/127.0.0.1:3435
I've connected to with 'connect 127.0.0.1 3435' and configured it as described in USSDGW README.txt to simulate USSDGW$ cd $JBOSS_HOME/bin/ && ./ss7-cli.sh
version=2.1.0.FINAL,name=Mobicents CLI,prefix=mobicents,vendor=TeleStax
mobicents>connect 127.0.0.1 3435
No response from server
mobicents(
127.0.0.1:3435)>sctp association create Assoc1 CLIENT 127.0.0.1 8012 127.0.0.1 8011
Successfully added client Association=Assoc1
mobicents(
127.0.0.1:3435)>m3ua as create AS1 IPSP mode SE ipspType CLIENT rc 101 traffic-mode loadshare
Successfully created AS name=AS1
mobicents(
127.0.0.1:3435)>m3ua asp create ASP1 Assoc1
Successfully created ASP name=ASP1
mobicents(
127.0.0.1:3435)>m3ua as add AS1 ASP1
Successfully added ASP name=ASP1 to AS name=AS1
mobicents(
127.0.0.1:3435)>m3ua route add AS1 2 -1 -1
AS=AS1 successfully added as route for DPC=2
mobicents(
127.0.0.1:3435)>m3ua asp start ASP1
Successfully started ASP name=ASP1
mobicents(
127.0.0.1:3435)>sccp sap create 1 1 1 2
Service access point successfully added
mobicents(
127.0.0.1:3435)>sccp dest create 1 1 2 2 0 255 255
Destination definition successfully added
mobicents(
127.0.0.1:3435)>sccp rsp create 1 2 0 0
Remote Signaling Pointcode successfully added
mobicents(
127.0.0.1:3435)>sccp rss create 1 2 8 0
Remote Subsystem successfully added
And now I've got new problem with missing library libsctp.so.1:
09:50:47,859 INFO [ShellServer] (pool-32-thread-3) received command : sctp association create Assoc1 CLIENT 127.0.0.1 8012 127.0.0.1 8011
09:50:47,891 INFO [ManagementImpl] (pool-32-thread-3) Added Associoation=Assoc1 of type=CLIENT
09:50:54,292 INFO [ShellServer] (pool-32-thread-6) received command : m3ua as create AS1 IPSP mode SE ipspType CLIENT rc 101 traffic-mode loadshare
09:50:57,949 INFO [ShellServer] (pool-32-thread-8) received command : m3ua asp create ASP1 Assoc1
09:51:01,717 INFO [ShellServer] (pool-32-thread-6) received command : m3ua as add AS1 ASP1
09:51:05,236 INFO [ShellServer] (pool-32-thread-6) received command : m3ua route add AS1 2 -1 -1
09:51:09,793 INFO [ShellServer] (pool-32-thread-1) received command : m3ua asp start ASP1
09:51:09,796 INFO [AssociationImpl] (pool-32-thread-1) Started Association=Association [name=Assoc1, associationType=CLIENT, ipChannelType=SCTP, hostAddress=127.0.0.1, hostPort=8011, peerAddress=127.0.0.1, peerPort=8012, serverName=null, extraHostAddress=[]]
09:51:13,128 INFO [ShellServer] (pool-32-thread-3) received command : sccp sap create 1 1 1 2
09:51:16,737 INFO [ShellServer] (pool-32-thread-1) received command : sccp dest create 1 1 2 2 0 255 255
09:51:20,233 INFO [ShellServer] (pool-32-thread-3) received command : sccp rsp create 1 2 0 0
09:51:24,793 INFO [ShellServer] (pool-32-thread-7) received command : sccp rss create 1 2 8 0
09:51:40,107 ERROR [AssociationImpl] (Thread-21) Error while initiating a connection
java.lang.UnsupportedOperationException:
libsctp.so.1: cannot open shared object file: No such file or directory
at sun.nio.ch.SctpNet.socket0(Native Method)
at sun.nio.ch.SctpNet.socket(SctpNet.java:90)
at sun.nio.ch.SctpChannelImpl.<init>(SctpChannelImpl.java:131)
at com.sun.nio.sctp.SctpChannel.open(SctpChannel.java:165)
at org.mobicents.protocols.sctp.AssociationImpl.doInitiateConnectionSctp(AssociationImpl.java:724)
at org.mobicents.protocols.sctp.AssociationImpl.initiateConnection(AssociationImpl.java:695)
at org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:121)
at java.lang.Thread.run(Thread.java:745)
After installing library error is gone, but now I've got new one with connection refused:# sudo yum install lksctp-tools
# rpm -ql lksctp-tools|grep libsctp.so.1
/usr/lib64/libsctp.so.1
09:53:40,292 ERROR [SelectorThread] (Thread-21)
Exception while finishing connection for Association=Assoc1
java.net.ConnectException: Connection refused at sun.nio.ch.SctpChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SctpChannelImpl.finishConnect(SctpChannelImpl.java:475)
at org.mobicents.protocols.sctp.SelectorThread.finishConnectionSctp(SelectorThread.java:381)
at org.mobicents.protocols.sctp.SelectorThread.finishConnection(SelectorThread.java:366)
at org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:151)
at java.lang.Thread.run(Thread.java:745)
Firewall is off, SELinux too.# /etc/init.d/iptables status
iptables: Firewall is not running.
# getenforce
Permissive
JBOSS restart didn't help.***
During compiling jss7, I skipped test suites as mentioned in other topics & install some libraries manually because of mismatched version or unavailability to find them in specified repos (otherwise successes build isn't impossible):https://oss.sonatype.org/content/groups/public/org/mobicents/protocols/ss7/hardware/libmobicents-dahdi-linux/2.1.0-SNAPSHOT/libmobicents-dahdi-linux-2.1.0-SNAPSHOT.sohttp://www.datanucleus.org/downloads/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (copy) on project boot: Unable to find artifact. Could not find artifact org.mobicents.protocols.ss7.hardware:libmobicents-dahdi-linux:so:2.1.0.FINAL in mobicents-public-repository-group (
http://oss.sonatype.org/content/groups/public/)
[ERROR] mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.hardware -DartifactId=libmobicents-dahdi-linux -Dversion=2.1.0.FINAL -Dpackaging=so -Dfile=/path/to/file
$ mvn install:install-file -DgroupId=org.mobicents.protocols.ss7.hardware -DartifactId=libmobicents-dahdi-linux -Dversion=2.1.0.FINAL -Dpackaging=so -Dfile=/opt/ussdgw/libs/libmobicents-dahdi-linux-2.1.0-SNAPSHOT.so[ERROR] Failed to execute goal on project simulator-parent: Could not resolve dependencies for project org.mobicents.protocols.ss7.tools.simulator:simulator-parent:pom:2.1.0.FINAL: Could not find artifact com.sun.jdmk:jmxtools:jar:1.2.1 in mobicents-public-repository-group (
http://oss.sonatype.org/content/groups/public/)
$ mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=/opt/ussdgw/libs/jmxtools-1.2.1.jar$ cd /opt/ussdgw/jss7/ && mvn clean install -DskipTests***
What can be the cause of this problem? I've read similar topic, but haven't found the solution.
server & boot log files are attached.
Please, help to solve this issued.Thank you.