Greetings,

I'm trying to call an EJB from an Oracle Java stored procedure as it's described in 
the Wiki pages:
http://www.jboss.org/wiki/Wiki.jsp?page=CallingEJBsFromOracleJVM.

I reproduce the similar steps as described in the article but I'm getting an exception 
when I do a lookup for the JNDI bean name:

  | Connnected To :localhost:1099
  | Looking Up: ejb/Test
  | javax.naming.CommunicationException: recvfrom() timed out
  | Resource temporarily unavailable.  Root exception is
  | java.io.InterruptedIOException: recvfrom() timed out
  | Resource temporarily unavailable
  | at java.net.PlainDatagramSocketImpl.peek(PlainDatagramSocketImpl.java)
  | at java.net.DatagramSocket.receive(DatagramSocket.java)
  | at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1089)
  | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1196)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
  | 
I run the same class that I put in the database as java stored procedure but now 
outside the database, and it works just fine.

What is the problem here?

BTW, in the step 2 (compiling the java classes in the database), I'm getting several 
warnings in the classes of jboss from jbossall-client.jar.And I'm using the loadjava 
and dropjava tools from oracle instead the ant task.

I'm using Oracle 9.2.0.4 and JBOSS 3.2.5.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841247#3841247

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841247


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to