0 Replies Latest reply on Mar 15, 2013 11:21 AM by lahvenai

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

      I've tried the Oracle Streams messaging example here:


      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 - 64bit Production and java is 1.6 on Win 7