File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Java InitialContext failure in 1.6

Joel McNary

Joined: Aug 20, 2001
Posts: 1824

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 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

Joined: Feb 05, 2001
Posts: 17276

Does the 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?


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Java InitialContext failure in 1.6
It's not a secret anymore!