Re: Tomcat + APR non-root on linux: Socket bind failed: [98] Address already in use

2009-10-14 Thread Ken Johanson
Jan Pernica wrote: You cannot use port < 1024 as non-root. Use apache and AJP to connect tomcat running on eg. 8080. Regards Jan On 15.10.2009 8:18, Ken Johanson wrote: Hi everyone, Trying to run Tomcat Tomcat/6.0.18 + apr-1.3.8.tar.gz, I get a: Oct 15, 2009 12:11:20 AM org.apache.coyote.ht

Re: Tomcat + APR non-root on linux: Socket bind failed: [98] Address already in use

2009-10-14 Thread Jan Pernica
You cannot use port < 1024 as non-root. Use apache and AJP to connect tomcat running on eg. 8080. Regards Jan On 15.10.2009 8:18, Ken Johanson wrote: Hi everyone, Trying to run Tomcat Tomcat/6.0.18 + apr-1.3.8.tar.gz, I get a: Oct 15, 2009 12:11:20 AM org.apache.coyote.http11.Http11AprProtoc

Tomcat + APR non-root on linux: Socket bind failed: [98] Address already in use

2009-10-14 Thread Ken Johanson
Hi everyone, Trying to run Tomcat Tomcat/6.0.18 + apr-1.3.8.tar.gz, I get a: Oct 15, 2009 12:11:20 AM org.apache.coyote.http11.Http11AprProtocol start SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [98] Address already in use at org.apache.tomcat.util.net.AprEn

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread raghu gs
Hi Tim Your suggestion seems interesting to some extent. One clue i got now is UTC is enabled in /etc/sysconfig/clock file. Being UTC is enabled is naturally equals to setting GMT as timezone. Please correct me if i am wrong. My question is, when i put a normal java code to display the time and t

RE: Tomcat is not getting shutdown

2009-10-14 Thread Suneel Saguturu
Hi Mark, Thanks for replying, I don't know how to take the thread dump & how to look for non-daemon threads? - Suneel. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, October 14, 2009 6:29 PM To: Tomcat Users List Subject: Re: Tomcat is not gettin

JkMount for status working not getting triggered

2009-10-14 Thread Neil Aggarwal
Hello: I am trying to enable the status page for mod_jk. I set my workers.properties file to: worker.list=tomcat,jkstatus worker.tomcat.type=ajp13 worker.tomcat.host=localhost worker.tomcat.port=8009 worker.tomcat.lbfactor=1 worker.tomcat.connection_pool_timeout=600 worker.tomcat.socket_keepaliv

RE: DBCP woes (running out of cursors).

2009-10-14 Thread Martin Gainty
Connection StatementHandle(this is where the READONLY/UPDATABLE/FORWARD/REVERSE cursor is defined) ResultSet close ResultSet CloseStatementHandle CloseConnection closing ResultSet closes the ResultSet only but has no effect on Statement Handle closing StatementHandle closes ResultSet and

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/14/2009 5:05 PM, Bill Davidson wrote: > Usually, we don't need that many [connections], but sometimes, we get hit > really hard > with a lot of traffic and do need that many. BTW, this is load balanced > across 4 servers that can each do

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
On Wed, Oct 14, 2009 at 3:00 PM, Christopher Schultz wrote: > Hmm... would you be willing to hack Tomcat's code a bit? I would, but I'd rather not: we don't control every environment where we deploy our software, hence it may be impossible to deploy a patched version of Tomcat. > If you modify >

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Bill Davidson
Christopher Schultz wrote: >On 10/14/2009 2:17 PM, Bill Davidson wrote: >>Redhat 5.2 Server >Wow. Maybe I should have said RHEL 5.2. 5.3 would be the current version, so it's actually not that old. RedHat's starting over with the numbers does get confusing. >This config looks fine, though the

RE: changing default ROOT webapp in Tomcat 6.0.18

2009-10-14 Thread Tony Anecito
Perfect. I was just specifying another location because some users/companies may have a standard for site files location that does not match out of the box settings for Tomcat. Best Regards, -Tony --- On Wed, 10/14/09, Caldarale, Charles R wrote: > From: Caldarale, Charles R > Subject: RE: c

