Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Minor code problem with Axis, EJB, WSAD, Websphere

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using below environment

client side
------------
ANT + Sun 1.4.2 JRE
JIBX (DE)SERIALIZERS, JIBX BINDING
AXIS 1.2 RC2 STUBS


server side
-----------
JIBX (DE)SERIALIZERS, JIBX BINDING
AXIS 1.2 RC2
JIBX BETA 3D
WSAD 5.1.2
WEBSPHERE 5.0 Test Environment



Basically I used WSAD 5.1.2 to code my EJB's. When I run my web service java client program to access a ejb web service exposed using AXIS,JIBX (DE)SERIALIZERS, WEBSPHERE 5.0 I am getting below exception on client side and no exception atleast in my server console. I guess the cause of this error is I used Sun 1.4.2 JRE on the client side to construct custom types and
passed them to server which uses IBM JRE 1.3.1 inside WebSphere 5.0 Test Environment. I am not sure may be it is a guess. If so how to ask ANT on take IBM JRE 1.3.1 with <javac> task. Please suggest ... ?


-------------------------------------------------------------------------
[java] - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
[java] Connecting to service at http://localhost:9999/Axis12Rc2IrscWeb/services/DCPlanListWS
[java] Sending first request...
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[java] faultSubcode:
[java] faultString: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
[java] java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
[java] org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:BE5D2E53ED0132D4) = BE5D2E53ED0132D4 whereas Target (Rep. ID RMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:C8417C221AEF1714) = C8417C221AEF1714 minor code: 4942F89A completed: No
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {http://xml.apache.org/axis/}hostname:hyddl0337

[java] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
[java] java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
[java] org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:BE5D2E53ED0132D4) = BE5D2E53ED0132D4 whereas Target (Rep. ID RMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:C8417C221AEF1714) = C8417C221AEF1714 minor code: 4942F89A completed: No
[java] at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
[java] at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
[java] at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
[java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
[java] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[java] at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
[java] at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
[java] at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
[java] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:173)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
[java] at org.apache.axis.client.Call.invoke(Call.java:2702)
[java] at org.apache.axis.client.Call.invoke(Call.java:2378)
[java] at org.apache.axis.client.Call.invoke(Call.java:2301)
[java] at org.apache.axis.client.Call.invoke(Call.java:1758)
[java] at irsc.bluestar.DCPlanListWSBindingStub.getDCPlanList(DCPlanListWSBindingStub.java:180)
[java] at irsc.bluestar.IrscDcPlanListWsClient.query(IrscDcPlanListWsClient.java:43)
[java] at irsc.bluestar.IrscDcPlanListWsClient.main(IrscDcPlanListWsClient.java:67)
[java] Exception in thread "main"
[java] Java Result: 1
--------------------------------------------------------------------------





Thanks & Regards,
[ February 08, 2005: Message edited by: Lasse Koskela ]
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
R Kumar.... the same question in 3 different threads...

JeanLouis
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed, please do not cross-post the same question in several forums. That's just not the right thing to do. I've closed the other two threads and linked back to this one.

Also, the abuse of capital letters in a thread's title is downright against netiquette. I've edited the title for you this time but please use correct casing in the future.

Thanks.
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot the rules ! Sorry team ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic