Hi.

My environment:
JBoss 3.2.x, JVM 1.3.1_07, 1.4.1_01 and 1.4.1_02, Windows XP

I'm implementing a JCA resource adaptor for a legacy MS COM based
system.
I use IBM's bridge2java as Java-COM bridge.

In a first try, i did all in standalone Tomcat with servlets,
loaded bridge2java.dll by myself with System.loadLibrary().
Doing some work with the legacy COM objects, all fine.


Then I wanted to make a resource adapter according to JCA out of it
And deploy the thing under Jboss.
(Note: My resource adaptor works fine, if I don't do any COM stuff
there).

1.try:
bridge2java.dll in jre/bin, NOT in my *.rar.
Loading DLL by myself with System.load in my own JCA ConnectoriImpl
class.
Calling some JNI stuff over my Connection ONE time from a client in
another VM works fine.
A few seconds after the first call to my JCA Connection, JBoss/VM
freezes.
No telnet to port 1099 possible, no Ctrl-C for stopping Jboss/VM
possible.
I have to kill the process.
:-(
The same happens, if I do the same in a SessionBean.
The only difference I can see to the standalone Tomcat system is maybe
some threading stuff?!?


2. try:
Put bridge2java.dll in my *.rar, as suggested.
Let JBoss load the native library... BUT I get:
java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF
required by <mypath>\bridge2java.dll
when the org.jboss.deployment.SubDeployerSupport class wants to load the
native library via System.load().
The whole thing fails deploying.



Thanks in advance for any hints.


Best regards,
Roman


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to