[wsas-java-dev] svn commit r1967 - in trunk/wsas/java/modules: integration/conf standalone-edition standalone-edition/test-resources

svn at wso2.org svn at wso2.org
Mon Apr 23 05:49:02 PDT 2007


Author: saminda
Date: Mon Apr 23 05:48:55 2007
New Revision: 1967

Added:
   trunk/wsas/java/modules/standalone-edition/test-resources/server.xml
Removed:
   trunk/wsas/java/modules/integration/conf/server.xml
Modified:
   trunk/wsas/java/modules/standalone-edition/pom.xml
Log:
Fixing testcases 


Modified: trunk/wsas/java/modules/standalone-edition/pom.xml
==============================================================================
--- trunk/wsas/java/modules/standalone-edition/pom.xml	(original)
+++ trunk/wsas/java/modules/standalone-edition/pom.xml	Mon Apr 23 05:48:55 2007
@@ -143,7 +143,7 @@
                                     </fileset>
                                 </copy>
                                 <copy file="../core/conf/web.xml" tofile="${tomcat_root}/web.xml"/>
-                                <copy file="conf/server.xml"
+                                <copy file="test-resources/server.xml"
                                       tofile="${standalone_conf}/server.xml"/>
                                 <copy file="test-resources/axis2.xml"
                                       tofile="${standalone_conf}/axis2.xml"/>

Added: trunk/wsas/java/modules/standalone-edition/test-resources/server.xml
==============================================================================
--- (empty file)
+++ trunk/wsas/java/modules/standalone-edition/test-resources/server.xml	Mon Apr 23 05:48:55 2007
@@ -0,0 +1,181 @@
+<!--
+     Copyright 2005,2006 WSO2, Inc. http://www.wso2.org
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+      you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<!--  This is the main server configuration file-->
+<Server xmlns="http://www.wso2.org/products/wsas">
+
+    <Version>@wso2wsas_version@</Version>
+
+    <!--
+    Axis2 related configurations
+    -->
+    <Axis2Config>
+        <!--
+             Location of the Axis2 Services & Modules repository
+
+             This can be a directory in the local file system, or a URL.
+
+             e.g.
+             1. /home/wso2wsas/repository - An absolute path
+             2. repository - In this case, the path is relative to WSO2WSAS_HOME
+             3. file:///home/wso2wsas/repository
+             4. http://wso2wsas/repository
+        -->
+        <RepositoryLocation>${wso2wsas.home}/repository</RepositoryLocation>
+
+        <!--
+            Location of the main Axis2 configuration descriptor file, a.k.a. axis2.xml file
+
+            This can be a file on the local file system, or a URL
+
+            e.g.
+            1. /home/wso2wsas/conf/axis2.xml - An absolute path
+            2. conf/axis2.xml - In this case, the path is relative to WSO2WSAS_HOME
+            3. file:///home/wso2wsas/conf/axis2.xml
+            4. http://wso2wsas/conf/axis2.xml
+        -->
+        <ConfigurationFile>${wso2wsas.home}/conf/axis2.xml</ConfigurationFile>
+
+
+        <!--
+          ServiceGroupContextIdleTime, which will be set in ConfigurationContex
+          for multiple clients which are going to access the same ServiceGroupContext
+          Default Value is 30 Sec.
+        -->
+        <ServiceGroupContextIdleTime>30000</ServiceGroupContextIdleTime>
+    </Axis2Config>
+
+    <!--
+       Command Listener - Listens to external commands
+    -->
+    <CommandListener>
+        <Port>39400</Port>
+    </CommandListener>
+
+    <!--
+       The default user roles which will be created when WSO2 WSAS
+       is started up for the first time.
+    -->
+    <ServiceUserRoles>
+        <Role>
+            <Name>admin</Name>
+            <Description>Default Administrator Role</Description>
+        </Role>
+        <Role>
+            <Name>user</Name>
+            <Description>Default User Role</Description>
+        </Role>
+    </ServiceUserRoles>
+
+    <!--
+      Security configurations
+    -->
+    <Security>
+        <!--
+            KeyStore which will be used for encrypting/decrypting passwords
+            and other sensistive information.
+        -->
+        <KeyStore>
+            <Location>${wso2wsas.home}/conf/wso2wsas.jks</Location>
+            <Password>wso2wsas</Password>
+            <KeyAlias>wso2wsas</KeyAlias>
+            <KeyPassword>wso2wsas</KeyPassword>
+            <Type>JKS</Type>
+        </KeyStore>
+
+        <!--
+           The directory under which all other KeyStore files will be stored
+        -->
+        <KeyStoresDir>${wso2wsas.home}/conf/keystores</KeyStoresDir>
+    </Security>
+
+    <!--
+       The temporary work directory which will be created under WSO2WSAS_HOME
+    -->
+    <WorkDirectory>${wso2wsas.home}/work</WorkDirectory>
+
+    <!--
+       The Database configurations
+    -->
+    <Database>
+        <!--
+           The Apache-Derby database home directory. This is relative to
+           the derby.system.home System property. This is where
+           the derby.properties file should reside.
+        -->
+        <Home>${wso2wsas.home}/conf</Home>
+    </Database>
+
+    <!--
+       House-keeping configuration
+    -->
+    <HouseKeeping>
+
+        <!--
+           true  - Start House-keeping thread on startup
+           false - Do not start House-keeping thread on startup.
+                   The user will run it manually as and when he wishes.
+        -->
+        <AutoStart>true</AutoStart>
+
+        <!--
+           The interval in *minutes*, between house-keeping runs
+        -->
+        <Interval>10</Interval>
+
+        <!--
+          The maximum time in *minutes*, temp files are allowed to live
+          in the system. Files/directories which were modified more than
+          "MaxTempFileLifetime" minutes ago will be removed by the
+          house-keeping task
+        -->
+        <MaxTempFileLifetime>30</MaxTempFileLifetime>
+    </HouseKeeping>
+
+    <!--
+       Configuration for handling different types of file upload
+
+       To map all actions to a particular FileUploadExecutor, use
+       <Action>*</Action>
+    -->
+    <FileUploadConfig>
+        <Mapping>
+            <Actions>
+                <Action>service</Action>
+            </Actions>
+            <Class>org.wso2.wsas.transport.fileupload.ServiceFileUploadExecutor</Class>
+        </Mapping>
+        <Mapping>
+            <Actions>
+                <Action>module</Action>
+            </Actions>
+            <Class>org.wso2.wsas.transport.fileupload.ModuleFileUploadExecutor</Class>
+        </Mapping>
+        <Mapping>
+            <Actions>
+                <Action>keystore</Action>
+                <Action>certificate</Action>
+            </Actions>
+            <Class>org.wso2.wsas.transport.fileupload.AnyFileUploadExecutor</Class>
+        </Mapping>
+        <Mapping>
+            <Actions>
+                <Action>spring</Action>
+            </Actions>
+            <Class>org.wso2.wsas.transport.fileupload.SpringFileUploadExecutor</Class>
+        </Mapping>
+    </FileUploadConfig>
+</Server>
\ No newline at end of file




More information about the Wsas-java-dev mailing list