User: starksm 
  Date: 01/03/23 01:58:54

  Modified:    src/bin  run.bat run.sh
  Log:
  Update to use the JAXP1.1 xml parser properties for choosing the
  xml parser implementation. Set the default choice to the crimson
  parser that ships with the jaxp1.1 ri.
  
  Revision  Changes    Path
  1.20      +8 -1      jboss/src/bin/run.bat
  
  Index: run.bat
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/bin/run.bat,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- run.bat   2000/12/07 15:43:56     1.19
  +++ run.bat   2001/03/23 09:58:54     1.20
  @@ -8,6 +8,13 @@
   REM and all libraries that are used by them here
   set CLASSPATH=%CLASSPATH%
   
  -java -classpath "%CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
  +REM Add the XML parser jars and set the JAXP factory names
  +REM Crimson parser JAXP setup(default)
  +set CLASSPATH=%CLASSPATH%;../lib/crimson.jar
  +set 
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
  +set JAXP=%JAXP% 
-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl
  +
  +echo CLASSPATH=%CLASSPATH%
  +java %JAXP% -classpath "%CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
   
   pause
  
  
  
  1.17      +10 -2     jboss/src/bin/run.sh
  
  Index: run.sh
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/bin/run.sh,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- run.sh    2000/12/07 20:04:38     1.16
  +++ run.sh    2001/03/23 09:58:54     1.17
  @@ -6,6 +6,14 @@
   
   # Add all login modules for JAAS-based security
   # and all libraries that are used by them here
  +CLASSPATH=$CLASSPATH
   
  -echo $CLASSPATH
  -java -server -classpath $CLASSPATH org.jboss.Main $@
  +# Add the XML parser jars and set the JAXP factory names
  +# Crimson parser JAXP setup(default)
  +CLASSPATH=$CLASSPATH:../lib/crimson.jar
  
+JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
  +JAXP="$JAXP 
-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl"
  +
  +echo CLASSPATH=$CLASSPATH
  +java -server $JAXP -classpath $CLASSPATH org.jboss.Main $@
  +
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to