Re: Re: Problems running typedEvent demo with orbacus 4.3.1 eval
"Tim Schumann" <[email protected]> Thu, 15 Jun 2006 21:05:28 +0200
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <[email protected]> |
Many thanks, that did it! It would be nice, if this issue was picked in a faq list or if the INSTAL= L file would be updated, such that one knows that it is still a problem w= ith Java 1.5. (I hope, someone who maintains orbacus will read this ;-)) kind regards, tim -------- Original-Nachricht -------- Datum: Tue, 13 Jun 2006 17:02:52 +0200 Von: Marek Strejczek <[email protected]> An: [email protected] Betreff: [OB-Users] Re: Problems running typedEvent demo with orbacus 4.3= .1 eval > Hi, >=20 > first thing that comes to my mind is that you don't prepend=20 > bootclasspath with OB.jar. > Try to run you program using > java -Xbootclasspath/p:OB.jar etc. >=20 > I found this workaround when reading INSTALL file for Orbacus 4.1.2: > *** > * Compatibility with JDK 1.4 >=20 > ORBacus cannot be compiled with JDK 1.4 unless the boot classpath > is set. There are several reasons for this. First, there is a bug > in the JDK ORB's POA interface, in which the WrongAdapter exception > is not listed for reference_to_servant. Second, the Portable > Interceptor (PI) interfaces in ORBacus have been extended to support > the upcoming Object Reference Template specification, but these > extensions are not visible because the JDK includes an older > set of PI interfaces. Third, the org.omg.DynamicAny.DynUnion > interface provided by the JDK is not up-to-date. > =20 > We would have to add too many workarounds in our code in order to > support "peaceful coexistence" with the JDK ORB, so at this time > we require the use of a boot classpath. >=20 > If you wish to compile the sources yourself, please edit > config/Make.rules (Unix) or config\Make.rules.mak (Windows) and > uncomment the BOOTCLASSPATH line. >=20 > Note that the boot classpath must also be set when running ORBacus > applications with JDK 1.4. All of the shell scripts in the ORBacus > distribution automatically do this when necessary. > *** >=20 > I'm using Java 5.0 and still need to apply this workaround, with both=20 > Orbacus 4.1.2 and 4.3.1. > Regards, > Marek >=20 >=20 > >Date: Mon, 12 Jun 2006 20:51:57 +0200 > >From: "Tim Schumann" <[email protected]> > >To: [email protected] > >Subject: [OB-Users] Problems running typedEvent demo with orbacus 4.3.= 1 > eval > >Message-ID: <[email protected]> > >Content-Type: text/plain; charset=3D"utf-8" > >MIME-Version: 1.0 > >Content-Transfer-Encoding: 8bit > >Precedence: list > >Message: 1 > > > >Hi, > > > >I'm using Orbacus 4.3.1 evaluation and had this problem with windows X= P > and Mandriva Linux. There are two problems when starting the typed even= t > demo (which was included in JOB). > >1. When starting java com.ooc.CosEvent.Server I'll get an > NoSuchMethodError. > > In Detail: > > java com.ooc.CosEvent.Server -ORBconfig ~/orb.cfg --typed-service > >Exception in thread "main" java.lang.NoSuchMethodError: > org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_ch= anged(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 com.ooc.CosEvent.Server.run(Server.java:258) > > at com.ooc.CosEvent.Server.main(Server.java:401) > > > ><snip> > > > >Many thanks for your help, > > > >Tim > > =20 > > >=20 >=20 > --=20 > --- > Marek Strejczek > System Engineer > Ericpol Telecom sp. z o.o. > Sienkiewicza 85/87, 90-057 Lodz, Poland > e-mail: [email protected] > tel: +48426351979 > mobile: +48663426782 > http://www.ericpol.pl/ > --- >=20 > _______________________________________________ > 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 --=20 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f=FCr Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ 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