You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2012/11/08 21:16:25 UTC
svn commit: r837716 - in /websites/staging/openejb/trunk: cgi-bin/ content/
content/ejb-over-ssl.html
Author: buildbot
Date: Thu Nov 8 20:16:25 2012
New Revision: 837716
Log:
Staging update by buildbot for openejb
Modified:
websites/staging/openejb/trunk/cgi-bin/ (props changed)
websites/staging/openejb/trunk/content/ (props changed)
websites/staging/openejb/trunk/content/ejb-over-ssl.html
Propchange: websites/staging/openejb/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Nov 8 20:16:25 2012
@@ -1 +1 @@
-1406997
+1407254
Propchange: websites/staging/openejb/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Nov 8 20:16:25 2012
@@ -1 +1 @@
-1406997
+1407254
Modified: websites/staging/openejb/trunk/content/ejb-over-ssl.html
==============================================================================
--- websites/staging/openejb/trunk/content/ejb-over-ssl.html (original)
+++ websites/staging/openejb/trunk/content/ejb-over-ssl.html Thu Nov 8 20:16:25 2012
@@ -167,7 +167,7 @@
<pre><code>Properties p = new Properties();
p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
-p.put("java.naming.provider.url", "http://127.0.0.1:8080/tomee/ejb");
+p.put("java.naming.provider.url", "https://127.0.0.1:8443/tomee/ejb");
// user and pass optional
p.put("java.naming.security.principal", "myuser");
p.put("java.naming.security.credentials", "mypass");
@@ -177,6 +177,15 @@ InitialContext ctx = new InitialContext(
MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");
</code></pre>
+<p>If you setup Tomcat (TomEE) to use the APR (Apache Portable Runitme) implementation of SSL on the server side, and you have connection issues like connection reset, you'll have to set 'https.protocols' system property.
+'https.protocols' property must be set according to the SSLProtocol parameter of the HTTPS connector configuration :</p>
+
+<p><a href="http://tomcat.apache.org/tomcat-7.0-doc/config/http.html">http://tomcat.apache.org/tomcat-7.0-doc/config/http.html</a></p>
+
+<p>You can also have a look a this : </p>
+
+<p><a href="http://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/faq/troubleshooting.html">http://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/faq/troubleshooting.html</a></p>
+
<h1>ejbds</h1>
<p>The SSL version of the <code>ejbd</code> protocol is called <code>ejbds</code> and is enabled and setup in OpenEJB Standalone by default.</p>