Anybody using Apache 2.0.59 and Tomcat 5.5.17 on Windowa 2003

2007-02-09 Thread JNeuhoff

Has anybody successfully managed to run Apache 2.0.59 and Tomcat 5.5.17 on
Windows 2003 on a real production server, and not just as a test system?

We are still experiencing frequent TCP Connections Aborted errors (err=53)
for no apparent reasons, and because of that our live server becomes
unresponsive to clients  and we end up re-booting our server machine once or
twice a week.

(see http://www.nabble.com/mod_jk-replacement--tf3050993.html for more
details)

This problem even occurs with firewall and anti-virus software all switched
off.

Rainer Jung suggested to try out a Microsoft Hotfix
(http://support.microsoft.com/kb/925513) which we are still waiting for to
receive from Microsoft Technet, and once its there, we will try it out.

J.Neuhoff

-- 
View this message in context: 
http://www.nabble.com/Anybody-using-Apache-2.0.59-and-Tomcat-5.5.17-on-Windowa-2003-tf3200025.html#a8884601
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT]Re: Large number of active sessions

2007-02-09 Thread Pid

Rashmi Rubdi wrote:
I'm sorry that I didn't express myself in a clear manner. I was simply saying that the jsessionid doesn't appear when bots access pages that have sessions in them (in my case), but I'm not concerned with it as it doesn't affect anything. 


I worked it out after i'd had a coffee, I was just being dense.  :)

I think the only way to be sure what's going on would be to monitor 
what's being set in the response headers for bots.  If there's a 
'Set-Cookie' header it would explain why there's no redirect  URL encoding.


Whether the bot then sends the cookie back to maintain the session is a 
different matter of course...


rgds,

p



-Regards
Rashmi

- Original Message 
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, February 8, 2007 8:46:22 AM
Subject: Re: [OT]Re: Large number of active sessions


Rashmi Rubdi wrote:

I agree that many have experienced the jsessionid on URLs accessed by bots, 
perhaps it happens in a Struts environment or some other environment.

In certain set-ups (only JSPs, no servlets, no MVC - session is removed and 
created freshly on each JSP page) the jsessionid doesn't appear on URLs 
accessed by bots like Googlebot even when the JSP page uses sessions, and that 
confuses me. I've verified the absense of jsession id in the URLs accessed by 
Googlebot in the server logs.

This inconsistent appearance of jsessionid for certain set-ups doesn't bother 
me, it's just a matter of curiosity.


hi rashmi,

i'm not sure what you're saying; are you asking a question?


-Rashmi

- Original Message 
From: Pid [EMAIL PROTECTED]


Some bots also use sessions.

I disagree, the bot has no capability to decide to use a session.

A bot would only appear to use a session if it was HTTP/1.1 capable, and 
was handling cookies or encoded URLs properly.


Most bots get pages asynchronously, I've observed Googlebot hitting url 
encoded pages with jsessionids generated days beforehand, during a 
previous index run.  This will trigger a new session as a result, but 
may account for apparently older creation dates appearing the list of 
active/recent session.


(A guess: I don't know enough about the internals of Tomcat to be sure 
of that.)


p


 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.

http://farechase.yahoo.com/promo-generic-14795097

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 


Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-09 Thread Tim Funk

http://tomcat.apache.org/faq/memory.html

If you have a lot of servlets or JSP's, you may need to increase your 
permanent generation. By default, it is 64MB. Doubling it to be 
-XX:MaxPermSize=256m might be a good start.


Pardon the bad math in the faq since 64*2!=256 ;)


-Tim

Nikola Milutinovic wrote:

PS Perm Generation
   capacity = 22675456 (21.625MB)
   used = 22515408 (21.472366333007812MB)
   free = 160048 (0.1526336669921875MB)
   99.2941795746026% used


Here is the failure. PermGen is getting exhausted.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Anybody using Apache 2.0.59 and Tomcat 5.5.17 on Windows 2003

2007-02-09 Thread RChartier

Hi,

I am using Apache 2.0.59 and Tomcat 5.0.28 with mod_jk 1.2.20 on Windows
2003 SP1 but the system have some issue on the socket layer. In fact, after
some time, some users are able to crash our architecture: apache answers to
request such as *.html but mod_jk says it cannot connect to tomcat. Even a
restart of services doesn't change anythink. Tomcat is running and answer
for simple hello world jsp pages but cannot answer to /manage/html.

I patch windows with KB 931311 and it seems to work properly.


JNeuhoff wrote:
 
 Has anybody successfully managed to run Apache 2.0.59 and Tomcat 5.5.17 on
 Windows 2003 on a real production server, and not just as a test system?
 
 We are still experiencing frequent TCP Connections Aborted errors (err=53)
 for no apparent reasons, and because of that our live server becomes
 unresponsive to clients  and we end up re-booting our server machine once
 or twice a week.
 
 (see http://www.nabble.com/mod_jk-replacement--tf3050993.html for more
 details)
 
 This problem even occurs with firewall and anti-virus software all
 switched off.
 
 Rainer Jung suggested to try out a Microsoft Hotfix
 (http://support.microsoft.com/kb/925513) which we are still waiting for to
 receive from Microsoft Technet, and once its there, we will try it out.
 
 J.Neuhoff
 
 

-- 
View this message in context: 
http://www.nabble.com/Anybody-using-Apache-2.0.59-and-Tomcat-5.5.17-on-Windows-2003-tf3200025.html#a8887082
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-09 Thread Nelson, Tracy M.
| From: Tim Funk [mailto:[EMAIL PROTECTED]
| Sent: Friday, 09 February, 2007 06:30
| 
| Pardon the bad math in the faq since 64*2!=256 ;)

Obviously you were thinking 64  2 -- happens to everybody... ;)

-

The information contained in this message is confidential
proprietary property of Nelnet, Inc. and its affiliated 
companies (Nelnet) and is intended for the recipient only.
Any reproduction, forwarding, or copying without the express
permission of Nelnet is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT]Re: Large number of active sessions

2007-02-09 Thread Rashmi Rubdi
Thanks for explaining, I looked at some of the access log archives where I used 
the %{Cookie}i in the pattern, and for the bots it shows as -, but for 
browser access it shows the cookie information.

See the _ at the end of this is the cookie information from Googlebot
127.0.0.1 - [11/Sep/2006:12:06:36 -0800] GET /index.jsp HTTP/1.1 200 13165 
- Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) 
-

At the end of this the cookie string is from a IE 6.0 browser
127.0.0.1 - [11/Sep/2006:12:07:00 -0800] GET /index.jsp HTTP/1.1 200 6818 - 
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; 
InfoPath.1) __utma=119444884.1604301826.1157946192.1157960979.1157976677.6; 
__utmz=119444884.1157961053.5.5.utmccn=(organic)|utmcsr=google|utmctr=searched+key+word|utmcmd=organic
 

But earlier you had mentioned something about HTTP/1.1 capable agent, another 
sample of the access log shows that the bots are HTTP/1.1 capable - sorry I 
don't have the custom pattern used here, since I kept changing it often.

66.249.66.198 HTTP/1.1 - [31/Oct/2006:22:04:59 -0800] GET /index.jsp 
HTTP/1.1 200 8622 - Mozilla/5.0 (compatible; Googlebot/2.1; 
+http://www.google.com/bot.html)

74.6.75.14 HTTP/1.1 - [31/Oct/2006:22:04:44 -0800] GET /robots.txt HTTP/1.1 
200 273 - Mozilla/5.0 (compatible; Yahoo! Slurp; 
http://help.yahoo.com/help/us/ysearch/slurp)

64.4.8.116 HTTP/1.1 - [31/Oct/2006:17:50:19 -0800] GET /robots.txt HTTP/1.1 
200 273 - msnbot/1.0 (+http://search.msn.com/msnbot.htm)

In the above cases index.jsp is using sessions, and so are almost all other JSP 
pages on the web app.

So since bots are HTTP/1.1 capable that might explain why I don't see 
jsessionid appended to the jsp pages in the access logs.

-Rashmi

- Original Message 
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, February 9, 2007 7:10:49 AM
Subject: Re: [OT]Re: Large number of active sessions


Rashmi Rubdi wrote:
 I'm sorry that I didn't express myself in a clear manner. I was simply saying 
 that the jsessionid doesn't appear when bots access pages that have sessions 
 in them (in my case), but I'm not concerned with it as it doesn't affect 
 anything. 

I worked it out after i'd had a coffee, I was just being dense.  :)

I think the only way to be sure what's going on would be to monitor 
what's being set in the response headers for bots.  If there's a 
'Set-Cookie' header it would explain why there's no redirect  URL encoding.

Whether the bot then sends the cookie back to maintain the session is a 
different matter of course...

rgds,

p


 -Regards
 Rashmi
 
 - Original Message 
 From: Pid [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Thursday, February 8, 2007 8:46:22 AM
 Subject: Re: [OT]Re: Large number of active sessions
 
 
 Rashmi Rubdi wrote:
 I agree that many have experienced the jsessionid on URLs accessed by bots, 
 perhaps it happens in a Struts environment or some other environment.

 In certain set-ups (only JSPs, no servlets, no MVC - session is removed and 
 created freshly on each JSP page) the jsessionid doesn't appear on URLs 
 accessed by bots like Googlebot even when the JSP page uses sessions, and 
 that confuses me. I've verified the absense of jsession id in the URLs 
 accessed by Googlebot in the server logs.

 This inconsistent appearance of jsessionid for certain set-ups doesn't 
 bother me, it's just a matter of curiosity.
 
 hi rashmi,
 
 i'm not sure what you're saying; are you asking a question?
 
 -Rashmi

 - Original Message 
 From: Pid [EMAIL PROTECTED]

 Some bots also use sessions.
 I disagree, the bot has no capability to decide to use a session.

 A bot would only appear to use a session if it was HTTP/1.1 capable, and 
 was handling cookies or encoded URLs properly.

 Most bots get pages asynchronously, I've observed Googlebot hitting url 
 encoded pages with jsessionids generated days beforehand, during a 
 previous index run.  This will trigger a new session as a result, but 
 may account for apparently older creation dates appearing the list of 
 active/recent session.

 (A guess: I don't know enough about the internals of Tomcat to be sure 
 of that.)

 p



 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT]Re: Large number of active sessions

2007-02-09 Thread Pid

Rashmi Rubdi wrote:

So since bots are HTTP/1.1 capable that might explain why I don't see 
jsessionid appended to the jsp pages in the access logs.


...and the cookie is only recorded when the client sends it, not when 
the server sets it, so it doesn't appear in the log.




-Rashmi

- Original Message 
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, February 9, 2007 7:10:49 AM
Subject: Re: [OT]Re: Large number of active sessions


Rashmi Rubdi wrote:
I'm sorry that I didn't express myself in a clear manner. I was simply saying that the jsessionid doesn't appear when bots access pages that have sessions in them (in my case), but I'm not concerned with it as it doesn't affect anything. 


I worked it out after i'd had a coffee, I was just being dense.  :)

I think the only way to be sure what's going on would be to monitor 
what's being set in the response headers for bots.  If there's a 
'Set-Cookie' header it would explain why there's no redirect  URL encoding.


Whether the bot then sends the cookie back to maintain the session is a 
different matter of course...


rgds,

p



-Regards
Rashmi

- Original Message 
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, February 8, 2007 8:46:22 AM
Subject: Re: [OT]Re: Large number of active sessions


Rashmi Rubdi wrote:

I agree that many have experienced the jsessionid on URLs accessed by bots, 
perhaps it happens in a Struts environment or some other environment.

In certain set-ups (only JSPs, no servlets, no MVC - session is removed and 
created freshly on each JSP page) the jsessionid doesn't appear on URLs 
accessed by bots like Googlebot even when the JSP page uses sessions, and that 
confuses me. I've verified the absense of jsession id in the URLs accessed by 
Googlebot in the server logs.

This inconsistent appearance of jsessionid for certain set-ups doesn't bother 
me, it's just a matter of curiosity.

hi rashmi,

i'm not sure what you're saying; are you asking a question?


-Rashmi

- Original Message 
From: Pid [EMAIL PROTECTED]


Some bots also use sessions.

I disagree, the bot has no capability to decide to use a session.

A bot would only appear to use a session if it was HTTP/1.1 capable, and 
was handling cookies or encoded URLs properly.


Most bots get pages asynchronously, I've observed Googlebot hitting url 
encoded pages with jsessionids generated days beforehand, during a 
previous index run.  This will trigger a new session as a result, but 
may account for apparently older creation dates appearing the list of 
active/recent session.


(A guess: I don't know enough about the internals of Tomcat to be sure 
of that.)


p




 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Deadlock in Tomcat 5.5.20

2007-02-09 Thread Bryan Basham

Hi all,

This might not be the right forum for this.  Let em know if
I should post this to the tomcat-dev alias.

THE PROBLEM

The problem we are experience is that occasionally Tomcat (5.5.20)
is deadlocking; see the attached output from a kill -3 on the tomcat
process.

Has anyone seen this happen?  Did you discover why this is happening?
And most importantly: How did you fix it?

THE BACKGROUND

I am working on a project in which our architecture requires
pluggable modules.  In the first two iterations, we avoided that
requirement by building all modules into a single ROOT.war
webapp.  Now in this iteration we are teasing apart these into
separately loaded moduleXYZ.war files.

This has caused lots of headaches; especially around getting
JSF to handle cross-context (cross-webapp) navigation and
bean management.  We have pretty much solved the JSF issues,
some fixes required doing things like performing cross-context
dispatching and merging of JSF's RuntimeConfig objects from
each webapp ServletContext.  However, I don't see how any
of these changes would cause the deadlock.

Sincere thanks,
Bryan

Java2D Disposer daemon prio=1 tid=0x08af2f10 nid=0xf1d in Object.wait() 
[0x9bda3000..0x9bda40d0]
at java.lang.Object.wait(Native Method)
- waiting on 0xa03bf8a8 (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked 0xa03bf8a8 (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:107)
at java.lang.Thread.run(Thread.java:595)

Timer-3 daemon prio=1 tid=0x083667f8 nid=0xe9c in Object.wait() 
[0x9be41000..0x9be42150]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d648 (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked 0x9ff8d648 (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

TP-Monitor daemon prio=1 tid=0x0837ab30 nid=0xe9b in Object.wait() 
[0x9bec2000..0x9bec2ed0]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d688 (a 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
at 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:559)
- locked 0x9ff8d688 (a 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
at java.lang.Thread.run(Thread.java:595)

TP-Processor4 daemon prio=1 tid=0x083615e8 nid=0xe9a runnable 
[0x9bf43000..0x9bf43e50]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked 0x9ff8d6b0 (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:306)
at 
org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:660)
at 
org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:870)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

TP-Processor3 daemon prio=1 tid=0x083603d0 nid=0xe99 in Object.wait() 
[0x9bfc4000..0x9bfc4fd0]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d8d8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Object.wait(Object.java:474)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656)
- locked 0x9ff8d8d8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Thread.run(Thread.java:595)

TP-Processor2 daemon prio=1 tid=0x0835f288 nid=0xe98 in Object.wait() 
[0x9c045000..0x9c045f50]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d8f8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Object.wait(Object.java:474)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656)
- locked 0x9ff8d8f8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Thread.run(Thread.java:595)

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Deadlock in Tomcat 5.5.20

2007-02-09 Thread Rainer Jung

So where's the deadlock in this stack dump?

Bryan Basham wrote:

Hi all,

This might not be the right forum for this.  Let em know if
I should post this to the tomcat-dev alias.

THE PROBLEM

The problem we are experience is that occasionally Tomcat (5.5.20)
is deadlocking; see the attached output from a kill -3 on the tomcat
process.

Has anyone seen this happen?  Did you discover why this is happening?
And most importantly: How did you fix it?

THE BACKGROUND

I am working on a project in which our architecture requires
pluggable modules.  In the first two iterations, we avoided that
requirement by building all modules into a single ROOT.war
webapp.  Now in this iteration we are teasing apart these into
separately loaded moduleXYZ.war files.

This has caused lots of headaches; especially around getting
JSF to handle cross-context (cross-webapp) navigation and
bean management.  We have pretty much solved the JSF issues,
some fixes required doing things like performing cross-context
dispatching and merging of JSF's RuntimeConfig objects from
each webapp ServletContext.  However, I don't see how any
of these changes would cause the deadlock.

Sincere thanks,
Bryan




Java2D Disposer daemon prio=1 tid=0x08af2f10 nid=0xf1d in Object.wait() 
[0x9bda3000..0x9bda40d0]
at java.lang.Object.wait(Native Method)
- waiting on 0xa03bf8a8 (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked 0xa03bf8a8 (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:107)
at java.lang.Thread.run(Thread.java:595)

Timer-3 daemon prio=1 tid=0x083667f8 nid=0xe9c in Object.wait() 
[0x9be41000..0x9be42150]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d648 (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked 0x9ff8d648 (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

TP-Monitor daemon prio=1 tid=0x0837ab30 nid=0xe9b in Object.wait() 
[0x9bec2000..0x9bec2ed0]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d688 (a 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
at 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:559)
- locked 0x9ff8d688 (a 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
at java.lang.Thread.run(Thread.java:595)

TP-Processor4 daemon prio=1 tid=0x083615e8 nid=0xe9a runnable 
[0x9bf43000..0x9bf43e50]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked 0x9ff8d6b0 (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:306)
at 
org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:660)
at 
org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:870)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

TP-Processor3 daemon prio=1 tid=0x083603d0 nid=0xe99 in Object.wait() 
[0x9bfc4000..0x9bfc4fd0]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d8d8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Object.wait(Object.java:474)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656)
- locked 0x9ff8d8d8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Thread.run(Thread.java:595)

TP-Processor2 daemon prio=1 tid=0x0835f288 nid=0xe98 in Object.wait() 
[0x9c045000..0x9c045f50]
at java.lang.Object.wait(Native Method)
- waiting on 0x9ff8d8f8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Object.wait(Object.java:474)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656)
- locked 0x9ff8d8f8 (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Thread.run(Thread.java:595)




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Connection Pool configuration

2007-02-09 Thread Propes, Barry L [GCG-NAOT]
ok, thanks FooShyn.

-Original Message-
From: Foo Shyn [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 7:36 PM
To: Tomcat Users List
Subject: Re: Connection Pool configuration


Hi,

I'm not sure bout Tomcat 4.0, but i think in 4.1 u could do it through the 
admin page.
Just create a Datasource under ur apps context should do the trick.

Thanx.
Regards,
FooShyn
- Original Message - 
From: Propes, Barry L [GCG-NAOT] [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, February 09, 2007 12:01 AM
Subject: Connection Pool configuration


Hello, I'm dealing with Tomcat 4.0.1 and -4.1.3.

I badly need to get connection pooling configured, but am not quite sure how 
to do it.

Here's  a block from my server.xml file.


Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=oracle.jdbc.OracleDriver
 connectionURL=jdbc:oracle:thin:@169.xxx.xx.xxx:1521:SID
 connectionName=user_name
 connectionPassword=user_pwd
 userTable=users userNameCol=user_name userCredCol=user_pass
 userRoleTable=user_roles roleNameCol=role_name /


This goes to the users table created for password sessions.

Do I configure anything here for Connection Pooling? Do I add
maxActive 8
minIdle 0 , etc.?

How would I alter or configure this? Any advice is welcomed.

Thanks,

Barry






No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.30/674 - Release Date: 2/7/2007 
3:33 PM



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please help me about loading javascript...

2007-02-09 Thread Propes, Barry L [GCG-NAOT]
while that's difficult to read, let me see if I interpreted correctly.

While loading  a webpage from the localhost URL the javascript file included in 
that web page does not fully load, and in the middle of loading, hangs or 
crashes? And then you open the page in Internet Explorer it reads done? 
Not sure what you're trying to accomplish per se, but if in the BODY tag of the 
JSP/HTML page, whatever it is, if you'll put the onLoad() command there and 
call the function accordingly.

Example

body onLoad=gotoPage();

where gotoPage() is a function referencing a js script up in the head tags.

Is this what you're trying to do?

Let me know if that helps you.

-Original Message-
From: Le Phuoc Canh [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 7:13 PM
To: Tomcat Users List
Subject: Please help me about loading javascript...


I don't know why loading a webpage from localhost, file javascript which
include in that webpage not loading full, it will stop at the middle, while
i open that webpage direct by internet explore, i will done.
Please help me about it.
Thanks a lot  Best Regard.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT]Re: Large number of active sessions

2007-02-09 Thread David Wall
I hope all this 'bot' talk doesn't prevent a resolution to the bug 
long-standing bug regarding sessions that never terminate, long after 
they should have expired.  All of our web apps have a background thread 
that periodically terminates sessions that haven't been accessed in 24 
hours, even though most of our web apps should auto-expire after 30 
minutes, with the longest one being 120 minutes because users need to 
fill out a lengthy form.


David

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT]Re: Large number of active sessions

2007-02-09 Thread Rashmi Rubdi
This message has been marked as Off-Topic with [OT] , so that it doesn't stand 
in the way of the main thread.

Here's where one can report a bug : http://tomcat.apache.org/bugreport.html  
(unless it hasn't been reported already).

-Rashmi

- Original Message 
From: David Wall [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, February 9, 2007 1:00:02 PM
Subject: Re: [OT]Re: Large number of active sessions


I hope all this 'bot' talk doesn't prevent a resolution to the bug 
long-standing bug regarding sessions that never terminate, long after 
they should have expired.  All of our web apps have a background thread 
that periodically terminates sessions that haven't been accessed in 24 
hours, even though most of our web apps should auto-expire after 30 
minutes, with the longest one being 120 minutes because users need to 
fill out a lengthy form.

David

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Deadlock in Tomcat 5.5.20

2007-02-09 Thread Bryan Basham

Upon reflection my team has decided that it is some
strange interaction between Firefox and our VMware
instance running Tomcat.  If we kill Firefox, then Tomcat
resumes processing requests.  How bizarre.

Sorry to waste the bandwidth.

-Bryan


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Deadlock in Tomcat 5.5.20

2007-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bryan,

Rainer Jung wrote:
 So where's the deadlock in this stack dump?

Yeah... there are no interesting threads in there. Did you post the
wrong thread dump?

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFzMHN9CaO5/Lv0PARAtojAKCjk/PooJirr1hIMp8by//BSF/IPQCgjKGb
ACgNjifTgpVTrMwR95e8pww=
=Vjs5
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Anybody using Apache 2.0.59 and Tomcat 5.5.17 on Windows 2003

2007-02-09 Thread JNeuhoff

I assume you are talking about the hotfix
http://support.microsoft.com/kb/931311/en-us , I am going to ask our
sysadmins to get this hotfix, too. Thanks for sharing your experience with
us on this forum.

J.Neuhoff



RChartier wrote:
 
 Hi,
 
 I am using Apache 2.0.59 and Tomcat 5.0.28 with mod_jk 1.2.20 on Windows
 2003 SP1 but the system have some issue on the socket layer. In fact,
 after some time, some users are able to crash our architecture: apache
 answers to request such as *.html but mod_jk says it cannot connect to
 tomcat. Even a restart of services doesn't change anythink. Tomcat is
 running and answer for simple hello world jsp pages but cannot answer to
 /manage/html.
 
 I patch windows with KB 931311 and it seems to work properly.
 
 
 JNeuhoff wrote:
 
 Has anybody successfully managed to run Apache 2.0.59 and Tomcat 5.5.17
 on Windows 2003 on a real production server, and not just as a test
 system?
 
 We are still experiencing frequent TCP Connections Aborted errors
 (err=53) for no apparent reasons, and because of that our live server
 becomes unresponsive to clients  and we end up re-booting our server
 machine once or twice a week.
 
 (see http://www.nabble.com/mod_jk-replacement--tf3050993.html for more
 details)
 
 This problem even occurs with firewall and anti-virus software all
 switched off.
 
 Rainer Jung suggested to try out a Microsoft Hotfix
 (http://support.microsoft.com/kb/925513) which we are still waiting for
 to receive from Microsoft Technet, and once its there, we will try it
 out.
 
 J.Neuhoff
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Anybody-using-Apache-2.0.59-and-Tomcat-5.5.17-on-Windows-2003-tf3200025.html#a8891871
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] mod_jk - tomcat sending delay

2007-02-09 Thread babu

Hi,

We are also facing same problem and we are using mod_jk 1.2.6 with apache
2.0.53 and tomcat 5.0.27. Mod_jk is configured with loadbalancer. We have
Apache+mod_jk with LB +  9 tomcats in backend. Mod_jk is set with sticky bit
set.

Partial workers.properites

worker.list=loadbalancer
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tc_1_1,tc_1_2,tc_1_3,tc_2_1,tc_2_2,tc_2_3,tc_3_1,tc_3_2,tc_3_3



worker.tc_1_1.host=cna-prod-app-25
worker.tc_1_1.port=8000
worker.tc_1_1.type=ajp13
worker.tc_1_1.lbfactor=1
worker.tc_1_1.cachesize=50
worker.tc_1_1.cache_timeout=180
worker.tc_1_1.socket_timeout=300
worker.tc_1_1.socket_keepalive=1
worker.tc_1_1.recovery_options=0
worker.tc_1_1.sticky_session=1

server.xml

Connector port=8000
  protocol=AJP/1.3
  address=cna-prod-app-25
  minProcessors=50
  maxProcessors=100
  enableLookups=false
  debug=0
  URIEncoding=UTF-8
  connectionTimeout=18
  /

I found in one of discussion board, that connection timeout in sever.xml and
timeout parameters in workers.properties should be matched properly and also
found that in server.xml its in miliseconds and in workers.properites it is
seconds.


We do not find any issue at client side but erorr keeps going in mod_jk log.
( I am not sure of client side issues are there or not)


mod_jk log

[Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=tc_3_3 failed errno = 0
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.109:8002), err=-1
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=tc_1_3 failed errno = 0
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8001), err=-1
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=tc_2_2 failed errno = 0
[Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.109:8000), err=-1
[Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=0
[Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8002), err=-1
[Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=1
[Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8002), err=-1
[Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=0
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8001), err=-1
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=tc_2_2 failed errno = 0

If you find any 

Problems with Apache and Tomcat talking

2007-02-09 Thread Travis Taggart
Here is the error I am getting in my log file *
 
[Fri Feb 09 15:45:41 2007]  [jk_connect.c (143)]: jk_open_socket, connect() 
failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (635)]: Error connecting to the 
Tomcat process.
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 0
[Fri Feb 09 15:45:41 2007]  [jk_connect.c (143)]: jk_open_socket, connect() 
failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (635)]: Error connecting to the 
Tomcat process.
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 1
[Fri Feb 09 15:45:41 2007]  [jk_connect.c (143)]: jk_open_socket, connect() 
failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (635)]: Error connecting to the 
Tomcat process.
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 2

 
Now, we are using Groupwise WebAccess. When I go to my webmail site, It pulls 
up an index page that autoredirects to the /servlet/webacc.  This is where 
Tomcat should pick up the request and fire up the webacc servlet. 
 
I am only recieving the server encountered an internal error or 
misconfiguration and was unable to complete your request. Please contact the 
server administrator, [EMAIL PROTECTED] and inform them of the time the error 
occurred, and anything you might have done that may have caused the error. More 
information about this error may be available in the server error log.
 
I have gone back and forth through the settings in the Apache folder and in the 
Tomcat folder to see if a port was mistyped or something, but I have found 
nothing. 
 
If you could give me an idea of how to go about troubleshooting this error I 
would be apprecative. 
 
 
 
---
Travis Taggart
Director of Information Technology
River Valley Behavioral Health
Phone: 1.270.689.6600
Fax: 1.270.689.6677
---
 
DISCLAIMER:
The contents of this e-mail message and any attachments are confidential and 
are intended solely for addressee.  The information may also be legally 
privileged.  This transmission is sent in trust, for the sole purpose or 
delivery tothe intended recipient.  If you have received this transmiission in 
error, any use, reproduction or dissemination or this transmission is strictly 
prohibited.  If you are not the intended recipient, please immediately notify 
the sender by reply e-mail or at (270) 689-6600 and delete this message and its 
attachments, if any.



org.apache.jasper.JasperException: jsp.error.beans.property.conversion

2007-02-09 Thread Scott Dudley


I've been working on migrating an application from Resin to 
Tomcat-5.5.17 and have one particular JSP and bean that's got me stumped.


When using jsp:setProperty property=*, I get the following exception 
and stack trace:


org.apache.jasper.JasperException: jsp.error.beans.property.conversion
   at 
org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:359)
   at 
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
   at 
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:284)
   at 
org.apache.jsp.callinquirylist_jsp._jspService(callinquirylist_jsp.java:261)

   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
   at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
   at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
   at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at 
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
   at 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
   at 
org.apache.jsp.callinquiryredirect_jsp._jspService(callinquiryredirect_jsp.java:169)

   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

   at com.telesoft.web.GZIPFilter.doFilter(GZIPFilter.java:67)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
   at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
   at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)

   at java.lang.Thread.run(Thread.java:534)

If I instead explicitly list each parameter, it works.

Suspecting a bean introspection issue, I wrote a little ditty that 
checks the type of each bean property and the parameter type of its 
setter method.  All match.  I also checked all request parameters 
against matching property setters in bean and no mismatches.


What should I look for?  I've reviewed 
JspRuntimeLibrary.internalIntrospecthelper() and only candidates I see 
are the method invocations.


Many thanks.

--

Regards,

Scott Dudley

_/_/_/_/_/ _/_/_/ _/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/_/_/
  _/ _/ _/ _/ _/ _/  _/ _/ _/
 _/ _/_/   _/ _/_/   _/_/_/ _/  _/ _/_/   _/
_/ _/ _/ _/ _/ _/  _/ _/ _/
_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] mod_jk replacement?

2007-02-09 Thread babu

Hi,

I am also running with same problem, Please let me know if any settings have
helped to solve this problem.

With regards,

Babulal Satasiya
Cisco System Inc.
Sanjose, CA


JNeuhoff wrote:
 
 Do I remember correctly, that Apache and Tomcat are on the same machine?
 Is there a firewall on this machine?
 
 They are both on the same machine. Apache is listening to a dedicated
 IP-address, on port 80, while Tomcat is configured to using localhost, and
 listens to port 8080 (http) and 8009 (ajp1.3). There is no firewall on
 that machine, because it is located behind a campus-wide firewall on a
 University network. The latter has opened up port 80 for that machine to
 outside users.
 
 The file might get big. I could download from a web site or similar.
 I'll be away for two days, so don't expect an answer before friday.
 
 Thank you very much, I can upload the mod_jk.log tomorrow after the new
 test with the updated settings and let you know on Friday.
 
 J.Neuhoff
 
 
 

-- 
View this message in context: 
http://www.nabble.com/mod_jk-replacement--tf3050993.html#a8894778
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Windows Authentication against multiple domains

2007-02-09 Thread kbpo4
Hi,
 
I am having a tomcat webapplication and logon needs to be done via
windows-authentication (ldap). I configured authentication against ldap,
that works fine for one domain. The problem is, that we are having users in
multiple domains. Is there a way to configure authentication against the
whole active directory forest?
 
Thanks for your help!
 
Uwe
 


RE: Windows Authentication against multiple domains

2007-02-09 Thread Propes, Barry L [GCG-NAOT]
if you find out, please let me know...I'm barking up that tree, too.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 4:50 PM
To: users@tomcat.apache.org
Subject: Windows Authentication against multiple domains


Hi,
 
I am having a tomcat webapplication and logon needs to be done via
windows-authentication (ldap). I configured authentication against ldap,
that works fine for one domain. The problem is, that we are having users in
multiple domains. Is there a way to configure authentication against the
whole active directory forest?
 
Thanks for your help!
 
Uwe
 

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Windows Authentication against multiple domains

2007-02-09 Thread Uwe_77

Sure, I will let you know. Perhaps we need third party tools. Doese someone
knows a solution?
-- 
View this message in context: 
http://www.nabble.com/RE%3A-Windows-Authentication-against-multiple-domains-tf3203321.html#a8895171
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Windows Authentication against multiple domains

2007-02-09 Thread Suneet Shah

Hello,
We have this capability in our open source identity and access management
solution where you can use more then one use more then one repository for
authentication. You may be able to use just the authentication service as
taking on the rest of it may be more then what you need.  The project is
OpenIAM on sourceforge. We will be putting a new release this weekend. If
you are interested in taking a look, let me know and I can send you a link.

Regards
Suneet



On 2/9/07, Uwe_77 [EMAIL PROTECTED] wrote:



Sure, I will let you know. Perhaps we need third party tools. Doese
someone
knows a solution?
--
View this message in context:
http://www.nabble.com/RE%3A-Windows-Authentication-against-multiple-domains-tf3203321.html#a8895171
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Tomcat SSL configure for only one application.

2007-02-09 Thread Cartman

Hi, I want to configure my tomcat server for use ssl but I have some
applicatións working on this server and I don't want that all application
work with ssl, just only one will work with ssl support.   How do I do that?
Thanks.

--
Gracias.
Atentamente,
Carlos Arturo Trujillo Silva
Ingeniero de Sistemas


Re: [OT] mod_jk - tomcat sending delay

2007-02-09 Thread Rainer Jung
Version 1.2.6 of mod_jk is an antiquity. First update before 
investigating the problem.


babu wrote:

Hi,

We are also facing same problem and we are using mod_jk 1.2.6 with apache
2.0.53 and tomcat 5.0.27. Mod_jk is configured with loadbalancer. We have
Apache+mod_jk with LB +  9 tomcats in backend. Mod_jk is set with sticky bit
set.

Partial workers.properites

worker.list=loadbalancer
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tc_1_1,tc_1_2,tc_1_3,tc_2_1,tc_2_2,tc_2_3,tc_3_1,tc_3_2,tc_3_3



worker.tc_1_1.host=cna-prod-app-25
worker.tc_1_1.port=8000
worker.tc_1_1.type=ajp13
worker.tc_1_1.lbfactor=1
worker.tc_1_1.cachesize=50
worker.tc_1_1.cache_timeout=180
worker.tc_1_1.socket_timeout=300
worker.tc_1_1.socket_keepalive=1
worker.tc_1_1.recovery_options=0
worker.tc_1_1.sticky_session=1

server.xml

Connector port=8000
  protocol=AJP/1.3
  address=cna-prod-app-25
  minProcessors=50
  maxProcessors=100
  enableLookups=false
  debug=0
  URIEncoding=UTF-8
  connectionTimeout=18
  /

I found in one of discussion board, that connection timeout in sever.xml and
timeout parameters in workers.properties should be matched properly and also
found that in server.xml its in miliseconds and in workers.properites it is
seconds.


We do not find any issue at client side but erorr keeps going in mod_jk log.
( I am not sure of client side issues are there or not)


mod_jk log

[Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=tc_3_3 failed errno = 0
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.109:8002), err=-1
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=tc_1_3 failed errno = 0
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8001), err=-1
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is probably not started or is listening on the wrong port.
worker=tc_2_2 failed errno = 0
[Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.109:8000), err=-1
[Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=0
[Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8002), err=-1
[Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=1
[Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8002), err=-1
[Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=0
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down
(128.107.229.110:8001), err=-1
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
network problems. No response has been sent to the client (yet)
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=2
[Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c (1477)]: Error connecting to
tomcat. Tomcat is 

Re: Problems with Apache and Tomcat talking

2007-02-09 Thread Rainer Jung
You should tell us, which versions and platform you are using, and also 
your config. I guess you are running on Windows. 61 relates to Winsock 
error 10061, which is connection refused. So it's likely host and port 
of your worker do not match ip and port of your tomcat server.


Also your logs look like you are using a very outdated version of mod_jk.

Regards,

Rainer

Travis Taggart wrote:

Here is the error I am getting in my log file *
 
[Fri Feb 09 15:45:41 2007]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61

[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (635)]: Error connecting to the 
Tomcat process.
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 0
[Fri Feb 09 15:45:41 2007]  [jk_connect.c (143)]: jk_open_socket, connect() 
failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (635)]: Error connecting to the 
Tomcat process.
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 1
[Fri Feb 09 15:45:41 2007]  [jk_connect.c (143)]: jk_open_socket, connect() 
failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (635)]: Error connecting to the 
Tomcat process.
[Fri Feb 09 15:45:41 2007]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 2

 
Now, we are using Groupwise WebAccess. When I go to my webmail site, It pulls up an index page that autoredirects to the /servlet/webacc.  This is where Tomcat should pick up the request and fire up the webacc servlet. 
 
I am only recieving the server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
 
I have gone back and forth through the settings in the Apache folder and in the Tomcat folder to see if a port was mistyped or something, but I have found nothing. 
 
If you could give me an idea of how to go about troubleshooting this error I would be apprecative. 
 
 
 
---

Travis Taggart
Director of Information Technology
River Valley Behavioral Health
Phone: 1.270.689.6600
Fax: 1.270.689.6677
---


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat SSL configure for only one application.

2007-02-09 Thread Hassan Schroeder

On 2/9/07, Cartman [EMAIL PROTECTED] wrote:

Hi, I want to configure my tomcat server for use ssl but I have some
applicatións working on this server and I don't want that all application
work with ssl, just only one will work with ssl support.   How do I do that?


Are you talking about different *hosts* or different webapps within
the same host?

--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] mod_jk - tomcat sending delay

