Just to tell  everybody that I've installed
the Jboss Contrib IIOP module from sourceforge...

IMHO, If it works as well as it seems for me, it should be
included into standard jboss distrib.

the patched version of jacorb should be also
proposed to jacorb maintainers, since the changes
seems of common interest.

note that befor using jacorb I was trying to use
sun orb from jboss EJB. this does not works because
sun orb cannot find a "codebase" from the IOR
(coming from mico)... I was not able to
set that codebase, despite changing
the javax.rmi.*codebase* properties and giving them to the ORB.init...
I've not tried to set them globally because it is really ugly ...
so I've tries the jacorb/jboss module which is COOL !

just for the archives to keep them for followers
here is my experience:

HOWTO:

on sourceforge look into CVS: jboss/contrib/iiop ...
the readme explain how to install
there is a patched jacorb.jar  and the patch file

the author seems to be user named "sparre" (probably Ole Husgaard.
I don't know who he is, but : hi, and thanks!)

It is installed as a Mbean and seem to propose
an IIOP connector for EJBs, and a base for an interface repository...
the name service seems also to be started by the Mbean...

I've only used it as a middleware, but the rest seems to work without
problem
(except a bunch of verbose traces)

I've had to add 
the interface org.omg.IOP.TAG_JAVA_CODEBASE
(from sun jdk sources src.jar) because jacorb does not provide it.
it should be included in jacorb IMHO anyway.
(not strictly  usefull probably because it is in the jdk1.3,
but cross-jar packages  may cause problems between sun orb and jacorb)

in IIOPContainerInvoker.java
there is also an error about a new "MethodInvocation" which
is ambiguous because many parameters are null...
I've just had to cast the provided null to the correct type
to force the signature...

in the start script 
I've just set globally jacorb as the ORB provider,
set JBOSS_BASE_OPTS=%JBOSS_BASE_OPTS%
-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB
set JBOSS_BASE_OPTS=%JBOSS_BASE_OPTS%
-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton

and at least it works better than sun ORB...
now I have to investigate how to use the naming service,
and how to connect it with EJB JNDI service...


thanks for all, and hope this helps...



--
Alain Coetmeur

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to