Error in deploy of sipb2b

67 views
Skip to first unread message

PGT

unread,
Apr 7, 2011, 10:50:52 AM4/7/11
to mobicents-public
When I try to deploy in Jboss Jslee, I got this error below. I don't
know what I am doing wrong.

00:39:16,723 INFO [DeployableUnit] Missing dependencies for mobicents-
slee-example-sip11-b2b-DU-2.4.0.CR1.jar:
+--
EventTypeID[name=javax.sip.message.Request.INVITE,vendor=net.java.slee,version=1.2]
+--
EventTypeID[name=javax.slee.serviceactivity.ServiceStartedEvent,vendor=javax.slee,version=1.0]
+--
EventTypeID[name=javax.sip.Dialog.BYE,vendor=net.java.slee,version=1.2]
+--
EventTypeID[name=javax.sip.message.Response.SUCCESS,vendor=net.java.slee,version=1.2]
+--
EventTypeID[name=javax.slee.serviceactivity.ServiceStartedEvent,vendor=javax.slee,version=1.1]
+--
EventTypeID[name=javax.sip.message.Response.PROVISIONAL,vendor=net.java.slee,version=1.2]
+--
ProfileSpecificationID[name=AddressProfileSpec,vendor=javax.slee,version=1.1]
+-- SipRA
+-- ResourceAdaptorTypeID[name=JAIN SIP,vendor=javax.sip,version=1.2]
+--
EventTypeID[name=javax.sip.message.Request.CANCEL,vendor=net.java.slee,version=1.2]

Anyone have any ideas?

Taking advantage, someone has some project JSLEE example updated of
the Eclipse or Netbeans (I prefer Netbeans), which is working, all
examples that have caught, always has problems at the time of
deployment.

Thank you in advance,

Eduardo Martins

unread,
Apr 7, 2011, 10:59:52 AM4/7/11
to mobicent...@googlegroups.com, PGT
The problem is that you are not deploying the other SLEE components
the example depends, you need to look at the example documentation.
Anyway, at this point, in concrete you are missing the deploy of the
SIP Resource Adaptor, if you are working with sources use "mvn clean
install" in ../../resources/sip11.

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco

Eduardo Martins

unread,
Apr 7, 2011, 11:01:36 AM4/7/11
to mobicent...@googlegroups.com, PGT
And to setup any component project in Eclipse, do "mvn
mobicents:eclipse" in the component dir. Not difficult uh? :)

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco

PGT

unread,
Apr 7, 2011, 11:50:08 AM4/7/11
to mobicents-public
LOL... Hahaha... Really good Eduardo, I spend 2 days trying to do
this :)... Now I've a new problem :( Sorry, i'm beginning to learn
maven and mobicents now.

When i try deploy (maven install) this error happens:

