[ https://issues.apache.org/jira/browse/KARAF-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915699#action_12915699 ]
Caspar MacRae commented on KARAF-230: ------------------------------------- When running as a service, the command "ps aux | grep karaf" shows some properties containing ".../jre/jre/..." root 17206 2.0 1.6 869796 101016 ? Sl 11:14 0:01 /usr/lib/jvm/java-6-sun/jre/bin/java -Dkaraf.home=/usr/local/karaf-2.1.0-failover -Dkaraf.base=/usr/local/karaf-2.1.0-failover -Dkaraf.data=/usr/local/karaf-2.1.0-failover/data -Dcom.sun.management.jmxremote -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -Djava.endorsed.dirs="/usr/lib/jvm/java-6-sun/jre/jre/lib/endorsed:/usr/lib/jvm/java-6-sun/jre/lib/endorsed:/usr/local/karaf-2.1.0-failover/lib/endorsed" -Djava.ext.dirs="/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=/usr/local/karaf-2.1.0-failover/lib/ -classpath /usr/local/karaf-2.1.0-failover/lib/karaf-wrapper.jar:/usr/local/karaf-2.1.0-failover/lib/karaf.jar:/usr/local/karaf-2.1.0-failover/lib/karaf-jaas-boot.jar:/usr/local/karaf-2.1.0-failover/lib/karaf-wrapper-main.jar -Dwrapper.key=W7TD6Wa94LpBv5ZS -Dwrapper.port=32001 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.disable_console_input=TRUE -Dwrapper.pid=17204 -Dwrapper.version=3.5.4 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 org.apache.karaf.shell.wrapper.Main > 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/apache-karaf-2.1.0.tar.gz > tar -xvzf apache-karaf-2.1.0.tar.gz > cd apache-karaf-2.1.0/ > JAVA_HOME=/usr/lib/jvm/java-6-sun/ && export JAVA_HOME > ./bin/karaf > karaf> features:install wrapper > karaf> wrapper:install > 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 > the bin/karaf script) > I followed these links for adding and bootstapping bouncycastle: > http://fusesource.com/forums/thread.jspa?messageID=7395 > 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 lock > (all working fine without exception) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.