This issue made me run in circles somehow. On friday I had a fix that appeared to require a small patch on JacORB. Now I redone all testing at home and it seems that my patch is not really needed. I wonder if there is some difference between my work environment and my home environment...
Anyway, this is working for me at home (a Linux box): To run the JBoss server with IIOP, just uncomment the RMI/IIOP MBean entry in jboss-service.xml. Then set the enviroment variables indicated below. (No need for an Xbootclasspath switch!) # With IBM's jdk 1.3 or 1.3.1: export JBOSS_CLASSPATH=$JBOSS_HOME/lib/jacorb.jar export JAVA_OPTS="-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton" # With Sun's jdk 1.3.1: export JAVA_OPTS="-server -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton" # With Sun's jdk 1.4.0: export JAVA_OPTS="-server -Dpolicy.expandProperties=false -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton" (With Sun's jdk 1.3.1 you might want to replace "-server" by "-classic", to avoid running out of memory/threads on Linux. There is no "-classic" in jdk 1.4...) Start the JBoss server as usual. To run the iiop testcases, go to the testsuite directory and say: build.sh -Dtest=helloiiop -Dnojars=true iiop-test or build.sh -Dtest=bankiiop -Dnojars=true iiop-test Note that you only need to put jacorb.jar in the JBOSS_CLASSPATH with the IBM jdk (which is the one that works better on Linux). I do not know the reason... Cheers, Francisco On Sat, 13 Apr 2002, Jason Dillon wrote: > > > I asked Francisco to look into the details further and am still waiting for > > > information about the problem. > > > > I am working on it and had good results already. It seems that a very > > small change on JacORB will render unnecessary the Xbootclasspath hack. > > Excelent! > > > If my testing goes well this afternoon, I will ask you to add iiop to > > the default config. Without the Xbootclasspath thing, of course. I would > > really like it to be in the next beta. > > Yes, let me know. I would like to make iiop build by default, let me know > what the results of your testing are. > > Thanks, > > --jason > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development