[hornetq-commits] JBoss hornetq SVN: r7868 - in trunk/examples/javaee/servlet-ssl-example: config/META-INF and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Aug 21 10:39:38 EDT 2009


Author: jmesnil
Date: 2009-08-21 10:39:37 -0400 (Fri, 21 Aug 2009)
New Revision: 7868

Modified:
   trunk/examples/javaee/servlet-ssl-example/
   trunk/examples/javaee/servlet-ssl-example/config/META-INF/application.xml
   trunk/examples/javaee/servlet-ssl-example/readme.html
   trunk/examples/javaee/servlet-ssl-example/server/hornetq-configuration.xml
   trunk/examples/javaee/servlet-ssl-example/server/hornetq.example.keystore
   trunk/examples/javaee/servlet-ssl-example/server/hornetq.example.truststore
Log:
fixed java ee's servlet-ssl example


Property changes on: trunk/examples/javaee/servlet-ssl-example
___________________________________________________________________
Name: svn:ignore
   + build


Modified: trunk/examples/javaee/servlet-ssl-example/config/META-INF/application.xml
===================================================================
--- trunk/examples/javaee/servlet-ssl-example/config/META-INF/application.xml	2009-08-21 13:30:28 UTC (rev 7867)
+++ trunk/examples/javaee/servlet-ssl-example/config/META-INF/application.xml	2009-08-21 14:39:37 UTC (rev 7868)
@@ -4,7 +4,7 @@
   <module>
     <web>
       <web-uri>servlet-ssl-transport-example.war</web-uri>
-      <context-root>/messaging</context-root>
+      <context-root>/hornetq</context-root>
     </web>
   </module>
    

Modified: trunk/examples/javaee/servlet-ssl-example/readme.html
===================================================================
--- trunk/examples/javaee/servlet-ssl-example/readme.html	2009-08-21 13:30:28 UTC (rev 7867)
+++ trunk/examples/javaee/servlet-ssl-example/readme.html	2009-08-21 14:39:37 UTC (rev 7868)
@@ -1,10 +1,10 @@
 <html>
   <head>
-    <title>HornetQ Java EE Servlet SSL Example</title>
+    <title>HornetQ Java EE SSL Servlet Example</title>
     <link rel="stylesheet" type="text/css" href="../../common/common.css">
   </head>
   <body>
-     <h1>Java EE Servlet SSL Example</h1>
+     <h1>Java EE SSL Servlet Example</h1>
      <br>
      <p>This example shows you how to configure and use servlet transport over SSL with HornetQ.</p>
      
@@ -12,10 +12,15 @@
 
      <p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
   
-     <h2>Example configuration</h2>
-        
+     <!-- Commands to generate the stores:
+       * create the keystore:
+         keytool -genkey -keystore hornetq.example.keystore -storepass hornetqexample
+       * export the certificate:
+         keytool -export -keystore hornetq.example.keystore -file hornetq.cer
+       * create the truststore:
+         keytool -import -file hornetq.cer -keystore hornetq.example.truststore -storepass hornetqexample            
+     -->
 
-
      <h2>Example step-by-step</h2>
      <p><em>To deploy and start the server, type <code>ant deploy</code>from the example directory</br >
      Once the server has started type <code>ant run</code> to run the example.<br />

Modified: trunk/examples/javaee/servlet-ssl-example/server/hornetq-configuration.xml
===================================================================
--- trunk/examples/javaee/servlet-ssl-example/server/hornetq-configuration.xml	2009-08-21 13:30:28 UTC (rev 7867)
+++ trunk/examples/javaee/servlet-ssl-example/server/hornetq-configuration.xml	2009-08-21 14:39:37 UTC (rev 7868)
@@ -17,7 +17,7 @@
          <param key="hornetq.remoting.netty.host" value="localhost" type="String"/>
          <param key="hornetq.remoting.netty.port" value="8443" type="Integer"/>
          <param key="hornetq.remoting.netty.useservlet" value="true" type="Boolean"/>
-         <param key="hornetq.remoting.netty.servletpath" value="/messaging/HornetQServlet" type="String"/>
+         <param key="hornetq.remoting.netty.servletpath" value="/hornetq/HornetQServlet" type="String"/>
          <param key="hornetq.remoting.netty.sslenabled" value="true" type="Boolean"/>
          <param key="hornetq.remoting.netty.keystorepath" value="server/hornetq.example.keystore" type="String"/>
          <param key="hornetq.remoting.netty.keystorepassword" value="hornetqexample" type="String"/>

Modified: trunk/examples/javaee/servlet-ssl-example/server/hornetq.example.keystore
===================================================================
(Binary files differ)

Modified: trunk/examples/javaee/servlet-ssl-example/server/hornetq.example.truststore
===================================================================
(Binary files differ)



More information about the hornetq-commits mailing list