[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.mobicents.examples:mobicents-slee-example-sip11-b2b-
sbb:jar:2.4.0.CR1
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-
bundle-plugin is missing. @ org.mobicents:mobicents-parent:2.17, /home/
pgt/.m2/repository/org/mobicents/mobicents-parent/2.17/mobicents-
parent-2.17.pom, line 496, column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.mobicents:mobicents-parent:2.17, /home/pgt/.m2/repository/org/
mobicents/mobicents-parent/2.17/mobicents-parent-2.17.pom, line 478,
column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @
org.mobicents:mobicents-parent:2.17, /home/pgt/.m2/repository/org/
mobicents/mobicents-parent/2.17/mobicents-parent-2.17.pom, line 487,
column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.mobicents.examples:mobicents-slee-example-sip11-b2b-
DU:jar:2.4.0.CR1
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-
bundle-plugin is missing. @ org.mobicents:mobicents-parent:2.17, /home/
pgt/.m2/repository/org/mobicents/mobicents-parent/2.17/mobicents-
parent-2.17.pom, line 496, column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.mobicents:mobicents-parent:2.17, /home/pgt/.m2/repository/org/
mobicents/mobicents-parent/2.17/mobicents-parent-2.17.pom, line 478,
column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @
org.mobicents:mobicents-parent:2.17, /home/pgt/.m2/repository/org/
mobicents/mobicents-parent/2.17/mobicents-parent-2.17.pom, line 487,
column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.mobicents.examples:mobicents-slee-example-sip11-b2b:pom:
2.4.0.CR1
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-
bundle-plugin is missing. @ org.mobicents:mobicents-parent:2.17, /home/
pgt/.m2/repository/org/mobicents/mobicents-parent/2.17/mobicents-
parent-2.17.pom, line 496, column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.mobicents:mobicents-parent:2.17, /home/pgt/.m2/repository/org/
mobicents/mobicents-parent/2.17/mobicents-parent-2.17.pom, line 478,
column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @
org.mobicents:mobicents-parent:2.17, /home/pgt/.m2/repository/org/
mobicents/mobicents-parent/2.17/mobicents-parent-2.17.pom, line 487,
column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects.
[WARNING]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] mobicents-slee-example-sip11-b2b
[INFO] mobicents-slee-example-sip11-b2b-sbb
[INFO] mobicents-slee-example-sip11-b2b-DU
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building mobicents-slee-example-sip11-b2b 2.4.0.CR1
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] mobicents-slee-example-sip11-b2b .................. FAILURE
[0.074s]
[INFO] mobicents-slee-example-sip11-b2b-sbb .............. SKIPPED
[INFO] mobicents-slee-example-sip11-b2b-DU ............... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.131s
[INFO] Finished at: Thu Apr 07 12:40:38 BRT 2011
[INFO] Final Memory: 3M/54M
[INFO]
------------------------------------------------------------------------
[ERROR] Could not find goal 'manifest' in plugin
org.apache.felix:maven-bundle-plugin:0.8.0-incubator among available
goals bundle -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoNotFoundException




I don't know how fix this. I searched in many places yesterday (this
error also happened yesterday).

Sorry for asking so many questions and thanks for replying so fast!








On Apr 7, 12:01 pm, Eduardo Martins <emmart...@gmail.com> wrote:
> And to setup any component project in Eclipse, do "mvn
> mobicents:eclipse" in the component dir. Not difficult uh? :)
>
> -- Eduardo
> ..............................................http://emmartins.blogspot.comhttp://redhat.com/solutions/telco
>
>
>
>
>
>
>
> On Thu, Apr 7, 2011 at 3:59 PM, Eduardo Martins <emmart...@gmail.com> wrote:
> > The problem is that you are not deploying the other SLEE components
> > the example depends, you need to look at the example documentation.
> > Anyway, at this point, in concrete you are missing the deploy of the
> > SIP Resource Adaptor, if you are working with sources use "mvn clean
> > install" in ../../resources/sip11.
>
> > -- Eduardo
> > ..............................................
> >http://emmartins.blogspot.com
> >http://redhat.com/solutions/telco
>

Bartosz Baranowski

unread,
Apr 7, 2011, 12:18:54 PM4/7/11
to mobicent...@googlegroups.com
Hmm try maven2 ?
Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.

PGT

unread,
Apr 7, 2011, 12:38:00 PM4/7/11
to mobicents-public
I am using maven2 Bartosz.... Sorry for not notify.
> > > ..............................................http:/

Alexandre Mendonça

unread,
Apr 7, 2011, 6:36:44 PM4/7/11
to mobicent...@googlegroups.com, PGT
Hmm.. the output really looks like Maven 3. If you're using OSX please keep in mind that maven was "silently" updated to version 3.0.2 with the latest Java update. Do mvn --version just to confirm.

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/

PGT

unread,
Apr 7, 2011, 7:01:41 PM4/7/11
to mobicents-public
Thanks for reply, but, I'm using linux ubuntu... The maven is really
version 2.

# mvn --version
Apache Maven 2.2.1 (rdebian-4)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.35-28-generic" arch: "i386" Family:
"unix"

Any other ideas?



On Apr 7, 7:36 pm, Alexandre Mendonça <brains...@gmail.com> wrote:
> Hmm.. the output really looks like Maven 3. If you're using OSX please keep
> in mind that maven was "silently" updated to version 3.0.2 with the latest
> Java update. Do mvn --version just to confirm.
>
> --
> *Alexandre Mendonça* // JBoss R&Dhttp://ammendonca.blogspot.com/

Eduardo Martins

unread,
Apr 8, 2011, 5:01:49 AM4/8/11
to mobicent...@googlegroups.com, PGT
mvn -version?

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco

