I don't have an aar file because I am not hosting the web services I am consuming them from a web application..
From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 3:05 AM To: [email protected] Subject: Re: XMLBeans issue when deployed to ORacle appserver with jdk 1.4.2_08-b03 try to put all the jar files under the lib folder of the service archive (.aar file) to WEB-INF/lib folder. thanks, Amila. On Wed, Sep 17, 2008 at 9:58 AM, Soyer, Muhammed A. <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Hi, I spent almost all my day trying to solve this issue. I am consuming web services using axis2 1.4.1 with XmlBeans binding. Everything works fine if I consume the web services with my test clients . But when I deploy my application to an app server (Oc4j or Oracle AS) I am getting some errors. When I try with jdk 1.5 it works fine.. I debugged the application and this line is the cause of the exception. It is in request document class. return (org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument)org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance(type, null); I did some further testing and found that it is happening when I call org.apache.xmlbeans.XmlBeans.getContextTypeLoader() The error messages that I am getting are 1. JBO-29000: Unexpected exception caught: java.lang.IllegalAccessError, msg=tried to access field org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument$1.class$org$htng$pws$_2008a$guestselfservice$name$types$FetchProfileRequestDocument from class org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument 2. tried to access field org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument$1.class$org$htng$pws$_2008a$guestselfservice$name$types$FetchProfileRequestDocument from class org.htng.pws._2008a.guestselfservice.name.types.FetchProfileRequestDocument As I understand somehow the application server is not allowing the XMLBeans APIs to dynamically load the classes ..But I couldn't find a way to convince it.. Does anybody have any idea by any chance? Thanks a lot -ms -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
