I am having difficulty connecting an Oracle package running on a different server to a 
class file running on another server. Has someone done this before and can you provide 
some help/examples?

System Environment:
1. Oracle database on a different box.
2. Unix box listening on 1099 (rmi port).
3. Jboss-3.2.3

What i have done so far:
> Created and compiled a single class that has one method that returns a string - such 
> as "Hello".
> Created Stub and Skel using rmic -d classfilename
> Created a client class and loaded it into Oracle. This class does a 
> Naming.lookup("rmi://10.2.86.190:1099/"+rmiName);
> Created an Oracle package that has a procedure calling this java method.

Questions:
1. How do I register the class in RMI on the Jboss app server. Note that my class is 
not acting as a daemon.  
2. How do I deploy the class file in jboss so it can be called from Oracle?
(Do i need to package it into a war file and be able to map it somehow?)
3. Is the calling protocol for the lookup ("rmi://") correct? or do i need to use 
"http://"; ? 

Please help.
thanks.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to