Hi Saminda,

All my 3rd party jars are in lib folder so GrouperWS.java should be
picking up the jars in lib. The structure of Grouper.aar is as follows:

- Grouper.aar
  + META-INF
    - services.xml
  + lib
     - *.jar 

  + conf
    - sources.xml

  + test
    - GrouperWS.class 


Do I have to do anything differently for Grouper.aar to pick up those
jar files in lib? 

I recompiled everything again with JDK 1.5 because I've heard about
concerns with JDK 1.6. However, I'm unable to reproduce the
java.lang.NoClassDefFoundError you mentioned in your previous email. How
did you go about invoking GrouperWS? Was it on WSAS or did you use some
other SOAP client? I've only just started working with Web Services so
please bear with me :). 

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.

Regards
Sanjay

>-----Original Message-----
>From: saminda abeyruwan [mailto:[EMAIL PROTECTED] 
>Sent: 05 December 2007 07:18
>Cc: Sanjay Vivek; [email protected]
>Subject: Re: [wsas-java-user] Service impl classes 
>notpickingup reference libraries.
>
>Hi,
>
>Once I uploaded grouper.aar into a WSAS instance running on 
>JDK 1.5 : I got
>
>The Grouper.aar service, which is not valid, caused
>java.lang.UnsupportedClassVersionError: Bad version number in 
>.class file
>
>exception - thus, I assumed you have compiled it in Jdk 1.6.
>
>Once recompiled and upload the jar in JDK 1.5,
>
>GroperWS.java is working an I could get hold of the input 
>stream to the "conf/sources.xml".
>
>When WSAS invoke the line 28
>
>Subject subject      = SubjectFinder.findById(subjectId);
>
>I got Caused by: java.lang.NoClassDefFoundError - thus you 
>need to provide the proper 3rd party Jars.
>
>HTH
>
>Thank you
>
>Saminda
>

_______________________________________________
Wsas-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user

Reply via email to