on 07-21-2005 7:42 PM
Everyone:
I am getting the following java error while trying to create a Topic Connection facotry:
<b>Caught Exception java.lang.ClassCastException:
com.sap.engine.services.jndi.persistent.Unsatisfie
dReferenceImpl</b>
at
jmsbenchmark.JMSConnection.makeTopicConnectionJNDI(JMSConnection.java
:953
This is on a remote client machine (remote to the server).
I strongly suspect that the error message is trying to tell me that I need a seperate JAR file for topics (as opposed to queues), and it can not resolve the reference to the object in the Jar.
There are the jars I am using on th remote client:
<b> exception.jar
logging.jar
sapj2eeclient.jar</b>
Does anyone know what jar I should have, or know of any other info?
Thanks, John
Hello John,
Normally when you launch JMS programs you need to add jms.jar in your classpath. However I am not sure if that will help you. If you could post some of your code (jmsbenchmark.JMSConnection line 953) perhaps it will give us idea what could be the problem.
Please note that creation of TopicConnection factory should normally be performed via VisualAdministrator or other administrative tools. Please check
http://help.sap.com/saphelp_nw04/helpdata/en/26/9b569f525445b0b3d66474b7569d39/content.htm
for more info.
Best Regards
Peter Peshev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem with the QueueConnectionFactory. (I'm using the jms.jar.).
The Code is the simpleClient ( http://help.sap.com/saphelp_nw04s/helpdata/en/44/efec3341ad67d8e10000000a155369/content.htm )
Exception in thread "main" java.lang.ClassCastException: com.sap.engine.services.jndi.persistent.UnsatisfiedReferenceImpl
at SimpleClient.main(SimpleClient.java:149)
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.