Re: How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version?

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vadim, On 10/14/2009 11:04 AM, Vadim Volkov wrote: > The Tomcat 5.5.28 Installer (.exe) for Windows detect and install the > 64-bit version of Tomcat if 64-bit version of Windows is installed. Tomcat itself is neither 32-bit nor 64-bit. The only comp

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio, On 10/14/2009 2:30 PM, Manlio Malaidini wrote: > On Wed, Oct 14, 2009 at 2:13 PM, Christopher Schultz > wrote: >> Oh, it looks like you are using explicit session persistence for >> /in-use/ sessions. > > Indeed. > >> I apologize for confus

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/14/2009 2:17 PM, Bill Davidson wrote: > Redhat 5.2 Server Wow. > I've been trying to convert an old J2EE application to use DBCP connection > pools from an old custom connection pool class (not a DataSource > interface). I've moved a co

RE: changing default ROOT webapp in Tomcat 6.0.18

2009-10-14 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: RE: changing default ROOT webapp in Tomcat 6.0.18 > > So if I create a directory named ROOT on say a network drive (or even a > logical drive on the same server as Tomcat) Tomcat will find it without > any modification to any config file

RE: changing default ROOT webapp in Tomcat 6.0.18

2009-10-14 Thread Tony Anecito
So if I create a directory named ROOT on say a network drive (or even a logical drive on the same server as Tomcat) Tomcat will find it without any modification to any config files? -Tony --- On Wed, 10/14/09, Caldarale, Charles R wrote: > From: Caldarale, Charles R > Subject: RE: changing d

Re: IIS ISAPI_redirector

2009-10-14 Thread Bret Unbehagen
I that thought about that, however my knowledge of C is a bit rusty. However I did I could use a IIS proxy like http://code.google.com/p/iisproxy/. Thanks for the help. Bret On Wed, Oct 14, 2009 at 2:30 PM, Rainer Jung wrote: > On 14.10.2009 15:31, Peter Crowther wrote: > > 2009/10/14 Rainer Jun

RE: changing default ROOT webapp in Tomcat 6.0.18

2009-10-14 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Re: changing default ROOT webapp in Tomcat 6.0.18 > > So would modifying the server.xml be the recommended method? Modifying server.xml is NEVER the recommended method. The best way is to simply name the directory ROOT, and you're done

Re: changing default ROOT webapp in Tomcat 6.0.18

2009-10-14 Thread Tony Anecito
Hi, I have been watching this thread since I am interested in how to do this. I have a small web site using just html & images & css so I do not use a WAR for deployment just replace/add/delete the files. So would modifying the server.xml be the recommended method? Thanks, -Tony --- On Wed, 1

Re: IIS ISAPI_redirector

2009-10-14 Thread Rainer Jung
On 14.10.2009 15:31, Peter Crowther wrote: > 2009/10/14 Rainer Jung > >> On 14.10.2009 13:47, Bret Unbehagen wrote: >>> I have a Windows 2003 Server with the ISAPI_Redirector installed. I want >> to >>> stop it from passing the client IP to Tomcat. I have found >>> http://tomcat.apache.org/connec

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
On Wed, Oct 14, 2009 at 2:13 PM, Christopher Schultz wrote: > Oh, it looks like you are using explicit session persistence for > /in-use/ sessions. Indeed. > I apologize for confusing the issue: I am using > Tomcat's simple session-persistence-during-restart capabilities, which > may or may not

DBCP woes (running out of cursors).

2009-10-14 Thread Bill Davidson
Redhat 5.2 Server Java: Sun JDK 1.6.0_16 (64-bit) Tomcat 6.0.20 (and whichever version of DBCP that includes) Oracle 10g (10.2.0.3) JDBC: ojdbc14.jar I've been trying to convert an old J2EE application to use DBCP connection pools from an old custom connection pool class (not a DataSource interf

Re: changing default ROOT webapp in Tomcat 6.0.18

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pulak, On 10/14/2009 8:03 AM, pulak wrote: > > > > SpY0o2 wrote: >> >> hello, I've been trying to deploy an application to Tomcat 6.0.18. I would >> like to make it my default ROOT app (without renaming the app to ROOT), so >> that I can access my

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio, On 10/14/2009 1:59 PM, Manlio Malaidini wrote: > On Wed, Oct 14, 2009 at 12:53 PM, Christopher Schultz > wrote: >> Is this happening in production,or only in development? > > Development. > >> Could [serialVersionId] be your problem? > > I

Re: Can Tomcat be configured to fail to start if a webapp fails to start?

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 10/14/2009 11:11 AM, Chris Wiggins wrote: > I'd like to configure Tomcat 5.5 to fail to start if any of its webapps > fail to start. Is that possible? I can't find any configuration element > in the documentation that suggestions that this c

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
On Wed, Oct 14, 2009 at 12:53 PM, Christopher Schultz wrote: > Is this happening in production,or only in development? Development. A couple of words about my environment: *) Mac OS/X 10.6.1 *) JDK 1.6.0_15 *) Tomcat 5.5.27 > I ask because each Class has a serialVersionId which essentially > ver

