RE: Problem Started JBoss service -

2010-12-10 Thread Karthik Nanjangude
Hi Off the topic this is a JBOSS Problem at start up process If the Ports defined internal to Tc with in Joss is occupied by some other Application My guess is to use "netstat" and watch the other Application using this port. With regards Karthik -Original Message- From: Nick Beare [

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
BTW, I see some similarities with the following. https://jira.springframework.org/browse/SWS-533 Srikanth On 12/10/10 3:41 PM, Caldarale, Charles R wrote: >> From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] >> Subject: Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) >

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
On 12/10/10 4:11 PM, Pid * wrote: > On 10 Dec 2010, at 22:46, Srikanth Konjarla > wrote: > >> Chuck, >> >> You are right. It is apache Axis client that is responsible for >> threadLocals in this case. However, as part of the thread local cleanup >> process at the time of undeploy, tomcat remov

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
On 12/10/10 3:41 PM, Caldarale, Charles R wrote: >> From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] >> Subject: Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) > >> as part of the thread local cleanup process at the time of undeploy, >> tomcat removes few threadLocal

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Pid *
On 10 Dec 2010, at 22:46, Srikanth Konjarla wrote: > Chuck, > > You are right. It is apache Axis client that is responsible for > threadLocals in this case. However, as part of the thread local cleanup > process at the time of undeploy, tomcat removes few threadLocals but > misses the threadLocal

Re: WARNING: Failed to register in JMX:

2010-12-10 Thread Pid *
On 10 Dec 2010, at 22:12, Linda Golff wrote: > I am using Tomcat6.0.26 - packaged with recent upgrade to Fedora 2.6.35.9-64 > fc 14 x86-64. Maybe the package is broken. What happens if you uninstall it and use a Tomcat downloaded from apache.org? p > > When I start Tomcat I get this error me

RE: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Caldarale, Charles R
> From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] > Subject: Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) > as part of the thread local cleanup process at the time of undeploy, > tomcat removes few threadLocals but misses the threadLocals for the > thread in questio

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
Chuck, You are right. It is apache Axis client that is responsible for threadLocals in this case. However, as part of the thread local cleanup process at the time of undeploy, tomcat removes few threadLocals but misses the threadLocals for the thread in question. I am wondering about the tomcat th

