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/04/16 15:04:41 UTC

svn commit: r813250 - in /websites/staging/openejb/trunk: cgi-bin/ content/ content/sitemap.html content/sitemap.xml content/ssh.html

Author: buildbot
Date: Mon Apr 16 13:04:41 2012
New Revision: 813250

Log:
Staging update by buildbot for openejb

Added:
    websites/staging/openejb/trunk/content/ssh.html
Modified:
    websites/staging/openejb/trunk/cgi-bin/   (props changed)
    websites/staging/openejb/trunk/content/   (props changed)
    websites/staging/openejb/trunk/content/sitemap.html
    websites/staging/openejb/trunk/content/sitemap.xml

Propchange: websites/staging/openejb/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr 16 13:04:41 2012
@@ -1 +1 @@
-1326581
+1326589

Propchange: websites/staging/openejb/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr 16 13:04:41 2012
@@ -1 +1 @@
-1326581
+1326589

Modified: websites/staging/openejb/trunk/content/sitemap.html
==============================================================================
--- websites/staging/openejb/trunk/content/sitemap.html (original)
+++ websites/staging/openejb/trunk/content/sitemap.html Mon Apr 16 13:04:41 2012
@@ -358,6 +358,7 @@
 <li><a href="spring-and-openejb-3.0.html">spring-and-openejb-3.0.html</a></li>
 <li><a href="spring-ejb-and-jpa.html">Spring EJB and JPA</a></li>
 <li><a href="spring.html">Spring</a></li>
+<li><a href="ssh.html">SSH</a></li>
 <li><a href="standalone-server.html">standalone-server.html</a></li>
 <li><a href="startup.html">Startup</a></li>
 <li><a href="support.html">Getting Support</a></li>

Modified: websites/staging/openejb/trunk/content/sitemap.xml
==============================================================================
--- websites/staging/openejb/trunk/content/sitemap.xml (original)
+++ websites/staging/openejb/trunk/content/sitemap.xml Mon Apr 16 13:04:41 2012
@@ -1319,6 +1319,9 @@
         <loc>http://tomee.apache.org/spring.html</loc>
     </url>
     <url>
+        <loc>http://tomee.apache.org/ssh.html</loc>
+    </url>
+    <url>
         <loc>http://tomee.apache.org/standalone-server.html</loc>
     </url>
     <url>

Added: websites/staging/openejb/trunk/content/ssh.html
==============================================================================
--- websites/staging/openejb/trunk/content/ssh.html (added)
+++ websites/staging/openejb/trunk/content/ssh.html Mon Apr 16 13:04:41 2012
@@ -0,0 +1,201 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>SSH</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+        body {
+          padding-top: 60px;
+        }
+        .sprite {
+            display: inline-block;
+            height: 20px;
+            margin: 0 auto 4px;
+            outline: medium none;
+            text-indent: -999em;
+            width: 24px;
+            background-image: url('./images/sprites.png');
+            background-repeat: no-repeat;
+            overflow: hidden;
+            cursor: pointer;
+        }
+        .fb-share {
+            background-position: 0px -40px;
+        }
+        .gp-share {
+            background-position: 0px 0px;
+        }
+        .tw-share {
+            background-position: 0px -80px;
+        }
+    </style>
+    <script type="text/javascript">
+      function fbshare () {
+          window.open(
+                  "http://www.facebook.com/sharer/sharer.php?u="+document.URL,
+                  'Share on Facebook',
+                  'width=640,height=426');
+      };
+      function gpshare () {
+          window.open(
+                  "https://plus.google.com/share?url="+document.URL,
+                  'Share on Google+',
+                  'width=584,height=385');
+      };
+      function twshare () {
+          window.open(
+                  "https://twitter.com/intent/tweet?url="+document.URL+"&text=SSH",
+                  'Share on Twitter',
+                  'width=800,height=526');
+      };
+    </script>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+    <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-2717626-1']);
+      _gaq.push(['_setDomainName', 'apache.org']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href="./index.html">Home</a></small><br>
+<h1>SSH
+
+    <div style="float: right; position: relative; bottom: -10px; ">
+        <a onclick="javascript:gpshare()" class="gp-share sprite" title="share on Google+">share [gp]</a>
+        <a onclick="javascript:fbshare()" class="fb-share sprite" title="share on Facebook">share [fb]</a>
+        <a onclick="javascript:twshare()" class="tw-share sprite" title="share on Twitter">share [tw]</a>
+    </div>
+</h1>
+</div>
+
+<h1>Connecting To OpenEJB or TomEE Through SSH</h1>
+
+<h2>Description</h2>
+
+<p>It can be very useful to connect to the server to get some informations.</p>
+
+<h2>Solution</h2>
+
+<p>For such a case OpenEJB/TomEE proposes to start with the JEE server a SSH server. Currently the security
+is based on JAAS (see how to configure JAAS for TomEE for more information about it).</p>
+
+<h2>Installation</h2>
+
+<p>Simply extract the openejb-ssh jar in the lib of tomee (webapps/tomee/lib) or openejb libs (lib folder).
+Then simply connect using your JAAS credential.</p>
+
+<p>Note: you can use the provisioning features of openejb to do this job!</p>
+
+<p>Then simply activate the service manage: it is done setting the system property
+openejb.servicemanager.enabled to true.</p>
+
+<p>Note: it can be done through the conf/system.properties file.
+Note2: please take care to not add space after true (not 'true ' for instance).</p>
+
+<h2>OpenEJB SSH Shell</h2>
+
+<p>Once you are connected you get some commands:</p>
+
+<ul>
+<li>deploy <path>: deploy an application</li>
+<li>undeploy <path>: undeploy an application</li>
+<li>list: list deployed EJBs</li>
+<li>classloader <app id>: print the classloader tree of the app specified by the id</li>
+<li>jmx <operation> <options>: interact with JMX
+<em>* jmx list: list mbeans
+<em></em> jmx get <attribute> <objectname>
+<em></em> jmx set <attribute> <objectname> <new value>
+*</em> jmx invoke <methodname>([<arg1>, ...) <objectname></li>
+<li>properties: print server configuration as properties</li>
+<li>script <language> <script code>: execute the following script code using the following language with the JSR 223</li>
+<li>script file <script file>: execute the following script using the language (from the extension of the file) with the JSR 223</li>
+<li>ls [<path>]: list the file in path is specified or in the base of the server if not</li>
+<li>cat <path>: print a file</li>
+<li>part <start>-<end> <path>: print the part of a file </li>
+</ul>
+
+<p>Note1: JSR 223 can need to add some jar to openejb/tomee lib folder (groovy-all for instance to use groovy)
+Note2: ls, part, cat commands have to use $home and $base properties to specified the path</p>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  </body>
+</html>