Skip to main content

Deploying Mobicents

10 replies [Last post]
umairkhan81
Offline
Joined: 2005-08-10

Hi All,
I m trying to deploy mobicents on JBoss both 4.1 and 3.2.6, but on deployment an exception is thrown, an exception is META-INF/jboss-service.xml not found, i copied jboos-service.xml in each of the META-INF folder of mobicents, but problem is still the same, can anyone help me in this reagrds.
Thanks in advance

Umair

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
umairkhan81
Offline
Joined: 2005-08-10

When i build mobicent using ant, the following excpetion occurs on deployment.
11:50:20,005 ERROR [MainDeployer] Could not initialise deployment: file:/D:/Deve
lopment Tools/jboss-3.2.6/server/all/deploy/mobicents.sar/
org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:522)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:304)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:478)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)

ivelin
Offline
Joined: 2003-07-13

how about the output of ant rebuild?

umairkhan81
Offline
Joined: 2005-08-10

The outout is same (means exception).

umairkhan81
Offline
Joined: 2005-08-10

Ant rebuild throws same exception, which i mentioned above.

ivelin
Offline
Joined: 2003-07-13

I was asking about the ant console, not only the server log.

Does the rebuild task succeed without any unusual output in the console?

Ivelin

umairkhan81
Offline
Joined: 2005-08-10

If i use just "ant" then ant console creates two compile time errors, and at the same time the exception thrown at server, and if i use "ant depoy" before using "ant" then it shows that there are no class files. I also used "ant compile" instead of using "ant" but it behaves same. please help me, i am in deep trouble

ivelin
Offline
Joined: 2003-07-13

We are making progress. What are the exact compile time exceptions that the ant script prints.

Ivelin

ivelin
Offline
Joined: 2003-07-13

Did you follow the quick start guide precisely?
http://wiki.java.net/bin/view/Communications/MobicentsQuickStartGuide

3.2.6 should work. 4.0.x is not tested, but it would be great if you have time to do that.

Ivelin

umairkhan81
Offline
Joined: 2005-08-10

I followed the link, but i can't deploy mobicent on 3.2.6, the exception is same which i was mentioned before, please help me in this regard.
many many thanks in advance

Umair

ivelin
Offline
Joined: 2003-07-13

Point out the full output of the ant make script as well as the server log that contains the exception.