I did not add weblogic.xml in the ear file for Weblogic 9.2 deplyement and it works fine. That file is only required for weblogic 8.1
--- Andres Bernasconi <[EMAIL PROTECTED]> wrote: > mmm.. How did you make XFire work on BEA WebLogic > 9.2? I was having a > problem with Classloading XML-related classes ( > http://forums.bea.com/bea/message.jspa?messageID=400004159&tstart=0 > ) > > On 5/9/07, Anshumn Sagar <[EMAIL PROTECTED]> > wrote: > > > > Hi Tonio, > > > > Thanks for your response. I was able to figure out > the > > problem yesterday and am sorry that could not post > it > > today. > > > > It was a very strange problem and finally I > figured > > out that it was due to jdk incompatibility. I had > > developed the service in my local machine on > tomcat > > and used jdk 1.4 as the production environment > uses > > Weblogic 8.1 which uses 1.4 jvm. But inspite of > doing > > that I found out that the problem was arising due > to > > some jdk incompatibility as I was not able to > > correctly debug the program since all the debug > points > > were not reached while debugging. I knew that > > invocationTargetException arises if the invoked > method > > internally throws some exception, so I wanted to > check > > the code statement which was causing it, but due > to > > the strange behaviour arising of the jvm > > incompatibility, the debugger would suddenly jump > out > > to some other statements. > > > > I am using Eclipse as the IDE and its very nice > > feature to explicitely impose the excat jdk > > compatibility solved the entire issue(Menu option > > Project -> Properties -> Java Compiler -> Jdk > > Compliance)! > > > > Thanks again for your response! > > > > Regards, > > Anshumn > > > > --- Tonio Caputo <[EMAIL PROTECTED]> wrote: > > > > > Hi Anshum, > > > > > > The problem here is that de stack-trace > information > > > is not good. > > > > > > You must run your code through a debugger and > stop > > > in AbstractInvoker (I'm not sure if that's the > class > > > name) > > > , and see what the TargetException is > > > (method getTargetException() in > > > InvocationTargetException class) > > > these will let you know the real cause of the > error. > > > > > > After this I'm sure you will be able to detect > your > > > problem. > > > > > > I faced a similar problem a week ago, and I was > > > going to send > > > an e-mail to see if this problem (?) can be > fixed. > > > > > > Hope it helps > > > tonio > > > > > > > > > On Mon, 2007-05-07 at 17:47 -0700, Anshumn Sagar > > > wrote: > > > > Hi, > > > > > > > > I am facing a problem while calling the web > > > service > > > > which returns a list of objects. The service > is > > > > written using spring+xfire. The problem occurs > > > when I > > > > deploy the service on Weblogic 8.1. If I call > the > > > > service from my client, I > > > > get InvocationTargetException. The stack trace > > > appears > > > > as - > > > > > > > > ---------------------------------------------------- > > > > org.codehaus.xfire.XFireRuntimeException: > > > Exception > > > > while calling: > > > > > http://myserver02:7001/service/PartnerDataService > > > > arguments: service.beans.LicenseSearchInput : > > > > [EMAIL PROTECTED] |. > Nested > > > > exception is > org.codehaus.xfire.fault.XFireFault: > > > > Error invoking > > > > > > > > > 'service.IPartnerDataService.searchLicenses( > > service.beans.LicenseSearchInput)'. > > > > Nested exception is > > > > java.lang.reflect.InvocationTargetException: > null > > > > org.codehaus.xfire.fault.XFireFault: Error > > > invoking > > > > > > > > > 'service.IPartnerDataService.searchLicenses( > > service.beans.LicenseSearchInput)'. > > > > Nested exception is > > > > java.lang.reflect.InvocationTargetException: > null > > > > at > > > > > > > > > > org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage( > > Soap11FaultSerializer.java:31) > > > > at > > > > > > > > > > org.codehaus.xfire.fault.SoapFaultSerializer.readMessage( > > SoapFaultSerializer.java:28) > > > > at > > > > > > > > > > org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault( > > ReadHeadersHandler.java:111) > > > > at > > > > > > > > > > org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke( > > ReadHeadersHandler.java:67) > > > > at > > > > > > > > > > org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java > > :131) > > > > at > > > > > > > > > > org.codehaus.xfire.client.Client.onReceive(Client.java:387) > > > > at > > > > > > > > > > org.codehaus.xfire.transport.http.HttpChannel.sendViaClient( > > HttpChannel.java:139) > > > > at > > > > > > > > > > org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48) > > > > at > > > > > > > > > > org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java > > :26) > > > > at > > > > > > > > > > org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java > > :131) > > > > > > > > > > ----------------------------------------------------- > > > > > > > > The same call works fine in Weblogic 9.2, but > it > > > is > > > > failing on Weblogic 8.1. And it happens only > for > > > the > === message truncated === ____________________________________________________________________________________Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
