This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of TensorFlow 2.0 in Action and have Thushan Ganegedara on-line!
See this thread for details.
Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning 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
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

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 ]
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic