tomcat5 server stalling

2004-05-20 Thread Steven Garrett
Hi,

I'm running tomcat5 on a Redhat9 box.  It looks like its accepting
connections for a while, which is good.  But then it hits a limit and there
are alot of TIME_WAIT connections in the netstat output.  Below are the
server.xml portions where we configure tomcat to listen and accept
connections on port 80.  If you need any more info, please let me know.

Thanks,

Steve

   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: error starting tomcat5

2004-05-12 Thread Steven Garrett
Here's the exact error:

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:218)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:375)

Thanks,

Steve

-Original Message-----
From: Steven Garrett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 11:31 AM
To: 'Tomcat Users List'
Subject: RE: error starting tomcat5


Thanks that seems to work out.  Now I have one last error that I can't seem
to figure out:  Where should the commons-digester.jar reside?  currently it
is in the /usr/share/java directory (with all the other jars), but tomcat
can't seem to find it.  I have it in the classpath as well as the
${CATALINA_HOME}/server/lib directory, is this the right place?

Thanks,

Steve

-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:50 AM
To: [EMAIL PROTECTED]
Subject: Re: error starting tomcat5



"Steven Garrett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Thanks to those of you who helped me with my previous server.xml include
> file issue, that worked out like a charmeventually :)
>
> Anyways, we're testing out tomcat5 on a RedHat 9 box and I keep getting
this
> error message.
>
> java.lang.NoClassDefFoundError: org/apache/commons/modeler/BaseModelMBean
>
> All I've been able to find so far is that this is supposedly part of the
> catalina.jar (not very helpful I know).  all I'm trying to do is to get
> tomcat to start at this point.  Any suggestions on how to debug this or if
> anyone knows what's wrong that would be great.  Please let me know if you
> need any further information.
>

Actually, it is supposed to be part of commons-modeler.jar which should be
living in $CATALINA_HOME/server/lib.

> Thanks,
>
> Steve




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: error starting tomcat5

2004-05-12 Thread Steven Garrett
Thanks that seems to work out.  Now I have one last error that I can't seem
to figure out:  Where should the commons-digester.jar reside?  currently it
is in the /usr/share/java directory (with all the other jars), but tomcat
can't seem to find it.  I have it in the classpath as well as the
${CATALINA_HOME}/server/lib directory, is this the right place?

Thanks,

Steve

-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:50 AM
To: [EMAIL PROTECTED]
Subject: Re: error starting tomcat5



"Steven Garrett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Thanks to those of you who helped me with my previous server.xml include
> file issue, that worked out like a charmeventually :)
>
> Anyways, we're testing out tomcat5 on a RedHat 9 box and I keep getting
this
> error message.
>
> java.lang.NoClassDefFoundError: org/apache/commons/modeler/BaseModelMBean
>
> All I've been able to find so far is that this is supposedly part of the
> catalina.jar (not very helpful I know).  all I'm trying to do is to get
> tomcat to start at this point.  Any suggestions on how to debug this or if
> anyone knows what's wrong that would be great.  Please let me know if you
> need any further information.
>

Actually, it is supposed to be part of commons-modeler.jar which should be
living in $CATALINA_HOME/server/lib.

> Thanks,
>
> Steve




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



error starting tomcat5

2004-05-11 Thread Steven Garrett
Hi,

Thanks to those of you who helped me with my previous server.xml include
file issue, that worked out like a charmeventually :)

Anyways, we're testing out tomcat5 on a RedHat 9 box and I keep getting this
error message.

java.lang.NoClassDefFoundError: org/apache/commons/modeler/BaseModelMBean

All I've been able to find so far is that this is supposedly part of the
catalina.jar (not very helpful I know).  all I'm trying to do is to get
tomcat to start at this point.  Any suggestions on how to debug this or if
anyone knows what's wrong that would be great.  Please let me know if you
need any further information.

Thanks,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Include file?

2004-05-07 Thread Steven Garrett
ok, so I put this into my server.xml underneath the last  entry


&virtualhosts;

