Author: ruchith
Date: Tue Jan 29 04:58:38 2008
New Revision: 13144
Log:
Updated wsas and axis config files
Modified:
trunk/solutions/identity/modules/identity-provider/conf/axis2.xml
trunk/solutions/identity/modules/identity-provider/conf/wsas-server.xml
Modified: trunk/solutions/identity/modules/identity-provider/conf/axis2.xml
==============================================================================
--- trunk/solutions/identity/modules/identity-provider/conf/axis2.xml
(original)
+++ trunk/solutions/identity/modules/identity-provider/conf/axis2.xml Tue Jan
29 04:58:38 2008
@@ -34,14 +34,34 @@
<parameter name="wso2tracer.trace.filter.impl">
org.wso2.wsas.util.TraceFilterImpl
</parameter>
+
+ <!--
+ This parameter decides where the traced messages from the Tracer is
persisted.
+
+ There are two possible values:
+
+ 1. org.wso2.wsas.util.TracePersisterImpl - Persists all messages in the
database
+ 2. org.wso2.tracer.module.MemoryBasedTracePersister - Keeps all traced
messages in main memory
+ -->
<parameter name="wso2tracer.trace.persister.impl">
- org.wso2.wsas.util.TracePersisterImpl
+ org.wso2.tracer.module.MemoryBasedTracePersister
</parameter>
<!-- Following parameter will completely disable REST handling in both the
servlets-->
<parameter name="disableREST" locked="true">false</parameter>
<parameter name="Sandesha2StorageManager">inmemory</parameter>
+
+ <!--
+ Following parameter will enable the use of specified XKMS service to
+ locate, validate keys by the WS-Security provider
+ -->
+ <!--
+ <parameter name="XKMSConfig" enabled="true">
+ <URL>http://127.0.0.1:9762/services/xkms</URL>
+ <PassPhrase>secret</PassPhrase>
+ </parameter>
+ -->
<!-- This deployment interceptor will be called whenever before a module
is initialized or
service is deployed -->
@@ -53,10 +73,10 @@
<parameter name="servicePath">services</parameter>
<parameter name="userAgent" locked="true">
- WSO2 WSAS SNAPSHOT
+ WSO2 WSAS @wso2wsas_version@
</parameter>
<parameter name="server" locked="true">
- WSO2 WSAS SNAPSHOT
+ WSO2 WSAS @wso2wsas_version@
</parameter>
<!--
========================================================================-->
@@ -103,11 +123,15 @@
<messageFormatters>
<messageFormatter contentType="application/x-www-form-urlencoded"
-
class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
+
class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
<messageFormatter contentType="multipart/form-data"
-
class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/>
+
class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/>
<messageFormatter contentType="application/xml"
-
class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
+
class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
+ <messageFormatter contentType="text/xml"
+
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
+ <messageFormatter contentType="application/soap+xml"
+
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
</messageFormatters>
<messageBuilders>
@@ -126,11 +150,39 @@
<transportReceiver name="http"
class="org.wso2.wsas.transport.http.HttpTransportListener">
<parameter name="port">12080</parameter>
+ <!--
+ Uncomment the following to enable Apache2 mod_proxy. The port on the
Apache server is 80
+ in this case.
+ -->
+ <!--<parameter name="proxyPort">80</parameter>-->
+
+ <parameter name="maxHttpHeaderSize">8192</parameter>
+ <parameter name="maxThreads">150</parameter>
+ <parameter name="minSpareThreads">25</parameter>
+ <parameter name="maxSpareThreads">75</parameter>
+ <parameter name="enableLookups">false</parameter>
+ <parameter name="disableUploadTimeout">false</parameter>
+ <parameter name="clientAuth">false</parameter>
+ <parameter name="maxKeepAliveRequests">100</parameter>
+ <parameter name="acceptCount">100</parameter>
+
+ <parameter name="compression">force</parameter>
+ <parameter name="compressionMinSize">2048</parameter>
+ <parameter name="noCompressionUserAgents">gozilla, traviata</parameter>
+ <parameter name="compressableMimeType">
+
text/html,text/javascript,application/x-javascript,application/javascript,application/xml,text/css,application/xslt+xml,text/xsl,image/gif,image/jpg,image/jpeg
+ </parameter>
+
</transportReceiver>
<transportReceiver name="https"
class="org.wso2.wsas.transport.http.HttpsTransportListener">
<parameter name="port">12443</parameter>
+ <!--
+ Uncomment the following to enable Apache2 mod_proxy. The port on the
Apache server is 443
+ in this case.
+ -->
+ <!--<parameter name="proxyPort">443</parameter>-->
<parameter name="sslProtocol">TLS</parameter>
<parameter name="maxHttpHeaderSize">8192</parameter>
<parameter name="maxThreads">150</parameter>
@@ -139,7 +191,16 @@
<parameter name="enableLookups">false</parameter>
<parameter name="disableUploadTimeout">false</parameter>
<parameter name="clientAuth">false</parameter>
+ <parameter name="maxKeepAliveRequests">100</parameter>
<parameter name="acceptCount">100</parameter>
+
+ <parameter name="compression">force</parameter>
+ <parameter name="compressionMinSize">2048</parameter>
+ <parameter name="noCompressionUserAgents">gozilla, traviata</parameter>
+ <parameter name="compressableMimeType">
+
text/html,text/javascript,application/x-javascript,application/javascript,application/xml,text/css,application/xslt+xml,text/xsl,image/gif,image/jpg,image/jpeg
+ </parameter>
+
<parameter name="keystore">
<wso2wsas:KeyStore
xmlns:wso2wsas="http://www.wso2.org/products/wsas">
<!-- Keystore file location-->
@@ -153,24 +214,6 @@
</transportReceiver>
<!--
- Uncomment the following to enable Apache2 mod_proxy. The port on the
Apache server is 80
- in this case.
- -->
- <!--transportReceiver name="mod_proxy/http"
-
class="org.wso2.utils.transport.http.GenericHttpTransportListener">
- <parameter name="port">80</parameter>
- </transportReceiver-->
-
- <!--
- Uncomment the following to enable Apache2 mod_proxy. The port on the
Apache server is 443
- in this case.
- -->
- <!--transportReceiver name="mod_proxy/https"
-
class="rg.wso2.wsf.common.transport.http.GenericHttpsTransportListener">
- <parameter name="port">443</parameter>
- </transportReceiver-->
-
- <!--
Uncomment the following segment to enable TCP transport.
Note : Addressing module should be engaged for TCP transport to work
-->
@@ -263,6 +306,10 @@
class="org.wso2.wsas.security.pox.POXSecurityHandler">
<order phase="Transport"/>
</handler>
+ <handler name="SMTPFaultHandler"
+ class="org.wso2.wsas.transport.smtp.SMTPFaultHandler">
+ <order phase="Transport"/>
+ </handler>
</phase>
<phase name="Addressing">
<handler name="AddressingBasedDispatcher"
@@ -362,6 +409,8 @@
<cluster class="org.apache.axis2.clustering.tribes.TribesClusterManager">
<parameter name="AvoidInitiation">true</parameter>
<parameter name="domain">wso2wsas.domain</parameter>
+ <parameter name="synchronizeAll">true</parameter>
+ <parameter name="maxRetries">5</parameter>
<configurationManager
class="org.wso2.wsas.clustering.configuration.WSASConfigurationManager">
<parameter name="CommitTimeout">20000</parameter>
@@ -390,6 +439,7 @@
<exclude name="wso2wsas.generated.pages"/>
<exclude name="ConfigContextTimeoutInterval"/>
<exclude name="ContainerManaged"/>
+ <exclude name="throttle_map"/>
</context>
<context class="org.apache.axis2.context.ServiceGroupContext">
<exclude name="my.sandesha.*"/>
Modified:
trunk/solutions/identity/modules/identity-provider/conf/wsas-server.xml
==============================================================================
--- trunk/solutions/identity/modules/identity-provider/conf/wsas-server.xml
(original)
+++ trunk/solutions/identity/modules/identity-provider/conf/wsas-server.xml
Tue Jan 29 04:58:38 2008
@@ -1,57 +1,30 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!--
- ~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com)
- ~
- ~ 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
-
- ${wso2wsas.home} represents the wso2wsas.home system property.
- Other system properties can be specified in a similar manner.
--->
-<Server xmlns="http://www.wso2.org/products/wsas">
-
- <!--
- Server Name
- -->
- <Name>WSO2 Identity Solution</Name>
-
- <!--
- The version of this WSO2 WSAS distribution
- -->
- <Version>${wso2is_version}</Version>
-
- <!--
- Host name of the machine hosting this server
- e.g. www.wso2.org
- -->
-
- <HostName>localhost</HostName>
-
-
- <!--
- Uncomment this section and provide the correct HTTP port
- in the case of a generic server installation
- -->
- <Ports>
- <HTTP>12080</HTTP>
- <HTTPS>12443</HTTPS>
- </Ports>
-
-
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+ ~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com)
+ ~
+ ~ 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
+
+ ${wso2wsas.home} represents the wso2wsas.home system property.
+ Other system properties can be specified in a similar manner.
+-->
+<Server xmlns="http://www.wso2.org/products/wsas">
+
+
<!-- This is the url of the OpenID Provider Server where
all the RPs will be redirected for authentication.
Change this appropriately in the case of a generic server
@@ -70,321 +43,418 @@
<!-- Not supported in Beta -->
<!--<UseSymmetricBinding/> -->
</InfoCardIssuerConfig>
-
-
- <WSASContext>wsas</WSASContext>
-
- <!--
- 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>
-
- <!--
- Functions related to the Management Console
- -->
- <Management>
-
- <!--
- Enable the Management Console, true/false
- -->
- <EnableConsole>true</EnableConsole>
- </Management>
-
- <!--
- Command Listener - Listens to external commands
- -->
- <CommandListener>
- <Port>12666</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 sensitive information.
- -->
- <KeyStore>
- <!-- Keystore file location-->
- <Location>${wso2wsas.home}/conf/wso2is.jks</Location>
- <!-- Keystore type (JKS/PKCS12 etc.)-->
- <Type>JKS</Type>
- <!-- Keystore password-->
- <Password>wso2is</Password>
- <!-- Private Key alias-->
- <KeyAlias>localhost</KeyAlias>
- <!-- Private Key password-->
- <KeyPassword>wso2is</KeyPassword>
- </KeyStore>
-
+
+ <WSASContext>wsas</WSASContext>
+
+ <!--
+ Server Name
+ -->
+ <Name>WSO2 Identity Solution</Name>
+
+ <!--
+ The fully qualified name of the server
+ -->
+ <Package>org.wso2.solutions.identity</Package>
+
+ <!--
+ The version of this WSO2 IS distribution
+ -->
+ <Version>${wso2is_version}</Version>
+
+ <!--
+ Host name or IP address of the machine hosting this server
+ e.g. www.wso2.org, 192.168.1.10
+ This is will become part of the End Point Reference of the
+ services deployed on this server instance.
+ -->
+
+ <HostName>localhost</HostName>
+
+
+ <!--
+ The host name or IP address which should be used by a node
+ when it is part of a cluster. This host name or IP address
+ will be used by a node to advertise itself when it joins a cluster.
+ -->
+ <!--
+ <ClusteringHostName>127.0.0.1</ClusteringHostName>
+ -->
+
+ <!--
+ Ports used by WSAS
+ -->
+ <Ports>
+ <!--
+ Uncomment this section and provide the correct HTTP port
+ in the case of a generic server installation
+ -->
+
+ <HTTP>12080</HTTP>
+
+
+ <!--
+ Uncomment this section and provide the correct HTTPS port
+ in the case of a generic server installation
+ -->
+
+ <HTTPS>12443</HTTPS>
+
+
+ <!--
+ The JMX Port
+ -->
+ <JMX>9999</JMX>
+
+ <!--
+ Port for listening to external commands such as START, STOP, RESTART
+ -->
+ <CommandListener>6666</CommandListener>
+ </Ports>
+
+ <!--
+ 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>
+
+ <!--
+ Functions related to the Management Console
+ -->
+ <Management>
+
+ <!--
+ Enable the Management Console, true/false
+ -->
+ <EnableConsole>true</EnableConsole>
+ </Management>
+
+ <!--
+ 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 sensitive information.
+ -->
+ <KeyStore>
+ <!-- Keystore file location-->
+ <Location>${wso2wsas.home}/conf/wso2is.jks</Location>
+ <!-- Keystore type (JKS/PKCS12 etc.)-->
+ <Type>JKS</Type>
+ <!-- Keystore password-->
+ <Password>wso2is</Password>
+ <!-- Private Key alias-->
+ <KeyAlias>localhost</KeyAlias>
+ <!-- Private Key password-->
+ <KeyPassword>wso2is</KeyPassword>
+ </KeyStore>
+
<UserTrustedRPStore>
<Location>${wso2wsas.home}/conf/userRP.jks</Location>
<!-- Keystore type (JKS/PKCS12 etc.)-->
<Type>JKS</Type>
<!-- Keystore password-->
<Password>userRP</Password>
- </UserTrustedRPStore>
-
- <!--
- 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 WSO2 WSAS startup
- false - Do not start House-keeping thread on WSO2 WSAS 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>ejbinterface</Action>
- </Actions>
-
<Class>org.wso2.wsas.transport.fileupload.EJBInterfaceFileUploadExecutor</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>
- <Action>*</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>
- <Mapping>
- <Actions>
- <Action>wsdd</Action>
- </Actions>
-
<Class>org.wso2.wsas.transport.fileupload.WSDDFileUploadExecutor</Class>
- </Mapping>
- <Mapping>
- <Actions>
- <Action>pojo</Action>
- </Actions>
-
<Class>org.wso2.wsas.transport.fileupload.POJOFileUploadExecutor</Class>
- </Mapping>
- </FileUploadConfig>
-
- <!--
- Processors which process special HTTP GET requests such as ?wsdl,
?policy etc.
-
- In order to plug in a processor to handle a special request, simply add
an entry to this
- section.
-
- The value of the Item element is the first parameter in the query
string(e.g. ?wsdl)
- which needs special processing
-
- The value of the Class element is a class which implements
- org.wso2.wsas.transport.HttpGetRequestProcessor
- -->
- <HttpGetRequestProcessors>
- <Processor>
- <Item>info</Item>
- <Class>org.wso2.wsas.transport.util.InfoProcessor</Class>
- </Processor>
- <Processor>
- <Item>wsdl</Item>
- <Class>org.wso2.wsas.transport.util.Wsdl11Processor</Class>
- </Processor>
- <Processor>
- <Item>wsdl2</Item>
- <Class>org.wso2.wsas.transport.util.Wsdl20Processor</Class>
- </Processor>
- <Processor>
- <Item>xsd</Item>
- <Class>org.wso2.wsas.transport.util.XsdProcessor</Class>
- </Processor>
- <Processor>
- <Item>policy</Item>
- <Class>org.wso2.wsas.transport.util.PolicyProcessor</Class>
- </Processor>
- <Processor>
- <Item>cert</Item>
- <Class>org.wso2.wsas.transport.util.CertProcessor</Class>
- </Processor>
- <Processor>
- <Item>tryit</Item>
- <Class>org.wso2.wsas.transport.util.MockTryItProcessor</Class>
- </Processor>
- </HttpGetRequestProcessors>
-
- <!--
- Server intializing code. DefaultServerInitializer will intialize the WSAS
specific
- Configurations. It should be the first. All other intializers should come
after that.
- Use <Initializer/> elements to add new intializers.
- -->
- <ServerInitializers>
- <Initializer>org.wso2.wsas.DefaultServerInitializer</Initializer>
- <Initializer>org.wso2.solutions.identity.Initializer</Initializer>
- </ServerInitializers>
-
- <!--List of EJB Application servers, used for EJB Provider configuration
-->
- <EJBApplicationServers>
- <Server>
- <Id>jboss</Id>
- <Name>JBoss AS</Name>
- <ProviderURL>jnp://localhost:1099</ProviderURL>
-
<JNDIContextClass>org.jnp.interfaces.NamingContextFactory</JNDIContextClass>
- </Server>
- <Server>
- <Id>weblogic</Id>
- <Name>BEA WebLogic</Name>
- <ProviderURL>t3://localhost:7001</ProviderURL>
-
<JNDIContextClass>weblogic.jndi.WLInitialContextFactory</JNDIContextClass>
- </Server>
- <Server>
- <Id>geronimo</Id>
- <Name>Apache Geronimo</Name>
- <ProviderURL>localhost:4201</ProviderURL>
- <JNDIContextClass>org.openejb.client.JNDIContext</JNDIContextClass>
- </Server>
- <Server>
- <Id>generic</Id>
- <Name>Generic</Name>
- <ProviderURL></ProviderURL>
- <JNDIContextClass></JNDIContextClass>
- </Server>
- </EJBApplicationServers>
-
- <!-- JDBC URL/Driver list of popular database servers. Used for Data
Services. -->
- <DatabaseServers>
- <Server>
- <Id>MySQL</Id>
-
<JdbcURL>jdbc:mysql://[machine-name/ip]:[port]/[database-name]</JdbcURL>
- <DriverClass>com.mysql.jdbc.Driver</DriverClass>
- </Server>
- <Server>
- <Id>Apache Derby</Id>
- <JdbcURL>jdbc:derby:[path-to-data-file]</JdbcURL>
- <DriverClass>org.apache.derby.jdbc.EmbeddedDriver</DriverClass>
- </Server>
- <Server>
- <Id>Microsoft SQL Server</Id>
-
<JdbcURL>jdbc:microsoft:sqlserver://[HOST]:[PORT][;DatabaseName=[DB]]</JdbcURL>
-
<DriverClass>com.microsoft.jdbc.sqlserver.SQLServerDriver</DriverClass>
- </Server>
- <Server>
- <Id>Oracle</Id>
- <JdbcURL>jdbc:oracle:[drivertype]:[username/[EMAIL
PROTECTED]</JdbcURL>
- <DriverClass>oracle.jdbc.driver.OracleDriver</DriverClass>
- </Server>
- <Server>
- <Id>Generic</Id>
- <JdbcURL>Generic</JdbcURL>
- <DriverClass>Generic</DriverClass>
- </Server>
- </DatabaseServers>
-</Server>
+ </UserTrustedRPStore>
+
+ <!--
+ 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 WSO2 WSAS startup
+ false - Do not start House-keeping thread on WSO2 WSAS 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>ejbinterface</Action>
+ </Actions>
+
<Class>org.wso2.wsas.transport.fileupload.EJBInterfaceFileUploadExecutor</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>
+ <Action>*</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>
+ <Mapping>
+ <Actions>
+ <Action>wsdd</Action>
+ </Actions>
+
<Class>org.wso2.wsas.transport.fileupload.WSDDFileUploadExecutor</Class>
+ </Mapping>
+ <Mapping>
+ <Actions>
+ <Action>pojo</Action>
+ </Actions>
+
<Class>org.wso2.wsas.transport.fileupload.POJOFileUploadExecutor</Class>
+ </Mapping>
+ <Mapping>
+ <Actions>
+ <Action>jarZip</Action>
+ </Actions>
+
<Class>org.wso2.wsas.transport.fileupload.JarZipUploadExecutor</Class>
+ </Mapping>
+ </FileUploadConfig>
+
+ <!--
+ Processors which process special HTTP GET requests such as ?wsdl,
?policy etc.
+
+ In order to plug in a processor to handle a special request, simply add
an entry to this
+ section.
+
+ The value of the Item element is the first parameter in the query
string(e.g. ?wsdl)
+ which needs special processing
+
+ The value of the Class element is a class which implements
+ org.wso2.wsas.transport.HttpGetRequestProcessor
+ -->
+ <HttpGetRequestProcessors>
+ <Processor>
+ <Item>info</Item>
+ <Class>org.wso2.wsas.transport.util.InfoProcessor</Class>
+ </Processor>
+ <Processor>
+ <Item>wsdl</Item>
+ <Class>org.wso2.wsas.transport.util.Wsdl11Processor</Class>
+ </Processor>
+ <Processor>
+ <Item>wsdl2</Item>
+ <Class>org.wso2.wsas.transport.util.Wsdl20Processor</Class>
+ </Processor>
+ <Processor>
+ <Item>xsd</Item>
+ <Class>org.wso2.wsas.transport.util.XsdProcessor</Class>
+ </Processor>
+ <Processor>
+ <Item>policy</Item>
+ <Class>org.wso2.wsas.transport.util.PolicyProcessor</Class>
+ </Processor>
+ <Processor>
+ <Item>cert</Item>
+ <Class>org.wso2.wsas.transport.util.CertProcessor</Class>
+ </Processor>
+ <Processor>
+ <Item>tryit</Item>
+ <Class>org.wso2.wsas.transport.util.MockTryItProcessor</Class>
+ </Processor>
+ </HttpGetRequestProcessors>
+
+ <!--
+ Server intializing code. DefaultServerInitializer will intialize the WSAS
specific
+ Configurations. It should be the first. All other intializers should come
after that.
+ Use <Initializer/> elements to add new intializers.
+ -->
+ <ServerInitializers>
+ <Initializer>org.wso2.wsas.DefaultServerInitializer</Initializer>
+ <Initializer>org.wso2.solutions.identity.Initializer</Initializer>
+ </ServerInitializers>
+
+ <!--
+ Services and modules which should be filtered out by WSAS.
+ These services & modules will not be persisted or shown in the WSAS
console.
+ -->
+ <SystemFilter>
+ <ServiceGroups>
+ <Name>archive-validator</Name>
+ <Name>wsdlconverter</Name>
+ <Name>wsdlview</Name>
+ <Name>wso2wsas-administration</Name>
+ <Name>wso2codegen</Name>
+ <Name>TryItMockServiceGroup</Name>
+ </ServiceGroups>
+ <Modules>
+ <Name>wso2wsas-admin</Name>
+ <Name>wso2statistics</Name>
+ <Name>wso2tracer</Name>
+ </Modules>
+ </SystemFilter>
+
+ <!--List of EJB Application servers, used for EJB Provider configuration
-->
+ <EJBApplicationServers>
+ <Server>
+ <Id>jboss</Id>
+ <Name>JBoss AS</Name>
+ <ProviderURL>jnp://localhost:1099</ProviderURL>
+
<JNDIContextClass>org.jnp.interfaces.NamingContextFactory</JNDIContextClass>
+ </Server>
+ <Server>
+ <Id>weblogic</Id>
+ <Name>BEA WebLogic</Name>
+ <ProviderURL>t3://localhost:7001</ProviderURL>
+
<JNDIContextClass>weblogic.jndi.WLInitialContextFactory</JNDIContextClass>
+ </Server>
+ <Server>
+ <Id>geronimo</Id>
+ <Name>Apache Geronimo</Name>
+ <ProviderURL>localhost:4201</ProviderURL>
+ <JNDIContextClass>org.openejb.client.JNDIContext</JNDIContextClass>
+ </Server>
+ <Server>
+ <Id>generic</Id>
+ <Name>Generic</Name>
+ <ProviderURL></ProviderURL>
+ <JNDIContextClass></JNDIContextClass>
+ </Server>
+ </EJBApplicationServers>
+
+ <!-- JDBC URL/Driver list of popular database servers. Used for Data
Services. -->
+ <DatabaseServers>
+ <Server>
+ <Id>MySQL</Id>
+
<JdbcURL>jdbc:mysql://[machine-name/ip]:[port]/[database-name]</JdbcURL>
+ <DriverClass>com.mysql.jdbc.Driver</DriverClass>
+ </Server>
+ <Server>
+ <Id>Apache Derby</Id>
+ <JdbcURL>jdbc:derby:[path-to-data-file]</JdbcURL>
+ <DriverClass>org.apache.derby.jdbc.EmbeddedDriver</DriverClass>
+ </Server>
+ <Server>
+ <Id>Microsoft SQL Server</Id>
+
<JdbcURL>jdbc:microsoft:sqlserver://[HOST]:[PORT][;DatabaseName=[DB]]</JdbcURL>
+
<DriverClass>com.microsoft.sqlserver.jdbc.SQLServerDriver</DriverClass>
+ </Server>
+ <Server>
+ <Id>Oracle</Id>
+ <JdbcURL>jdbc:oracle:[drivertype]:[username/[EMAIL
PROTECTED]</JdbcURL>
+ <DriverClass>oracle.jdbc.driver.OracleDriver</DriverClass>
+ </Server>
+ <Server>
+ <Id>IBM DB2</Id>
+ <JdbcURL>jdbc:db2:[database]</JdbcURL>
+ <DriverClass>com.ibm.db2.jcc.DB2Driver</DriverClass>
+ </Server>
+ <Server>
+ <Id>HSQLDB</Id>
+ <JdbcURL>jdbc:hsqldb:[path]</JdbcURL>
+ <DriverClass>org.hsqldb.jdbcDriver</DriverClass>
+ </Server>
+ <Server>
+ <Id>Informix</Id>
+
<JdbcURL>jdbc:informix-sqli://[HOST]:[PORT]/[database]:INFORMIXSERVER=[server-name]
+ </JdbcURL>
+ <DriverClass>COM.ibm.db2.jdbc.app.DB2Driver</DriverClass>
+ </Server>
+ <Server>
+ <Id>Generic</Id>
+ <JdbcURL>Generic</JdbcURL>
+ <DriverClass>Generic</DriverClass>
+ </Server>
+ </DatabaseServers>
+</Server>
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev