This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 57213

Summary: Use 'javac' parameter for catalina.sh
Product: serverplugins Reporter: zikmund <zikmund>
Component: TomcatAssignee: Petr Hejl <phejl>
Status: RESOLVED INVALID    
Severity: blocker Keywords: SIMPLEFIX
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
URL: http://issues.apache.org/bugzilla/show_bug.cgi?id=33522
Issue Type: TASK Exception Reporter:
Attachments: Error page when the tweak is not applied to bundled Tomcat

Description zikmund 2005-03-30 16:30:24 UTC
Use 'javac' parameter for catalina.sh - it adds "$JAVA_HOME"/lib/tools.jar to
classpath.
Comment 1 zikmund 2005-05-13 13:30:38 UTC
Otherwise web modules won't work on linux/unix because there's no tools.jar on
classpath which is neccesary for bundled Tomcat in NetBeans (because we use
javac instead jdt). In 4.1 we have tweaked catalina.sh which will not work after
next Tomcat upgrade (therefore changing to bug for 4.2).
See Tomcat bug http://issues.apache.org/bugzilla/show_bug.cgi?id=33522 for more
details.
Comment 2 Sherold Dev 2005-08-02 17:18:37 UTC
should be fixed for 4.2.
Comment 3 Sherold Dev 2005-09-16 12:03:13 UTC
changing to task, since this is not actually a defect, there is no user impact

starting the catalina.sh script with the javac parameter does not work, so
apache guys must fix it first
Comment 4 zikmund 2005-09-16 12:41:29 UTC
We are tweaking setclasspath.sh - commenting if in:
  #if [ "$1" = "debug" -o "$1" = "javac" ] ; then
    CLASSPATH="$JAVA_HOME"/lib/tools.jar
  #fi
Comment 5 zikmund 2005-09-16 12:51:42 UTC
Created attachment 24873 [details]
Error page when the tweak is not applied to bundled Tomcat
Comment 6 Jaroslav Pospisil 2006-03-13 13:46:44 UTC
TM 5.0->TBD
Comment 7 Petr Hejl 2008-04-10 09:45:26 UTC
We do not bundle tomcat anymore, so I believe this is is not valid anymore.