Alexandre Mendonça

unread,
Apr 8, 2011, 6:07:53 AM4/8/11
to mobicent...@googlegroups.com, Eduardo Martins, PGT
Previous post shows it's version 2.2.1.

Pedro, can you please run the install target with -X argument to see the debug logs, and attach the output ?

Thanks

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/



Pedro Gomes Tavares |||

unread,
Apr 8, 2011, 10:14:24 AM4/8/11
to Alexandre Mendonça, mobicent...@googlegroups.com, Eduardo Martins
mvn --version!

command output is attached.

Thanks!!!




2011/4/8 Alexandre Mendonça <brai...@gmail.com>



--
Pedro Gomes Tavares

teste.txt

Eduardo Martins

unread,
Apr 8, 2011, 12:21:29 PM4/8/11
to Pedro Gomes Tavares |||, Alexandre Mendonça, mobicent...@googlegroups.com
I see a successful build!

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco

2011/4/8 Pedro Gomes Tavares ||| <pgtne...@gmail.com>:

PGT

unread,
Apr 8, 2011, 12:32:26 PM4/8/11
to mobicents-public
Yeah! but, when i try deploy in Jboss appears this message:


00:39:16,723 INFO [DeployableUnit] Missing dependencies for
mobicents-
slee-example-sip11-b2b-DU-2.4.0.CR1.jar:
+--
EventTypeID[name=javax.sip.message.Request.INVITE,vendor=net.java.slee,version=1.2]
+--
EventTypeID[name=javax.slee.serviceactivity.ServiceStartedEvent,vendor=javax.slee,version=1.0]
+--
EventTypeID[name=javax.sip.Dialog.BYE,vendor=net.java.slee,version=1.2]
+--
EventTypeID[name=javax.sip.message.Response.SUCCESS,vendor=net.java.slee,version=1.2]
+--
EventTypeID[name=javax.slee.serviceactivity.ServiceStartedEvent,vendor=javax.slee,version=1.1]
+--
EventTypeID[name=javax.sip.message.Response.PROVISIONAL,vendor=net.java.slee,version=1.2]
+--
ProfileSpecificationID[name=AddressProfileSpec,vendor=javax.slee,version=1.1]
+-- SipRA
+-- ResourceAdaptorTypeID[name=JAIN SIP,vendor=javax.sip,version=1.2]
+--
EventTypeID[name=javax.sip.message.Request.CANCEL,vendor=net.java.slee,version=1.2]


Understood? I dont know what else to do...



On Apr 8, 1:21 pm, Eduardo Martins <emmart...@gmail.com> wrote:
> I see a successful build!
>
> -- Eduardo
> ..............................................http://emmartins.blogspot.comhttp://redhat.com/solutions/telco
>
> 2011/4/8 Pedro Gomes Tavares ||| <pgtnetw...@gmail.com>:
>
> > mvn --version!
> > command output is attached.
> > Thanks!!!
>
> > 2011/4/8 Alexandre Mendonça <brains...@gmail.com>
>
> >> Previous post shows it's version 2.2.1.
> >> Pedro, can you please run the install target with -X argument to see the
> >> debug logs, and attach the output ?
> >> Thanks
>
> >> --
> >> Alexandre Mendonça // JBoss R&D
> >>http://ammendonca.blogspot.com/
>
> >> On Fri, Apr 8, 2011 at 10:01, Eduardo Martins <emmart...@gmail.com> wrote:
>
> >>> mvn -version?
>
> >>> -- Eduardo
> >>> ..............................................
> >>>http://emmartins.blogspot.com
> >>>http://redhat.com/solutions/telco
>
> ...
>
> read more »

Alexandre Mendonça

unread,
Apr 8, 2011, 12:44:16 PM4/8/11
to mobicent...@googlegroups.com, PGT
Humm.. that was the first problem you mentioned and that Eduardo told you how to fix:

The problem is that you are not deploying the other SLEE components
the example depends, you need to look at the example documentation.
Anyway, at this point, in concrete you are missing the deploy of the
SIP Resource Adaptor, if you are working with sources use "mvn clean
install" in ../../resources/sip11.

After this you said you had a new problem due to maven failure, that's the trace we were expecting to see.

Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/



Alexandre Mendonça

