Changing Tomcat webapps/ROOT

2001-08-24 Thread Sahar Madani

Hi
Could someone tell me how can I change the webapps root ?
I would like to get to my servlets app like this
http://my.url.com/myapp/Hello
instead of http://my.url.com/myapp/servlet/Hello
Thanks
Sahar Madani
*







Re: Tomcat dies... help!

2001-08-15 Thread Sahar Madani

Did anyone answer this one yet.
I get this in one of my servers.  Both using jdk1.2.2
tail mod_jk.log
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

Any ideas? thanks in advance.

Ronald Vyhmeister wrote:

> Tomcat is having serious problems which only happen at night when the usage goes 
>light... go figure.  here's the one consistent thing I know.  It gives this error and 
>then dies...
>
> [jk_ajp13_worker.c (203)]: connection_tcp_get_message: Error - jk_tcp_socket_rec
> vfull failed
> [jk_ajp13_worker.c (621)]: Error reading request
> [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
> [jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 1
> 46
> ...
>
> What is wrong?  What can I do to fix it?
>
> Thanks!
>
> Ron Vyhmeister

--
Sahar Madani





Re: start tomcat under apache, different port

2001-08-08 Thread Sahar Madani

mod_jk and apache don't use tomcat.conf. this file is used for jserv only.
the new file is mod_jk.conf-auto
But this is NOT what I am trying to do.
Thanks

Nael Mohammad wrote:

> In the conf directory, modify the tomcat.conf , search for port 80, but I
> think the default is 8080. You can change that to whatever you like from
> that file.
>
> -Original Message-
> From: Sahar Madani [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 2:26 PM
> To: [EMAIL PROTECTED]
> Subject: start tomcat under apache, different port
>
> Hi
> I have got tomcat 3.2.3 and mod_jk working with apache 1.3.19
> But I don't want to serve the servlets under port 80 where apache is.
> And I don't want to run tomcat as stand alone.
> Is it possible to  tell mod_jk and tomcat to host the servlets on a
> secure port other than 80, under apache?  and have apache running on
> port 80 for static files.
> ie. http://myhost.com/statics/show.html
> http://myhost.com:XXX/servlets/Hello   instead of
> http://myhost.com/servlets/Hello
> I understand that this is possible if I don't use mod_jk and run tomcat
> as stand alone.
> But I want to use mod_jk and apche as explained above.
>
> Thanks
>
> --
> Sahar Madani  Senior Software Engineer

--
Sahar Madani  Senior Software Engineer
Excite@Home  http://www.home.net
(650)556-5000





start tomcat under apache, different port

2001-08-08 Thread Sahar Madani

Hi
I have got tomcat 3.2.3 and mod_jk working with apache 1.3.19
But I don't want to serve the servlets under port 80 where apache is.
And I don't want to run tomcat as stand alone.
Is it possible to  tell mod_jk and tomcat to host the servlets on a
secure port other than 80, under apache?  and have apache running on
port 80 for static files.
ie. http://myhost.com/statics/show.html
http://myhost.com:XXX/servlets/Hello   instead of
http://myhost.com/servlets/Hello
I understand that this is possible if I don't use mod_jk and run tomcat
as stand alone.
But I want to use mod_jk and apche as explained above.

Thanks

--
Sahar Madani  Senior Software Engineer