Hello Martin,
I am going through the same problem that you faced 4 yrs ago :-). I have to
use jacorb.jar in my OSGi bundle. However after bundeling, I am getting
Verify error and perhaps for the same reason as you mentioned in your post
"JacORB as OSGi Bundle succeded (was: Bundelizing Jacorb -- getting
screwed)".
Here is the error that is thrown:
Bad type on operand stack
Exception Details:
Location:
org/jacorb/orb/Delegate.getReference(Lorg/jacorb/poa/POA;)Lorg/omg/CORBA/portable/ObjectImpl;
@42: invokevirtual
Reason:
Type 'org/jacorb/orb/Reference' (current frame, stack[0]) is not
assignable to 'org/omg/CORBA/portable/ObjectImpl'
Current Frame:
bci: @42
flags: { }
locals: { 'org/jacorb/orb/Delegate', 'org/jacorb/poa/POA',
'java/lang/String', 'org/jacorb/orb/Reference' }
stack: { 'org/jacorb/orb/Reference', 'org/jacorb/orb/Delegate' }
I am using Jacorb-3.4 with JRE-7 and Equinox as the OSGi platform.
Should I go ahead and re-bundle Jacorb as you suggested? Or is there a
better alternative where-in we can also use RMI-IIOP as well?
Any advise will be appreciated.
Regards,
Rahul
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Bundelizing-Jacorb-getting-screwed-tp4843264p5007392.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]