Basant Kumar kukreja wrote: > Why conf is located in /var/tomcat6/conf? Shouldn't it be /etc/tomcat6/conf?
Tomcat expects its configuration at CATALINA_BASE/conf directory. It seems to be kind of hardwired there. For info about CATALINA_* environment variables see: http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/tomcat/apache-tomcat-5.5.26-src/container/catalina/src/bin/catalina.sh Petr > On Wed, Sep 17, 2008 at 02:52:45PM +0200, Petr Sumbera wrote: >> Hi, >> >> I have modified my proposal so that it also upgrades Tomcat to version >> 6.0.x. Plus there are some other changes (installation paths, link to >> configuration directory from /etc). >> >> Currently I'm looking (so far unsuccessfully) for someone who would sponsor >> this through PSARC fast track process. >> >> Thanks for comments and recommendation, >> >> Petr > >> 1. Introduction >> 1.1. Project/Component Working Name: >> Making Tomcat independent >> 1.2. Name of Document Author/Supplier: >> Author: Petr Sumbera >> 1.3 Date of This Document: >> 11 September, 2008 >> 4. Technical Description >> >> 0. Previous ARC cases >> >> PSARC 2002/009 - Jakarta Tomcat 4.0.1 >> PSARC 2001/266 - Jakarta Tomcat for Apache >> PSARC 1999/542 - Apache for Solaris >> >> 1. Introduction >> >> Tomcat shipped with Solaris is currently tightly bound to Apache 1.3 Web >> Server with its installation paths and the way it is started. Now that >> we have also Apache 2.2 and the Tomcat itself is very popular as >> standalone server this project changes for Tomcat installation paths and >> introduces new SMF service for it. Beside this Tomcat is upgraded to latest >> recommended version 6.0. >> >> This case seeks Minor Release Binding. >> >> 2. Details >> >> 2.1 Background >> >> Tomcat was integrated into Solaris as servlet engine for Apache 1.3 Web >> Server by PSARC 2001/266. Therefore it was installed into Apache 1.3 >> directories and it was started via Apache 1.3 init.d script together >> with Apache Web Server itself. >> >> Later during Tomcat update via PSARC 2002/009 Tomcat was allowed to be >> functional as self-contained HTTP server but it remained closely tight >> to Apache 1.3 Web Server. >> >> 2.2 Technical description >> >> This project makes Tomcat independent on Apache 1.3 Web Server by >> changing installation paths from /usr/apache/tomcat respective >> /var/apache/tomcat to /usr/tomcat6 respective /var/tomcat6. >> >> The way Tomcat is started is also changed to SMF(5) service and it's >> started as user "webservd" (instead of user "nobody" which was used till >> now). >> >> With change to use SMF(5) Tomcat will now contain ready to use >> configuration file /var/tomcat6/conf/server.xml. To comply with >> Solaris file system organization relative symlink /etc/tomcat6 >> pointing to /var/tomcat6/conf directory is added. >> >> Apache 1.3 Web Server Tomcat connector module is updated to AJP13 >> compatible module (mod_jk) and it's moved from Tomcat package >> (SUNWtcatu) to Apache 1.3 package (SUNWapchu). Tomcat connector >> configuration file is also moved from Tomcat package (SUNWtcatr) to >> Apache 1.3 package (SUNWapchr). For Apache 2.2 was added this connector >> via PSARC/2008/090. >> >> Current focus of development version of Tomcat is version 6.0.x which >> is now stable and recommended to use (latest version 6.0.18). This >> project will upgrade to this version (Servlet/JSP Specification: 2.5/2.1). >> >> We have added major version number (tomcat6) to the path and SMF FRMI so >> we can by possible future project add in parallel new major Tomcat version >> (tomcat7) and allow thus users to migrate to new release at their own >> speed. >> >> 3. Interface table >> >> Interfaces imported >> >> NAME STABILITY NOTES >> >> Java Stable Java runtime >> >> Interfaces exported >> >> NAME STABILITY NOTES >> >> /usr/tomcat6/bin Uncommitted startup scripts >> /usr/tomcat6/classes Uncommitted Tomcat components >> /usr/tomcat6/common Uncommitted Tomcat components >> /usr/tomcat6/lib Uncommitted Tomcat jar files >> /usr/tomcat6/server Uncommitted Tomcat components >> /var/tomcat6/conf Uncommitted Tomcat configuration files >> /var/tomcat6/logs Uncommitted runtime log files >> /var/tomcat6/webapps Uncommitted Example applications >> /var/tomcat6/temp Uncommitted temporary files >> /var/tomcat6/work Uncommitted servlet engine work directory >> AJP13 (TCP Port 8009) Uncommitted communication protocol V1.3 >> HTTP/1.1 (TCP Port 8080) Uncommitted port for stand-alone http >> svc:/network/http:tomcat6 Committed FMRI >> >> /etc/apache/tomcat.conf Uncommitted Apache 1.3 Tomcat connector >> configuration file (SUNWapchr) >> >> 5. References >> >> Tomcat Documentation >> http://tomcat.apache.org/ >> >> Apache Documentation >> http://httpd.apache.org/docs/ >> >> PSARC 2008/090 - Additional Apache2 Modules >> PSARC 2002/009 - Jakarta Tomcat 4.0.1 >> PSARC 2001/266 - Jakarta Tomcat for Apache >> PSARC 1999/542 - Apache for Solaris >> >> >> 6. Resources and Schedule >> 6.4. Steering Committee requested information >> 6.4.1. Consolidation C-team Name: >> SFW >> 6.5. ARC review type: FastTrack >> 6.6. ARC Exposure: open >> >> > >> _______________________________________________ >> >> >> webstack-discuss mailing list >> webstack-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss >