http://bugzilla.novell.com/show_bug.cgi?id=565901 http://bugzilla.novell.com/show_bug.cgi?id=565901#c9 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 - Low |P3 - Medium Status|ASSIGNED |NEEDINFO InfoProvider| |alext@novell.com Severity|Minor |Enhancement --- Comment #9 from Michal Vyskocil <mvyskocil@novell.com> 2010-07-16 08:41:44 UTC --- (In reply to comment #8)
(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.... ;)
Well, question is what to do now. The jpackage.org tomcat we distribute is focused on server usage and well integrated to the system (using LSB location for config files and so). On the other hand our tomcat installation is not compatible with upstream binary package. This creates a problem for users try to use our tomcat installation with netbeans for instance, we distribute as well. Instead of reimplementing of the tomcat's scripts from scratch, which also requires a modifications of existing system-wide tomcat config, we might change the approach and install all (maybe slightly modified) shell scripts from bin/ directory. So for server users of tomcat there will be no change. Existing configuration will be in /etc and not touched by desktop usage. In case of CATALINA_HOME/bin scripts - they expect the configuration in setenv.sh, which might be different from the system one. As I said before, the CATALINA_BASE can be used for the multiuser setup like this one export CATALINA_BASE=~/mytomcat/ mkdir -p ~/$CATALINA_BASE/{bin,logs,work,temp} ln -s /usr/share/tomcat6/bin/tomcat-juli.jar $CATALINA_BASE/bin echo "foo bar" > $CATALINA_BASE/bin/setenv.sh # run the catalina.sh with different CATALINA_BASE /usr/share/tomcat/bin/catalina.sh I can also create some script will do it automatically. Not sure if this setup suitable for netbeans, but according [1] this screenshot it would be possible. Can you test it please? [1] http://bp0.blogger.com/_-vJw6r2W-bw/SFdQ8ZUSZ8I/AAAAAAAABGE/xqBpEP7H8oo/s160... -- 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.