smscgateway error

1,339 views
Skip to first unread message

lucas oketch

unread,
May 7, 2012, 6:44:36 PM5/7/12
to mobicents-public
i am trying to install smsc gateway using mvn clean install but i get
the following error:

Downloading: http://maven.cloudhopper.com/repos/third-party/org/mobicents/smsc/events/1.0.0.ALPHA-SNAPSHOT/events-1.0.0.ALPHA-SNAPSHOT.pom
[WARNING] The POM for
org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT is missing, no
dependency information available

please assist.

thanks,

Lucas.

Amit Bhayani

unread,
May 9, 2012, 3:48:54 AM5/9/12
to mobicent...@googlegroups.com
Delete directory .m2/repository/org/mobicents/smsc from your local repository.
Sync the code with head and try again.

There are some change in how archives are named now, probably thats why this error.

Amit.

lucas oketch

unread,
May 10, 2012, 1:42:21 PM5/10/12
to mobicent...@googlegroups.com
Hi Amit,

thank you so much for your response, after attempting i still get to
the same error which somehow points to a non existent .pom and .jar
file in the repository. Is it possible you can guide me where else i
get this files and do an offline maven install. your assistance will
be greatly appreciated.
Besides how does one get to join and help in the development of this
great solution ? i can possibly start by assisting in docs as i
improve my skillset with the aim of contributing more to opensource. I
am from Kenya, East Africa.

thanks,

Lucas.

Victor Neiman

unread,
Aug 2, 2012, 7:46:32 AM8/2/12
to mobicent...@googlegroups.com
Hi Amit,

I'm experiencing the same problem building smscgateway, when building with maven 2.2.1 it reports a missing jar: org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT. When building with maven 3.0.4. I get this error:

[ERROR] Failed to execute goal on project smpp-server-ra-ratype: Could not resolve dependencies for project org.mobicents.smsc:smpp-server-ra-ratype:jar:1.0.0.ALPHA-SNAPSHOT: Could not find artifact org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public) -> [Help 1]

This is off a fresh git clone. Any help/advice would be appreciated.

Regards
Victor Neiman

Normandes Junior

unread,
Aug 2, 2012, 8:26:35 AM8/2/12
to mobicent...@googlegroups.com
Hi, 

   I think that I discover the problem, there are 2 pom.xml with <artifactId> error.

   I created a clone and commit at http://code.google.com/r/normandesjr-smsc/ and it is working for me. You can download it and make mvn mobicents:eclipse to create the eclipse project and then use mvn clean install to build it.

   I disabled the tests too. You can check what I've changed here: http://code.google.com/r/normandesjr-smsc/source/detail?r=a0b6e100e413e33e68d9d313c89f505b84dfb11e

   Hope this can help you.

Normandes Junior.

Victor Neiman

unread,
Aug 2, 2012, 8:43:34 AM8/2/12
to mobicent...@googlegroups.com
Thanks Normandes, that works!

Victor

Jean Deruelle

unread,
Aug 2, 2012, 10:27:54 AM8/2/12
to mobicent...@googlegroups.com
Hi Normandes,

Please use the following instructions for clones and contributing your changes back to the main repo http://code.google.com/p/sipservlets/wiki/Contribute
This is a wiki page of sip servlets but the same apply to all Mobicents git hosted projects.

Thanks in advance
Jean

Normandes Junior

unread,
Aug 3, 2012, 7:25:34 AM8/3/12
to mobicent...@googlegroups.com
Ok Jean, I will do it.

Normandes Junior.

Victor Neiman

unread,
Aug 15, 2012, 6:04:31 AM8/15/12
to mobicent...@googlegroups.com
Hi Amit,

I've checked out a fresh smscgateway and I cannot get it to compile, maven logs attached, the problem seems to be 'import org.mobicents.ss7.management.console.Tree.Node' among others. Any advice on what action to take would be appreciated.

Regards
Victor

On Wednesday, May 9, 2012 9:48:54 AM UTC+2, Amit Bhayani wrote:
smscgateway.maven.log