Re: Tomcat 5.5.26 hangs

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 10/14/2009 10:48 AM, conrad-tomcat.users.2...@tivano.de wrote: > Currently, they're using Tomcat-5.5.26 on SUN's jdk 1.5.0_10 (64 bit) > and mod_jk 1.2.28. Over the years, we have seen the same situation since > before Tomcat-5.5.12. > > Mo

RE: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-14 Thread Caldarale, Charles R
> From: Imad Hachem [mailto:ihac...@lb.path-solutions.com] > Subject: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in > server.xml > > I am getting the below error during Tomcat-5.5.12 Startup on "IBM AIX > 5.3" after enabling the Cluster configuration in "server.xml" : You might wa

Re: ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio, On 10/14/2009 12:30 PM, Manlio Malaidini wrote: > I've come across a problem that I haven't found a clear solution yet > (despite some extensive time spent on google & books). If you persist > sessions for example with FileStore, everything is

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 10/14/2009 11:44 AM, raghu gs wrote: > Tomcat is not running under a security manager. > So that policy entry may need to be exists, i understood now. Yes. > I have tried stopping our web applications via tomcat-manager and restarted > imp

ClassNotFoundException when deserializing persisted sessions

2009-10-14 Thread Manlio Malaidini
Hi all, I've come across a problem that I haven't found a clear solution yet (despite some extensive time spent on google & books). If you persist sessions for example with FileStore, everything is fine & dandy except for when you start putting custom objects in the session: when I do so, I get a

Re: Tomcat 5.5.26 hangs

2009-10-14 Thread Mark Thomas
conrad-tomcat.users.2...@tivano.de wrote: > Hi, > > our customer is running a cluster of tomcat servlet engines. On these, > our web application is running. The basic setup is > > Loadbalancer <---> Apache 1.3.x with mod_jk <---> Tomcat > > with 2-3 Apache servers and >30 Tomcat instances bundle

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread Timothy J Schumacher
I'm not sure if it will help with your particular version of java/linux but I had a similar problem with my java/linux and found that in my case the file /etc/sysconfig/clock was one of the places the JVM looked for a timezone. Setting environment variables and options had no effect, the thing

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread raghu gs
Tomcat is not running under a security manager. So that policy entry may need to be exists, i understood now. I have tried stopping our web applications via tomcat-manager and restarted important web applications alone. But still timezone didn't reset to system timezone. Wouldn't stopping offendi

Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-14 Thread Imad Hachem
Dear all, I am getting the below error during Tomcat-5.5.12 Startup on "IBM AIX 5.3" after enabling the Cluster configuration in "server.xml" : Oct 14, 2009 2:31:58 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster start INFO: Cluster is about to start Oct 14, 2009 2:31:58 PM org.apache

Can Tomcat be configured to fail to start if a webapp fails to start?

2009-10-14 Thread Chris Wiggins
Hello, I'd like to configure Tomcat 5.5 to fail to start if any of its webapps fail to start. Is that possible? I can't find any configuration element in the documentation that suggestions that this can be done. Tomcat is just a small part of our system, and our start up sequence automatica

How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version?

2009-10-14 Thread Vadim Volkov
The Tomcat 5.5.28 Installer (.exe) for Windows detect and install the 64-bit version of Tomcat if 64-bit version of Windows is installed. How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version? (Windows Server 2003 R2 Standard x64 Edition). --

Tomcat 5.5.26 hangs

2009-10-14 Thread conrad-tomcat . users . 2009
Hi, our customer is running a cluster of tomcat servlet engines. On these, our web application is running. The basic setup is Loadbalancer <---> Apache 1.3.x with mod_jk <---> Tomcat with 2-3 Apache servers and >30 Tomcat instances bundled into clusters of 3-5 instances each. Apache + Tomcat ser

Re: Connection between ListenerStart and clustering

2009-10-14 Thread Bocalinda
Hi Rainer, I'm sorry for the long delay in getting back to you. I got sidetracked by another issue and wasn't able to look into this earlier. However, the bad news is that the administrators didn't allow me to apply the patch as it is a production server. I can apply it to pre-production, but the

Re: IIS ISAPI_redirector

