Re: Run TomEE as a daemon
On Jul 24, 2012, at 7:17 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/23/12 8:29 PM, David Blevins wrote: The page can be edited by anyone by clicking the blue pencil icon in the upper right, so contributions are highly encouraged. All changes are reviewed before going live, so don't worry about messing anything up. I made an edit to include a link to the commons-daemon documentation but figured that publish site was an action probably best done by someone on the TomEE team ;) Thanks, Chris! The online editing for the CMS is still a bit unfriendly. Hoping to put my Infra hat on and hack on it again at some point. Anyway, the 'submit' button really just saves and your edit is still in your private sandbox. Click the edit link on the page again then tack on ?action=mail and then it will send off the patch. The url would look something like: https://cms.apache.org/openejb/wc/diff/dblevins-_Le_Oo/trunk/content/unix-daemon.mdtext?action=mail The link is only available once you've saved an edit and are presented with the 'successful edit' page, at which point you have to know to click 'Diff' then on the next page click 'Mail Diff'. It's a work in progress :) -David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/23/12 8:29 PM, David Blevins wrote: The page can be edited by anyone by clicking the blue pencil icon in the upper right, so contributions are highly encouraged. All changes are reviewed before going live, so don't worry about messing anything up. I made an edit to include a link to the commons-daemon documentation but figured that publish site was an action probably best done by someone on the TomEE team ;) - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAOrooACgkQ9CaO5/Lv0PCLNgCePOF9bbJV2aY2IaPN51HZUDkR WO4AnjBW9A8wtAOxW351malsMar/68e5 =o/62 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
On 7/23/2012 12:12 PM, Miguel Bandala wrote: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying What is TomEE? lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at the end, i got the follow results: Cannot locate Java Home The most curious is that I previously set the java home with ./configure --with- java=/usr/lib/jvm/... And I really dont know why, I got the result above. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
export JAVA_HOME=[Location of Java installaation] (for bash-like shell) or setenv ${JAVA_HOME} [Location of Java installaation] (for csh or tcsh) Then Rey again. Is Java installed on your machine? burghard@iSir Am 23.07.2012 um 18:12 schrieb Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at the end, i got the follow results: Cannot locate Java Home The most curious is that I previously set the java home with ./configure --with- java=/usr/lib/jvm/... And I really dont know why, I got the result above. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
2012/7/23 Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at the end, i got the follow results: Cannot locate Java Home The most curious is that I previously set the java home with ./configure --with- java=/usr/lib/jvm/... And I really dont know why, I got the result above. See proper Apache Commons-Daemon jsvc documentation, at http://commons.apache.org/daemon/jsvc.html - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/23/12 12:24 PM, David kerber wrote: On 7/23/2012 12:12 PM, Miguel Bandala wrote: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying What is TomEE? Tomcat + EE http://openejb.apache.org/apache-tomee.html The TomEE user's list is us...@openejb.apache.org and would have been a better choice for the OP to post a question. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlANsVEACgkQ9CaO5/Lv0PD5AwCcDmu0vNYdlDbVc26V8PU3YI1Y QfIAoJCMj/n1j1Y8/b/blEzTpdSXX0Tr =VIg1 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/23/12 2:44 PM, Konstantin Kolinko wrote: 2012/7/23 Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at the end, i got the follow results: Cannot locate Java Home The most curious is that I previously set the java home with ./configure --with- java=/usr/lib/jvm/... And I really dont know why, I got the result above. See proper Apache Commons-Daemon jsvc documentation, at http://commons.apache.org/daemon/jsvc.html If the TomEE documentation is incorrect, we should help them correct it. Was this just a knee-jerk reaction to the OP's use of something other than the super-official commons-daemon jsvc documentation, or is there a problem with the TomEE stuff? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlANsi8ACgkQ9CaO5/Lv0PDNwQCfdSUhjJKRC2ZAhMRap9ATVEpZ JZAAoI6PlJrGwsNVYRG8sCsKgzpn9D2E =zS3i -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
Thank you very much, I forgot to add that line the script. 2012/7/23 burghard.britzke b...@charmides.in-berlin.de export JAVA_HOME=[Location of Java installaation] (for bash-like shell) or setenv ${JAVA_HOME} [Location of Java installaation] (for csh or tcsh) Then Rey again. Is Java installed on your machine? burghard@iSir Am 23.07.2012 um 18:12 schrieb Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at the end, i got the follow results: Cannot locate Java Home The most curious is that I previously set the java home with ./configure --with- java=/usr/lib/jvm/... And I really dont know why, I got the result above. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
2012/7/24 Christopher Schultz ch...@christopherschultz.net: On 7/23/12 2:44 PM, Konstantin Kolinko wrote: 2012/7/23 Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at the end, i got the follow results: Cannot locate Java Home The most curious is that I previously set the java home with ./configure --with- java=/usr/lib/jvm/... And I really dont know why, I got the result above. See proper Apache Commons-Daemon jsvc documentation, at http://commons.apache.org/daemon/jsvc.html If the TomEE documentation is incorrect, we should help them correct it. Was this just a knee-jerk reaction to the OP's use of something other than the super-official commons-daemon jsvc documentation, or is there a problem with the TomEE stuff? It is not super-official. It is the official one and naturally the primary source of information regarding jsvc. The others are partial reflections of the original. The problems with TomEE documentation: 1) It should properly reference the project, it is *Apache* Commons Daemon. 2) The ./configure --with-java phrase in TomEE doc is misplaced. It is part of the Building jsvc step only (to find the C API header files in JDK). It should not be in the introductory section - that is why OP was fooled. It has nothing to do with running jsvc. Note, that jsvc doc mentions the following useful options: a) the -home argument to jsvc can be used to specify location of the home directory of JDK/JRE. b) the option to enable debug-level logging to get more information for troubleshooting. IIRC, the debug logging should show what paths are tried looking for java executable. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Run TomEE as a daemon
On Jul 23, 2012, at 2:24 PM, Konstantin Kolinko wrote: 2012/7/24 Christopher Schultz ch...@christopherschultz.net: On 7/23/12 2:44 PM, Konstantin Kolinko wrote: See proper Apache Commons-Daemon jsvc documentation, at http://commons.apache.org/daemon/jsvc.html If the TomEE documentation is incorrect, we should help them correct it. Was this just a knee-jerk reaction to the OP's use of something other than the super-official commons-daemon jsvc documentation, or is there a problem with the TomEE stuff? It is not super-official. It is the official one and naturally the primary source of information regarding jsvc. The others are partial reflections of the original. The problems with TomEE documentation: 1) It should properly reference the project, it is *Apache* Commons Daemon. 2) The ./configure --with-java phrase in TomEE doc is misplaced. It is part of the Building jsvc step only (to find the C API header files in JDK). It should not be in the introductory section - that is why OP was fooled. It has nothing to do with running jsvc. Note, that jsvc doc mentions the following useful options: a) the -home argument to jsvc can be used to specify location of the home directory of JDK/JRE. b) the option to enable debug-level logging to get more information for troubleshooting. IIRC, the debug logging should show what paths are tried looking for java executable. Thanks for the notes! I've attempted a rewrite of that page using the above feedback: http://openejb.apache.org/unix-daemon.html It may not yet be perfect. In particular I didn't add the `-home` note -- more because I didn't want to get it wrong. The page can be edited by anyone by clicking the blue pencil icon in the upper right, so contributions are highly encouraged. All changes are reviewed before going live, so don't worry about messing anything up. Thanks again! -David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org