Oleksandr Shchirskyi

unread,
Aug 15, 2012, 10:06:37 AM8/15/12
to mobicent...@googlegroups.com
Hi Victor,

I've faced with this issue too. 
Looks like this problem was introduced in the 9aad2510bdb7 revision. SmscCommandHandler.java trying to import Tree class from the shell-2.0.0-SNAPSHOT.jar, but this class is absent there. 

With best regards,
Oleksandr Shchirskyi

среда, 15 августа 2012 г., 13:04:31 UTC+3 пользователь Victor Neiman написал:

Victor Neiman

unread,
Aug 15, 2012, 10:15:03 AM8/15/12
to mobicent...@googlegroups.com
I got it, there are problems with some of the pom.xml files. When doing compilation look for the modules that are failing and inspect the poms. Also, use Maven 3.

Amit Bhayani

unread,
Aug 15, 2012, 1:27:06 PM8/15/12
to mobicent...@googlegroups.com
The latest jSS7 and SCTP libraries are pushed in http://oss.sonatype.org/content/repositories/snapshots/org/mobicents/protocols/ repository.

Please sync the SMSC code with master branch and try again. 

It should compile without issues. 

Oleksandr Shchirskyi

unread,
Aug 15, 2012, 3:16:47 PM8/15/12
to mobicent...@googlegroups.com
Thank you Amit, but I still can't compile project.

With maven 3.0.4 I get this:

[ERROR]   The project org.mobicents.smsc:smsc-cli:1.0.0.ALPHA-SNAPSHOT (/opt/smscgateway/core/oam/cli/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.mobicents.smsc:core:pom:1.0.0.ALPHA-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]

and with maven 2.2.1 this:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mobicents.smsc -DartifactId=events -Dversion=1.0.0.ALPHA-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mobicents.smsc -DartifactId=events -Dversion=1.0.0.ALPHA-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.mobicents.smsc:smpp-server-ra-ratype:jar:1.0.0.ALPHA-SNAPSHOT
        2) org.mobicents.smsc:events:jar:1.0.0.ALPHA-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.mobicents.smsc:smpp-server-ra-ratype:jar:1.0.0.ALPHA-SNAPSHOT

from the specified remote repositories:
  jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/),
  central (http://repo1.maven.org/maven2),
  mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public),
  jboss-deprecated-repository (https://repository.jboss.org/nexus/content/repositories/deprecated/),
  cloudhopper-public (http://maven.cloudhopper.com/repos/third-party),
  jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)


With best regards,
Oleksandr Shchirskyi


среда, 15 августа 2012 г., 20:27:06 UTC+3 пользователь Amit Bhayani написал:

Oleksandr Shchirskyi

unread,
Aug 17, 2012, 8:41:46 AM8/17/12
to mobicent...@googlegroups.com
I'm sorry guys, but could anybody tell smth about this errors? I faced with them on several PCs with different environment and maven versions. 
Is it my fault or still problem in the project sources?

среда, 15 августа 2012 г., 22:16:47 UTC+3 пользователь Oleksandr Shchirskyi написал:

Amit Bhayani

unread,
Aug 17, 2012, 8:45:57 AM8/17/12
to mobicent...@googlegroups.com
Please use maven 2.x only. Its not yet migrated to maven 3.x

Can you please clean your .m2//home/abhayani/.m2/repository/org/mobicents/smsc and .m2/repository/org/mobicents/protocols/ss7 and try again?

Normandes Junior

unread,
Aug 17, 2012, 9:00:06 AM8/17/12
to mobicent...@googlegroups.com
Hi, I raised a issue for it but it still not fixed - http://code.google.com/p/smscgateway/issues/detail?id=29
So, I created a clone and fixed it - try to download it - http://code.google.com/r/normandesjr-smsc/
And use Maven 2.x.

Normandes Junior.

Amit Bhayani

unread,
Aug 17, 2012, 9:18:33 AM8/17/12
to mobicent...@googlegroups.com
Thanks Normandes.

Fixed now :)

