Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Distributed Java and the fly likes Java InitialContext failure in 1.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Java InitialContext failure in 1.6" Watch "Java InitialContext failure in 1.6" New topic
Author

Java InitialContext failure in 1.6

Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1817

I'm working on a project that is using Java 1.6 and Weblogic 10.3. The application involves a swing client that connects to weblogic via weblogic's t3 protocol (and is launched via a JNLP link from a page in the web application). We have several instances of the application running on different servers. You can log into the web application from a machine on the same network domain and from a machine on a different network domain. However, the swing client can only connect to a server on the same network domain. We get a java.io.IOException: Write not supported error wrapped in a CORBA error.

I've managed to isolate this through using a dummy client that just tries to create an InitialContext; it fails when creating the InitialContext for servers not on the same domain as the client (either for a server running WEblogic 10.3 or for ones running the previous version of our application and Weblogic 8.1). However, the same dummy client, when run with java 1.4, has no problems connecting -- to either 10.3 or 8.1.

Does anybody have any idea what might be causing this? As I said, it works fine for machines running on the same network domain, but our business model has cases where the server is on a different domain from the client.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Does the jndi.properties file need to have a different URL property value to connect from outside your network?

I am thinking this is where it is failing, and just a guess. Though that is the first place I would look.

Is there a multicast IP address that you need? Is the app server behind a Firewall that someone outside has to get through to reach the App Server?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java InitialContext failure in 1.6
 
Similar Threads
JBoss 3 + Java 1.4 communicating with JBoss 5 + Java 6, is that possible?
Java version and weblogic migration affecting code functionality?
please answer this 128 questions for WLS. Urgently!
Apache and weblogic8.1SP1 communication
Open a Swing project in web based application