[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] tomcat problems



> Definitely use the init.d script to start stop and restart! If you dig
> through all of the scripts that are getting executed when you do this, you
> will notice that there is an attempt to shutdown Tomcat before there is
> ever an attempt to start or restart it. If your Tomcat server isn't
running
> when it tries to do this, you'll get the Connection refused error
> everytime. Ignore it.
>
> Did you try hitting enter before you cntrl-c the shell? When I start or
> restart Apache/Tomcat from the command line, it will always stop at the
end
> of the context removed processing -- it's actually done and the server is
> running, just hit enter to get the command prompt back not cntrl-c. Once
> you get to this point telnet to the port on which your Tomcat install is
> listening for connections from Apache (I think 8008 is the default).
>
> You should get a connection. If you do, then Tomcat is listening as it
> should and the problem is likely somewhere else. If you don't, make sure
> that you are checking the right port # (config'd in web.xml).

I started firing up Tomcat with su -c "/etc/rc.d/init.d/httpd start" in the
admin shell
and it drops me out clean.  And I tried to hit enter and I don't need to
control-c.
Thanks.

No telnet connection.  I tried with 'enable shell accounts' on and off in
the Cobalt site
settings.  I had shell accounts set to off on all the tld/IPs on my server
and was using
only SSH, but now I see that telnet is checked off as ON on all the
accounts.
But now it is not working.  SSH works fine tho.  I don't know if this has
anything
to do with Tomcat listening on a port that I can telnet into.  Seems odd
that telnet
is broken, but was A-OK before the Cobalt Java package went in.

I dropped a test.jsp page into the web root and it doen't do anything except
spit out
static variables. I DID re-read the docs that came with the Cobalt package
and they
say that I need an Apache module named mod_jserv.  No module by that name
rings
a bell in my digging into the scripts.  There is mod_jk, but no mod_jserv.
Do I need that?
<I'm getting real tired - sorry if I come across as a slacker on doing my
homework>

I took another look at the Tomcat 4.0.1 distribution and using with with
Cocoon2, if I remember right,
is recommended to only operate under HTTP/1.0.  I need HTTP/1.1 for my
mod_gizip,
so that may not be in the cards for here.
>
> I've had Tomcat 3.2.2 running on a RaQ4 for a couple of months now without
> any problems at all. The migration to Tomcat 4.0.1 and mod_webapp,
however,
> is another story.
>
>
> ~Brian

Sounds too edgy for me, especially in my current state of mind.  I'd be
happy if I could run a
'hello world' jsp here.  I'm trying to get this all rigged up to deliver xml
data on my main site,
and at this point I'd like Tomcat to just behave.  I'll go get some sleep
and try again tomorrow,
as I'm on "vacation" - getting plenty of R&R. <smile>.

Before I go any further, I ought to get up to speed on all the Tomcat
releases.  It seems that they
are shotgunning versions out.

Thanks a bunch for the help and insight.

-regards


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com