Please sync with git repo again.

Amit.

Oleksandr Shchirskyi

unread,
Aug 17, 2012, 11:04:36 AM8/17/12
to mobicent...@googlegroups.com
Thank you. Old problem is fixed, but I still can't compile project.
This time compilation failed with new error:

[INFO] Compilation failure
/home/diesel/sequans/IMS/smscgateway/core/slee/services/mtsbb/src/main/java/org/mobicents/smsc/slee/services/mt/MtCommonSbb.java:[326,70] error: method getInstance in enum MAPApplicationContextVersion cannot be applied to given types;


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
/home/diesel/sequans/IMS/smscgateway/core/slee/services/mtsbb/src/main/java/org/mobicents/smsc/slee/services/mt/MtCommonSbb.java:[326,70] error: method getInstance in enum MAPApplicationContextVersion cannot be applied to given types;


    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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:601)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
/home/diesel/sequans/IMS/smscgateway/core/slee/services/mtsbb/src/main/java/org/mobicents/smsc/slee/services/mt/MtCommonSbb.java:[326,70] error: method getInstance in enum MAPApplicationContextVersion cannot be applied to given types;


    at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
    at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    ... 17 more


пятница, 17 августа 2012 г., 16:18:33 UTC+3 пользователь Amit Bhayani написал:

Normandes Junior

unread,
Aug 18, 2012, 6:29:35 AM8/18/12
to mobicent...@googlegroups.com
I just resync and it is working for me.

Try to remove old files from your maven repository and use Oracle JDK 7 to compile.

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 5:38:41 AM8/20/12
to mobicent...@googlegroups.com
Yes, you are right. I've just cleaned old maven repository and after this successfully compiled project.
Thank you a lot!

суббота, 18 августа 2012 г., 13:29:35 UTC+3 пользователь Normandes Junior написал:

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 6:40:49 AM8/20/12
to mobicent...@googlegroups.com
I've successfully compiled smscgateway, but after this I faced with another problem.
I tried to start run.sh (from smscgateway/test/bootstrap/target/smsc-server/bin) and program fell with such error description:

naiad bin # pwd
/home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/bin
naiad bin # ./run.sh
=========================================================================

  MMS Bootstrap Environment

  SMSC_HOME: /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server

  JAVA: /usr/java/jdk1.7.0_05/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server  -Djava.net.preferIPv4Stack=true -Xms256m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/bin/run.jar

=========================================================================

log4j:WARN No appenders could be found for logger (org.mobicents.smsc.server.bootstrap.Main).
log4j:WARN Please initialize the log4j system properly.
13:24:41,420 INFO  [Main] log4j configured
13:24:41,425 INFO  [Main] Booting from file:/home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/conf/bootstrap-beans.xml
13:24:41,999 INFO  [Configuration] Configuring /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/deploy/oam-beans.xml
13:24:42,000 INFO  [Configuration] Configuring /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/deploy/map-beans.xml
13:24:42,001 INFO  [Configuration] Configuring /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/deploy/ss7-beans.xml
13:24:42,157 INFO  [Scheduler] Starting
13:24:42,158 INFO  [Scheduler] Started
Exception in thread "main" java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
  Deployment "SCTPManagement" is in error due to: java.lang.NoClassDefFoundError: org/mobicents/protocols/api/ManagementEventListener

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "SccpExecutor" is missing the following dependencies:
    Dependency "SccpStack" (should be in state "Installed", but is actually in state "Instantiated")
  Deployment "SCTPShellExecutor" is missing the following dependencies:
    Dependency "SCTPManagement" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "SccpStack" is missing the following dependencies:
    Dependency "Mtp3UserPart" (should be in state "Installed", but is actually in state "Instantiated")
  Deployment "Mtp3UserPart" is missing the following dependencies:
    Dependency "SCTPManagement" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "M3UAShellExecutor" is missing the following dependencies:
    Dependency "Mtp3UserPart" (should be in state "Installed", but is actually in state "Instantiated")
  Deployment "ShellExecutor" is missing the following dependencies:
    Dependency "SccpExecutor" (should be in state "Installed", but is actually in state "Instantiated")
    Dependency "M3UAShellExecutor" (should be in state "Installed", but is actually in state "Instantiated")
    Dependency "SCTPShellExecutor" (should be in state "Installed", but is actually in state "Instantiated")
  Deployment "HLR" is missing the following dependencies:
    Dependency "SccpStack" (should be in state "Installed", but is actually in state "Instantiated")
  Deployment "MSC" is missing the following dependencies:
    Dependency "SccpStack" (should be in state "Installed", but is actually in state "Instantiated")

    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
    at org.mobicents.smsc.server.bootstrap.MainDeployer.start(MainDeployer.java:126)
    at org.mobicents.smsc.server.bootstrap.Main.start(Main.java:229)
    at org.mobicents.smsc.server.bootstrap.Main.boot(Main.java:222)
    at org.mobicents.smsc.server.bootstrap.Main.main(Main.java:83)
