Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

java.rmi.ConnectException

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers

Sorry to cover old ground, but I couldnt see any specific answer.

I have 2 Win XP pro machines (pc and laptop). Ultimately, I wish to invoke a web service running in oc4j 10.1.2 on machine A, that will delegate to a RMI client that will invoke a RMI server running in Tomcat 5 on machine B.

I have written an RMI server and RMI client. I run the RMI Server (machine B) on my pc. I can then invoke the service running the client as a standalone. Both are using a blanket 'anything goes' security policy. I see output at both ends - so far so good.

I next generated a web service from the RMI client using JDeveloper. I deployed the web service to oc4j running on machine A. The web service deploys fine, and I can invoke the service using the supplied oc4j forms. However, I get a java.rmi.ConnectException when doing the Naming.lookup() call.

FYI, I have overidden RMISecurityManager, although I am not sure this is the best approach. Below is what I believe to be the pertinent code. I presume this is a configuration issue but cant think what. Thank you all in adavnce for your help

Ramen


[ August 09, 2006: Message edited by: Ramen Chatterjee ]
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!