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 105692 - Copy monitor jars to 'bundled' Tomcat CATALINA_BASE/lib dir
Summary: Copy monitor jars to 'bundled' Tomcat CATALINA_BASE/lib dir
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 09:36 UTC by Sherold Dev
Modified: 2007-09-24 14:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sherold Dev 2007-06-05 09:36:20 UTC
Tomcat plugin copies HTTP Monitor jars to the Tomcat
CATALINA_HOME/[lib|common/lib] directory  by default. In case that a user does
not have write access rights to the CATALINA_HOME directory, the HTTP Monitor
cannot be enabled.

This problem can be fixed for the 'bundled' Tomcat by copying the jars to some
lib directory under the CATALINA_BASE and by modifying the catalina class loader
to pick up the Monitor jars from there.

The same approach should not be used for standalone Tomcat servers, over which a
user should have complete control.
Comment 1 Sherold Dev 2007-06-18 15:46:33 UTC
TM -> 6.0
Comment 2 Sherold Dev 2007-08-01 15:52:46 UTC
HTTP Monitor jar files will be copied to CATALINA_BASE/nblib folder along with a README file that will inform the user
what this folder is good for.

F.

Checking in src/org/netbeans/modules/tomcat5/TomcatManager.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManager.java,v  <--  TomcatManager.java
new revision: 1.93; previous revision: 1.92
done
Checking in src/org/netbeans/modules/tomcat5/ide/MonitorSupport.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/MonitorSupport.java,v  <--  MonitorSupport.java
new revision: 1.20; previous revision: 1.19
done
Checking in src/org/netbeans/modules/tomcat5/util/Bundle.properties;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/Bundle.properties,v  <--  Bundle.properties
new revision: 1.12; previous revision: 1.11
done
Checking in src/org/netbeans/modules/tomcat5/util/TomcatInstallUtil.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatInstallUtil.java,v  <--  TomcatInstallUtil.java
new revision: 1.24; previous revision: 1.23
done
Checking in src/org/netbeans/modules/tomcat5/util/TomcatProperties.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatProperties.java,v  <--  TomcatProperties.java
new revision: 1.21; previous revision: 1.20
done
Comment 3 Jaroslav Pospisil 2007-09-24 14:17:37 UTC
VERIFIED