[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5 native library integration
johne
do-not-reply at jboss.com
Sun Nov 4 16:59:28 EST 2007
I am developing a library which allows access to an OO database (JADE, see www.jadeworld.com) from Java. It uses the EJB JPA interfaces (EntityManagerFactory etc) with an implementation of javax.persistence.spi.PersistenceProvider as the link to the EE app server. The application persistence.xml file has an entry com.jadeworld.jade.entitymanager.PersistenceProvider and the app server creates an instance of this which in turn creates an EntityManagerFactory. This links to a C++ DLL which does the actual access between Jade and Java. It works using Java SE and on the Sun app server by just copying the Java library to the appropriate server lib directory and having the DLL and associated binaries in the path.
Using JBoss 5 beta 2 and copying the library jar file to lib\endorsed, it creates the EMF OK but it gets an exception:
"java.lang.UnsatisfiedLinkError: no javajom in java.library.path" (javajom.dll is the C++ DLL) regardless of what I do including having this in the PATH and setting the JAVA_OPTS variable to -Djava.library.path=<path to DLL>.
Is there some additional configuration required to make this work?
Thanks
John Eyers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101634#4101634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101634
More information about the jboss-user
mailing list