http://bugzilla.novell.com/show_bug.cgi?id=565901 http://bugzilla.novell.com/show_bug.cgi?id=565901#c8 --- Comment #8 from Michal Vyskocil <mvyskocil@novell.com> 2010-07-16 07:28:04 UTC --- (In reply to comment #7)
(In reply to comment #5)
Hi Alex, please check it and I'll try to release it with a next maintenance update of tomcat6.
Hi Michal,
I tried your setclasspath.sh script and it seems to be fine; however, it is not sufficient for netbeans to start tomcat6.
The /usr/bin/dtomcat6 script also has to support "run" since netbeans wants an exec of tomcat and no log redirect since it displays the log in a window. I modified the dtomcat6 script to add this, and the patch is below. It adds run and run-security.
Cool, I'll add them asap
(Pretty soon, we'll have re-implemented catalina.sh.... ;)
Not sure why jpackage.org folks changes that, but for us is better to be compatible with them.
Also, no action necessary for this bug, but related, if one wants to run tomcat6 as a non-root user, there are some ownerships and permissions to be changed on the tomcat working files after set up by the suse tomcat6 packages. This can be an exercise in frustration...
Tomcat does not run under the root by default. It has specific tomcat user by default and init script takes a care about permissions. The same is not doable for dtcomcat6 called by normal user. Possible workaround would be change TOMCAT_USER in /etc/tomcat6/tomcat6.conf to you and then start rctomcat6 start to recreate a permissions. As an alternative, you can specify a different CATALINA_BASE than /usr/share/tomcat6 and leave CATALINA_HOME as is. See Advanced Configuration - Multiple Tomcat Instances[1] for details. [1] http://tomcat.apache.org/tomcat-6.0-doc/RUNNING.txt
However, it is possible, since I now have an install that works. Tomcat6 is started as me (not root) from netbeans with log going to NB window, by using the patch below and your new setclasspath.sh scripts. Stop works as well. I've not tried debug, deploy, etc.... will leave that for another day.
Cool, it would be nice to write some HOWTO on opensuse wiki, or drop me a text and I'll move it here. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.