Skip to main content

Mobicents on jboss4

9 replies [Last post]
abdujaparov
Offline
Joined: 2007-11-03
Points: 0

Hi, I've downloaded mobicents source from cvs with eclipse and cvsnt.
The project downloaded with eclipse is located in :"C:\Documents and Settings\Angelo\workspace\mobicents", in eclipse I've set the jboss4 home and all the files of the project now are compiled correctly. The jboss home is c:\jboss4mob.
Now what must I do to run mobicents? If I start run.bat from c:\jboss4mob\bin\run.bat how can I understand if mobicents is installed?

Another procedure, I've downloaded mobicent with csvnt in the directory: "C:\Programmi\CVSNT\mobicents" now how can I install mobicents on jboss4? I have gone in the directory C:\Programmi\CVSNT\mobicent and I lunch ant all, in this way I've installed mobicents on jboss4(previuosly I've setted the enviromental variable jboss_home=c:\jboss4mob)?
How Can I verify if mobicents is correctly installed?
Thanks, bye bye.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
abhayani
Offline
Joined: 2005-04-04
Points: 0

1. Download Mobicents Source Code (for example c:\mobicentsproject\mobicents)
2. Download Jboss AS 4.2.0.GA (for example c:\mobicentsproject\jboss-4.2.0.GA)
3. Open cmd prompt and set JBOSS_HOME system property
4. Call ant from c:\mobicentsproject\mobicents. This will deploy the mobicents.sar and related files to c:\mobicentsproject\jboss-4.2.0.GA\server\all\deploy
5. Go to c:\mobicentsproject\jboss-4.2.0.GA\bin and type "run.bat -mc"
6. Look for message [Mobicents Server 1.2.00.Beta Started] on Console

Hope that helps

Amit

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

use the last 4.x GA, at this time it's 4.2.2.GA

abdujaparov
Offline
Joined: 2007-11-03
Points: 0

Thanks, I find the message mobicents started, now I want install the googletalkbot example but I've some problems, I've read the guide (http://wiki.java.net/bin/view/Communications/MobicentsExamplesGoogleTalkBot) but in examples that I've downloaded doesn't exist the MOBICENTS_EXAMPLES/lib/xmppra directory and I don't know how install the example.
In the file mobicents examples that I've downloaded from sourceforge I have only:
3pcc


CVS
README.txt
b2bua
googletalk-bot
ra-tutorial
sip-wake-up
slee-graph
xmpp-component-service
xmpp-example
xmpp-test

How can I use this example?
Thanks, bye bye.

abhayani
Offline
Joined: 2005-04-04
Points: 0

I think the download is not complete.
Look at cvs link of mobicents-examples https://mobicents-examples.dev.java.net/source/browse/mobicents-examples/

If you are trying mobicents for the first time would rather suggest you download the binaries and deploy the examples. http://downloads.sourceforge.net/mobicents/mobicents-all-1_0_03_GA.zip?m...

The binary comes with mobicents server and GoogleTalk bot examples. Follow the wiki http://wiki.java.net/bin/view/Communications/MobicentsExamplesGoogleTalkBot

abdujaparov
Offline
Joined: 2007-11-03
Points: 0

Hi abhayani, I've downloaded the file from cvs and I've downloaded the mobicents-all-1_0_03_GA.zip too but with both of them when I give the command: ant deploy-all I receive this error message:

[code]
BUILD FAILED
C:\Downloads\mobicents-all-1_0_03_GA\examples\googletalk-bot\build.xml:83: The f
ollowing error occurred while executing this line:
C:\Downloads\mobicents-all-1_0_03_GA\examples\lib\xmppra\build.xml:43: javax.nam
ing.NamingException: Could not dereference object [Root exception is javax.namin
g.CommunicationException [Root exception is java.io.InvalidClassException: org.j
boss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID =
3289509836244263718, local class serialVersionUID = 6926421946503004889]]
[/code]

and the example isn't deployed. The line of the build file of xmppra is the follwing:

When I launch "ant deploy-all" I've already started jboss4 with mobicents and mobicents is started correctly.

How can I resolve?

Another question how can I deploy mobicents in the default configuration of jboss4 instead of the all configuration?
Thanks, bye bye.

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

Mobicents 1.0.03.GA is for JBoss 3. For JBoss 4 you need to use the "head" code at CVS, or wait a day or two for Mobicents 1.2 Beta binaries.

abdujaparov
Offline
Joined: 2007-11-03
Points: 0

The mobicents examples downloaded with cvs are for jboss3 too?
The errors that I've reported are the same for the cvs mobicents examples, thanks, bye bye.

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

Everything at cvs is for JBoss 4

abdujaparov
Offline
Joined: 2007-11-03
Points: 0

Well the example of googletalk downloaded from cvs give me the same errore that I've written above, how can I deploy this example?
Thanks, bye bye.