This discussion is archived
0 Replies Latest reply: Mar 15, 2013 4:21 AM by lahvenai RSS

java.lang.UnsatisfiedLinkError   when trying create a session to a topic.

lahvenai Newbie
Currently Being Moderated
I've tried the Oracle Streams messaging example here:

http://docs.oracle.com/cd/B28359_01/server.111/b28420/aq_demo.htm#i100786

But when trying to connect using java and oci I'm getting this

Exception in thread "main" java.lang.UnsatisfiedLinkError: oracle.jms.AQjmsSession.ociinit([JIIZS)J

This is the very simple code :

TopicConnectionFactory factory = (TopicConnectionFactory) oracle.jms.AQjmsFactory.getTopicConnectionFactory("localhost","orcl",1521,"oci8");
TopicConnection conn = factory.createTopicConnection("strmadmin","strmadmin");
TopicSession sess = conn.createTopicSession(true, Session.CLIENT_ACKNOWLEDGE);


What do do ?
I assume this has something to do with wrong dll being used ..
The server is 11g 11.2.0.1.0 - 64bit Production and java is 1.6 on Win 7

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points