unread,
Apr 8, 2011, 1:07:35 PM4/8/11
to mobicent...@googlegroups.com, PGT
Since you seem to be using the CR1 release and not the sources, do

ant deploy-all

in the sip-services example folder and it should deploy the needed dependencies (ie, SIP11 RA)

Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/



2011/4/8 Alexandre Mendonça <brai...@gmail.com>

Eduardo Martins

unread,
Apr 8, 2011, 2:26:05 PM4/8/11
to mobicent...@googlegroups.com, Alexandre Mendonça, PGT
That's not sip services, it's sip-b2bua.

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco

2011/4/8 Alexandre Mendonça <brai...@gmail.com>:

PGT

unread,
Apr 8, 2011, 4:22:04 PM4/8/11
to mobicents-public
Sorry guys, I am feeling a looser... I tought that i had installed
correctly the sip ra, but, i'm not. In documentation says "The Example
requires Mobicents JAIN SLEE properly set, with SIP11 Resource Adaptor
deployed.", like Eduardo told. I fixed this.

BUT, now I got a new problem LOL.





[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/mobicents/mobicents-jainslee-server/1.2.6.GA/mobicents-jainslee-server-1.2.6.GA.pom
[INFO] Unable to find resource 'org.mobicents:mobicents-jainslee-
server:pom:1.2.6.GA' in repository central (http://repo1.maven.org/
maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.mobicents.examples:sip11-b2b-parent:pom:null

Reason: Cannot find parent: org.mobicents:mobicents-jainslee-server
for project: org.mobicents.examples:sip11-b2b-parent:pom:null for
project org.mobicents.examples:sip11-b2b-parent:pom:null


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.mobicents:mobicents-jainslee-server for project:
org.mobicents.examples:sip11-b2b-parent:pom:null for project
org.mobicents.examples:sip11-b2b-parent:pom:null
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
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:616)
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.project.ProjectBuildingException: Cannot
find parent: org.mobicents:mobicents-jainslee-server for project:
org.mobicents.examples:sip11-b2b-parent:pom:null for project
org.mobicents.examples:sip11-b2b-parent:pom:null
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:
1396)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:
1407)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:
823)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:
508)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:
200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:
487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.mobicents:mobicents-jainslee-server' not found in repository:
Unable to download the artifact from any repository

org.mobicents:mobicents-jainslee-server:pom:1.2.6.GA

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

for project org.mobicents:mobicents-jainslee-server
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:
605)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:
1392)
... 19 more
Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository

org.mobicents:mobicents-jainslee-server:pom:1.2.6.GA

from the specified remote repositories:
central (http://repo1.maven.org/maven2)


at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
228)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
90)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:
558)
... 20 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException:
Unable to download the artifact from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:
404)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
216)
... 22 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Apr 08 17:04:49 BRT 2011
[INFO] Final Memory: 1M/30M
[INFO]
------------------------------------------------------------------------
pgt@pgt-error:~/agoravai/slee/sbb$ mvn archetype:generate
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/mobicents/mobicents-jainslee-server/1.2.6.GA/mobicents-jainslee-server-1.2.6.GA.pom
[INFO] Unable to find resource 'org.mobicents:mobicents-jainslee-
server:pom:1.2.6.GA' in repository central (http://repo1.maven.org/
maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.mobicents.examples:sip11-b2b-parent:pom:null

Reason: Cannot find parent: org.mobicents:mobicents-jainslee-server
for project: org.mobicents.examples:sip11-b2b-parent:pom:null for
project org.mobicents.examples:sip11-b2b-parent:pom:null


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.mobicents:mobicents-jainslee-server for project:
org.mobicents.examples:sip11-b2b-parent:pom:null for project
org.mobicents.examples:sip11-b2b-parent:pom:null
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
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:616)
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.project.ProjectBuildingException: Cannot
find parent: org.mobicents:mobicents-jainslee-server for project:
org.mobicents.examples:sip11-b2b-parent:pom:null for project
org.mobicents.examples:sip11-b2b-parent:pom:null
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:
1396)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:
1407)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:
823)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:
508)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:
200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:
487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.mobicents:mobicents-jainslee-server' not found in repository:
Unable to download the artifact from any repository

