File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes CORBA under JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "CORBA under JBoss" Watch "CORBA under JBoss" New topic
Author

CORBA under JBoss

Janos Mozes
Greenhorn

Joined: Aug 09, 2002
Posts: 3
Hello,
i wrote a small Corba-Client program. It works great. But i have a problem with the same code under JBoss. When i call the resolve method of the org.omg.CosNaming.NamingContext, i get the following exception:

java.lang.UnsupportedOperationException
at com.sun.corba.se.internal.ior.FreezableList.add(FreezableList.java:96)
at com.sun.corba.se.internal.core.IOR.<init>(IOR.java:239)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:652)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:641)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:253)
at org.omg.CORBA.ObjectHelper.read(ObjectHelper.java:59)
at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:245)

Do you know, what the problem is?
Thanks in advance,
J
 
Consider Paul's rocket mass heater.
 
subject: CORBA under JBoss