You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2005/04/25 20:33:45 UTC

svn commit: r164620 - in /james/server/branches/merge_v2_and_trunk/phoenix-bin: ./ bin/run.bat conf/kernel.xml

Author: noel
Date: Mon Apr 25 11:33:44 2005
New Revision: 164620

URL: http://svn.apache.org/viewcvs?rev=164620&view=rev
Log:
use phoenix from trunk.  should have been the last released version, and matches the other avalon files from trunk.

Added:
    james/server/branches/merge_v2_and_trunk/phoenix-bin/
      - copied from r164613, james/server/trunk/phoenix-bin/
Modified:
    james/server/branches/merge_v2_and_trunk/phoenix-bin/bin/run.bat
    james/server/branches/merge_v2_and_trunk/phoenix-bin/conf/kernel.xml

Modified: james/server/branches/merge_v2_and_trunk/phoenix-bin/bin/run.bat
URL: http://svn.apache.org/viewcvs/james/server/branches/merge_v2_and_trunk/phoenix-bin/bin/run.bat?rev=164620&r1=164613&r2=164620&view=diff
==============================================================================
--- james/server/branches/merge_v2_and_trunk/phoenix-bin/bin/run.bat (original)
+++ james/server/branches/merge_v2_and_trunk/phoenix-bin/bin/run.bat Mon Apr 25 11:33:44 2005
@@ -1,91 +1,91 @@
-@echo off
-rem
-rem Phoenix start script.
-rem
-rem Author: Peter Donald [donaldp@apache.org]
-rem
-rem Environment Variable Prequisites
-rem
-rem   PHOENIX_OPTS       (Optional) Java runtime options used when the command is
-rem                      executed.
-rem
-rem   PHOENIX_TMPDIR     (Optional) Directory path location of temporary directory
-rem                      the JVM should use (java.io.tmpdir).  Defaults to
-rem                      $CATALINA_BASE/temp.
-rem
-rem   JAVA_HOME          Must point at your Java Development Kit installation.
-rem
-rem   PHOENIX_JVM_OPTS   (Optional) Java runtime options used when the command is
-rem                       executed.
-rem
-rem -----------------------------------------------------------------------------
-
-rem
-rem Determine if JAVA_HOME is set and if so then use it
-rem
-if not "%JAVA_HOME%"=="" goto found_java
-
-set PHOENIX_JAVACMD=java
-goto file_locate
-
-:found_java
-set PHOENIX_JAVACMD=%JAVA_HOME%\bin\java
-
-:file_locate
-
-rem
-rem Locate where phoenix is in filesystem
-rem
-if not "%OS%"=="Windows_NT" goto start
-
-rem %~dp0 is name of current script under NT
-set PHOENIX_HOME=%~dp0
-
-rem : operator works similar to make : operator
-set PHOENIX_HOME=%PHOENIX_HOME:\bin\=%
-
-:start
-
-if not "%PHOENIX_HOME%" == "" goto phoenix_home
-
-echo.
-echo Warning: PHOENIX_HOME environment variable is not set.
-echo   This needs to be set for Win9x as it's command prompt
-echo   scripting bites
-echo.
-goto end
-
-:phoenix_home
-
-if not "%PHOENIX_TMPDIR%"=="" goto afterTmpDir
-set PHOENIX_TMPDIR=%PHOENIX_HOME%\temp
-if not exist "%PHOENIX_TMPDIR%" mkdir "%PHOENIX_TMPDIR%"
-
-:afterTmpDir
-
-echo Using PHOENIX_HOME:   %PHOENIX_HOME%
-echo Using PHOENIX_TMPDIR: %PHOENIX_TMPDIR%
-echo Using JAVA_HOME:      %JAVA_HOME%
-
-set PHOENIX_SM=
-
-if "%PHOENIX_SECURE%" == "false" goto postSecure
-
-rem Make Phoenix run with security Manager enabled
-set PHOENIX_SM="-Djava.security.manager"
-
-:postSecure
-
-rem
-rem -Djava.ext.dirs= is needed as some JVM vendors do foolish things
-rem like placing jaxp/jaas/xml-parser jars in ext dir
-rem thus breaking Phoenix
-rem
-
-rem uncomment to get enable remote debugging
-rem set DEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
-
-rem Kicking the tires and lighting the fires!!!
-"%PHOENIX_JAVACMD%" %DEBUG% "-Djava.ext.dirs=%PHOENIX_HOME%\lib" "-Dphoenix.home=%PHOENIX_HOME%" "-Djava.security.policy=jar:file:%PHOENIX_HOME%/bin/phoenix-loader.jar!/META-INF/java.policy" %PHOENIX_JVM_OPTS% %PHOENIX_SECURE% -jar "%PHOENIX_HOME%\bin\phoenix-loader.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9
-
-:end
+@echo off
+rem
+rem Phoenix start script.
+rem
+rem Author: Peter Donald [donaldp@apache.org]
+rem
+rem Environment Variable Prequisites
+rem
+rem   PHOENIX_OPTS       (Optional) Java runtime options used when the command is
+rem                      executed.
+rem
+rem   PHOENIX_TMPDIR     (Optional) Directory path location of temporary directory
+rem                      the JVM should use (java.io.tmpdir).  Defaults to
+rem                      $CATALINA_BASE/temp.
+rem
+rem   JAVA_HOME          Must point at your Java Development Kit installation.
+rem
+rem   PHOENIX_JVM_OPTS   (Optional) Java runtime options used when the command is
+rem                       executed.
+rem
+rem -----------------------------------------------------------------------------
+
+rem
+rem Determine if JAVA_HOME is set and if so then use it
+rem
+if not "%JAVA_HOME%"=="" goto found_java
+
+set PHOENIX_JAVACMD=java
+goto file_locate
+
+:found_java
+set PHOENIX_JAVACMD=%JAVA_HOME%\bin\java
+
+:file_locate
+
+rem
+rem Locate where phoenix is in filesystem
+rem
+if not "%OS%"=="Windows_NT" goto start
+
+rem %~dp0 is name of current script under NT
+set PHOENIX_HOME=%~dp0
+
+rem : operator works similar to make : operator
+set PHOENIX_HOME=%PHOENIX_HOME:\bin\=%
+
+:start
+
+if not "%PHOENIX_HOME%" == "" goto phoenix_home
+
+echo.
+echo Warning: PHOENIX_HOME environment variable is not set.
+echo   This needs to be set for Win9x as it's command prompt
+echo   scripting bites
+echo.
+goto end
+
+:phoenix_home
+
+if not "%PHOENIX_TMPDIR%"=="" goto afterTmpDir
+set PHOENIX_TMPDIR=%PHOENIX_HOME%\temp
+if not exist "%PHOENIX_TMPDIR%" mkdir "%PHOENIX_TMPDIR%"
+
+:afterTmpDir
+
+echo Using PHOENIX_HOME:   %PHOENIX_HOME%
+echo Using PHOENIX_TMPDIR: %PHOENIX_TMPDIR%
+echo Using JAVA_HOME:      %JAVA_HOME%
+
+set PHOENIX_SM=
+
+if "%PHOENIX_SECURE%" == "false" goto postSecure
+
+rem Make Phoenix run with security Manager enabled
+set PHOENIX_SM="-Djava.security.manager"
+
+:postSecure
+
+rem
+rem -Djava.ext.dirs= is needed as some JVM vendors do foolish things
+rem like placing jaxp/jaas/xml-parser jars in ext dir
+rem thus breaking Phoenix
+rem
+
+rem uncomment to get enable remote debugging
+rem set DEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
+
+rem Kicking the tires and lighting the fires!!!
+"%PHOENIX_JAVACMD%" %DEBUG% "-Djava.ext.dirs=%PHOENIX_HOME%\lib" "-Dphoenix.home=%PHOENIX_HOME%" "-Djava.security.policy=jar:file:%PHOENIX_HOME%/bin/phoenix-loader.jar!/META-INF/java.policy" %PHOENIX_JVM_OPTS% %PHOENIX_SECURE% -jar "%PHOENIX_HOME%\bin\phoenix-loader.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+:end

