Thanks so much! I am able to use /etc/init.d/tomcat6 [start/stop] so I do have a work around.
I'm creating a systems test environment for a new technology that will be deployed as strategic technology and therefore opted to do pkg-add install; rather than a manual/custom as I'm new to much of this. Thanks again. > -----Original Message----- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Thursday, March 24, 2011 1:04 PM > To: Tomcat Users List > Subject: Re: startup.sh catalina.sh blank "it works" page > > The Ubuntu/Debian package is not configured to use startup.sh etc.. > The paths for the package are heavily "customised" for the locations > where the package > installs files and symlinks. > If you want to use these standard scripts, then de-install the apt > package, download > Tomcat from the tomcat website, and install that one. That one > installs everything under > one single directory, which is easier if you want to play around with > it. > Of course then you will also have to create your own startup scripts in > /etc/init.d. > > There are advantages and inconvenients to both methods of installing > Tomcat, but > mix-and-match is difficult. > > Paul Wiggins wrote: > > Total newbie; but did spend a day: reading, searching, and debugging > before > > posting. > > > > > > > > Tomcat appears to start correctly when I restart Ubuntu VM, in that > > <ipaddr>:8080 presents me with the It works page. > > > > > > > > However, when use ./startup.sh or ./catalina.sh run, <ipaddr>:8080 > > presents me with a blank page. Due to the nature of my testing I need > the > > ability to stop/start on demand. > > > > > > > > The /usr/share/tomcat6/logs/catalina.out only shows > > > > Mar 22, 2011 3:02:59 PM org.apache.coyote.http11.Http11Protocol init > > > > INFO: Initializing Coyote HTTP/1.1 on http-8080 > > > > Mar 22, 2011 3:02:59 PM org.apache.catalina.startup.Catalina load > > > > INFO: Initialization processed in 1170 ms > > > > Mar 22, 2011 3:02:59 PM org.apache.catalina.core.StandardService > start > > > > INFO: Starting service Catalina > > > > Mar 22, 2011 3:02:59 PM org.apache.catalina.core.StandardEngine start > > > > INFO: Starting Servlet Engine: Apache Tomcat/6.0.28 > > > > Mar 22, 2011 3:02:59 PM org.apache.coyote.http11.Http11Protocol start > > > > INFO: Starting Coyote HTTP/1.1 on http-8080 > > > > Mar 22, 2011 3:02:59 PM org.apache.catalina.startup.Catalina start > > > > INFO: Server startup in 155 ms > > > > > > > > I did some manual configs after the install to fix a couple of > errors > > (again after searching long and hard). These fixes seemed benign; but > you > > never know. > > > > Tomcat 6.0.28 > > > > - Installed via sudo apt-get install tomcat6 > > > > o Java ioexception on ./catalina.sh stop and start, > > /usr/shared/tomcat6/conf/server.xml not found. > > > > § There was no conf dir, and certainly no server.xml there. I simply > > created a link to the server.xml file I found in > /etc/tomcat6/server.xml > > > > o Then I got cannot find /usr/share/tomcat6/tmp > > > > § Yup, I manually created it. > > > > Ubuntu 10.10 (running inside Virtualbox 4.0.4, windows7 host) > > > > > > > > Any help is greatly appreciated. > > > > -Paul > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org