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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...