...
naiad bin # /usr/java/jdk1.7.0_05/bin/java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)


Looks like that the reason of this problem is an absent class ManagementEventListener in the sctp-api-1.0.0-20120820.033104-170.jar
Is it a bug in the project or again just my mistake?

Normandes Junior

unread,
Aug 20, 2012, 7:21:02 AM8/20/12
to mobicent...@googlegroups.com
Before this error probably there is another error message, please attach it here.

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 7:42:22 AM8/20/12
to mobicent...@googlegroups.com
No, actually it's the full output.I didn't cut anything from the error description.
I've launched server again and copied the output, it's similar to the previous one:


naiad bin # ./run.sh
=========================================================================

  MMS Bootstrap Environment

  SMSC_HOME: /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server

  JAVA: /usr/java/jdk1.7.0_05/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server  -Djava.net.preferIPv4Stack=true -Xms256m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/bin/run.jar

=========================================================================

log4j:WARN No appenders could be found for logger (org.mobicents.smsc.server.bootstrap.Main).
log4j:WARN Please initialize the log4j system properly.
14:38:37,827 INFO  [Main] log4j configured
14:38:37,833 INFO  [Main] Booting from file:/home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/conf/bootstrap-beans.xml
14:38:38,421 INFO  [Configuration] Configuring /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/deploy/oam-beans.xml
14:38:38,422 INFO  [Configuration] Configuring /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/deploy/map-beans.xml
14:38:38,423 INFO  [Configuration] Configuring /home/diesel/sequans/IMS/smscgateway/test/bootstrap/target/smsc-server/deploy/ss7-beans.xml
14:38:38,583 INFO  [Scheduler] Starting
14:38:38,584 INFO  [Scheduler] Started
^CShutting down
14:38:42,912 INFO  [MainDeployer] Stopped

naiad bin #

Is it possible to enable some debug output?

понедельник, 20 августа 2012 г., 14:21:02 UTC+3 пользователь Normandes Junior написал:

Normandes Junior

unread,
Aug 20, 2012, 7:52:31 AM8/20/12
to mobicent...@googlegroups.com
Seems to me that you are trying to deploy smscgateway at Mobicents Media Server. You should not deploy it in Mobicents Media Server.

You should deploy smscgateway at Mobicents JAIN SLEE. I deployed smscgateway successfully at Mobicents JAIN SLEE 2.6.0.GA, but I think you can try at Mobicents JAIN SLEE 2.7.0.GA.

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 8:14:32 AM8/20/12
to mobicent...@googlegroups.com
Hem.. I'm sorry for the offtopic, but is there any available documentation on the smscgateway deployment and further work with it?
How can I install it and use next?

BTW, I thought that "test" directory contains some test environment for easy check or deployment gateway...

понедельник, 20 августа 2012 г., 14:52:31 UTC+3 пользователь Normandes Junior написал:

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 9:18:25 AM8/20/12
to mobicent...@googlegroups.com
Anyway, I've just tried to deploy smscgateway at Mobicents JAIN SLEE 2.6.0.GA and gotten the same error:

