I am getting a ClassCastException with the following trace:
java.lang.ClassCastException: com.sun.xml.ws.client.sei.SEIStub
at org.apache.cxf.frontend.ClientProxy.getClient(ClientProxy.java:87)
at
com.wng.integration.MyIntegration.memberInquiry(MyIntegration.java:200)
at jsp_servlet.__membershipinquiry._jspService(__memberInquiry.java:108)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown
Source)
at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
The line I am getting it at is:
Client client = ClientProxy.getClient(membershipInquiryPort);
I am following the guide "Developing a Consumer with CXF"
I need the client because I am trying to add interceptors. Surprisingly this
all works when I compile locally and test. However when I deploy to a BEA
10.0 server it bombs.
-Jeff
--
View this message in context:
http://www.nabble.com/java.lang.ClassCastException%3A-com.sun.xml.ws.client.sei.SEIStub-under-BEA-10.0-tf4262752.html#a12131095
Sent from the cxf-issues mailing list archive at Nabble.com.