Hi all,

Trying to bundelize the free CORBA implementation I'm eventually getting
screwed up. 

I encountered some problems, which I could solve:

1.) Jacorb defines it's own versions of nearly all system packages under
org.omg. Thus, I had to define my own version of property
org.osgi.framework.system.packages, which omits all this packages.

2.) To instantiate the orb in a BundleActivator.start() method. I had to
insert this code befpor calling ORB.init():
Thread.currentThread().setContextClassLoader(
  org.jacorb.orb.ORB.class.getClassLoader());

Noew I can instantiate the orb, however, when I try to use it, i.e.,
create a CORBA object from an IOR, I get this exception:

java.lang.VerifyError: (class: org/jacorb/orb/Delegate, method:
getReference signature:
(Lorg/jacorb/poa/POA;)Lorg/omg/CORBA/portable/ObjectImpl;) Incompatible
object argument for function call

I have googled a lot to find a solution for this problem, and found that
somebody else had exactly the samee problem about 2 years ago and asked
for help on a mailing list. However, as far as i could figure out no
solution was found at that time.

Many thanks for any hibts in advance !!!

Martin Cornelius

 
************************************************
The information contained in, or attached to, this e-mail, may contain 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and may be subject to legal privilege.  If 
you have received this e-mail in error you should notify the sender immediately 
by reply e-mail, delete the message from your system and notify your system 
manager.  Please do not copy it for any purpose, or disclose its contents to 
any other person.  The views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of the company.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.
************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to