JMS getObject() Error deserializing object for client
I am using WL6.1 and having a problem deserializing an object for a
client that doesn't have access to the corresponding implementation
object in its CLASSPATH (it only deals with the interface). From
previous posts, I read that upgrading to SP3 would fix this issue, but
I am still having this problem on both Solaris and Windows using SP3.
If I modify the client CLASSPATH to include the Server-side JAR file
that contains the implementation class, I don't have the problem and I
can successfully perform getObject() and deserialize the object. The
following is the code for the client:
public void onMessage(Message msg)
String msgText;
if(msg instanceof ObjectMessage)
try
ObjectMessage objMsg = (ObjectMessage) msg;
ActivityCreationEvent msgEvent =
(ActivityCreationEvent) objMsg.getObject();
System.out.println("Got a creation event");
catch(Exception ex)
System.out.println("Error getting JMS message:" + ex);
ex.printStackTrace();
the following is the code for the server:
objMsg = tSess.createObjectMessage(null);
ActivityCreationEvent createEvent=new ActivityCreationEventImpl();
objMsg.setObject(createEvent);
tPublisher.publish(objMsg);
and the following is the client stack trace:
Error getting JMS message:weblogic.jms.common.JMSException: Error
deserializing object
weblogic.jms.common.JMSException: Error deserializing object
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:141)
at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.Kernel.execute(Kernel.java:257)
at weblogic.kernel.Kernel.execute(Kernel.java:269)
----------- Linked Exception -----------
at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.ClassNotFoundException:
com.test.activity.ri.ActivityCreationEventImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at weblogic.jms.common.ObjectMessageImpl$ObjectInputStream2.resolveClass(ObjectMessageImpl.java:277)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:913)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:127)
at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.Kernel.execute(Kernel.java:257)
at weblogic.kernel.Kernel.execute(Kernel.java:269)
at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
The client doesn't need to have access to the implementation class for
any other aspect of the code, and I would like to keep it that way.
Does anyone have information as to the cause of the problem and a
solution?
Thanks in advance
Hi James,
Just having the interface is not sufficient, as the JVM must be able to
find the implementation class of an object in order to unserialize it - this is not a WebLogic
thing, it is a java thing. Either package the required class in the .ear that contains
the MDB or put it in your classpath.
Tom
James J wrote:
> I am using WL6.1 and having a problem deserializing an object for a
> client that doesn't have access to the corresponding implementation
> object in its CLASSPATH (it only deals with the interface). From
> previous posts, I read that upgrading to SP3 would fix this issue, but
> I am still having this problem on both Solaris and Windows using SP3.
> If I modify the client CLASSPATH to include the Server-side JAR file
> that contains the implementation class, I don't have the problem and I
> can successfully perform getObject() and deserialize the object. The
> following is the code for the client:
>
> public void onMessage(Message msg)
> {
> String msgText;
>
> if(msg instanceof ObjectMessage)
> {
> try
> {
> ObjectMessage objMsg = (ObjectMessage) msg;
> ActivityCreationEvent msgEvent =
> (ActivityCreationEvent) objMsg.getObject();
> System.out.println("Got a creation event");
> }
> catch(Exception ex)
> {
> System.out.println("Error getting JMS message:" + ex);
> ex.printStackTrace();
> }
> }
> }
>
> the following is the code for the server:
>
> objMsg = tSess.createObjectMessage(null);
> ActivityCreationEvent createEvent=new ActivityCreationEventImpl();
> objMsg.setObject(createEvent);
> tPublisher.publish(objMsg);
>
> and the following is the client stack trace:
>
> Error getting JMS message:weblogic.jms.common.JMSException: Error
> deserializing object
> weblogic.jms.common.JMSException: Error deserializing object
> at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:141)
> at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
> at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
> at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.Kernel.execute(Kernel.java:257)
> at weblogic.kernel.Kernel.execute(Kernel.java:269)
> ----------- Linked Exception -----------
> at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
> at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
> at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
> at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
> Source)
> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> java.lang.ClassNotFoundException:
> com.test.activity.ri.ActivityCreationEventImpl
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at weblogic.jms.common.ObjectMessageImpl$ObjectInputStream2.resolveClass(ObjectMessageImpl.java:277)
> at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:913)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
> at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:127)
> at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
> at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
> at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.Kernel.execute(Kernel.java:257)
> at weblogic.kernel.Kernel.execute(Kernel.java:269)
> at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
> at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
> at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
> at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
> Source)
> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
> The client doesn't need to have access to the implementation class for
> any other aspect of the code, and I would like to keep it that way.
> Does anyone have information as to the cause of the problem and a
> solution?
>
> Thanks in advance
Similar Messages
-
Hi all,
I am posting a serializable object as message to MDB Queue and trying to deserialize it in onMessage() method. But, getting below error
"Exception in onMessage weblogic.jms.common.JMSException: Error deserializing object"
Here is my onMessage method. Please help me !!!
public void onMessage(Message msg) {
ProcessQuery prQuery = null;
try {
ObjectMessage message = (ObjectMessage) msg;
ProcessQuery pQ = (ProcessQuery) message.getObject();
prQuery = pQ.execute();
catch(JMSException ex) {
System.out.println("Exception in onMessage " + ex);
ex.printStackTrace();
ProcessQuery is a serializable object.
Thanks in advance,
AnithaHi all,
I am posting a serializable object as message to MDB Queue and trying to deserialize it in onMessage() method. But, getting below error
"Exception in onMessage weblogic.jms.common.JMSException: Error deserializing object"
Here is my onMessage method. Please help me !!!
public void onMessage(Message msg) {
ProcessQuery prQuery = null;
try {
ObjectMessage message = (ObjectMessage) msg;
ProcessQuery pQ = (ProcessQuery) message.getObject();
prQuery = pQ.execute();
catch(JMSException ex) {
System.out.println("Exception in onMessage " + ex);
ex.printStackTrace();
ProcessQuery is a serializable object.
Thanks in advance,
Anitha -
Error in scenario for client Java Proxy
2006-04-28 15:30:49 Success Java proxy runtime (JPR) is transferring the request message to the messaging System
2006-04-28 15:30:49 Success Application attempting to send an XI message synchronously using connection JPR.
2006-04-28 15:30:49 Success Trying to put the message into the call queue.
2006-04-28 15:30:49 Success Message successfully put into the queue.
2006-04-28 15:30:49 Success The message was successfully retrieved from the call queue.
2006-04-28 15:30:49 Success The message status set to DLNG.
2006-04-28 15:30:50 Error Received XI System Error. ErrorCode: NO_RECEIVER_CASE_BE ErrorText: ErrorStack: No receiver could be determined
2006-04-28 15:30:50 Error Returning synchronous error notification to calling application: XIServer:NO_RECEIVER_CASE_BE:.
2006-04-28 15:30:50 Error Transmitting the message using connection http://<SERVER>:<PORT>/sap/xi/engine?type=entry failed, due to: XIServer:NO_RECEIVER_CASE_BE:.
2006-04-28 15:30:50 Error The message status set to FAIL.
2006-04-28 15:30:50 Error Returning to application. Exception: XIServer:NO_RECEIVER_CASE_BE:
2006-04-28 15:30:50 Error JPR failed to transfer the request message to the messaging system. Reason: XIServer:NO_RECEIVER_CASE_BE:
I am getting this in the audit log for a Java Proxy <> XI <> RFC scenario. What could be the problem?
the configuration in integration directory seems to be perfectly fine however the message flow fails giving this error <b>NO_RECEIVER_CASE_BE</b>
Regards,
AmolHI Amol,
Did you check the Message type/Message Inetrface names in the Java Proxy ?
Also check for Receiever Determinations in the configuration.
I assume that , you have created the Communication Channel under the Business System created as Standalone Java System.. If not check this.
Go to SXI_CACHE and check for the Receiever Determination created in the Configuration...
Hope this helps,
regards,
Moorthy -
Install error - Business Objects Enterprise Client XI 3.1
Hi All,
i am trying to install the XI Client on Windows XP and I am receiving this error after I select the language (english). Any suggestions?
Error 2711: The special feature named ("SAP IT Customizing") is not found in the feature table.
Any ideas? Can I try installign version 3.0 of the client as an alternative.
Thanks,
MikeHello Mike,
I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
It is monitored by qualified technicians and you will get a faster response there.
Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
Hi,
I am encountering the JMS Exception 'Error deserializing object'. I do not have
the stack trace. The same code works perfectly fine 99% of the time. It throws
exception at random very rarely.
Can anyone help me with the possible causes of this exception.
Thanks in advance.Hi Gordon,
I'm getting the EXACT same problem . were you able to resolve this problem . please let me know what the soln is
thanks
mantish -
InvalidClassException on getObject in receiving object JSM Queue
Hi,
I'm running weblogic 7.0.
I have a serializable class called EndUserVO that i wrapp in a JMS Message...when
my receiver try to deserialize it i get an exception (see later).
I have to queues, the first one deserialize the same object succesffully, the
second one throws an exception
Even if i put the following line in my EndUserVO Class :
static final long serialVersionUID = -390776269485461053L;
where the number is given by the serialver tool.
I have this exception :
weblogic.jms.common.JMSException: Error deserializing object
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:140)
at com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean.processMessage(Unknown
Source)
at com.xxx.messaging.ejb.AbstractQueueReceiverBean.checkMessages(Unknown
Source)
at com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean_org13d_EOImpl.checkMessages(XXXMessageReceiverBean_org13d_EOImpl.java:45)
at com.xxx.synchronization.ejb.NotifierBean.notifyReceiver(Unknown Source)
at com.xxx.synchronization.ejb.NotifierBean.onMessage(Unknown Source)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:348)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:282)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2309)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2232)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
----------- Linked Exception -----------
java.io.InvalidClassException: com.xxx.enduser.EndUserVO; Local class not compatible:
stream classdesc serialVersionUID=-2323713357317660516 local class serialVersionUID=-390776269485461053
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:128)
at com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean.processMessage(Unknown
Source)
at com.xxx.messaging.ejb.AbstractQueueReceiverBean.checkMessages(Unknown
Source)
at com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean_org13d_EOImpl.checkMessages(XXXMessageReceiverBean_org13d_EOImpl.java:45)
at com.xxx.synchronization.ejb.NotifierBean.notifyReceiver(Unknown Source)
at com.xxx.synchronization.ejb.NotifierBean.onMessage(Unknown Source)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:348)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:282)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2309)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2232)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
I put it in here because it's the only newsgroup where i found the same type of
error.
"Zach" <[email protected]> wrote:
>As far as I know it does not store a description of your class. It picks
>it
>up at runtime from the class that you give it. Did you not repack your
>ear
>file? You might also try the general or miscellaneous newsgroup. This
>really has nothing to do with JMS.
>_sjz.
>
>"paskos" <[email protected]> wrote in message
>news:[email protected]...
>>
>> Hi,
>>
>> thanks for the answer.
>> I know that the system stores somewhere the old version of my class,
>but i
>have
>> one and only java file stored.
>> It used to work well but i made somes changes and at that point it
>stopped
>working.
>> I suppose that weblogic stores somwhere a description for my class
>and i
>would
>> like to reset or modify that description but i don't know where.
>>
>> Can somebody help me ?
>> thanks
>>
>> paskos
>> "Zach" <[email protected]> wrote:
>> >You have two different versions of the class. No two ways about
>it.
>> > Make
>> >sure the class file you are using is the same on both the sending
>side
>> >and
>> >receiving side, and/or make sure that they have the same
>serialUIDVersion.
>> >
>> >_sjz.
>> >
>> >"paskos" <[email protected]> wrote in message
>> >news:[email protected]...
>> >>
>> >> Hi,
>> >>
>> >> I'm running weblogic 7.0.
>> >> I have a serializable class called EndUserVO that i wrapp in a JMS
>> >Message...when
>> >> my receiver try to deserialize it i get an exception (see later).
>> >> I have to queues, the first one deserialize the same object
>succesffully,
>> >the
>> >> second one throws an exception
>> >> Even if i put the following line in my EndUserVO Class :
>> >>
>> >> static final long serialVersionUID = -390776269485461053L;
>> >> where the number is given by the serialver tool.
>> >>
>> >> I have this exception :
>> >> weblogic.jms.common.JMSException: Error deserializing object
>> >> at
>>
>>weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:140)
>> >> at
>>
>>com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean.processMessage(Unkno
>w
>> >n
>> >> Source)
>> >> at
>> >com.xxx.messaging.ejb.AbstractQueueReceiverBean.checkMessages(Unknown
>> >> Source)
>> >> at
>>
>>com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean_org13d_EOImpl.checkM
>e
>> >ssages(XXXMessageReceiverBean_org13d_EOImpl.java:45)
>> >> at
>com.xxx.synchronization.ejb.NotifierBean.notifyReceiver(Unknown
>> >Source)
>> >> at com.xxx.synchronization.ejb.NotifierBean.onMessage(Unknown
>> >Source)
>> >> at
>weblogic.ejb20.internal.MDListener.execute(MDListener.java:348)
>> >> at
>>
>>weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:2
>8
>> >2)
>> >> at
>> >weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
>> >> at
>weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2309)
>> >> at weblogic.jms.client.JMSSession.execute(JMSSession.java:2232)
>> >> at
>weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
>> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>> >> ----------- Linked Exception -----------
>> >> java.io.InvalidClassException: com.xxx.enduser.EndUserVO; Local
>class
>> >not
>> >compatible:
>> >> stream classdesc serialVersionUID=-2323713357317660516 local class
>> >serialVersionUID=-390776269485461053
>> >> at
>> >java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
>> >> at
>java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
>> >> at
>>
>>java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
>> >> at
>> >java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
>> >> at
>> >java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
>> >> at
>> >java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
>> >> at
>> >java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
>> >> at
>> >java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
>> >> at
>> >java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
>> >> at
>> >java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
>> >> at
>> >java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
>> >> at
>> >java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
>> >> at
>>
>>weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:128)
>> >> at
>>
>>com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean.processMessage(Unkno
>w
>> >n
>> >> Source)
>> >> at
>> >com.xxx.messaging.ejb.AbstractQueueReceiverBean.checkMessages(Unknown
>> >> Source)
>> >> at
>>
>>com.xxx.synchronization.xxx.ejb.XXXMessageReceiverBean_org13d_EOImpl.checkM
>e
>> >ssages(XXXMessageReceiverBean_org13d_EOImpl.java:45)
>> >> at
>com.xxx.synchronization.ejb.NotifierBean.notifyReceiver(Unknown
>> >Source)
>> >> at com.xxx.synchronization.ejb.NotifierBean.onMessage(Unknown
>> >Source)
>> >> at
>weblogic.ejb20.internal.MDListener.execute(MDListener.java:348)
>> >> at
>>
>>weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:2
>8
>> >2)
>> >> at
>> >weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
>> >> at
>weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2309)
>> >> at weblogic.jms.client.JMSSession.execute(JMSSession.java:2232)
>> >> at
>weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
>> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>> >>
>> >>
>> >
>> >
>>
>
>
-
JMSClientExceptions: Error deserializing an object
Hi I have a JMSQueue in Weblogis Server.
I am sending Message to JMS Queue. it is text or object.
Now I have created client to recieve the message.
But it is throwing following Exception.
An exception occurred: [JMSClientExceptions:055115]Error deserializing an object
My JMS Client for Recieving Message
String msgText = null;
Trade msgTrade = null;
if (msg instanceof TextMessage)
msgText = ((TextMessage)msg).getText();
else if(msg instanceof ObjectMessage)
ObjectMessage o = (ObjectMessage)msg;
msgTrade = (Trade)o.getObject();
System.out.println(msgTrade.getOperation());
msgText = msgTrade.getStockSymbol();
Java Object
public class Trade implements Serializable{
String stockSymbol;
String operation;
int noOfShares;
double price;
//getters & setters
}Hi,
I am also getting the same exception. Could you please let me know how did you fix this?
Regards,
Prasad -
JMS Internal Error at Server Client Adapter!JMS Service is not started
Hi
Can any one tell me how to trouble shoot for following errors:
Failed to Create Connection! Reason: Response from the server could not be reached.
JMS Internal Error at Server Client Adapter!JMS Service is not started
The following hosts could not be reached 143:223:221:10:50310
We are trying to send the request from SONICMQ JMS to R/3 and trying to post the response to Sonic Queue. but we are facing some problems for JMS adapter .
but in JMS sender and receiver adapter i gave different IP and port for listen the SONIC queue. why it is showing in different IP here? this message got from logviewer.
regards
Rambarki...Rambarki,
What is the error displayed on the Adapter Monitoring pages?
Generally the correct error descriptions for connectivity issues are found on adapter monitoring UI than any other.
Other possible reasons could be :
<i>JMS Service is not started
The following hosts could not be reached 143:223:221:10:50310</i> This might be issue with your network settings i.e. XI server is unable to reach the specified IP on specified port.
Regards,
Amol -
Revision: 20451
Revision: 20451
Author: [email protected]
Date: 2011-02-24 08:33:31 -0800 (Thu, 24 Feb 2011)
Log Message:
backporting bug fix BLZ-570/BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml. This needs documentation. Checkintests pass
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-570
http://bugs.adobe.com/jira/browse/BLZ-620
Modified Paths:
blazeds/branches/4.0.0_fixes/modules/common/src/flex/messaging/errors.properties
blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.j ava
blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/SerializationContext.java
blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/Amf0Input.java
blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/Amf3Input.java
blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/AmfIO.javaDear Pallavi,
Very useful post!
I am looking for similar accelerators for
Software Inventory Accelerator
Hardware Inventory Accelerator
Interfaces Inventory
Customization Assessment Accelerator
Sizing Tool
Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
Request help on such accelerators... Any clues?
Any reply, help is highly appreciated.
Regards
Manish Madhav -
D3L "produce" error: unable to find attribute object for top node
Hi
I'm new to this forum, hope someone can help me with this because it's really been causing a headache for a few days now.
I'm trying to deliver a flat file message with an interconnect standard ftp adapter. All the transformations go well but then i get this error message:
oracle.oai.agent.adapter.technology.D3LException: [SmartQueueDispatcher] <struct id="GallupData" name="" comment="" ...>: unable to find attribute object for top node, got `[ stationId: 01
startDate: 040801
(messsage truncated)
emission: 1
]' instead
at oracle.oai.agent.adapter.technology.D3L.produce(D3L.java:391)
at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:876)
at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:451)
at java.lang.Thread.run(Unknown Source)
The message is exactly 65570 bytes (in the format written to the log).
Any help appreciated.
Leon SimonsenI finally solved the problem: The name of the d3l xml file must be named with the name of the data type. Just thought i'd let anyone know.
-
Microsoft Virtual Machine & No object for moniker error
Hi all,
I am trying to access java object from my ASP pages that are running on IIS4.0 i currently have only sun's VM .
when i try to access the java object from the ASP , i get a
"No object for moniker error". IIS is not able to find my java classes.
on doing some research i came to the conclusion that i need a microsoft VM in order to talk to my java classes through ASP.I have installed Microsoft Java SDK4.0, but still have no luck. Do i need to install the microsoft VM even after i installed teh SDk?
the other issue is will there be conflicts if i have both Sun' JVM and Microsoft JVM on the same machine.
I will appreciate all solution
thanks in advance
NamrataJeez - Found the solution to this. I was having the problem that any Java classes I created and then copied to C:\WINDOWS\java\trustlib were generating the error: "Error Type:(0x800401E5) No object for moniker ". I found that Java classes compiled with the 1.4.x compiler will not work on IIS within an ASP page using the construct: "Set obj = GetObject(java:my_java_class)". When I compiled the exact same code using the javac from 1.3.1 it works! I know of no method of getting Java code that uses methods specific to 1.4.x to work. Luckily the code I was posting to the server doesn't require any of these features. My assumption is that Microsoft is looking at the version of compiler that created the Java class and then throws an error if the compiler is greater than 1.3.x.
-
Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a resolution. Any help would be appreciated.
Sorry for the long title, first time poster here.This thread is pretty old, are you still having this issue?
-
Table creation Error "Ref Count for this object is higher than 0"
Hi All
I have a problem in creation of table using SDK on a button event. I have a procedure to create tables and fields. If I call this procedure on a menu Event than it works fine but If I call this procedure on a button event than It gives error "Ref count for this object is higher than 0" . I know this error occur When an object does not release after creating a table. but this error occur at when first table is created. My code it given below. plz see and give me your valuable suggestions.
Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
Try
oUserTablesMD = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUserTablesMD.TableName = "AM_OBIN"
oUserTablesMD.TableDescription = "PutAway Table"
oUserTablesMD.TableType = BoUTBTableType.bott_Document
lRetCode = oUserTablesMD.Add
'// check for errors in the process
If lRetCode <> 0 Then
B1Connections.diCompany.GetLastError(lRetCode, sErrMsg)
MsgBox(sErrMsg)
Else
B1Connections.theAppl.StatusBar.SetText("Table: " & oUserTablesMD.TableName & " was added successfully", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success)
End If
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
oUserTablesMD = Nothing
GC.Collect()
oUserTablesMD = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUserTablesMD.TableName = "AM_BIN1"
oUserTablesMD.TableDescription = "PutAway Upper Grid"
oUserTablesMD.TableType = BoUTBTableType.bott_DocumentLines
lRetCode = oUserTablesMD.Add
'// check for errors in the process
If lRetCode <> 0 Then
If lRetCode = -1 Then
Else
B1Connections.diCompany.GetLastError(lRetCode, sErrMsg)
MsgBox(sErrMsg)
End If
Else
B1Connections.theAppl.StatusBar.SetText("Table: " & oUserTablesMD.TableName & " was added successfully", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success)
End If
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
oUserTablesMD = Nothing
GC.Collect()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Thanks
Regards
GorgeHi Gorge,
The "Ref count error..." usually occurs in case of Meta Data objects not being properly cleared. And yes, you have got the error in the right place, generally while creating tables / fields / UDOs. For this, you just need to clear the Meta Data object (At times even DI objects like Record Set) once they are used.
Eg: Release these objects in the below way in a Finally Block.
System.Runtime.InteropServices.Marshal.ReleaseComObject(oRecordSet);
Hope this helps.
Regards,
Satish -
Error : 'No object identification permitted for infotype 0582, subtype LTA'
Hi Experts,
While executing the program 'HINUINFO_UPDATE'
i am getting an error 'No object identification permitted for infotype 0582, subtype LTA'.
After the approval for LTA claim is done in ESS i have executed the program 'HINUINFO_UPDATE' to update he infotypes 15 and 582. Infotype 15 is getting created but while creating the infotype 582 system gives the above error message.
In the detailed error log system gives the following message.
"You attempted to access a data record with the object identification 1. However, according to the Customizing settings, object identifications cannot be used for subtype LTA of infotype 0582".
Can anybody please assist me how to solve this problem. Helpful answers will be rewarded.
Thanks and Best Regards,
Sanoj.Hi ,
Did any one find solution for this ? Please reply how to fix this issue. -
Error: - No service for system port, client in Integration Directory
Hi
In Idoc to File scenario, My Idoc 've been successfully send from the sender system.
but its neither getting displayed in the SXMB_PATH nor saved in the specified path.
I checked in SM58 in R3 that RFC user has access to send data to XI. But it showing below Error:_
ERROR:-
No service for system Sender Port (SAPDEV) client sender client (300 ) in Integration Directory
Please do the needful
Thanks,
AnshulHi Anshul,
Go to:
TCODE SXMB_ADM -> Integration Engine Configuration
Please change the system rile to be "Application System", then retest if the similar issue happen again after that.
If not helped, follow:
1. Clear SLD Delta Cache Referesh in the Integration Directory
2. Open the Business System in edit mode and select Adapter specific identifiers following the menu path:
Service -> Adapter Specific Identifiers
3. Please click in the button next to "Apply" button to pick up the Logical system from SLD.
Regards,
Caio Cagnani
Maybe you are looking for
-
Is there a way to have the use of what we used to call "Macros" which would be a key you could hit where you have installed a word, phrase, etc that you type repeatedly? By this I mean if, while on line, you repeatedly type out the phrase "Thank you
-
I have two landlines running into my house...one of which works and the other--I use for my home office--which does not. I was told by Verizon tech supervisors that they are aware of the issue, it is on their end and that they can have someone come
-
I got one of the free books of Itunes and I'm wondering how I read it. I double click and nothing happens. Is it only for Ipads and Iphones??
-
COPA document with out customer
Dear All, Our AR Team clears small differnces through reason codes which posts the amount automatically to the account 310011 (Sales Credits & Allowances-revenue cost element) but while posting this they are not entering the customer number manually
-
Rule based metadata value population
Hi, We have a requirement where the assets metadata associated with the asset should be displayed based on rule. For example if there are 3 dropdowns. On choosing the value in dropdown 1, the values in the dropdown 2 should be displayed and similarly