Modified: james/server/branches/merge_v2_and_trunk/phoenix-bin/conf/kernel.xml
URL: http://svn.apache.org/viewcvs/james/server/branches/merge_v2_and_trunk/phoenix-bin/conf/kernel.xml?rev=164620&r1=164613&r2=164620&view=diff
==============================================================================
--- james/server/branches/merge_v2_and_trunk/phoenix-bin/conf/kernel.xml (original)
+++ james/server/branches/merge_v2_and_trunk/phoenix-bin/conf/kernel.xml Mon Apr 25 11:33:44 2005
@@ -1,99 +1,99 @@
-<?xml version="1.0"?>
-
-<phoenix>
-    <embeddor role="org.apache.avalon.phoenix.interfaces.Embeddor"
-        class="org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor">
-
-        <component role="org.apache.avalon.phoenix.interfaces.Deployer"
-            class="org.apache.avalon.phoenix.components.deployer.DefaultDeployer"
-            logger="deployer"/>
-
-        <component role="org.apache.avalon.phoenix.interfaces.LogManager"
-            class="org.apache.avalon.phoenix.components.logger.DefaultLogManager"
-            logger="logs"/>
-
-        <!-- There is one JMX MBeanServer infrastructure currently
-             supported by Avalon, namely MX4J. Previously the JMX RI
-             was supported but due to severe bugs and lack of implementation
-             of certain features (such as ModelMBeans), support has been
-             dropped for the JMX RI implementation.
-
-            The MX4J manager using the MX4J adapter devewloped at SourceForge
-            See http://mx4j.sourceforge.net/ -
-
-              org.apache.avalon.phoenix.components.manager.MX4JSystemManager
-              
-            There is an impl of system manager that does nothing and it is....
-            
-              org.apache.avalon.phoenix.components.manager.NoopSystemManager
-            
-            Alternatively, you could comment the whole SystemManager section out.
-            [This is false.  You get an exception:
-             org.apache.avalon.framework.service.ServiceException: Unable to provide implementation for org.apache.avalon.phoenix.interfaces.SystemManager (Role='org.apache.avalon.phoenix.interfaces.SystemManager')]
-        -->
-
-        <component role="org.apache.avalon.phoenix.interfaces.SystemManager"
-            class="org.apache.avalon.phoenix.components.manager.NoopSystemManager"
-            logger="manager" >
-          <manager-adaptor-port>8082</manager-adaptor-port>
-          <!--
-          <enable-rmi-adaptor>true</enable-rmi-adaptor>
-          <rmi-naming-factory>com.sun.jndi.rmi.registry.RegistryContextFactory</rmi-naming-factory>
-          <stylesheets-dir>conf/xsl</stylesheets-dir>
-          -->
-          <!--
-          <user>
-            <name>user</name>
-            <password>password</password>
-          </user>
-          -->
-        </component>
-
-        <!-- There are two kernels
-          org.apache.avalon.phoenix.components.kernel.DefaultKernel
-            - The default one.
-          org.apache.avalon.phoenix.components.kernel.beanshell.BeanShellKernel
-            - One with a beanshell view at the application level.
-        -->
-        <component role="org.apache.avalon.phoenix.interfaces.Kernel"
-            class="org.apache.avalon.phoenix.components.kernel.DefaultKernel"
-            logger="kernel"/>
-
-        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationRepository"
-            class="org.apache.avalon.phoenix.components.configuration.DefaultConfigurationRepository"
-            logger="config"/>
-
-        <!--
-        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationRepository"
-            class="org.apache.avalon.phoenix.components.configuration.FileSystemPersistentConfigurationRepository"
-            logger="config"/>
-            -->
-
-        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationValidator"
-            class="org.apache.avalon.phoenix.components.configuration.validator.NoopConfigurationValidator"
-            logger="validator"/>
-
-<!--
-        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationValidator"
-            class="org.apache.avalon.phoenix.components.configuration.validator.DelegatingConfigurationValidator"
-            logger="validator">
-            <delegate schema-type="relax-ng"
-                class="org.apache.avalon.phoenix.components.configuration.validator.JarvConfigurationValidator">
-                <schema-language>http://relaxng.org/ns/structure/1.0</schema-language>
-            </delegate>
-        </component>
-        -->
-
-        <component role="org.apache.avalon.phoenix.interfaces.ClassLoaderManager"
-            class="org.apache.avalon.phoenix.components.classloader.DefaultClassLoaderManager"
-            logger="classes"/>
-        <component role="org.apache.avalon.excalibur.packagemanager.ExtensionManager"
-            class="org.apache.avalon.phoenix.components.extensions.DefaultExtensionManager"
-            logger="packages"/>
-<!--
-        <component role="org.apache.avalon.excalibur.packagemanager.ExtensionManager"
-            class="org.apache.avalon.excalibur.packagemanager.impl.NoopPackageRepository"
-            logger="packages"/>
--->
-    </embeddor>
-</phoenix>
+<?xml version="1.0"?>
+
+<phoenix>
+    <embeddor role="org.apache.avalon.phoenix.interfaces.Embeddor"
+        class="org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor">
+
+        <component role="org.apache.avalon.phoenix.interfaces.Deployer"
+            class="org.apache.avalon.phoenix.components.deployer.DefaultDeployer"
+            logger="deployer"/>
+
+        <component role="org.apache.avalon.phoenix.interfaces.LogManager"
+            class="org.apache.avalon.phoenix.components.logger.DefaultLogManager"
+            logger="logs"/>
+
+        <!-- There is one JMX MBeanServer infrastructure currently
+             supported by Avalon, namely MX4J. Previously the JMX RI
+             was supported but due to severe bugs and lack of implementation
+             of certain features (such as ModelMBeans), support has been
+             dropped for the JMX RI implementation.
+
+            The MX4J manager using the MX4J adapter devewloped at SourceForge
+            See http://mx4j.sourceforge.net/ -
+
+              org.apache.avalon.phoenix.components.manager.MX4JSystemManager
+              
+            There is an impl of system manager that does nothing and it is....
+            
+              org.apache.avalon.phoenix.components.manager.NoopSystemManager
+            
+            Alternatively, you could comment the whole SystemManager section out.
+            [This is false.  You get an exception:
+             org.apache.avalon.framework.service.ServiceException: Unable to provide implementation for org.apache.avalon.phoenix.interfaces.SystemManager (Role='org.apache.avalon.phoenix.interfaces.SystemManager')]
+        -->
+
+        <component role="org.apache.avalon.phoenix.interfaces.SystemManager"
+            class="org.apache.avalon.phoenix.components.manager.NoopSystemManager"
+            logger="manager" >
+          <manager-adaptor-port>8082</manager-adaptor-port>
+          <!--
+          <enable-rmi-adaptor>true</enable-rmi-adaptor>
+          <rmi-naming-factory>com.sun.jndi.rmi.registry.RegistryContextFactory</rmi-naming-factory>
+          <stylesheets-dir>conf/xsl</stylesheets-dir>
+          -->
+          <!--
+          <user>
+            <name>user</name>
+            <password>password</password>
+          </user>
+          -->
+        </component>
+
+        <!-- There are two kernels
+          org.apache.avalon.phoenix.components.kernel.DefaultKernel
+            - The default one.
+          org.apache.avalon.phoenix.components.kernel.beanshell.BeanShellKernel
+            - One with a beanshell view at the application level.
+        -->
+        <component role="org.apache.avalon.phoenix.interfaces.Kernel"
+            class="org.apache.avalon.phoenix.components.kernel.DefaultKernel"
+            logger="kernel"/>
+
+        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationRepository"
+            class="org.apache.avalon.phoenix.components.configuration.DefaultConfigurationRepository"
+            logger="config"/>
+
+        <!--
+        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationRepository"
+            class="org.apache.avalon.phoenix.components.configuration.FileSystemPersistentConfigurationRepository"
+            logger="config"/>
+            -->
+
+        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationValidator"
+            class="org.apache.avalon.phoenix.components.configuration.validator.NoopConfigurationValidator"
+            logger="validator"/>
+
+<!--
+        <component role="org.apache.avalon.phoenix.interfaces.ConfigurationValidator"
+            class="org.apache.avalon.phoenix.components.configuration.validator.DelegatingConfigurationValidator"
+            logger="validator">
+            <delegate schema-type="relax-ng"
+                class="org.apache.avalon.phoenix.components.configuration.validator.JarvConfigurationValidator">
+                <schema-language>http://relaxng.org/ns/structure/1.0</schema-language>
+            </delegate>
+        </component>
+        -->
+
+        <component role="org.apache.avalon.phoenix.interfaces.ClassLoaderManager"
+            class="org.apache.avalon.phoenix.components.classloader.DefaultClassLoaderManager"
+            logger="classes"/>
+        <component role="org.apache.avalon.excalibur.packagemanager.ExtensionManager"
+            class="org.apache.avalon.phoenix.components.extensions.DefaultExtensionManager"
+            logger="packages"/>
+<!--
+        <component role="org.apache.avalon.excalibur.packagemanager.ExtensionManager"
+            class="org.apache.avalon.excalibur.packagemanager.impl.NoopPackageRepository"
+            logger="packages"/>
+-->
+    </embeddor>
+</phoenix>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org