User: sparre
Date: 01/08/10 11:35:06
Modified: iiop patch.sh
Log:
A small patch script change to make it easier to patch JBoss to
use the JDK 1.4 ORB by default.
Revision Changes Path
1.4 +13 -2 contrib/iiop/patch.sh
Index: patch.sh
===================================================================
RCS file: /cvsroot/jboss/contrib/iiop/patch.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- patch.sh 2001/08/09 14:19:02 1.3
+++ patch.sh 2001/08/10 18:35:06 1.4
@@ -8,6 +8,17 @@
exit 1
fi
+# Default ORB classes
+if [ /bin/true ]; then
+ # JacORB
+ ORB_CLASS=org.jacorb.orb.ORB
+ ORB_SINGLETON_CLASS=org.jacorb.orb.ORBSingleton
+else
+ # JDK 1.4
+ ORB_CLASS=com.sun.corba.se.internal.POA.POAORB
+ ORB_SINGLETON_CLASS=com.sun.corba.se.internal.corba.ORBSingleton
+fi
+
# patch configuration file.
patch -p0 <<EOF
--- $JBOSS/src/etc/conf/default/jboss.jcml Wed Aug 8 23:52:33 2001
@@ -20,8 +31,8 @@
+ <!-- ==================================================================== -->
+ <mbean code="org.jboss.iiop.CorbaORBService"
+ name="DefaultDomain:service=CorbaORB">
-+ <attribute name="ORBClass">org.jacorb.orb.ORB</attribute>
-+ <attribute name="ORBSingletonClass">org.jacorb.orb.ORBSingleton</attribute>
++ <attribute name="ORBClass">$ORB_CLASS</attribute>
++ <attribute name="ORBSingletonClass">$ORB_SINGLETON_CLASS</attribute>
+ </mbean>
+
+ <!-- ==================================================================== -->
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development