Re: Tomcat as a service under Linux... "To dream theimpossibledream"

2005-11-08 Thread Preston CRAWFORD
t;>> Hi, Can you give a few comments on what was going wrong and what you did to fix it? For people who find this message later which searching archives for the answer to their problem! Thanks, Andoni. - Original Message - From: Preston CRAWFORD Newsgroups: gmane.comp.jakarta.tomca

Re: Tomcat as a service under Linux... "To dream theimpossibledream"

2005-11-08 Thread Preston CRAWFORD
AM >>> Hi, Can you give a few comments on what was going wrong and what you did to fix it? For people who find this message later which searching archives for the answer to their problem! Thanks, Andoni. - Original Message - From: Preston CRAWFORD Newsgroups: gmane.comp.jakar

Re: Tomcat as a service under Linux... "To dream theimpossible dream"

2005-11-08 Thread Preston CRAWFORD
eason it's easy now is because I fought the uphill battle until I knew what was what. I'll try to tell you, but you have to be willing to read other sources as well. Study study study. Tomorrow ... Justin Jaynes --- Preston Crawford <[EMAIL PROTECTED]> wrote: > I've tri

RE: Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Preston CRAWFORD
Actually, I looked at /var/log/messages (duh to me) and saw this... Nov 4 14:03:05 dhsdl270 su(pam_unix)[2565]: session opened for user tomcat by (uid=0) Nov 4 14:03:05 dhsdl270 tomcat5: Do you want to choose a different one? [n] I Googled this and found that that this is related to trying to s

Re: Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Preston CRAWFORD
One more question. Is there any way for you to log out an init script like this to see where it's getting hung up? As a java developer I'm wanting to Log4J this. :-) Preston - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Preston CRAWFORD
I'm using the Daemon script located here... http://www.linuxjava.net/howto/webapp/#daemons http://www.linuxjava.net/howto/webapp/install_files/tomcatd This has worked very well so far, but during boot the tomcat script fails. It just hangs. I have no idea why. It starts fine by calling /etc/ini

RE: I'm convinced JNDI support is broken in 5.0.28

2005-10-31 Thread Preston Crawford
>> From: Preston Crawford [mailto:[EMAIL PROTECTED] >> Subject: I'm convinced JNDI support is broken in 5.0.28 >> >> I keep getting... >> >> FATAL [http-8080-Processor25] (DatasourceConnectionProvider.java:47) - >> Coul

I'm convinced JNDI support is broken in 5.0.28

2005-10-31 Thread Preston Crawford
Our JNDI setup (configured in server.xml) works fine in Tomcat 5.0.28 on Windows. It works fine under Linux running as root. But it doesn't run fine running as a non-privelaged user (tomcat). Doesn't make any sense at all. I keep getting... FATAL [http-8080-Processor25] (DatasourceConnectionProvid

Installing Tomact as a service... update

2005-10-31 Thread Preston Crawford
So I've been trying to use this site and the daemon script here. http://www.linuxjava.net/howto/webapp/#tomcat It works so far. I mean, at least the server starts, I can get to the site, etc. So far, so good. The only problem is, for some reason when I start tomcat using root everything runs fine

Tomcat as a service under Linux... "To dream the impossible dream"

2005-10-31 Thread Preston Crawford
I've tried this so many different ways and I can't get it to work. Why is something that works out of the box on Windows so hard on Linux? Shouldn't there be a defined way to do this? I feel like I'm tilting at Windmills at this point. Don Quixote

RE: Jsvc vs tomcat shutdown -force

2005-10-31 Thread Preston Crawford
How did you get this to work? I tried following the directions and it doesn't work for me. Preston > I've used jsvc to have tomcat start as root and then switch to tomcat > user. This way I can have tomcat run on port 80 on a linux box. > > -Dennis > > -Original Message- > From: Matteo Tu

Re: Getting Tomcat to run under Linux as a service?

2005-10-31 Thread Preston Crawford
Anyone? On Sat, 2005-10-29 at 08:46 -0700, Preston Crawford wrote: > I'm using CentOS 4.2. A rebuild of RHEL version 4 release 2. I'm trying > to get Tomcat 5.0xx running as a service. I've found a couple different > ways to do it. One using jsvc, but I can't

Getting Tomcat to run under Linux as a service?

2005-10-29 Thread Preston Crawford
I'm using CentOS 4.2. A rebuild of RHEL version 4 release 2. I'm trying to get Tomcat 5.0xx running as a service. I've found a couple different ways to do it. One using jsvc, but I can't quite get that one right. One involving creating an init.d script and installing it with chckconfig, but that sc