And I get the following error "The entity "Virtualhost" was referenced, but
not declared"  When I put the entity any other way I get errors about the
entity.  What am I missing?  Please let me know what other info you might
need.  Am running tomcat 4.1.24 on RedHat9 box.

Thanks,

Steve

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 1:36 PM
To: Tomcat Users List
Subject: Re: Include file?


Steven Garrett wrote:

> ok, since I know nothing about adding xml entites to the server.xml, I'm
> sure there has to be examples out there.  I'll take a look and hopefully
> I'll be able to come back with something.

Uh, there's an example in the Ant FAQ that was (somewhat obliquely)
pointed to yesterday; adapted, you just need something like:


]>



&vhosts;

The only difference I found from the Ant example was that it needed
the full path or produced a FileNotFoundException. No big deal...

Tested in W2K/TC4 and OSX/TC5.

FWIW!
-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

   dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Include file?

2004-05-07 Thread Steven Garrett
ok, since I know nothing about adding xml entites to the server.xml, I'm
sure there has to be examples out there.  I'll take a look and hopefully
I'll be able to come back with something.

Thanks,

Steve

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 8:21 PM
To: Tomcat Users List
Subject: Re: Include file?


You have to do it via XML entities.  (A  non-intuitive process - YMMV)

-Tim

Steven Garrett wrote:
> Hi,
> 
> I was wondering if you can use "include" in the server.xml.  What I want
to
> do is to define a bunch of different virtual hosts within my tomcat
> instance, but don't want to have to constantly change the server.xml.  Is
> this possible.  I've searched the archives and the web and I don't see
> anything telling me on way or the other.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Include file?

2004-05-06 Thread Steven Garrett
thanks again, but that didn't have what I was looking for.  Seems to be more
for doing builds and it isn't really what I'm searching for.  My question is
can I use include in the tomcat server.xml in the same fashion that I can in
the httpd.conf file?  And if so what's the correct syntax for doing this?

Thanks,

Steve

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 5:40 PM
To: Tomcat Users List
Subject: Re: Include file?


Look on the Ant-user list for "entity includes".  should work for what you
need.

Jake

Quoting Steven Garrett <[EMAIL PROTECTED]>:

> Hi,
> 
> I was wondering if you can use "include" in the server.xml.  What I want
to
> do is to define a bunch of different virtual hosts within my tomcat
> instance, but don't want to have to constantly change the server.xml.  Is
> this possible.  I've searched the archives and the web and I don't see
> anything telling me on way or the other.
> 
> Thanks,
> 
> Steve
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Include file?

2004-05-06 Thread Steven Garrett
cool, hope it works out.  Thanks!!

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 5:40 PM
To: Tomcat Users List
Subject: Re: Include file?


Look on the Ant-user list for "entity includes".  should work for what you
need.

Jake

Quoting Steven Garrett <[EMAIL PROTECTED]>:

> Hi,
> 
> I was wondering if you can use "include" in the server.xml.  What I want
to
> do is to define a bunch of different virtual hosts within my tomcat
> instance, but don't want to have to constantly change the server.xml.  Is
> this possible.  I've searched the archives and the web and I don't see
> anything telling me on way or the other.
> 
> Thanks,
> 
> Steve
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Include file?

2004-05-06 Thread Steven Garrett
Hi,

I was wondering if you can use "include" in the server.xml.  What I want to
do is to define a bunch of different virtual hosts within my tomcat
instance, but don't want to have to constantly change the server.xml.  Is
this possible.  I've searched the archives and the web and I don't see
anything telling me on way or the other.

Thanks,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Connector Error

2003-12-17 Thread Steven Garrett
Hi there,

I know there is a link/page that will tell me what this error is:

[error] mod_jk child init 1 -2
[error] jk2_init() Can't find child 2529 in scoreboard

I just can't find it.  Could someone please point me to it.

Thanks in advance,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



channel.apr values

2003-09-25 Thread Steven Garrett
Hi,

I'm a bit confused.  I want to set the timeout value to 1.  I was looking
through the documentation and it seems like channel.apr keepalive set to 1
is what I want.  And it looks like it should be in the workers2.properties
file and the format should be channel.apr:keepalive=1 is the format.  Is
this correct, the documentation is kind of confusing on these points.

