Problems with JOB 4.3.0 and J2SDK 1.5.0
Manuel Fünfrocken <[email protected]> Wed, 14 Dec 2005 14:25:12 +0100
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | Forgis |
| Message-ID | <[email protected]> |
Hello!
Ive some trouble using my code with JOB 4.3.0 and Java 1.5. We have switch
to this Java version from Java 1.4.2._04.
As Ive seen on the Orbacus home page, ORBacus 4.3.0 should work with Java
1.5. So I have just recompiled it after installing jsdk 1.5.0.
I get some warnings while installing:
build:
[ob.javac] Compiling 103 source files to C:\Temp\JOB-4.3.0\property\lib
[ob.javac] Note: Some input files use unchecked or unsafe operations.
[ob.javac] Note: Recompile with -Xlint:unchecked for details.
jar:
[jar] Building jar: C:\Temp\JOB-4.3.0\property\lib\OBProperty.jar
There are more warnings, but they have the same type: Some input files use
unchecked or unsafe operations.
Ive you think that could be usefull I will post them here.
(The option Xlint:unchecked is unknown
Ive tried: ant Xlint:unchecked
Dinstall.dir=C:\JOB)
I also get this exception when running my program:
Exception in thread "main" java.lang.NoSuchMethodError:
org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_changed
(Ljava/lang/String;S)V
at com.ooc.OB.PIManager.adapterManagerStateChange(PIManager.java:688)
at
com.ooc.OBPortableServer.POAManager_impl.activate(POAManager_impl.java:220)
at client.ClientServant.getPOAManager(ClientServant.java:135)
at client.ClientServant.<init>(ClientServant.java:71)
at client.ClientServant.<init>(ClientServant.java:57)
Note: Orbacus works fine as long as my program only works as pure client. If
I try to start function that run as server (neede for callbacks) I get the
exception above.
Has anybody some advice? I am right, that JOB 4.3.0 can be used with Java
1.5? And is it just recompiling or does I have to change some code?
Kind Regards
Manuel Fünfrocken
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html