Hi,
There are several ways for you to do this. But the most appropriate in this
case is to use an IDE (eg: eclipse) or use Ant/maven to create a java
project to write the RM enabled service. (Just do a google & you will find
many tutorials on how to set CLASSPATH)

But you do not have to do any of this!!!.
We have bundled the RM enabled service archive along with the Sandesha2
binary distribution.
You can find it @
<Sandesha2-binary-dist-location>/samples/services/RMSampleService.aar.

With this in hand, you can straight away go to step 6 in section 'Creating
and deploying a RM enabled Web Service -SimpleService'.

Good luck!!!






On 6/12/07, Chris Schumann <[EMAIL PROTECTED]> wrote:

Thanks for the tip, but I have the JAVA_HOME correct. It's the CLASSPATH
that's not set properly.

The sandesha2 user guide says "Add all the files that come under the
AXIS2_HOME/lib to your CLASSPATH" but doesn't say how that's done.

Chris

sumedha rubasinghe said:
> Edit /etc/profile file & add following line to the bottom. This will
> point JAVA_HOME variable to you installation location & puts
> JAVA_HOME/bin to the front of PATH variable.
>
>
> JAVA_HOME='<path-to-your-java-home>'
> export $JAVA_HOME
>
> PATH='$JAVA_HOME/bin':$PATH
> export $PATH
>
>
> After you do this, logout & login back & type 'which java' in the
> command line.
> This should display the location of java command as,
>
> $JAVA_HOME/bin/java
>
>
> Good luck !!!
>
> On 6/12/07, Chris Schumann <[EMAIL PROTECTED]> wrote:
>>
>> I've been tasked with showing WS-RM using Sandesha, but I'm totally
>> inexperienced in making Java work.
>>
>> I'm running Fedora Core 6, and I think I have Axis2 running. I tried
>> following the Sandesha instructions, but FC6 comes with some other
>> Java, and I get Incompatible magic number.
>>
>> I have installed Sun's jdk, but I don't know how to set my CLASSPATH
>> properly to get the demo to compile. I'm getting errors like "package
>> org.apache.axiom.om does not exist"
>>
>> Tips and pointers greatly appreciated.
>>
>> Thanks,
>> Chris
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to