Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 84061 invoked from network); 28 Sep 2010 10:22:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Sep 2010 10:22:59 -0000 Received: (qmail 3647 invoked by uid 500); 28 Sep 2010 10:22:59 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 3576 invoked by uid 500); 28 Sep 2010 10:22:59 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 2693 invoked by uid 99); 28 Sep 2010 10:22:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 10:22:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 10:22:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8SAMXmF023526 for ; Tue, 28 Sep 2010 10:22:33 GMT Message-ID: <7561331.440351285669353020.JavaMail.jira@thor> Date: Tue, 28 Sep 2010 06:22:33 -0400 (EDT) From: "Caspar MacRae (JIRA)" To: issues@karaf.apache.org Subject: [jira] Issue Comment Edited: (KARAF-230) 2.1.0 Wrapper doesn't work and if hacked no SSH In-Reply-To: <24621253.422151285603300404.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-230?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12915= 699#action_12915699 ]=20 Caspar MacRae edited comment on KARAF-230 at 9/28/10 6:21 AM: -------------------------------------------------------------- When running as a service, the command "ps aux | grep karaf" shows some p= roperties containing ".../jre/jre/..." Can't see anything obvious, but with the two small changes JRE and JCE it's= all running fine now. was (Author: earcam): =20 When running as a service, the command "ps aux | grep karaf" shows some p= roperties containing ".../jre/jre/..." root 17206 2.0 1.6 869796 101016 ? Sl 11:14 0:01 /usr/lib/j= vm/java-6-sun/jre/bin/java -Dkaraf.home=3D/usr/local/karaf-2.1.0-failover -= Dkaraf.base=3D/usr/local/karaf-2.1.0-failover -Dkaraf.data=3D/usr/local/kar= af-2.1.0-failover/data -Dcom.sun.management.jmxremote -Dkaraf.startLocalCon= sole=3Dfalse -Dkaraf.startRemoteShell=3Dtrue -Djava.endorsed.dirs=3D"/usr/l= ib/jvm/java-6-sun/jre/jre/lib/endorsed:/usr/lib/jvm/java-6-sun/jre/lib/endo= rsed:/usr/local/karaf-2.1.0-failover/lib/endorsed" -Djava.ext.dirs=3D"/usr/= lib/jvm/java-6-sun/jre/jre/lib/ext:/usr/lib/jvm/java-6-sun/jre/lib/ext:/usr= /local/karaf-2.1.0-failover/lib/ext" -Xmx512m -Djava.library.path=3D/usr/lo= cal/karaf-2.1.0-failover/lib/ -classpath /usr/local/karaf-2.1.0-failover/li= b/karaf-wrapper.jar:/usr/local/karaf-2.1.0-failover/lib/karaf.jar:/usr/loca= l/karaf-2.1.0-failover/lib/karaf-jaas-boot.jar:/usr/local/karaf-2.1.0-failo= ver/lib/karaf-wrapper-main.jar -Dwrapper.key=3DW7TD6Wa94LpBv5ZS -Dwrapper.p= ort=3D32001 -Dwrapper.jvm.port.min=3D31000 -Dwrapper.jvm.port.max=3D31999 -= Dwrapper.disable_console_input=3DTRUE -Dwrapper.pid=3D17204 -Dwrapper.versi= on=3D3.5.4 -Dwrapper.native_library=3Dwrapper -Dwrapper.service=3DTRUE -Dwr= apper.cpu.timeout=3D10 -Dwrapper.jvmid=3D1 org.apache.karaf.shell.wrapper.M= ain =20 > 2.1.0 Wrapper doesn't work and if hacked no SSH > ----------------------------------------------- > > Key: KARAF-230 > URL: https://issues.apache.org/jira/browse/KARAF-230 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.1.0 > Environment: Ubuntu x86_64 > Reporter: Caspar MacRae > Fix For: 2.1.0 > > > I had the same issue in 2.0.0. > wget http://www.mirrorservice.org/sites/ftp.apache.org//karaf/2.1.0/apach= e-karaf-2.1.0.tar.gz > tar -xvzf apache-karaf-2.1.0.tar.gz=20 > cd apache-karaf-2.1.0/ > JAVA_HOME=3D/usr/lib/jvm/java-6-sun/ && export JAVA_HOME > ./bin/karaf=20 > karaf> features:install wrapper > karaf> wrapper:install=20 > karaf> shutdown > ./bin/karaf-service start ## Note, no variation of paths works > Error message: "542: /srv/gather/karaf/bin/karaf-wrapper: not found" > The workaround isn't hard (download and replace relevant files from http:= //wrapper.tanukisoftware.com), but it is a somewhat pointless endeavour as = I cannot then access it via SSH (but can access via SSH when just running t= he bin/karaf script) > I followed these links for adding and bootstapping bouncycastle: > http://fusesource.com/forums/thread.jspa?messageID=3D7395 > http://felix.apache.org/site/65-deploying-security-providers.html > But still no joy wrt wrapper and SSH. > I'm using the karaf instance as an ActiveMQ (blueprint) broker host, with= camel-quartz and it is setup with a failover instance using simple file lo= ck (all working fine without exception) --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.