[smscgateway] one more build error

89 views
Skip to first unread message

James Carpenter

unread,
Apr 19, 2015, 5:44:58 PM4/19/15
to mobicent...@googlegroups.com
Hi,

Keep running into this build error in the simulator pom, as pasted below. Been skipping it to test the smsc, but figured time to address it. I noticed the jar file got stamped so I remove the .lastUpdated, but then it said "Unable to open zip file" instead.

Any ideas?

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mobicents SS7 :: ss7-parent ....................... SUCCESS [1.235s]
[INFO] Mobicents SS7 :: Scheduler :: scheduler ........... SUCCESS [3.609s]
[INFO] Mobicents SS7 :: Congestion :: congestion ......... SUCCESS [0.957s]
[INFO] Mobicents SS7 :: Statistics :: Parent :: statistics-parent  SUCCESS [0.022s]
[INFO] Mobicents SS7 :: Statistics :: Api :: statistics-api  SUCCESS [1.840s]
[INFO] Mobicents SS7 :: Statistics :: Impl :: statistics-impl  SUCCESS [1.008s]
[INFO] Mobicents SS7 :: management ....................... SUCCESS [0.887s]
[INFO] Mobicents SS7 :: Management :: shell-transport .... SUCCESS [1.124s]
[INFO] Mobicents SS7 :: Management :: shell-client ....... SUCCESS [1.700s]
[INFO] Mobicents SS7 :: Management :: shell-server-api ... SUCCESS [0.405s]
[INFO] Mobicents SS7 :: Management :: shell-server-impl .. SUCCESS [0.557s]
[INFO] Mobicents SS7 :: MTP :: Parent :: mtp-parent ...... SUCCESS [0.012s]
[INFO] Mobicents SS7 :: MTP :: Impl :: mtp-api ........... SUCCESS [0.831s]
[INFO] Mobicents SS7 :: MTP :: Impl :: mtp ............... SUCCESS [1.907s]
[INFO] Mobicents SS7 :: M3UA :: Parent :: m3ua ........... SUCCESS [0.011s]
[INFO] Mobicents SS7 :: M3UA :: Api :: m3ua-api .......... SUCCESS [0.934s]
[INFO] Mobicents SS7 :: M3UA :: Impl :: m3ua-impl ........ SUCCESS [4.568s]
[INFO] Mobicents SS7 :: M3UA :: CLI :: m3ua-cli-sctp ..... SUCCESS [0.505s]
[INFO] Mobicents SS7 :: M3UA :: CLI :: m3ua-cli-m3ua ..... SUCCESS [0.613s]
[INFO] Mobicents SS7 :: Hardware :: Parent :: mobicents-hardware  SUCCESS [0.009s]
[INFO] Mobicents SS7 :: Hardware :: linkset .............. SUCCESS [0.785s]
[INFO] Mobicents SS7 :: Hardware :: linkset-cli .......... SUCCESS [0.447s]
[INFO] Mobicents SS7 :: Hardware :: mobicents-dahdi-parent  SUCCESS [0.014s]
[INFO] Mobicents SS7 :: Hardware :: mobicents-dahdi-native  SUCCESS [0.014s]
[INFO] Mobicents SS7 :: Hardware :: mobicents-dahdi ...... SUCCESS [0.831s]
[INFO] Mobicents SS7 :: Hardware :: mobicents-dialogic-parent  SUCCESS [0.010s]
[INFO] Mobicents SS7 :: Hardware :: mobicents-dialogic-native  SUCCESS [0.010s]
[INFO] Mobicents SS7 :: Hardware :: mobicents-dialogic ... SUCCESS [0.703s]
[INFO] Mobicents SS7 :: ISUP :: Parent :: isup-parent .... SUCCESS [0.012s]
[INFO] Mobicents SS7 :: ISUP :: Api :: isup-api .......... SUCCESS [1.452s]
[INFO] Mobicents SS7 :: ISUP :: Impl :: isup-impl ........ SUCCESS [5.187s]
[INFO] Mobicents SS7 :: SCCP :: Parent :: sccp-parent .... SUCCESS [0.009s]
[INFO] Mobicents SS7 :: SCCP :: Api :: sccp-api .......... SUCCESS [0.936s]
[INFO] Mobicents SS7 :: SCCP :: Impl :: sccp-impl ........ SUCCESS [2.266s]
[INFO] Mobicents SS7 :: SCCP :: CLI :: sccp-cli .......... SUCCESS [0.555s]
[INFO] Mobicents SS7 :: TCAP :: Parent :: tcap-parent .... SUCCESS [0.008s]
[INFO] Mobicents SS7 :: TCAP :: Api :: tcap-api .......... SUCCESS [0.969s]
[INFO] Mobicents SS7 :: TCAP :: Impl :: tcap-impl ........ SUCCESS [1.985s]
[INFO] Mobicents SS7 :: TCAP-ANSI :: Parent :: tcap-ansi-parent  SUCCESS [0.009s]
[INFO] Mobicents SS7 :: TCAP ANSI :: Api :: tcap-ansi-api  SUCCESS [0.786s]
[INFO] Mobicents SS7 :: TCAP ANSI :: Impl :: tcap-ansi-impl  SUCCESS [1.857s]
[INFO] Mobicents SS7 :: MAP :: Parent :: map-parent ...... SUCCESS [0.009s]
[INFO] Mobicents SS7 :: MAP :: Api :: map-api ............ SUCCESS [3.126s]
[INFO] Mobicents SS7 :: MAP :: Impl :: map-impl .......... SUCCESS [8.366s]
[INFO] Mobicents SS7 :: MAP :: LOAD :: map-load .......... SUCCESS [0.812s]
[INFO] Mobicents SS7 :: INAP :: Parent :: inap-parent .... SUCCESS [0.008s]
[INFO] Mobicents SS7 :: INAP :: Api :: inap-api .......... SUCCESS [0.758s]
[INFO] Mobicents SS7 :: INAP :: Impl :: inap-impl ........ SUCCESS [0.815s]
[INFO] Mobicents SS7 :: CAP :: Parent :: cap-parent ...... SUCCESS [0.009s]
[INFO] Mobicents SS7 :: CAP :: Api :: cap-api ............ SUCCESS [2.193s]
[INFO] Mobicents SS7 :: CAP :: Impl :: cap-impl .......... SUCCESS [5.373s]
[INFO] Mobicents SS7 :: Service .......................... SUCCESS [6.095s]
[INFO] Mobicents SS7 :: SGW :: Parent :: mobicents-sgw ... SUCCESS [0.011s]
[INFO] Mobicents SS7 :: SGW :: Gateway :: gateway ........ SUCCESS [0.539s]
[INFO] Mobicents SS7 :: SGW :: Boot :: boot .............. SUCCESS [2.449s]
[INFO] Mobicents SS7 :: Tools :: Parent .................. SUCCESS [0.009s]
[INFO] Mobicents SS7 Simulator :: Parent ................. FAILURE [23.157s]
[INFO] Mobicents SS7 Simulator :: Simulator core ......... SKIPPED
[INFO] Mobicents SS7 Simulator :: Simulator GUI .......... SKIPPED
[INFO] Mobicents SS7 Simulator :: Simulator Bootstrap .... SKIPPED
[INFO] Mobicents Trase Parser :: ss7-trace-parser-parent . SKIPPED
[INFO] Mobicents Trase Parser :: ss7-trace-parser ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:37.423s
[INFO] Finished at: Sun Apr 19 14:41:21 PDT 2015
[INFO] Final Memory: 70M/541M
[INFO] ------------------------------------------------------------------------
[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/) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: 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/)
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
Caused by: org.apache.maven.project.DependencyResolutionException: 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/)
    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
    ... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact com.sun.jdmk:jmxtools:jar:1.2.1 in mobicents-public-repository-group (http://oss.sonatype.org/content/groups/public/)
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
    ... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact com.sun.jdmk:jmxtools:jar:1.2.1 in mobicents-public-repository-group (http://oss.sonatype.org/content/groups/public/)
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
    ... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact com.sun.jdmk:jmxtools:jar:1.2.1 in mobicents-public-repository-group (http://oss.sonatype.org/content/groups/public/)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:939)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
    at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :simulator-parent
[root@smsc-cent7 Mobicents-jSS7-2.x]# find / -name *jmxtools*
/root/.m2/repository/com/sun/jdmk/jmxtools
/root/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.pom.lastUpdated
/root/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.pom.sha1
/root/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.pom
/root/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar.lastUpdated

faizan naqvi

unread,
Apr 19, 2015, 6:47:16 PM4/19/15
to mobicent...@googlegroups.com

Yeah that is not going to help. Better delete 1.2.1 directory and do mvn install again to pull jmxtools-1.2.1 jar from maven central repo.


--
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-publ...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Carpenter

unread,
Apr 20, 2015, 8:29:28 AM4/20/15
to mobicent...@googlegroups.com
Morning Faizan,

Thanks for your prompt response. Yeah, I actually tried that too, but it seems to stamp it each time it downloads it. I even just deleted the entire /root/.m2/ folder, but to no avail.

It seems I need to learn a bit more about maven and these pom files to ensure they are pointing to the correct dependencies, using the correct ENVVARS, etc... as this is just one of 7 errors I am trying to work through relating to pom files or the JBOSS_HOME variable. Hope all is well.


v/R,
James

Ibrahima Gaye

unread,
Apr 20, 2015, 8:29:32 AM4/20/15
to mobicent...@googlegroups.com
Hi,
Maven Central don't have it ("Could not find artifact com.sun.jdmk:jmxtools:jar:1.2.1 in For-JMDK (https://repo1.maven.org/maven2/), try downloading from http://java.sun.com/products/JavaManagement/download.html -> [Help 1]
") ...
You can use this repository: 
                <repository>
                        <id>repo-for-missing-deps</id>
                        <name>TO FIX SOME MISSINGs</name>
                        <url>http://www.datanucleus.org/downloads/maven2/</url>
                </repository>
:)
Best regards

------
Ibrahim

James Carpenter

unread,
Apr 20, 2015, 9:21:08 AM4/20/15
to mobicent...@googlegroups.com

Ibrahim to the rescue once again!!   :)

Thank you kindly. I will have time a little later to dig into it and let y'all know. Also, sorry for not posting my docs yet, I would like a tutorial that will build the software from scratch, but at present; I can get a successful build, but it always takes some tinkering and hair pulling out (trying to prevent others from experiencing the same frustration with a inadequate tutorial).

At present, I have 4 errors I am working through. I am trying to use them to learn, but if I get to aggravated I will post them on a new thread :)