RE: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Caldarale, Charles R
> From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] > Subject: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) > Essentially, the thread has threadLocals object that has > few references. And who put the ThreadLocal there? (Hint: it wasn't Tomcat; your webapp - or a libr

RE: Tomcat/IIS Integration

2010-12-10 Thread Caldarale, Charles R
> From: Miner, James [mailto:jmi...@columnit.com] > Subject: Tomcat/IIS Integration > Versions: > Tomcat 5.5.9 Please, please, upgrade Tomcat while you're in there. That version is over five years old, and many, many security and bug fixes have gone in since then. - Chuck THIS COMMUNICATIO

RE: Can tomcat detect disconnection by client side in Async mode?

2010-12-10 Thread Caldarale, Charles R
> From: Michael Ludwig [mailto:mil...@gmx.de] > Subject: Re: Can tomcat detect disconnection by client side in Async mode? > Are there any servers at all that proactively notify their > children or threads of aborted connections in order to stop > them from serving them None that I'm aware of, s

WARNING: Failed to register in JMX:

2010-12-10 Thread Linda Golff
I am using Tomcat6.0.26 - packaged with recent upgrade to Fedora 2.6.35.9-64 fc 14 x86-64. When I start Tomcat I get this error message: INFO: Deploying= web application directory X Dec 10, 2010 4:35:17 PM org.apache.catalina.core. NamingContextListener addResource WARNING: Failed to regist

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 12/6/2010 4:11 PM, Michael Ludwig wrote: > Ben schrieb am 05.12.2010 um 14:25 (+0800): >> and send a new request with different parameters. On server side I >> wanna clean the AsynContext held by previous request. > > Will the server even

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-10 Thread Michael Ludwig
Justin Randall schrieb am 07.12.2010 um 00:16 (+): > > Without knowing the application and going on standard sockets, > I know from experience without using Async mode that Tomcat does > generate a ClientAbortException when a TCP RST is received from > a client when Tomcat is writing the HTTP

6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
All, I have a webservice client in the webapp. When the webapp is undeployed the classloader has not been GC'ed. Upon investigation it is found that a thread is in WAIT state which has references to the webapp class loader. I see the following from heap dump. http-8080-2 at java.lang.Object.wai

RE: Tomcat/IIS Integration

2010-12-10 Thread Miner, James
This is exactly what I've been looking for. Thank you so much. -Original Message- From: Jordan Michaels [mailto:jor...@viviotech.net] Sent: Friday, December 10, 2010 3:09 PM To: Tomcat Users List Subject: Re: Tomcat/IIS Integration It is daunting at first, for sure. But it's easy once yo

Re: Tomcat/IIS Integration

2010-12-10 Thread Jordan Michaels
It is daunting at first, for sure. But it's easy once you understand it. This guide may help: http://it.megocollector.com/?p=224 -Jordan On 12/10/2010 11:56 AM, Miner, James wrote: I have been working on this issue for a few days now. Last week, my client needed to refresh their development

Tomcat/IIS Integration

2010-12-10 Thread Miner, James
I have been working on this issue for a few days now. Last week, my client needed to refresh their development server and one of the web services applications that they were running did not come over in working order. To reinstall I needed to remove the Tomcat instance, and any references in the

Re: minSpareThreads maxSpareThreads property

2010-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christoph, On 12/10/2010 5:38 AM, Christoph Kukulies wrote: > I installed the APR tomcat native library today. It is giving the > WARNINGs below. > Can anyone comment? I had the same problem when using keepAliveTimeout with TC 6.0.29, which is defin

Re: Not supported by Basic Datasource

2010-12-10 Thread Mark Eggers
In your first message, did you post your complete hibernate configuration file? I'm asking because of two issues. 1. You don't need the following line if you're using Tomcat's database pooling: 10 2. From a quick google search on Tomcat, Hibernate, Oracle, and "Not supported by BasicDataSource

Re: deploy log4j

2010-12-10 Thread cpanon
Hello I have some evidence that should get to cause of this and possibly help/edify others;hopefully not said selfishly. The exact same war file works in a bare simple deployment in WinXPP and fails in Windows Server OSs, Win2KSrv, and Win2003Srv. I enabled logging and tracing in the plugin and

Re: Not supported by Basic Datasource

2010-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SOPANMISHRA, On 12/10/2010 9:51 AM, SOPANMISHRA wrote: > 1.By normal jdbc process means without implementing any datasource concept in > tomcat for my project evrything is working fine. Glad to hear it. > It is just when i do > datasource config I'

Re: Tomcat 6 performance & multiple instances

2010-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 12/9/2010 11:09 PM, Caldarale, Charles R wrote: > I'm also very, very interested in the exact cause for the improvement > observed with multiple JVMs using "another servlet container" - which > may have no applicability to Tomcat. Glad to s

Re: Tomcat 6 performance & multiple instances

2010-12-10 Thread Pid
On 12/9/10 9:04 PM, John Goodleaf wrote: > Google is giving me too many different answers! > > I need to serve a single webapp to a lot of people with acceptable latency. > There's no need for multiple contexts or any other funkines. Tomcat 6, JVM > 1.6x. I have a hardware load balancer and two 64

Re: deploy log4j

2010-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/10/2010 9:27 AM, Pid wrote: > On 12/10/10 2:43 AM, cpanon wrote: >> Hello >> I agree it should be simple and in the IDE it works fine. In simple >> production >> environment on Windows Servers it fails. In simple production environment

Re: minSpareThreads maxSpareThreads property

2010-12-10 Thread Rainer Jung
On 10.12.2010 16:06, Christoph Kukulies wrote: Am 10.12.2010 14:02, schrieb André Warnier: Christoph, compare this page : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation to this page : http://tomcat.apache.org/tomcat-5.5-doc/config/http.html In other words, t

Re: minSpareThreads maxSpareThreads property

2010-12-10 Thread Christoph Kukulies
Am 10.12.2010 14:02, schrieb André Warnier: Christoph, compare this page : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation to this page : http://tomcat.apache.org/tomcat-5.5-doc/config/http.html In other words, there is a strong suspicion that when you insta

Re: Not supported by Basic Datasource

2010-12-10 Thread SOPANMISHRA
1.By normal jdbc process means without implementing any datasource concept in tomcat for my project evrything is working fine.It is just when i do datasource config I'm facing "not supported by basic data source" against a method that uses a stringbuilder to form a query by retrieving values from

Re: RemoteIP valve and multiple X-Forwarded-For headers

2010-12-10 Thread Jim Riggs
On Dec 10, 2010, at 7:59 AM, Mark Thomas wrote: >> Looks like a bug, >> >> Please add it to bugzilla, as Mark suggested. >> >> BTW, I think that the following change can fix it: >> (for current tc6.0.x, not tested!) > > I don't think so. I think the problem is further up on line 558: > String[]

Re: RemoteIP valve and multiple X-Forwarded-For headers

2010-12-10 Thread Brett Delle Grazie
On 10 December 2010 13:59, Mark Thomas wrote: > On 10/12/2010 13:54, Konstantin Kolinko wrote: > > 2010/12/10 Brett Delle Grazie : > >> (...) > >> > >> Everything works fine except if the client has an X-Forwarded-For header > >> _already_ in the request (perhaps due to Squid in forward proxy on

Re: deploy log4j

2010-12-10 Thread Pid
On 12/10/10 2:43 AM, cpanon wrote: > Hello > I agree it should be simple and in the IDE it works fine. In simple > production > environment on Windows Servers it fails. In simple production environment on > a > WinXPP it works. It cant get any more discipline testing than that. Nothing > c

SocketTimeoutException with tomcat 5.5.25 while handling POST/PUT requests uploading content > 2gb

2010-12-10 Thread Moiz Dohadwala
Hello, Our application is currently using Tomcat 5.5.25 with jdk 1.5.0_13 (32-bit) and tcnative 1.1.20 (32-bit) on windows. While handling POSTS/PUT requests for large files ( < 2gb ), it frequently experiences timeouts. This happens on different windows platforms ( windows 7, windows 2003/200

Re: RemoteIP valve and multiple X-Forwarded-For headers

2010-12-10 Thread Mark Thomas
On 10/12/2010 13:54, Konstantin Kolinko wrote: > 2010/12/10 Brett Delle Grazie : >> (...) >> >> Everything works fine except if the client has an X-Forwarded-For header >> _already_ in the request (perhaps due to Squid in forward proxy on client >> side). >> >> Thus offending request looks like: >>

Re: RemoteIP valve and multiple X-Forwarded-For headers

2010-12-10 Thread Konstantin Kolinko
2010/12/10 Brett Delle Grazie : >(...) > > Everything works fine except if the client has an X-Forwarded-For header > _already_ in the request (perhaps due to Squid in forward proxy on client > side). > > Thus offending request looks like: > > Headers (fake IP addresses used): > X-Forwarded-For: 19

Re: RemoteIP valve and multiple X-Forwarded-For headers

2010-12-10 Thread Mark Thomas
On 10/12/2010 13:03, Brett Delle Grazie wrote: > Hi, > > We're using: > RHEL5 (fully up to date) > Tomcat 6.0.29 (from apache.org) > JVM 1.6.0_22 > > We use HAproxy (1.4.8) as a front end to Tomcat, HAproxy uses the 'option > forwardfor' which adds an additional X-Forwarded-For header > to the re

Re: URIEncoding problem ver 6.0.29 64 bit on windows

2010-12-10 Thread André Warnier
imrezol wrote: Hi! I set URIEncoding="UTF-8" at http connector in server.xml: restart tomcat service and after that type an url with special charaters like this: http://localhost:8080/mywebapp/docs/Felhasználói_kézikönyv.pdf

Re: URIEncoding problem ver 6.0.29 64 bit on windows

2010-12-10 Thread imrezol
Sorry, it was my mistake. On 64 bit version webapp name was MyWebApp On 32 bit version webapp name was mywebapp On Fri, Dec 10, 2010 at 13:54, imrezol wrote: > Hi! > > I set URIEncoding="UTF-8" at http connector in server.xml: > > connectionTimeout="2" >redir

RemoteIP valve and multiple X-Forwarded-For headers

2010-12-10 Thread Brett Delle Grazie
Hi, We're using: RHEL5 (fully up to date) Tomcat 6.0.29 (from apache.org) JVM 1.6.0_22 We use HAproxy (1.4.8) as a front end to Tomcat, HAproxy uses the 'option forwardfor' which adds an additional X-Forwarded-For header to the request. Everything works fine except if the client has an X-Forward

Re: minSpareThreads maxSpareThreads property

2010-12-10 Thread André Warnier
Mark Thomas wrote: On 10/12/2010 10:38, Christoph Kukulies wrote: I installed the APR tomcat native library today. It is giving the WARNINGs below. Can anyone comment? Which part isn't clear? ;-) Christoph, compare this page : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standa

URIEncoding problem ver 6.0.29 64 bit on windows

2010-12-10 Thread imrezol
Hi! I set URIEncoding="UTF-8" at http connector in server.xml: restart tomcat service and after that type an url with special charaters like this: http://localhost:8080/mywebapp/docs/Felhasználói_kézikönyv.pdf

Re: minSpareThreads maxSpareThreads property

2010-12-10 Thread Mark Thomas
On 10/12/2010 10:38, Christoph Kukulies wrote: > I installed the APR tomcat native library today. It is giving the > WARNINGs below. > Can anyone comment? Which part isn't clear? Mark > catalina.out: > 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init > INFO: Loaded APR bas

minSpareThreads maxSpareThreads property

2010-12-10 Thread Christoph Kukulies
I installed the APR tomcat native library today. It is giving the WARNINGs below. Can anyone comment? catalina.out: 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. 10.12.2010 11:08:54 org.apache.catalina.core.AprL

Re: About mod_jk's retry setting

2010-12-10 Thread Rainer Jung
On 10.12.2010 04:43, Yu Kikuchi wrote: Hello All. My Environment: RHEL 5.3 Apache 2.2.11 mod_jk 1.2.30 JBoss 5.0.0 GA I have used mod_proxy_ajp to connect Apache and Tomcat(in JBoss). But I decided to use not mod_proxy_ajp but mod_jk 1.2.30. In the default setting of "mod_proxy_xxx", i