Author: azeez
Date: Thu May 29 04:28:54 2008
New Revision: 17579
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=17579

Log:
Adding information on Tomcat 6 installation
Return HTTP 404 if some resources are not found



Modified:
   
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/AbstractWsdlProcessor.java
   
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/PolicyProcessor.java
   
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/XsdUtil.java
   
branches/wsas/java/2.3/wsas/modules/documentation/src/site/xdoc/installation_guide.xml

Modified: 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/AbstractWsdlProcessor.java
URL: 
http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/AbstractWsdlProcessor.java?rev=17579&r1=17578&r2=17579&view=diff
==============================================================================
--- 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/AbstractWsdlProcessor.java
        (original)
+++ 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/AbstractWsdlProcessor.java
        Thu May 29 04:28:54 2008
@@ -18,6 +18,7 @@
 
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.description.AxisService;
+import org.apache.commons.httpclient.HttpConstants;
 import org.wso2.wsas.ServerConstants;
 import org.wso2.wsas.transport.HttpGetRequestProcessor;
 
@@ -52,6 +53,7 @@
             }
         } else {
             response.setContentType("text/html");
+            response.setStatus(404);
             outputStream.write(("<h4>Service " + serviceName +
                                 " not found. Cannot display WSDL 
document.</h4>").getBytes());
             outputStream.flush();

Modified: 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/PolicyProcessor.java
URL: 
http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/PolicyProcessor.java?rev=17579&r1=17578&r2=17579&view=diff
==============================================================================
--- 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/PolicyProcessor.java
      (original)
+++ 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/PolicyProcessor.java
      Thu May 29 04:28:54 2008
@@ -170,6 +170,7 @@
             }
         } else { // Service is null
             response.setContentType("text/html");
+            response.setStatus(404);
             outputStream.write(("<h4>Service " + serviceName +
                                 " not found. Cannot display 
policies.</h4>").getBytes());
             outputStream.flush();

Modified: 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/XsdUtil.java
URL: 
http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/XsdUtil.java?rev=17579&r1=17578&r2=17579&view=diff
==============================================================================
--- 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/XsdUtil.java
      (original)
+++ 
branches/wsas/java/2.3/wsas/modules/core/src/org/wso2/wsas/transport/util/XsdUtil.java
      Thu May 29 04:28:54 2008
@@ -139,6 +139,7 @@
             }
         } else {  // service is null
             response.setContentType("text/html");
+            response.setStatus(404);
             outputStream.write(("<h4>Service " +
                                 serviceName +
                                 " is not found. Cannot display 
Schema.</h4>").getBytes());

Modified: 
branches/wsas/java/2.3/wsas/modules/documentation/src/site/xdoc/installation_guide.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/wsas/modules/documentation/src/site/xdoc/installation_guide.xml?rev=17579&r1=17578&r2=17579&view=diff
==============================================================================
--- 
branches/wsas/java/2.3/wsas/modules/documentation/src/site/xdoc/installation_guide.xml
      (original)
+++ 
branches/wsas/java/2.3/wsas/modules/documentation/src/site/xdoc/installation_guide.xml
      Thu May 29 04:28:54 2008
@@ -362,6 +362,7 @@
 
 <p><strong>Apache Tomcat Server:</strong></p>
 <ul>
+  <li><a href="#Tomcat6.0.x">version 6.0.x</a></li>
   <li><a href="#Tomcat5.5.x">version 5.5.x</a></li>
   <li><a href="#Tomcat5.0.x">version 5.0.x</a></li>
   <li><a href="#Tomcat4.1.x">version 4.1.x</a></li>
@@ -469,9 +470,39 @@
 <a id="tom"></a>
 
 <h4><strong>Apache Tomcat Server:</strong></h4>
-<a id="Tomcat5.5.x"></a>
+<a id="Tomcat6.0.x"></a>
 
-<p><strong>a) Version 5.5.x</strong></p>
+<p><strong>a) Version 6.0.x</strong></p>
+
+    <p>1. Enabling SSL</p>
+    <p>To enable SSL on Tomcat 6.0.x the server XML should contain the 
following
+    segment:</p>
+    <pre>
+    &lt;Connector port="9443" protocol="HTTP/1.1" SSLEnabled="true"
+               maxThreads="150" scheme="https" secure="true"
+               clientAuth="false" sslProtocol="TLS"
+               keystoreFile="wso2wsas/conf/wso2wsas.jks" 
keystorePass="wso2wsas"/&gt;
+    </pre>
+
+    <p>2. Registering the WSO2 WSAS Data Store</p>
+    <p>To register the data source, include the following segment in the
+    server.xml within the 'host' element</p>
+
+    <pre>
+      &lt;Context path="/wso2wsas"&gt;
+                    &lt;Resource name="jdbc/wso2wsas_db"
+                              auth="Container"
+                              type="javax.sql.DataSource"
+                              maxActive="100"
+                              maxIdle="30"
+                              maxWait="10000"
+                              username="wso2wsas"
+                              password="wso2wsas"
+                              
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
+                              url="jdbc:derby:../database/WSO2WSAS_DB"/&gt;
+        &lt;/Context&gt;
+    </pre>
+<p><strong>b) Version 5.5.x</strong></p>
 
 <p>1. Enabling SSL on Tomcat</p>
 
@@ -507,7 +538,7 @@
 &lt;/Context&gt;</pre>
 <a id="Tomcat5.0.x"></a>
 
-<p><strong>b) Version 5.0.x</strong></p>
+<p><strong>c) Version 5.0.x</strong></p>
 
 <p>1. Enabling SSL on Tomcat</p>
 
@@ -544,7 +575,7 @@
 &lt;/Context&gt;</pre>
 <a id="Tomcat4.1.x"></a>
 
-<p><strong>c) Version 4.1.x</strong></p>
+<p><strong>d) Version 4.1.x</strong></p>
 
 <p>1. Enabling SSL on Tomcat</p>
 
@@ -590,12 +621,13 @@
 
 <h4><strong>2. JBoss AS</strong></h4>
 
-<p><strong><a>Version 3.2.x and 4.0.x</a></strong></p>
+<p><strong><a>Version 3.2.x and 4.x.x</a></strong></p>
 
 <p>1. Enabling SSL on JBoss</p>
 
 <p>To enable SSL on JBoss, add the following segment to
-    JBOSS_HOME/server/default/deploy/jbossweb-tomcatxx.sar/server.xml as a 
child
+    JBOSS_HOME/server/default/deploy/jbossweb-tomcatxx.sar/server.xml or
+    JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml as a child
     of the jboss.web Service element.</p>
 <pre>&lt;Connector port="9443" address="${jboss.bind.address}"
  maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to