org.mobicents:mobicents-jainslee-server:pom:1.2.6.GA

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

for project org.mobicents:mobicents-jainslee-server
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:
605)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:
1392)
... 19 more
Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository

org.mobicents:mobicents-jainslee-server:pom:1.2.6.GA

from the specified remote repositories:
central (http://repo1.maven.org/maven2)


at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
228)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
90)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:
558)
... 20 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException:
Unable to download the artifact from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:
404)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
216)
... 22 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Apr 08 17:07:04 BRT 2011
[INFO] Final Memory: 1M/30M
[INFO]
------------------------------------------------------------------------







I think the problem is this repository
http://repo1.maven.org/maven2/org/mobicents/mobicents-jainslee-server/,
I wanted to use this repository http://repository.jboss.org/nexus/content/groups/public-jboss/,
but i don't know where change. What file i need to change for add this
repository?

Thanks for pacience of yours.







On Apr 8, 3:26 pm, Eduardo Martins <emmart...@gmail.com> wrote:
> That's not sip services, it's sip-b2bua.
>
> -- Eduardo
> ..............................................http://emmartins.blogspot.comhttp://redhat.com/solutions/telco
>
> 2011/4/8 Alexandre Mendonça <brains...@gmail.com>:
>
>
>
>
>
>
>
> > Since you seem to be using the CR1 release and not the sources, do
> > ant deploy-all
> > in the sip-services example folder and it should deploy the needed
> > dependencies (ie, SIP11 RA)
> > Regards,
>
> > --
> > Alexandre Mendonça // JBoss R&D
> >http://ammendonca.blogspot.com/
>
> > 2011/4/8 Alexandre Mendonça <brains...@gmail.com>
>
> >> Humm.. that was the first problem you mentioned and that Eduardo told you
> >> how to fix:
> >> The problem is that you are not deploying the other SLEE components
> >> the example depends, you need to look at the example documentation.
> >> Anyway, at this point, in concrete you are missing the deploy of the
> >> SIP Resource Adaptor, if you are working with sources use "mvn clean
> >> install" in ../../resources/sip11.
> >> After this you said you had a new problem due to maven failure, that's the
> >> trace we were expecting to see.
> >> Regards,
> >> --
> >> Alexandre Mendonça // JBoss R&D
> >>http://ammendonca.blogspot.com/
>
> >> On Fri, Apr 8, 2011 at 17:32, PGT <pgtnetw...@gmail.com> wrote:
>
> >>> Yeah! but, when i try deploy in Jboss appears this message:
>
> >>> 00:39:16,723 INFO  [DeployableUnit] Missing dependencies for
> >>> mobicents-
> >>> slee-example-sip11-b2b-DU-2.4.0.CR1.jar:
> >>>  +--
>
> >>> EventTypeID[name=javax.sip.message.Request.INVITE,vendor=net.java.slee,vers ion=1.2]
> >>>  +--
>
> >>> EventTypeID[name=javax.slee.serviceactivity.ServiceStartedEvent,vendor=java x.slee,version=1.0]
> >>>  +--
> >>> EventTypeID[name=javax.sip.Dialog.BYE,vendor=net.java.slee,version=1.2]
> >>>  +--
>
> >>> EventTypeID[name=javax.sip.message.Response.SUCCESS,vendor=net.java.slee,ve rsion=1.2]
> >>>  +--
>
> >>> EventTypeID[name=javax.slee.serviceactivity.ServiceStartedEvent,vendor=java x.slee,version=1.1]
> >>>  +--
>
> >>> EventTypeID[name=javax.sip.message.Response.PROVISIONAL,vendor=net.java.sle e,version=1.2]
> >>>  +--
>
> >>> ProfileSpecificationID[name=AddressProfileSpec,vendor=javax.slee,version=1. 1]
> ...
>
> read more »

Eduardo Martins

unread,
Apr 8, 2011, 6:45:02 PM4/8/11
to mobicent...@googlegroups.com, PGT
org.mobicents:mobicents-jainslee-server:pom:1.2.6.GA

That's old, very old, where did you download the code you are trying to build?

Also, perhaps you should clarify a bit what you're trying, why and
what is the goal, so we can guide you.

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco

PGT

unread,
Apr 8, 2011, 7:14:50 PM4/8/11
to mobicents-public
I made the download of this example
http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/examples/sip-b2bua/2.4.0.CR1
slee-example-sip-b2bua-2.4.0.CR1.

I am just trying to do Jslee it work.

First, i tried this tutorial http://emmartins.blogspot.com/2008/06/jain-slee-beginners-tutorial-thats.html.
But, always when I try to type "mvn archetype:generate -
DarchetypeCatalog=local" no appears no one archetype for choose.

Second, I tried this tutorial http://whitelassiblog.wordpress.com/category/mobicents/
and when i try deploy the code "mvn install", appears a lot of errors
in console. So I gave up, and now I'm trying to do some example of the
mobicents.org work. I chose sip-b2bua example, because it's more like
with what i intend to do with mobicents.

But until now unfortunately did not work. Always have an error with
maven.

Thanks again,






On Apr 8, 7:45 pm, Eduardo Martins <emmart...@gmail.com> wrote:
> org.mobicents:mobicents-jainslee-server:pom:1.2.6.GA
>
> That's old, very old, where did you download the code you are trying to build?
>
> Also, perhaps you should clarify a bit what you're trying, why and
> what is the goal, so we can guide you.
>
> -- Eduardo
> ..............................................http://emmartins.blogspot.comhttp://redhat.com/solutions/telco
>
>
>
>
>
>
>
> On Fri, Apr 8, 2011 at 9:22 PM, PGT <pgtnetw...@gmail.com> wrote:
> > Sorry guys, I am feeling a looser... I tought that i had installed
> > correctly the sip ra, but, i'm not. In documentation says "The Example
> > requires Mobicents JAIN SLEE properly set, with SIP11 Resource Adaptor
> > deployed.", like Eduardo told. I fixed this.
>
> > BUT, now I got a new problem LOL.
>
> > [INFO] Scanning for projects...
> > Downloading:
> >http://repo1.maven.org/maven2/org/mobicents/mobicents-jainslee-server...
> >http://repo1.maven.org/maven2/org/mobicents/mobicents-jainslee-server...
> ...
>
> read more »

Eduardo Martins

unread,
Apr 11, 2011, 2:19:51 PM4/11/11
to mobicent...@googlegroups.com, PGT
Perhaps you should download last release, check docs for each example, run these, and then go for the sources, to see how it works.

Btw, my tutorial is too old now, and does not works with any Mobicents 2.x, but I'm planning to revamp it asap.

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco


PGT

unread,
Apr 11, 2011, 2:45:36 PM4/11/11
to mobicents-public
Finally I got to make the example work. My problem isn't with
mobicents, but with maven. I don't like maven, it's a complicated tool
in my honest opinion. I added a new repository in pom.xml.

<repositories>
<repository>
<id>java.net</id>
<url>http://repository.jboss.org/nexus/content/groups/public-
jboss/</url>
</repository>
</repositories>

For while I'll use only sip servlets.

Thanks Eduardo and Alexandre for help! Congratulations for your great
job in the Mobicents Project.





On Apr 11, 3:19 pm, Eduardo Martins <emmart...@gmail.com> wrote:
> Perhaps you should download last release, check docs for each example, run
> these, and then go for the sources, to see how it works.
>
> Btw, my tutorial is too old now, and does not works with any Mobicents 2.x,
> but I'm planning to revamp it asap.
>
> -- Eduardo
> ..............................................http://emmartins.blogspot.comhttp://redhat.com/solutions/telco
>
>
>
>
>
>
>
> On Sat, Apr 9, 2011 at 12:14 AM, PGT <pgtnetw...@gmail.com> wrote:
> > I made the download of this example
>
> >http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/exam...
> > slee-example-sip-b2bua-2.4.0.CR1.
>
> > I am just trying to do Jslee it work.
>
> > First, i tried this tutorial
> >http://emmartins.blogspot.com/2008/06/jain-slee-beginners-tutorial-th...
> > .
> ...
>
> read more »

Eduardo Martins

unread,
Apr 11, 2011, 4:17:33 PM4/11/11
to mobicent...@googlegroups.com, PGT
Maven may fail to impress to the user, but for the developer it's an essential tool, it manages our whole build lifecycle.

Good luck.

-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco


Reply all
Reply to author
Forward
0 new messages