2007-02-09 Thread babu

Hi,

We tried updating it once but we have problem in load balancing and we went
back to original mod_jk which we working fine. We upgraded to 1.2.15, but we
are planing to try out new one 1.2.20, but I am watching this discussion
board and there issues even in 1.2.20 and I have posted because of thius.

With regards,

Babulal Satasiya


Rainer Jung-3 wrote:
 
 Version 1.2.6 of mod_jk is an antiquity. First update before 
 investigating the problem.
 
 babu wrote:
 Hi,
 
 We are also facing same problem and we are using mod_jk 1.2.6 with apache
 2.0.53 and tomcat 5.0.27. Mod_jk is configured with loadbalancer. We have
 Apache+mod_jk with LB +  9 tomcats in backend. Mod_jk is set with sticky
 bit
 set.
 
 Partial workers.properites
 
 worker.list=loadbalancer
 worker.loadbalancer.type=lb
 worker.loadbalancer.balanced_workers=tc_1_1,tc_1_2,tc_1_3,tc_2_1,tc_2_2,tc_2_3,tc_3_1,tc_3_2,tc_3_3
 
 
 
 worker.tc_1_1.host=cna-prod-app-25
 worker.tc_1_1.port=8000
 worker.tc_1_1.type=ajp13
 worker.tc_1_1.lbfactor=1
 worker.tc_1_1.cachesize=50
 worker.tc_1_1.cache_timeout=180
 worker.tc_1_1.socket_timeout=300
 worker.tc_1_1.socket_keepalive=1
 worker.tc_1_1.recovery_options=0
 worker.tc_1_1.sticky_session=1
 
 server.xml
 
 Connector port=8000
   protocol=AJP/1.3
   address=cna-prod-app-25
   minProcessors=50
   maxProcessors=100
   enableLookups=false
   debug=0
   URIEncoding=UTF-8
   connectionTimeout=18
   /
 
 I found in one of discussion board, that connection timeout in sever.xml
 and
 timeout parameters in workers.properties should be matched properly and
 also
 found that in server.xml its in miliseconds and in workers.properites it
 is
 seconds.
 
 
 We do not find any issue at client side but erorr keeps going in mod_jk
 log.
 ( I am not sure of client side issues are there or not)
 
 
 mod_jk log
 
 [Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
 network problems. No response has been sent to the client (yet)
 [Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving
 from
 tomcat failed, recoverable operation. err=2
 [Fri Feb 09 22:00:55 2007]  [jk_ajp_common.c (1477)]: Error connecting to
 tomcat. Tomcat is probably not started or is listening on the wrong port.
 worker=tc_3_3 failed errno = 0
 [Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
 the response message from tomcat, network problems or tomcat is down
 (128.107.229.109:8002), err=-1
 [Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
 network problems. No response has been sent to the client (yet)
 [Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving
 from
 tomcat failed, recoverable operation. err=2
 [Fri Feb 09 22:01:21 2007]  [jk_ajp_common.c (1477)]: Error connecting to
 tomcat. Tomcat is probably not started or is listening on the wrong port.
 worker=tc_1_3 failed errno = 0
 [Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
 the response message from tomcat, network problems or tomcat is down
 (128.107.229.110:8001), err=-1
 [Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
 network problems. No response has been sent to the client (yet)
 [Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving
 from
 tomcat failed, recoverable operation. err=2
 [Fri Feb 09 22:01:41 2007]  [jk_ajp_common.c (1477)]: Error connecting to
 tomcat. Tomcat is probably not started or is listening on the wrong port.
 worker=tc_2_2 failed errno = 0
 [Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
 the response message from tomcat, network problems or tomcat is down
 (128.107.229.109:8000), err=-1
 [Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
 network problems. No response has been sent to the client (yet)
 [Fri Feb 09 22:01:44 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving
 from
 tomcat failed, recoverable operation. err=0
 [Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
 the response message from tomcat, network problems or tomcat is down
 (128.107.229.110:8002), err=-1
 [Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
 network problems. No response has been sent to the client (yet)
 [Fri Feb 09 22:02:03 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving
 from
 tomcat failed, recoverable operation. err=1
 [Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (783)]: ERROR: can't receive
 the response message from tomcat, network problems or tomcat is down
 (128.107.229.110:8002), err=-1
 [Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (1250)]: Tomcat is down or
 network problems. No response has been sent to the client (yet)
 [Fri Feb 09 22:02:49 2007]  [jk_ajp_common.c (1449)]: ERROR: Receiving
 from
 tomcat failed, recoverable operation. err=0
 [Fri Feb 09 22:02:59 2007]  [jk_ajp_common.c 

Re: Tomcat SSL configure for only one application.

2007-02-09 Thread Cartman

Yes, different webapps within the same host.

On 2/9/07, Hassan Schroeder [EMAIL PROTECTED] wrote:


On 2/9/07, Cartman [EMAIL PROTECTED] wrote:
 Hi, I want to configure my tomcat server for use ssl but I have some
 applicatións working on this server and I don't want that all
application
 work with ssl, just only one will work with ssl support.   How do I do
that?

Are you talking about different *hosts* or different webapps within
the same host?

--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Gracias.
Atentamente,
Carlos Arturo Trujillo Silva
Ingeniero de Sistemas


RE: Windows Authentication against multiple domains

2007-02-09 Thread John Najarian
I am yet another barking up that tree.
--- Propes, Barry L [GCG-NAOT]
[EMAIL PROTECTED] wrote:

 if you find out, please let me know...I'm barking up
 that tree, too.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 09, 2007 4:50 PM
 To: users@tomcat.apache.org
 Subject: Windows Authentication against multiple
 domains
 
 
 Hi,
  
 I am having a tomcat webapplication and logon needs
 to be done via
 windows-authentication (ldap). I configured
 authentication against ldap,
 that works fine for one domain. The problem is, that
 we are having users in
 multiple domains. Is there a way to configure
 authentication against the
 whole active directory forest?
  
 Thanks for your help!
  
 Uwe
  
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



getting Session from SessionId

2007-02-09 Thread Mon Cab
I am trying to integrate a web application to an external service, and
need to be able to take an incoming sessionId from the external service
server, and to return details from the session to which that sessionId
applies.  

I understand that there was a getSession(String sessionid) method, in
HttpSessionContext which has since been deprecated.

Does anyone know how I would do this, with the Servlet 2.3 APIs?


 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat SSL configure for only one application.

2007-02-09 Thread Caldarale, Charles R
 From: Cartman [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat SSL configure for only one application.
 
 Hi, I want to configure my tomcat server for use ssl 
 but I have some applicatións working on this server
 and I don't want that all application work with ssl,
 just only one will work with ssl support.

You need to read the servlet spec.  SSL is only used for the portion of each 
webapp that is declared with a security-constraint containing a 
user-data-constraint of CONFIDENTIAL.  Not even the entire webapp has to use 
SSL.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_jk - tomcat sending delay

2007-02-09 Thread Mladen Turk

Marcin Zajączkowski wrote:

Hi,


I observe in mod_jk's log errors:
[error] ajp_get_reply::jk_ajp_common.c (1566): (ajp13w) Tomcat is down 
or refused connection. No response has been sent to the client (yet)




All those error messages are 'normal' :)



servel.xml
  Connector port=8009 address=127.0.0.1
   minProcessors=5 maxProcessors=100
   enableLookups=false acceptCount=100 debug=0
   connectionTimeout=5000 useURIValidationHack=false
   protocol=AJP/1.3/
/servel.xml



Increase connectionTimeout to 6 (1 minute).

The reason you are seeing those messages is because
Tomcat closes his part of connection.
If you wish to lower down the delay add
worker.ajpw13.connection_timeout=6
worker.ajpw13.prepost_timeout=6

Regards,
Mladen.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with Apache and Tomcat talking

2007-02-09 Thread Mladen Turk

Travis Taggart wrote:

Here is the error I am getting in my log file *
 
[Fri Feb 09 15:45:41 2007]  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61


All the threads in the Tomcat are busy.
Increase the maxThreads for AJP/1.3 connector in server.xml

Regards,
Mladen.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]