...
16:13:18,884 ERROR [AbstractKernelController] Error installing to PreInstall: name=SCTPManagement state=Real
java.lang.NoClassDefFoundError: org/mobicents/protocols/api/ManagementEventListener
...

понедельник, 20 августа 2012 г., 14:52:31 UTC+3 пользователь Normandes Junior написал:

Normandes Jr

unread,
Aug 20, 2012, 9:38:10 AM8/20/12
to mobicent...@googlegroups.com
Please, add the whole log, specially the initial.

Weverton Castanho

unread,
Aug 20, 2012, 9:53:27 AM8/20/12
to mobicent...@googlegroups.com
Hi Oleksandr Shchirskyi,
  What's the operational system you are running smsc? We've the same error running on OS X (MAC), Mobicents not support the sctp C Libraries of Mac.


--
Kind regards,
Weverton de Souza Castanho
weverton...@transtelco.com.br
mobile: +55 11 99384.8818

2012/8/20 Normandes Jr <norma...@gmail.com>

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 10:11:25 AM8/20/12
to mobicent...@googlegroups.com
I've attached logs of installation and launching smscgateway.
Installation was done by "mvn -e clean install" and launching by "/jboss-5.1.0.GA/bin/run.sh" from the jainslee directory.

понедельник, 20 августа 2012 г., 16:38:10 UTC+3 пользователь Normandes Junior написал:
smsc_installation.log
smsc_start.log

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 10:16:27 AM8/20/12
to mobicent...@googlegroups.com
Hi Weverton,

Thank you for reply. I use Ubuntu 12.04.1 LTS x86_64


With best regards,
Oleksandr Shchirskyi

понедельник, 20 августа 2012 г., 16:53:27 UTC+3 пользователь Weverton-Transtelco написал:

Weverton Castanho

unread,
Aug 20, 2012, 10:21:09 AM8/20/12
to mobicent...@googlegroups.com
Oleksandr,
  Did you install lksctp-tools-1.0.11?


--
Kind regards,
Weverton de Souza Castanho
weverton...@transtelco.com.br
mobile: +55 11 99384.8818

2012/8/20 Oleksandr Shchirskyi <schi...@gmail.com>

Oleksandr Shchirskyi

unread,
Aug 20, 2012, 11:17:28 AM8/20/12
to mobicent...@googlegroups.com
No, it had not been installed. But I've just installed it and after this nothing changed, I get the same error message.

понедельник, 20 августа 2012 г., 17:21:09 UTC+3 пользователь Weverton-Transtelco написал:

Weverton Castanho

unread,
Aug 20, 2012, 12:41:51 PM8/20/12
to mobicent...@googlegroups.com
Ok Oleksandr!
  Sorry I'm not working in mobicents code, but this problem should not be a permission file problem in this lib? Other thing, we are working with mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA and we install over ../mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA/extra/mobicents-ss7 directory this package mobicents-ss7-1.0.0.CR4.zip. Could you verify if port 2905 (sctp port) is enable?


2012/8/20 Oleksandr Shchirskyi <schi...@gmail.com>



--
Atenciosamente,

Weverton de Souza Castanho
weverton...@transtelco.com.br
cel.: 11 99384.8818

Amit Bhayani

unread,
Aug 20, 2012, 4:31:18 PM8/20/12
to mobicent...@googlegroups.com
1) smscgateway/test/bootstrap/target/smsc-server is simulator environment to test actualy SMSC Server deployed on JSLEE Server. smscgateway/test/bootstrap/target/smsc-server acts as HLR/MSC and replies back to SRI/MtForwradsSMS coming from SMSC Gateway.

2) The error "Deployment "SCTPManagement" is in error due to: java.lang.NoClassDefFoundError: org/mobicents/protocols/api/ManagementEventListener" is because its using latest SCTP api http://code.google.com/p/sctp/ which was not uploaded to sonatype repository. I just did this. Please sync smscgateway master barnch and try again.

3) "MMS Bootstrap Environment" that you see on startup is copy paste error and rectified now. 

