Skip to main content

Problem on XMPP Component Service Example

3 replies [Last post]
kumudusl
Offline
Joined: 2007-09-04

Hi all,

I try to do the XMPP Component Service Example. (On"step 7") While i try to run the ant deploy it gives this errors.

[kumudu@localhost xmpp-component-service]$ ant deploy
Buildfile: build.xml

init:

build-XMPPComponent-sbb:
[javac] Compiling 1 source file to /home/kumudu/Software/mobicents_1003/examples/mobicents-examples/xmpp-component-service/classes/XMPPComponent-sbb
[javac] /home/kumudu/Software/mobicents_1003/examples/mobicents-examples/xmpp-component-service/src/org/mobicents/slee/service/xmppcomponent/XMPPComponentSbb.java:40: package org.mobicents.slee.resource.xmpp.XmppResourceAdaptor does not exist
[javac] import org.mobicents.slee.resource.xmpp.XmppResourceAdaptor.XmppRASbbInterfaceImpl;
[javac] ^
[javac] /home/kumudu/Software/mobicents_1003/examples/mobicents-examples/xmpp-component-service/src/org/mobicents/slee/service/xmppcomponent/XMPPComponentSbb.java:51: cannot find symbol
[javac] symbol : class XmppRASbbInterfaceImpl
[javac] location: class org.mobicents.slee.service.xmppcomponent.XMPPComponentSbb
[javac] private XmppRASbbInterfaceImpl xmppSbbInterface;
[javac] ^
[javac] /home/kumudu/Software/mobicents_1003/examples/mobicents-examples/xmpp-component-service/src/org/mobicents/slee/service/xmppcomponent/XMPPComponentSbb.java:65: cannot find symbol
[javac] symbol : class XmppRASbbInterfaceImpl
[javac] location: class org.mobicents.slee.service.xmppcomponent.XMPPComponentSbb
[javac] xmppSbbInterface = (XmppRASbbInterfaceImpl) myEnv.lookup("slee/resources/xmpp/2.0/xmppinterface");
[javac] ^
[javac] 3 errors

BUILD FAILED

I download the XmppResourceAdaptor.java file (http://www.koders.com/java/fid8752FA4DE51BA40010C8E12C12305BB7F9A6CF7B.a...)
and copy it to the required place. Then it gives 100 errors.

I'm working on Fedora 4
Apache Ant version 1.7alpha compiled on August 8 2006
java version "1.5.0_06"

I really want to make this work and I am very thankful for all help.

Best regards
Kumudu

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kumudusl
Offline
Joined: 2007-09-04

Hi all,
I checked all these paths manually whether the target files and folders are at correct places.
And I crrect some of them.

path to this build.xml =/home/kumudu/Software/mobicents_1003/examples/mobicents-examples/xmpp-component-service

classname="com.opencloud.ant.ProfileSpecJar" classpath="lib\slee-tasks.jar"/>

classname="com.opencloud.ant.DeployableJar" classpath="lib\slee-tasks.jar"/>

classname="com.opencloud.ant.ResourceAdaptorTypeJar" classpath="lib\slee-tasks.jar"/>

classname="com.opencloud.ant.ResourceAdaptorJar" classpath="lib\slee-tasks.jar"/>

Thanks for your reply dear eduardomartins & michele83 and i need more help.

I am very thankful for all help.

Regards,
Kumudu

eduardomartins
Offline
Joined: 2005-10-10

Hi, $mobicents_examples is in your case /home/kumudu/Software/mobicents_1003/examples/mobicents-examples

michele83
Offline
Joined: 2007-03-01

Have u checked the paths? e.g. MOBICENTS_EXAMPLE?