Bugs item #989554, was opened at 2004-07-12 16:41
Message generated for change (Comment added) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=989554&group_id=22866

Category: None
Group: v3.2
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: walkman (walkman_s)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with MDB which uses JNI and raw sockets

Initial Comment:
We wrote a small program which uses JNI and raw 
sockets. There were no problems when we used it 
outside Jboss. The problem starts only when we try to 
use this code from an MDB. We tried to put the *.so lib 
in the jboss /bin directory. When the Jboss gets to the 
part when it needs to send the packet through the raw 
socket nothing is been sent (using ethreal). 
when we tried to debug the "c" code using printf() 
commands we couldn't see the output and sometimes 
the jboss crashed. The output we got after the crash 
was something like "we were in the middle of handling 
another exception while this one accure". 
 
 
files description: 
Several files Atached to this message: 
The c src files. 
The java src files. 
IpMulitiClient.java which is the beginning of the problem. 
Inside it there is a method named sendData(). 
The last paramter of the method should be 1.  
 
  

----------------------------------------------------------------------

>Comment By: Adrian Brock (ejort)
Date: 2004-07-20 03:05

Message:
Logged In: YES 
user_id=9459

There is nothing attached. It is also illegal by spec to use
JNI from
an EJB, although that shouldn't cause the problems you see
unless you are doing very stupid.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=989554&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to