Oleksandr Shchirskyi

unread,
Aug 21, 2012, 6:52:30 AM8/21/12
to mobicent...@googlegroups.com
Thank you for suggestion Weverton, but as I see my problem is a bit simpler - outdated libraries in the maven repository.

понедельник, 20 августа 2012 г., 19:41:51 UTC+3 пользователь Weverton-Transtelco написал:

Oleksandr Shchirskyi

unread,
Aug 21, 2012, 6:54:59 AM8/21/12
to mobicent...@googlegroups.com
Thank you Amit.
I've resynced code, compiled project and again faced with the similar problem. This time ServerListener class is absent.

Exception in thread "main" java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR:
  Deployment "SCTPManagement" is in error due to: java.lang.NoClassDefFoundError: org/mobicents/protocols/api/ServerListener

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "SccpExecutor" is missing the following dependencies:
    Dependency "SccpStack" (should be in state "Installed", but is actually in state "Instantiated")


понедельник, 20 августа 2012 г., 23:31:18 UTC+3 пользователь Amit Bhayani написал:

Weverton Castanho

unread,
Aug 21, 2012, 8:39:03 AM8/21/12
to mobicent...@googlegroups.com
Hi Oleksandr!
 Thanks for your return, enjoy mobicents, good luck! If you need something, just call, ok!


--
Kind regards,
Weverton de Souza Castanho
weverton...@transtelco.com.br
mobile: +55 11 99384.8818

2012/8/21 Oleksandr Shchirskyi <schi...@gmail.com>

Oleksandr Shchirskyi

unread,
Aug 23, 2012, 7:28:56 AM8/23/12
to mobicent...@googlegroups.com
Hi Amit,

I'm sorry, could you upload recent version of libraries to the maven repository to fix problem with absent classes?
Or share your environment (I mean e.g. your local m2 repository) in order to prevent such kind of errors.

Thank you in advance.

With best regards,
Oleksandr Shchirskyi

понедельник, 20 августа 2012 г., 23:31:18 UTC+3 пользователь Amit Bhayani написал:
1) smscgateway/test/bootstrap/target/smsc-server is simulator environment to test actualy SMSC Server deployed on JSLEE Server. smscgateway/test/bootstrap/target/smsc-server acts as HLR/MSC and replies back to SRI/MtForwradsSMS coming from SMSC Gateway.

dayah...@gmail.com

unread,
Mar 29, 2014, 5:59:42 PM3/29/14
to mobicent...@googlegroups.com
Hi,

I want to install the smsc gateway. Are there any installation instructions I can follow?

I'm using Eclipse Indigo with Maven 2 installed.


Any help would be appreciated.

Thanks,
Dayah

Nareshkumar Mantri

unread,
Jun 18, 2014, 2:38:29 AM6/18/14
to mobicent...@googlegroups.com
Hiee  daniel ganellari,

I also got the same missing artifacts error. Can you share the solution if you had found. Please i am in middle stuck for long time.

Regards,
M Naresh

Nareshkumar Mantri

unread,
Jun 18, 2014, 7:52:41 AM6/18/14
to mobicent...@googlegroups.com
Hi,

I had run the project and got the mobicents-smsc-server directory to be copied into Jboss. But when deploying the jboss i am getting error.
The error Log:

17:21:45,895 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.pending: java.io.FileNotFoundException: /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.pending (Permission denied)
    at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221) [rt.jar:1.7.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:171) [rt.jar:1.7.0_45]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:890) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:88) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:936) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:925) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ContentAddingTask.<init>(FileSystemDeploymentService.java:990) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeployTask.<init>(FileSystemDeploymentService.java:1036) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeployTask.<init>(FileSystemDeploymentService.java:1033) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.addContentAddingTask(FileSystemDeploymentService.java:645) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:552) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:613) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:613) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:336) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:149) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

