----- Original Message ----- > From: "dgchristen...@comcast.net" <dgchristen...@comcast.net> > To: Tomcat Users List <users@tomcat.apache.org>; Mark Eggers > <its_toas...@yahoo.com> > Cc: > Sent: Tuesday, May 1, 2012 10:39 AM > Subject: Re: Running Swing app under Tomcat 6 on Linux > > > ----- Original Message ----- >> From: "Mark Eggers" <its_toas...@yahoo.com> >> To: "Tomcat Users List" <users@tomcat.apache.org> >> Sent: Monday, April 30, 2012 12:23:57 AM >> Subject: Re: Running Swing app under Tomcat 6 on Linux >> Comment inline. >> ====== Comment ====== >> >> >> I don't know what magic the Ubuntu repackaging does. If it's > anything >> like the CentOS repackaging, it's pretty involved. >> >> One thing you might try is the following: >> >> 1. sudo service tomcat6 stop >> 2. Download a copy of Tomcat from Apache >> 3. Unpack it in your home directory >> 4. Edit $CATALINA_HOME/conf/tomcat-users.xml >> 5. Add your application to $CATALINA_HOME/webapps >> 6. export JRE_HOME=[your Java JRE installation] >> 7. cd $CATALINA_HOME/bin >> 8. Make sure startup.sh is executable >> 9. ./startup.sh >> >> And see what happens. > > Mark, you are a genius. I followed the above and the Swing app starts > without a > problem. If anybody's willing to explain it, I'd like to understand > what the difference is between starting Tomcat via startup.sh and starting it > as > a service.
You're welcome. I'm glad it worked. See my response to Christopher's message concerning what I think is going on and one way maybe to get around it. . . . . just my two cents. /mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org