2009-10-14 Thread Peter Crowther
2009/10/14 Rainer Jung > On 14.10.2009 13:47, Bret Unbehagen wrote: > > I have a Windows 2003 Server with the ISAPI_Redirector installed. I want > to > > stop it from passing the client IP to Tomcat. I have found > > http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where > is > >

Re: IIS ISAPI_redirector

2009-10-14 Thread Rainer Jung
On 14.10.2009 13:47, Bret Unbehagen wrote: > I have a Windows 2003 Server with the ISAPI_Redirector installed. I want to > stop it from passing the client IP to Tomcat. I have found > http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where is > states that I can set JK_REMOTE_USER.

Re: Tomcat is not getting shutdown

2009-10-14 Thread Mark Thomas
Suneel Saguturu wrote: > I am facing an issue with Tomcat-5.5.27, the issue is > Tomcat server is not getting shutdown. > > When I execute the shutdown.sh its not throwing any > error/exception, but the process is still there and the another point is > port & everyt

Grails under Tomcat with security policy

2009-10-14 Thread Ken T.
I've asked this on the grails mailing list with no luck. Can someone tell me the minimum permissions I need to give a grails application to run under Tomcat? I don't want to disable all access checks when using reflection, and that seems to be what is recommended most of the time. Any assista

Re: changing default ROOT webapp in Tomcat 6.0.18

2009-10-14 Thread pulak
SpY0o2 wrote: > > hello, I've been trying to deploy an application to Tomcat 6.0.18. I would > like to make it my default ROOT app (without renaming the app to ROOT), so > that I can access my app by entering > > http://localhost:8080/ instead of http://localhost:8080/myApps > > Thanks. >

IIS ISAPI_redirector

2009-10-14 Thread Bret Unbehagen
I have a Windows 2003 Server with the ISAPI_Redirector installed. I want to stop it from passing the client IP to Tomcat. I have found http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where is states that I can set JK_REMOTE_USER. I have tried setting an environment variables and p

Tomcat is not getting shutdown

2009-10-14 Thread Suneel Saguturu
Hi, I am facing an issue with Tomcat-5.5.27, the issue is Tomcat server is not getting shutdown. When I execute the shutdown.sh its not throwing any error/exception, but the process is still there and the another point is port & everything is release only the

Re: Fw: i am unable to connect to tomcat 6.0 serevr from a different computer on the network

2009-10-14 Thread Partha Goswami
u need to use the ip of that server, where tomcat installed.. On Wed, Oct 14, 2009 at 1:33 PM, Krishna Chaitanya wrote: > > > --- On Wed, 14/10/09, Krishna Chaitanya wrote: > > From: Krishna Chaitanya > Subject: Fw: i am unable to connect to tomcat 6.0 serevr from a different > computer on the

Fw: i am unable to connect to tomcat 6.0 serevr from a different computer on the network

2009-10-14 Thread Krishna Chaitanya
--- On Wed, 14/10/09, Krishna Chaitanya wrote: From: Krishna Chaitanya Subject: Fw: i am unable to connect to tomcat 6.0 serevr from a different computer on the network To: users@tomcat.apache.org Date: Wednesday, 14 October, 2009, 8:00 AM sir, i am using apache tomcat 6.0. my operating syst

Fw: i am unable to connect to tomcat 6.0 serevr from a different computer on the network

2009-10-14 Thread Krishna Chaitanya
sir, i am using apache tomcat 6.0. my operating system is windows xp service pack 3. i have a problem.  when i am trying to connect to the server from local system using http://localhost:8080/ it is getting connected. but if i am trying to connect to the server from different system on the netwo

Windows 2008 Server (x64) IIS7 to Tomcat 6.0 32-bit with Java 32-bit isapi_redirect 1.2.28 connector problem

2009-10-14 Thread Terekhov Artyom (ADV)
Hello, I have a problem with Windows 2008 server x64 IIS7 to Tomcat 6.0 (*32) ( Java (*32)) connection. Previously we used IIS6 and everything was fine. But now I got errors: 0x80070001 - if I use properties files for isapi_redirect.dll (32 bit version) or 0x80070002 - if I use registry entr

Problem with isapi_redirect for IIS 7.0 - Tomcat 6.0 connection

2009-10-14 Thread Terekhov Artyom (ADV)
Hello, I have a problem with Windows 2008 server x64 IIS7 to Tomcat 6.0 (*32) ( Java (*32)) connection. Previously we used IIS6 and everything was fine. But now I got errors: 0x80070001 - if I use properties files for isapi_redirect.dll (32 bit version) or 0x80070002 - if I use registry entry.