17:21:45,937 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015010: The deployment scanner found a directory named META-INF that was not inside a directory whose name ends with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside the /home/jboss/jboss-as-7.1.1.Final/standalone/deployments directory, which is a user error. The META-INF directory will not be scanned for deployments, but it is possible that the scanner mayfind other files from the unzipped archive and attempt to deploy them, leading to errors.
17:21:45,947 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.isdeploying: java.io.FileNotFoundException: /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.isdeploying (Permission denied)
    at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221) [rt.jar:1.7.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:171) [rt.jar:1.7.0_45]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:890) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:88) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.recordInProgress(FileSystemDeploymentService.java:942) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:397) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:149) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

17:21:46,090 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
17:21:46,127 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "asn-2.0.0-20130624.000259-57.jar"
17:21:46,320 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) JBossOSGi Framework Core - 1.1.8.Final
17:21:46,414 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on http://127.0.0.1:9990
17:21:46,415 ERROR [org.jboss.as] (MSC service thread 1-4) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 4200ms - Started 151 of 227 services (1 services failed or missing dependencies, 74 services are passive or on-demand)
17:21:46,464 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: system.bundle:0.0.0
17:21:46,754 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.log:1.0.0
17:21:46,757 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-osgi-logging:1.0.0
17:21:46,779 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: javax.transaction.api:0.0.0
17:21:46,794 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-as-osgi-configadmin:7.1.1.Final
17:21:47,261 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: jbosgi-http-api:1.0.5
17:21:47,276 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.configadmin:1.2.8
17:21:47,406 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: osgi.enterprise:4.2.0.201003190513
17:21:47,633 INFO  [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-1) Starting bundles for start level: 1
17:21:47,636 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jbosgi-http-api:1.0.5
17:21:47,642 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: osgi.enterprise:4.2.0.201003190513
17:21:47,670 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-as-osgi-configadmin:7.1.1.Final
17:21:47,697 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-osgi-logging:1.0.0
17:21:47,729 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.log:1.0.0
17:21:47,731 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: javax.transaction.api:0.0.0
17:21:47,772 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.configadmin:1.2.8
17:21:47,780 INFO  [org.jboss.osgi.framework.internal.FrameworkActive] (MSC service thread 1-1) OSGi Framework started
17:21:47,787 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.mobicents.protocols.asn:2.0.0.SNAPSHOT
17:21:47,797 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: org.mobicents.protocols.asn:2.0.0.SNAPSHOT
17:21:47,927 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "asn-2.0.0-20130624.000259-57.jar"
17:21:47,929 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.deployed: java.io.FileNotFoundException: /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.deployed (Permission denied)
    at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221) [rt.jar:1.7.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:171) [rt.jar:1.7.0_45]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:890) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:88) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ContentAddingTask.handleSuccessResult(FileSystemDeploymentService.java:1021) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:442) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:149) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

^C17:21:49,646 INFO  [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
17:21:49,648 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.mobicents.protocols.asn:2.0.0.SNAPSHOT
17:21:49,659 INFO  [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService
17:21:49,668 INFO  [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager
17:21:49,674 INFO  [org.jboss.as.connector.subsystems.datasources] JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
17:21:49,683 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jboss-as-osgi-configadmin:7.1.1.Final
17:21:49,690 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.apache.felix.log:1.0.0
17:21:49,689 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: osgi.enterprise:4.2.0.201003190513
17:21:49,688 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jboss-osgi-logging:1.0.0
17:21:49,705 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jbosgi-http-api:1.0.5
17:21:49,701 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: javax.transaction.api:0.0.0
17:21:49,710 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.apache.felix.configadmin:1.2.8
17:21:49,680 ERROR [org.jboss.as.server.deployment] JBAS015892: Deployment unit processor org.jboss.as.jpa.processor.PersistenceProviderProcessor@554195 unexpectedly threw an exception during undeploy phase INSTALL of deployment "asn-2.0.0-20130624.000259-57.jar": java.lang.NullPointerException
    at org.jboss.as.jpa.processor.PersistenceProviderProcessor.allDeploymentModuleClassLoaders(PersistenceProviderProcessor.java:138)
    at org.jboss.as.jpa.processor.PersistenceProviderProcessor.undeploy(PersistenceProviderProcessor.java:122)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:167) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:161) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]