Thanks again Ibrahim, you are the greatest!


v/R
James

Ibrahima Gaye

unread,
Apr 20, 2015, 9:45:04 AM4/20/15
to mobicent...@googlegroups.com
Lool The great are with mister Obama (ivelin) ... i have just been hanging around for so long time :)
> --
> 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-publ...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
------
Ibrahim


Ibrahima Gaye

unread,
Apr 21, 2015, 8:01:15 AM4/21/15
to mobicent...@googlegroups.com
Hi James,
for testing the smsc server you can use these commands here: http://docs.telestax.com/smsc-starting-and-running-in-simulator-mode/ (added them at the end of this mail) and after that you use the simulator in the jss7 to simulate send sms.
Best regards,
PS:
sctp server create serv1 127.0.0.1 8012 TCP
sctp server start serv1
sctp association create ass1 SERVER serv1 127.0.0.1 8011 TCP
 
m3ua as create as1 IPSP mode SE ipspType server rc 101 traffic-mode loadsharing network-appearance 102
m3ua asp create asp1 ass1
m3ua as add as1 asp1
m3ua asp start asp1
m3ua route add as1 1 2 3
 
sccp sap create 1 1 2 2
sccp dest create 1 1 1 1 0 255 255
sccp address create 1 82 1 8 0 1 4 000
sccp address create 2 82 2 8 0 1 4 000
sccp rule create 1 K 82 0 8 0 1 4 * solitary 1 origination-type localOriginated
sccp rule create 2 K 82 0 8 0 1 4 * solitary 2 origination-type remoteOriginated
sccp rsp create 1 1 0 0
sccp rss create 1 1 8 0
 
smsc set scgt 22220
smsc set scssn 8
smsc set hlrssn 8
smsc set mscssn 8
smsc set maxmapv 3
 
smsc esme create test test test 127.0.0.1 -1 TRANSCEIVER SERVER esme-ton 1 esme-npi 1 esme-range 6666
smsc esme start test 

## ibrahim-comment: for smsc esme start test, "start" is not available in the public version

------
Ibrahim

Reply all
Reply to author
Forward
0 new messages