Thanks in advance,
Lucian
Exception in thread "main" java.rmi.MarshalException: CORBA MARSHAL 0[]
at java.lang.reflect.Constructor.newInstance(Native Method)
at
com.inprise.vbroker.rmi.CORBA.UtilImpl.newInstance(UtilImpl.java:99)
at
com.inprise.vbroker.rmi.CORBA.UtilImpl._mapSystemException(UtilImpl.java:368
)
at
com.inprise.vbroker.rmi.CORBA.UtilImpl.mapSystemException(UtilImpl.java:572)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
at
business._CUserBusinessInterface_Stub.RetrieveOwnAddresses_CUserBusinessInte
rface_Stub.java:556)
at FirstGUI.MeineFrame.meineInitComponents(MeineFrame.java:136)
at FirstGUI.MeineFrame.<init>(MeineFrame.java:149)
at FirstGUI.MeineFrame.main(MeineFrame.java:556)
Not sure how you can return a java.util.Vector. Is that what you're trying
to do? Note that is not a CORBA type. Or are you trying to use the Java to
IDL mapping? My comment on that is that it's an abomination.
Don't try using JDK 1.4 at all -- it's not supported and you're sure to
encounter issues, unless you use the -Xbootclasspath: option on the command
line to interrupt the normal boot loading systems (the solutions which
worked with JDK 1.3.x and 1.2.x, sadly, don't work with JDK 1.4). It's best
to wait for vendor support -- recall JDK 1.4 is only a month old and it
takes the vendors 3 months or so to support a new JDK version.
Cheers,
-Bill
"Lucian Ion" <dontspa...@softgate.ro> wrote in message
news:a77dc1$j4rcj$1...@ID-109381.news.dfncis.de...
"Bill Lloyd" <b_l...@nixme.eudoramail.com> wrote in message
news:a78g08$l2s$2...@spider.iona.com...
> Hmmm...
>
> Not sure how you can return a java.util.Vector. Is that what you're
trying
> to do? Note that is not a CORBA type. Or are you trying to use the Java
to
> IDL mapping? My comment on that is that it's an abomination.
Actually that's what I'm doing, using the Java to IDL mapping. You probably
have very good reasons to call it like that, but it looks the fastest way
for a newbie to get a simple application working.
>
> Don't try using JDK 1.4 at all -- it's not supported and you're sure to
> encounter issues, unless you use the -Xbootclasspath: option on the
command
> line to interrupt the normal boot loading systems (the solutions which
> worked with JDK 1.3.x and 1.2.x, sadly, don't work with JDK 1.4). It's
best
> to wait for vendor support -- recall JDK 1.4 is only a month old and it
> takes the vendors 3 months or so to support a new JDK version.
Well I found the problem and it wasn't because of the JDK I'm using but
because objects that I was inserting into the Vector didn't implement
Serializable. Anyway there are also other reasons why I'd like to use JDK
1.4 with VisiBroker. I'm wondering how long will it take Borland to release
a new ORB version
Thank your answering,
Lucian