Can anybody help me out. I am using jboss7.

Sergey Vetyutnev

unread,
Jun 18, 2014, 2:08:12 PM6/18/14
to mobicent...@googlegroups.com
Hello!

>  I am using jboss7. 
Use jboss-5.1.0

Nareshkumar Mantri

unread,
Jun 20, 2014, 1:37:09 AM6/20/14
to mobicent...@googlegroups.com

Hi i had solved my problem in jboss7 about the file permissions. But now getting this error.

 11:04:37,849 ERROR [org.jboss.osgi.framework.internal.FrameworkEventsPlugin] (MSC service thread 1-2) Framework ERROR: org.osgi.framework.BundleException: Cannot resolve bundle resModule: [org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT]
    at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:157) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
    at org.jboss.osgi.framework.internal.AbstractBundleState.ensureResolved(AbstractBundleState.java:551) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
    at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:211) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
    at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:494) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
    at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:144) [jboss-as-osgi-service-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.osgi.deployment.BundleStartTracker$1.transition(BundleStartTracker.java:119) [jboss-as-osgi-service-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1416) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl.access$2700(ServiceControllerImpl.java:49) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1954) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.osgi.resolver.XResolverException: Unable to resolve Module[org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT]: missing requirement [Module[org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT]] package; (package=org.apache.log4j)
    at org.jboss.osgi.resolver.felix.FelixResolver.resolveInternal(FelixResolver.java:117) [jbosgi-resolver-felix-1.0.13.Final.jar:1.0.13.Final]
    at org.jboss.osgi.resolver.spi.AbstractResolver.resolve(AbstractResolver.java:149) [jbosgi-resolver-spi-1.0.13.Final.jar:1.0.13.Final]
    at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:155) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
    ... 11 more

11:04:37,869 ERROR [org.mobicents.smsc.bootstrap] (Thread-63) FrameworkEvent ERROR: org.apache.felix.log.LogException: org.osgi.framework.BundleException: Cannot resolve bundle resModule: [org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT]
    at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:157)
    at org.jboss.osgi.framework.internal.AbstractBundleState.ensureResolved(AbstractBundleState.java:551)
    at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:211)
    at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:494)
    at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:144)
    at org.jboss.as.osgi.deployment.BundleStartTracker$1.transition(BundleStartTracker.java:119)
    at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1416)
    at org.jboss.msc.service.ServiceControllerImpl.access$2700(ServiceControllerImpl.java:49)
    at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1954)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.apache.felix.log.LogException: org.jboss.osgi.resolver.XResolverException: Unable to resolve Module[org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT]: missing requirement [Module[org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT]] package; (package=org.apache.log4j)
    at org.jboss.osgi.resolver.felix.FelixResolver.resolveInternal(FelixResolver.java:117)
    at org.jboss.osgi.resolver.spi.AbstractResolver.resolve(AbstractResolver.java:149)
    at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:155)
    ... 11 more

11:04:37,876 ERROR [org.jboss.as.osgi] (MSC service thread 1-2) JBAS011900: Cannot start bundle: org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT: org.osgi.framework.BundleException: Cannot resolve bundle: org.mobicents.smsc.bootstrap:1.0.0.ALPHA-SNAPSHOT
    at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:212) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
    at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:494) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
    at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:144) [jboss-as-osgi-service-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.osgi.deployment.BundleStartTracker$1.transition(BundleStartTracker.java:119) [jboss-as-osgi-service-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1416) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl.access$2700(ServiceControllerImpl.java:49) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1954) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

Can any one help me out.

Regards,
Naresh

Sergey Vetyutnev

unread,
Jun 20, 2014, 11:36:22 AM6/20/14
to mobicent...@googlegroups.com
Hello !

> Hi i had solved my problem in jboss7 about the file permissions. But now getting this error.
Please use jboss 5.1 instead of 7
Reply all
Reply to author
Forward
0 new messages