[Bug 952893] Re: Zookeeper script contains invalid check for cygwin
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to zookeeper in Ubuntu. https://bugs.launchpad.net/bugs/952893 Title: Zookeeper script contains invalid check for cygwin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zookeeper/+bug/952893/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 952893] [NEW] Zookeeper script contains invalid check for cygwin
Public bug reported: The zkserver script contains: if $cygwin then ZOOCFG=`cygpath -wp $ZOOCFG` # cygwin has a kill in the shell itself, gets confused KILL=/bin/kill else KILL=kill fi cygwin is not defined in my shell or in the script. Due to the mysteries of sh, it thus decides to enter the then block, and fails on line 68. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: zookeeper 3.3.3+dfsg2-1ubuntu1 ProcVersionSignature: Ubuntu 3.0.0-16.28-generic-pae 3.0.17 Uname: Linux 3.0.0-16-generic-pae i686 NonfreeKernelModules: nvidia ApportVersion: 1.23-0ubuntu4 Architecture: i386 Date: Mon Mar 12 07:16:58 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release i386 (20110427.1) PackageArchitecture: all ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: zookeeper UpgradeStatus: Upgraded to oneiric on 2012-03-10 (2 days ago) ** Affects: zookeeper (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 oneiric -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to zookeeper in Ubuntu. https://bugs.launchpad.net/bugs/952893 Title: Zookeeper script contains invalid check for cygwin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zookeeper/+bug/952893/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 706570] Re: JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup
This needs to be documented in /etc/init.d/tomcat. It's a non-standard location given that many developers will be used to working with the RHEL packages, or directly installing from the tarball. ** Changed in: tomcat6 (Ubuntu) Status: Invalid = New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. https://bugs.launchpad.net/bugs/706570 Title: JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 706570] Re: Add documentation about JAVA_OPTS defined in /etc/init.d/tomcat6 not propagating to startup
Thanks. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. https://bugs.launchpad.net/bugs/706570 Title: Add documentation about JAVA_OPTS defined in /etc/init.d/tomcat6 not propagating to startup -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 706570] [NEW] JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup
Public bug reported: Binary package hint: tomcat6 I have not fully investigated. However, I added the line: JAVA_OPTS=$JAVA_OPTS -Xmx4096m -Xms1024m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:NewSize=128m -Dri.home=/home/reubenf/code/depend to /etc/init.d/tomcat6. The ri.home variable was not available to my webapp after a tomcat restart. I then added the same line to /var/share/tomcat6/bin/catalina.sh. Two things happened: 1) The server failed to start because I have only 4GBs of RAM, and thus max heap was too large. (Adjusted in catalina.sh and all was well.) 2) Once I fixed the max heap, ri.home was available to my webapp. Thus for some reason JAVA_OPTs is not being passed between the scripts properly. You should also define a spot in /etc/init.d/tomcat6 for developers to add their own JAVA_OPTs, to minimize hackery. ** Affects: tomcat6 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. https://bugs.launchpad.net/bugs/706570 Title: JAVA_OPTS defined in /etc/init.d/tomcat6 do not propagate to startup -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs