Hi,
Please add,
<parameter name="ServiceTCCL">composite</parameter>
parameter to to the <service/> in services.xml.
This will make sure that the TCCL is sync with the Deployment
ClassLoader in the time of the service invocation.
Replace services.xml with the attached one.
Thank you
Saminda
Sanjay Vivek wrote:
Hi again,
I did a simple check of not including the jars in lib in my Grouper.aar
and then I deployed it. WSAS straight away gave the "faulty services"
error and I also got "java.lang.NoClassDefFoundError" exceptions as
well.
I then added the jar files to my lib and re-deployed everything again
and this time, Grouper.aar deployed just fine without any errors. So it
means that Grouper.aar contains lib/*.jar but it's not being picked up
during runtime. So basically GrouperWS.class is not seeing lib/*.jar in
its classpath. How do I rectify this? As you mentioned before,
GrouperWS.java is now picking up "conf/sources.xml" but however it's not
picking up "lib/*jar"!. Once again any help would be welcome cos I've
been stuck at this for a while now. Cheers.
Regards
Sanjay
-----Original Message-----
From: saminda abeyruwan [mailto:[EMAIL PROTECTED]
Sent: 05 December 2007 13:19
To: Sanjay Vivek
Cc: [email protected]
Subject: Re: [wsas-java-user] Service impl classes
notpickingup reference libraries.
AFICS your service is correct except for missing 3rd party jars.
You also mentioned how you could get hold of the input stream to
"conf/sources.xml". Could you pls tell me how you found this out?
Thanks again.
I've used AXIOM to build the xml and wrote a simple XPATH to
an element.
_______________________________________________
Wsas-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user