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