on 05-02-2007 3:30 PM
Hi.
I'm trying to set up a JMS connection and want to use the J2SE stand alone adapter first, so I can experiment without having to restart the central adapter over and over again.
I get an Null Pointer Exception:
16:19:40 (3010): Error initializing jms receiver adapter: java.lang.NoSuchMethodException: com.sun.messaging.QueueConnectionFactory.<init>(java.lang.String)
I'm a bit (much ... well completely) lost now. Can anyone please help me out? Im not much of a Java programmer, but I though that wouldn't be necessary...
Thanks in advance,
Michel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your suggestion, I looked it up, although it's not quite the same situation, there was some usefull info there...
I have switched to using JNDI now, and got further, so I'll follow that trail first.
Let you know if I make progress...
Thanks again,
Michel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its up and running now, both on local J2SE as on central J2EE adapters.
We set up JNDI, which turned out to make life much easier.
To get it to work on J2SE, we added the Sun provided jars (jmq.jar and jndi.jar) to the aii_af_jmsproviderlib.sda archive (using the drivertool is the easiest).
Then we configured the local adapter (<i>adapter</i>.properties) and created a simple scenario to just send a "hello world" message to the JMS broker, where it was picked up by a listener.
Once that worked we deployed the aii_af_jmsproviderlib.sda on the central J2EE engine (using SDM) and created a receiver CC to replace the local adapter. That worked fine, without much problems.
The other way around didn't give any more problems after that...
Now we can focus on the content and format of the messages...
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.