Re: Problems running typedEvent demo with orbacus 4.3.1 eval

Marek Strejczek <[email protected]> Tue, 13 Jun 2006 17:02:52 +0200
Newsgroups gmane.comp.corba.orbacus
Organization Ericpol Telecom sp. z o.o.
Message-ID <[email protected]>
Hi,

first thing that comes to my mind is that you don't prepend 
bootclasspath with OB.jar.
Try to run you program using
java -Xbootclasspath/p:OB.jar etc.

I found this workaround when reading INSTALL file for Orbacus 4.1.2:
***
* Compatibility with JDK 1.4

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

  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.

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

I'm using Java 5.0 and still need to apply this workaround, with both 
Orbacus 4.1.2 and 4.3.1.
Regards,
Marek


>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="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 XP and Mandriva Linux. There are two problems when starting the typed event 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_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 com.ooc.CosEvent.Server.run(Server.java:258)
>        at com.ooc.CosEvent.Server.main(Server.java:401)
>
><snip>
>
>Many thanks for your help,
>
>Tim
>  
>


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

_______________________________________________
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