Eclipse can't find catalina.policy and bootstrap.jar where it expects them
Bug #297675 reported by
Azamat S. Kalimoulline
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Debian) |
Fix Released
|
Unknown
|
|||
tomcat6 (Ubuntu) |
Fix Released
|
Wishlist
|
Abhinav Upadhyay |
Bug Description
Because Eclipse expect that catalina.policy and bootstrap.jar should be in catalina home, but couldn't find them.
Related branches
lp:~er-abhinav-upadhyay/ubuntu/natty/tomcat6/bugfix-297675
- Thierry Carrez (community): Approve
- Dave Walker: Pending requested
-
Diff: 42 lines (+14/-0)3 files modifieddebian/changelog (+9/-0)
debian/tomcat6-instance-create (+4/-0)
debian/tomcat6-user.install (+1/-0)
Changed in tomcat6: | |
importance: | Undecided → Wishlist |
status: | Incomplete → Confirmed |
Changed in tomcat6 (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in tomcat6 (Debian): | |
status: | Unknown → Incomplete |
Changed in tomcat6 (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: patch |
Changed in tomcat6 (Debian): | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
Tomcat 6 is set up following the rules described in Tomcat6's RUNNING.txt to separate instances, with: instance- create" created directories
CATALINA_HOME in /usr/share/tomcat6
CATALINA_BASE in /var/lib/tomcat6 or any of the "tomcat6-
bootstrap.jar is in CATALINA_HOME/bin HOME/CATALINA_ BASE setups described in Tomcat documentation.
If you make use of it, catalina.policy should be in CATALINA_BASE/conf. At this point it is not linked in /var/lib/tomcat6 and not installed by default in user instances. We could add it but it would be in CATALINA_BASE, not CATALINA_HOME...
If Eclipse expects to find everything in the same directory, then it is probably not compatible with the CATALINA_
Could you please detail your use case ? I suspect you want to use Eclipse to directly configure/use Tomcat 6 for development purposes. In that case you should probably be using user instances rather than the system instance. doc.ubuntu. com/ubuntu/ serverguide/ C/tomcat. html bin/bootstrap. jar to /usr/share/ tomcat6/ bin/bootstrap. jar, and point Eclipse to yourinstance.
See "Using private instances" in http://
You can then create a catalina.policy in yourinstance/conf, link yourinstance/
Eclipse shouldn't be using the system instance anyway (system configuration should be done by root, not the user).