Thanks,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



quick question

2003-09-24 Thread Steven Garrett
Hi,

Can I envoke jsp from outside of the application directory.  For example, I
have /var/tomcat4/webapps/application/some.jsp.  Can I put some.jsp in
/home/apache/ (my apache docroot) and have it still work?

Thanks,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: directory permissions

2003-09-11 Thread Steven Garrett
Sorry, I should have included we're using tomcat 4.1.24 and apache 2.0.45
running it on a RH9 box (the tomcat and apache installs are custom, not what
comes with redhat).

Thanks,

Steve

-Original Message-
From: Steven Garrett [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 11:53 AM
To: 'Tomcat Users List'
Subject: directory permissions


Hi,

Not sure if this is a tomcat or an apache question.  So here is it goes.  We
have some administrative jsp's within our application.  They need to be
accessible via the web internally, but we don't want the world to be able to
see them.  We were thinking that we could limit access to that directory
through apache, is this right or do we have to limit it though tomcat?

Thanks in advance,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



directory permissions

2003-09-11 Thread Steven Garrett
Hi,

Not sure if this is a tomcat or an apache question.  So here is it goes.  We
have some administrative jsp's within our application.  They need to be
accessible via the web internally, but we don't want the world to be able to
see them.  We were thinking that we could limit access to that directory
through apache, is this right or do we have to limit it though tomcat?

Thanks in advance,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Https not working

2003-08-12 Thread Steven Garrett
You can configure tomcat to handle https connections directly, its usually
port 8443.  other than that, it shouldn't matter to tomcat if its http or
https if its going through apache.  Apache will handle all the ssl
connections.  

-Original Message-
From: Kurt Overberg [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 3:37 PM
To: Tomcat Users List
Subject: Re: Https not working


Neither of those urls are passing through you apache, unless you have it 
configured to run on port 8080 (which is usually the Tomcat port).  Not 
sure if you can configure Tomcat to use SSL directly, but I do know that 
just sticking an 'https' in front of it won't work.  You need to set up 
apache so it deals with the http/https side of things and configure a 
connector (the thing that allows apache to forward requests to Tomcat's 
AJP13 port).

/kurt


[EMAIL PROTECTED] wrote:
> Greetings,
> I'm running Tomcat primarily as a Servlet/JSP container behind Apache so I
have
> configure the primary web server to handle the SSL connections from users.
So if
> my apache box will negotiate all SSL-related functionality what do I have
to do
> in tomcat to get it to work?
> 
> If you go to http://placeanad.classifiedmarketplace.net:8080/AdWebster
works
> But https://placeanad.classifiedmarketplace.net:8080/AdWebster does not
work
> 
> Thanks,
> Bobbie
> 
> 
> Bobbie Atristain
> Internet Systems Administrator
> Media General, INC.
> 804.649.6156
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Https not working

2003-08-09 Thread Steven Garrett
sorry, you should be able to grep through your server.xml file and find port
8443.  If its not there, try and find a server.xml file that comes default
with the install, its there.

-Original Message-
From: Steven Garrett [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 3:58 PM
To: 'Tomcat Users List'
Subject: RE: Https not working


You can configure tomcat to handle https connections directly, its usually
port 8443.  other than that, it shouldn't matter to tomcat if its http or
https if its going through apache.  Apache will handle all the ssl
connections.  

-Original Message-
From: Kurt Overberg [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 3:37 PM
To: Tomcat Users List
Subject: Re: Https not working


Neither of those urls are passing through you apache, unless you have it 
configured to run on port 8080 (which is usually the Tomcat port).  Not 
sure if you can configure Tomcat to use SSL directly, but I do know that 
just sticking an 'https' in front of it won't work.  You need to set up 
apache so it deals with the http/https side of things and configure a 
connector (the thing that allows apache to forward requests to Tomcat's 
AJP13 port).

/kurt


[EMAIL PROTECTED] wrote:
> Greetings,
> I'm running Tomcat primarily as a Servlet/JSP container behind Apache so I
have
> configure the primary web server to handle the SSL connections from users.
So if
> my apache box will negotiate all SSL-related functionality what do I have
to do
> in tomcat to get it to work?
> 
> If you go to http://placeanad.classifiedmarketplace.net:8080/AdWebster
works
> But https://placeanad.classifiedmarketplace.net:8080/AdWebster does not
work
> 
> Thanks,
> Bobbie
> 
> 
> Bobbie Atristain
> Internet Systems Administrator
> Media General, INC.
> 804.649.6156
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat error

2003-07-24 Thread Steven Garrett
no dhcp, it has a hardcoded ip address and the loopback address looks normal
127.0.0.1 netmask 255.0.0.0

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:43 PM
To: Tomcat Users List
Subject: Re: tomcat error



"ifconfig -a" shows you the IP address you expect?  Sounds to me like 
DHCP got switched on somehow, then when you rebooted it picked up a new 
IP address and it isn't the one you expect.

John

Steven Garrett wrote:

> The IP address resolves to the hostname and vice versa.  There is no
masking
> going on.  and this box is not natted.  What is really strange is that my
> tomcat instance was working just fine yesterday, then we rebooted this box
> (it's a development server, gets rebooted all the time) and now it doesn't
> work and I continue to get that error.
> 
> The hostname is md11
> 
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 3:32 PM
> To: Tomcat Users List
> Subject: Re: tomcat error
> 
> 
> 
> The address Tomcat is trying to use to startup does not exist on the 
> machine.
> 
> This can happen if you are using NAT or have some other address 
> masking/forwarding going on.
> 
> Are you sure that the IP address Tomcat is using exists on the machine? 
>   If you've given Tomcat a hostname, does the IP address that the 
> hostname resolves to exist on the machine?
> 
> What hostname are you using?
> 
> John
> 
> Steven Garrett wrote:
> 
> 
>>Hi,
>>
>>I'm getting the following error and I'm not sure how to fix it.
>>
>>StandardServer.await: create[8005]: java.net.BindException: Cannot assign
>>requested address
>>
>>I'm starting the server as root.  Running tomcat 4.1.24 on RH9.
>>
>>Thanks,
>>
>>Steve
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat error

2003-07-24 Thread Steven Garrett
default version is uninstalled by me a while ago

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:40 PM
To: 'Tomcat Users List'
Subject: RE: tomcat error


RH has a version of Tomcat that installs with the 'default' install of
RH.  Is this one already running (and so won't allow another TC to
start).

> -Original Message-
> From: Steven Garrett [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 24, 2003 2:36 PM
> To: 'Tomcat Users List'
> Subject: RE: tomcat error
> 
> 
> The IP address resolves to the hostname and vice versa.  
> There is no masking going on.  and this box is not natted.  
> What is really strange is that my tomcat instance was working 
> just fine yesterday, then we rebooted this box (it's a 
> development server, gets rebooted all the time) and now it 
> doesn't work and I continue to get that error.
> 
> The hostname is md11
> 
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 3:32 PM
> To: Tomcat Users List
> Subject: Re: tomcat error
> 
> 
> 
> The address Tomcat is trying to use to startup does not exist on the 
> machine.
> 
> This can happen if you are using NAT or have some other address 
> masking/forwarding going on.
> 
> Are you sure that the IP address Tomcat is using exists on 
> the machine? 
>   If you've given Tomcat a hostname, does the IP address that the 
> hostname resolves to exist on the machine?
> 
> What hostname are you using?
> 
> John
> 
> Steven Garrett wrote:
> 
> > Hi,
> > 
> > I'm getting the following error and I'm not sure how to fix it.
> > 
> > StandardServer.await: create[8005]: java.net.BindException: Cannot 
> > assign requested address
> > 
> > I'm starting the server as root.  Running tomcat 4.1.24 on RH9.
> > 
> > Thanks,
> > 
> > Steve
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat error

2003-07-24 Thread Steven Garrett
The IP address resolves to the hostname and vice versa.  There is no masking
going on.  and this box is not natted.  What is really strange is that my
tomcat instance was working just fine yesterday, then we rebooted this box
(it's a development server, gets rebooted all the time) and now it doesn't
work and I continue to get that error.

The hostname is md11

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:32 PM
To: Tomcat Users List
Subject: Re: tomcat error



The address Tomcat is trying to use to startup does not exist on the 
machine.

This can happen if you are using NAT or have some other address 
masking/forwarding going on.

Are you sure that the IP address Tomcat is using exists on the machine? 
  If you've given Tomcat a hostname, does the IP address that the 
hostname resolves to exist on the machine?

What hostname are you using?

John

Steven Garrett wrote:

> Hi,
> 
> I'm getting the following error and I'm not sure how to fix it.
> 
> StandardServer.await: create[8005]: java.net.BindException: Cannot assign
> requested address
> 
> I'm starting the server as root.  Running tomcat 4.1.24 on RH9.
> 
> Thanks,
> 
> Steve
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat error

2003-07-24 Thread Steven Garrett
Hi,

I'm getting the following error and I'm not sure how to fix it.

StandardServer.await: create[8005]: java.net.BindException: Cannot assign
requested address

I'm starting the server as root.  Running tomcat 4.1.24 on RH9.

Thanks,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



possibly off topic: workers2.properties question

2003-06-17 Thread Steven Garrett
Hi,

I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24.  In our
workers2.properties we've defined an application 

[uri:/app/*]
worker=ajp13:localhost:8009

but we have other things in that directory such as .html, .jpeg. .gif that
we don't want to have passed to tomcat and other directories underneath this
which we don't want to have exposed but are necesssary to the appication,
such as servlets with no file extension (don't ask, the developers are
crazy).  Is there a way to in the workers2.properties to exclude files, such
as .gif? I hope this makes sense.  

Thanks,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



command line application manger?

2003-06-13 Thread Steven Garrett
Is there such a thing?  I see stuff for the application one, but we don't
have that installed.  Is this something that I'll need to install to be able
to deploy/stop/start applications without having to take tomcat down
completely?

Thanks,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat shutdown issue

2003-05-29 Thread Steven Garrett
Hi,

I'm using RH9 and have installed tomcat 4.1 on my system.  It starts up ok,
i think (at least I don't get any warning messages).  But when I try to
shutdown the server, I get the following:

log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.

I'm no java or tomcat guru, but I do have a log4j.properties file in my
CLASSPATH so it should pick-up the properties file, right?

Thanks in advance for your help,

Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat security

2002-09-19 Thread Steven Garrett

Hi,

I'm relatively new to admining tomcat and have been looking for some ways to
secure tomcat.  I haven't found much of anything useful.  Are there any docs
on known security issues with tomcat, or any howto's when configuring
security?  We're running tomcat 4.0.3, apache 1.3.26 and mod_jk.

Thanks in advance,

steve

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




monitoring question

2002-09-18 Thread Steven Garrett

Hi,

We're using tomcat 4.0.3 on Solaris 8 with apache 1.3.26 and mod_jk as the
connectors.  We have this application that causes the CPU to overload, which
in turn causes tomcat to become unavailable.  The apache server continues to
return error 500, internal server error.  We're working on fixing the
application, but in the meantime

The current application is in production and continually crashes.  But the
tomcat and httpd processes are still alive and kicking.  Is there a way to
easily monitor tomcat so that when this happens we can restart the web and
app servers appropriately?

I know this is a vague question so please feel free to ask for more details
or any questions you like.

Thanks in advance,

Steve

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Warp Errors

2002-09-05 Thread Steven Garrett

Hi,

I'm pretty new to java/tomcat, etc.  I keep getting these two errors when I
try to start apache and tomcat.  I'm not really sure what they mean and was
looking for some help.

Thanks,

Steve

from httpsdctl:
bash-2.03# ../bin/httpsdctl configtest
Syntax error on line 241 of /usr/local/apache+ssl/conf/httpsd.conf:
Cannot get socket address information

from apache_log underneath tomcat:
2002-09-05 12:12:12 [org.apache.catalina.connector.warp.WarpConnector] Error
accepting requests
java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
at java.net.ServerSocket.implAccept(ServerSocket.java:438)
at java.net.ServerSocket.accept(ServerSocket.java:409)
at
org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590)
at java.lang.Thread.run(Thread.java:536)

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: ssl config question

2002-09-03 Thread Steven Garrett

ok, so this is what I see in the logs.  It looks to me like the app gets
loaded but can't accept requests.  Is this a fair assessment or am I totally
wrong (which is the more likely case).  All suggestions/help are
appreciated.  

To recap the problem.  I can see the application using port 8080, but cannot
see the appliation over port 8443.  I've installed jsse, and have followed
the SSL config directions on the tomcat website. 

Thanks,

Steve

Localhost log

2002-09-03 14:46:34 invoker: init
2002-09-03 14:46:34 jsp: init
2002-09-03 14:46:35 StandardHost[localhost]: Installing web application at
context path /pps from URL file:/usr/local/jakarta-
tomcat-4.0.3/webapps/pps
2002-09-03 14:46:35 WebappLoader[/pps]: Deploying class repositories to work
directory /usr/local/jakarta-tomcat-4.0.3/work/lo
calhost/pps
2002-09-03 14:46:35 StandardManager[/pps]: Seeding random number generator
class java.security.SecureRandom
2002-09-03 14:46:35 StandardManager[/pps]: Seeding of random number
generator has been completed
2002-09-03 14:46:35 ContextConfig[/pps]: Added certificates -> request
attribute Valve
2002-09-03 14:46:35 StandardWrapper[/pps:default]: Loading container servlet
default
2002-09-03 14:46:35 default: init
2002-09-03 14:46:35 StandardWrapper[/pps:invoker]: Loading container servlet
invoker
2002-09-03 14:46:35 invoker: init
2002-09-03 14:46:35 jsp: init

>From Catalina_log.2002-09-03.txt

2002-09-03 15:20:20 HttpProcessor[8443][4]  An incoming request is being
assigned
2002-09-03 15:20:20 HttpProcessor[8443][4]   The incoming request has been
awaited
2002-09-03 15:20:20 HttpProcessor[8443][4]   parseConnection:
address=/64.24.66.53, port=8443
2002-09-03 15:20:28 HttpProcessor[8443][4]  An incoming request is being
assigned
2002-09-03 15:20:28 HttpProcessor[8443][4]   The incoming request has been
awaited
2002-09-03 15:20:28 HttpProcessor[8443][4]   parseConnection:
address=/64.24.66.53, port=8443
2002-09-03 15:20:29 HttpProcessor[8443][4]  An incoming request is being
assigned
2002-09-03 15:20:29 HttpProcessor[8443][4]   The incoming request has been
awaited
2002-09-03 15:20:29 HttpProcessor[8443][4]   parseConnection:
address=/64.24.66.53, port=8443
2002-09-03 15:20:31 HttpProcessor[8443][4]  An incoming request is being
assigned
2002-09-03 15:20:31 HttpProcessor[8443][4]   The incoming request has been
awaited
2002-09-03 15:20:31 HttpProcessor[8443][4]   parseConnection:
address=/64.24.66.53, port=8443
2002-09-03 15:20:32 HttpProcessor[8443][4]  An incoming request is being
assigned
2002-09-03 15:20:32 HttpProcessor[8443][4]   The incoming request has been
awaited
2002-09-03 15:20:32 HttpProcessor[8443][4]   parseConnection:
address=/64.24.66.53, port=8443
2002-09-03 15:21:30 HttpProcessor[8443][4]  An incoming request is being
assigned
2002-09-03 15:21:30 HttpProcessor[8443][4]   The incoming request has been
awaited
2002-09-03 15:21:30 HttpProcessor[8443][4]   parseConnection:
address=/64.24.66.53, port=8443
2002-09-03 15:21:31 HttpProcessor[8443][4]  An incoming request is being
assigned
2002-09-03 15:21:31 HttpProcessor[8443][4]   The incoming request has been
awaited
2002-09-03 15:21:31 HttpProcessor[8443][4]   parseConnection:
address=/64.24.66.53, port=8443

-Original Message-----
From: Steven Garrett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 12:52 PM
To: 'Tomcat Users List'
Subject: RE: ssl config question


Yes, I did install jsse and I did follow the directions on the tomcat
homepage for configuring ssl.  I'll turn the logging on and see what comes
of it...I'll be back :)

Steve

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 12:49 PM
To: 'Tomcat Users List'
Subject: RE: ssl config question



Oops, that's a typo.  It should say running Tomcat as root is unwise for
production. :)  That's what I get for trying to increase my Project Dolphin
average! LOL

John

> -Original Message-
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 12:46 PM
> To: 'Tomcat Users List'
> Subject: RE: ssl config question
> 
> 
> 
> Well, you definitely won't find your application on 443, 
> unless you are
> running Tomcat as root (ok for development, I guess, but not wise for
> development).  Applications need root to bind to ports under 1024.
> 
> So, that leaves 8443.  Just for confirmation's sake, did you 
> follow the SSL
> HOWTO?  Did you install JSSE?  The HOWTO is here:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
> 
> For logging, you can add "debug" to your Context/Engine/Host 
> container in
> server.xml and give it a high number like "10".  The default 
> is "0", as
> described here:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html
> 
> John
> 

--
To un

RE: ssl config question

2002-09-03 Thread Steven Garrett

Yes, I did install jsse and I did follow the directions on the tomcat
homepage for configuring ssl.  I'll turn the logging on and see what comes
of it...I'll be back :)

Steve

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 12:49 PM
To: 'Tomcat Users List'
Subject: RE: ssl config question



Oops, that's a typo.  It should say running Tomcat as root is unwise for
production. :)  That's what I get for trying to increase my Project Dolphin
average! LOL

John

> -Original Message-
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 12:46 PM
> To: 'Tomcat Users List'
> Subject: RE: ssl config question
> 
> 
> 
> Well, you definitely won't find your application on 443, 
> unless you are
> running Tomcat as root (ok for development, I guess, but not wise for
> development).  Applications need root to bind to ports under 1024.
> 
> So, that leaves 8443.  Just for confirmation's sake, did you 
> follow the SSL
> HOWTO?  Did you install JSSE?  The HOWTO is here:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
> 
> For logging, you can add "debug" to your Context/Engine/Host 
> container in
> server.xml and give it a high number like "10".  The default 
> is "0", as
> described here:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html
> 
> John
> 

--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: ssl config question

2002-09-03 Thread Steven Garrett

Sorry, I'm using IE version 6.0  All it's saying is my page can't be
displayed.  And there isn't anything significant in the log files, as far as
I can tell.  Is there a way to start Tomcat with more verbose logging?  All
it says is starting background thread.

I hope this is more helpful, although I'm sure it isn't.

thanks,

Steve

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 12:33 PM
To: 'Tomcat Users List'
Subject: RE: ssl config question



Please be more specific.  Error messages?  Anything in the log files?  What
happens, exactly, when you try to access your application?

John Turner
[EMAIL PROTECTED]

> -Original Message-
> From: Steven Garrett [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 12:31 PM
> To: 'Tomcat Users List'
> Subject: ssl config question
> 
> 
> Hi All,
> 
> I'm relatively new to administering Tomcat.  I'm trying to get my
> application to work over SSL.  I've uncommented all the appropriate
> connectors, created a key using keytool.  However, I still 
> can't get to my
> application over port 443 or 8443.  Am I missing something?  Thanks in
> advance for your help.
> 
> Steve
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




ssl config question

2002-09-03 Thread Steven Garrett

Hi All,

I'm relatively new to administering Tomcat.  I'm trying to get my
application to work over SSL.  I've uncommented all the appropriate
connectors, created a key using keytool.  However, I still can't get to my
application over port 443 or 8443.  Am I missing something?  Thanks in
advance for your help.

Steve

--
To unsubscribe, e-mail:   
For additional commands, e-mail: