You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2012/01/08 21:14:54 UTC

svn commit: r802105 - /websites/staging/openejb/trunk/content/unix-daemon.html

Author: buildbot
Date: Sun Jan  8 20:14:54 2012
New Revision: 802105

Log:
Staging update by buildbot

Added:
    websites/staging/openejb/trunk/content/unix-daemon.html

Added: websites/staging/openejb/trunk/content/unix-daemon.html
==============================================================================
--- websites/staging/openejb/trunk/content/unix-daemon.html (added)
+++ websites/staging/openejb/trunk/content/unix-daemon.html Sun Jan  8 20:14:54 2012
@@ -0,0 +1,129 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>Unix Daemon</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;
+      }
+    </style>
+
+
+    <!-- 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>
+
+  </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>Unix Daemon</h1>
+</div>
+
+<p>TomEE can be run as a daemon using the jsvc tool from the commons-daemon project. Source tarballs for jsvc are included with the TomEE binaries, and need to be compiled. Building jsvc requires a C ANSI compiler (such as GCC), GNU Autoconf, and a JDK.</p>
+
+<p>Before running the script, the JAVA_HOME environment variable should be set to the base path of the JDK. Alternately, when calling the ./configure script, the path of the JDK may be specified using the --with-java parameter, such as ./configure --with-java=/usr/java.</p>
+
+<p>Using the following commands should result in a compiled jsvc binary, located in the $CATALINA_HOME/bin folder. This assumes that GNU TAR is used, and that CATALINA_HOME is an environment variable pointing to the base path of the TomEE installation.</p>
+
+<p>Please note that you should use the GNU make (gmake) instead of the native BSD make on FreeBSD systems.</p>
+
+<h1>Building</h1>
+
+<pre><code>tar xzvf apache-tomee-1.0.0-beta-2-webprofile.tar.gz
+cd apache-tomee-webprofile-1.0.0-beta-2/bin/
+tar xzvf commons-daemon-native.tar.gz
+cd commons-daemon-1.0.7-native-src/unix/
+./configure
+make
+chmod 755 jsvc
+mv jsvc ../..
+</code></pre>
+
+<h1>Starting (unix)</h1>
+
+<pre><code>cd $TOMEE_HOME
+sudo ./bin/jsvc -cp ./bin/bootstrap.jar:./bin/tomcat-juli.jar  -outfile ./logs/catalina.out -errfile ./logs/catalina.err  org.apache.catalina.startup.Bootstrap
+</code></pre>
+
+<h1>Starting (osx)</h1>
+
+<pre><code>cd $TOMEE_HOME
+sudo arch -arch x86_64 ./bin/jsvc -jvm server  -cp ./bin/bootstrap.jar:./bin/tomcat-juli.jar         -outfile ./logs/catalina.out -errfile ./logs/catalina.err         org.apache.catalina.startup.Bootstrap
+</code></pre>
+
+
+
+
+      <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 -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>