Re: Apache AJP to 4 TCs

2010-09-09 Thread Andrew Bruno
Hi Mark & Chris, Thank you for the responses. I have gone about and installed a fresh Apache (on a seperate box), and have documented my steps in http://bruniglobal.blogspot.com/2010/09/load-balancing-4-tomcats-with-apache-22.html So far so good. I can load balance across all 4 tomcats, BUT I

conf/Catalina/HOST/contextname.xml being removed

2010-09-09 Thread Jason Britton
Could anyone give me an explanation what might cause my webapp's context configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/ directory? I've got a foo.war file in the webapps directory, it gets exploded upon startup. It has its context definition residing in the file conf/Catalina/

Re: Apache AJP to 4 TCs

2010-09-09 Thread Mark Eggers
Weird. I just updated my environment (on Fedora 13) to support 4 Tomcats and it worked as expected. I verified this by running my test application, watching traffic via jk-manager, and then shutting down (disabling) one mod_jk connection at a time. Clustering worked, farm deployment worked, and

Re: Problems with SSI

2010-09-09 Thread Wesley Acheson
This thread may help. http://www.pubbs.net/201009/tomcat/979-question-on-ssi.html On Thu, Sep 9, 2010 at 10:09 PM, jeffo1b wrote: > > > > Christopher Schultz-2 wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Jeff, >> >> On 9/8/2010 7:46 PM, jeffo1b wrote: >>> Finally, i have a

Re: Problems with SSI

2010-09-09 Thread jeffo1b
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jeff, > > On 9/8/2010 7:46 PM, jeffo1b wrote: >> Finally, i have a file called test.shtml that has the following code: >> > "http://www.w3.org/TR/html4/loose.dtd";> >> >> >> >> tester >> >> >> hi there >

Re: nio ajp connector status

2010-09-09 Thread Mark Thomas
On 09/09/2010 20:02, Christopher Schultz wrote: > Mark, > > On 9/6/2010 3:17 AM, Mark Thomas wrote: >> On 06/09/2010 03:34, Anthony J. Biacco wrote: >>> Anybody know if there's any plans to make this connector >>> production-ready in the near future for 6.x/7.x? >>> Also, what the current major pr

RE: Problems with SSI

2010-09-09 Thread Maximilian Stocker
My apologies, when I hit "submit" it took me to an error page so I did it a few times. As the OP, can I delete? -- This is an email list, not a forum so no. Every time you "submitted" it sent an email which can't be undone. If nabble is giving you troubles you might try actually subscribing to

Re: Problems with SSI

2010-09-09 Thread jeffo1b
Pid * wrote: > > On 09/09/2010 14:57, jeffo1b wrote: >> >> I've tried following all of the advice in the previous threads, but I'm >> up >> against a wall here. >> >> I have added > "http://www.w3.org/TR/html4/loose.dtd";> >> >> >> >> tester >> >> >> hi there >> >> >> >> The "inc.html

Re: Problems with SSI

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, On 9/8/2010 7:46 PM, jeffo1b wrote: > Finally, i have a file called test.shtml that has the following code: > "http://www.w3.org/TR/html4/loose.dtd";> > > > > tester > > > hi there > > > > The "inc.html" file is in the same directory as

Re: Problems with SSI

2010-09-09 Thread jeffo1b
awarnier wrote: > > jeffo1b wrote: >> I've tried following all of the advice in the previous threads, but I'm >> up >> against a wall here. >> >> I have added The "web.xml" and "context.xml" files of a web application should not be > in the same > directory, as far as I recall. > I believe i

Re: nio ajp connector status

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/6/2010 3:17 AM, Mark Thomas wrote: > On 06/09/2010 03:34, Anthony J. Biacco wrote: >> Anybody know if there's any plans to make this connector >> production-ready in the near future for 6.x/7.x? >> Also, what the current major problems/gotc

Re: URL Rewrite

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michel, On 9/5/2010 6:23 PM, michel wrote: > - Original Message - From: "Hassan Schroeder" > > To: "Tomcat Users List" > Sent: Sunday, September 05, 2010 12:07 PM > Subject: Re: URL Rewrite > > > On Sun, Sep 5, 2010 at 8:38 AM, André Warni

Re: interaction between .forward() and

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 9/4/2010 11:42 AM, Brian McBride wrote: > On 04/09/2010 15:27, Jason Britton wrote: >> I would look at a servlet filter to provide this sort of dynamic access >> control. > That's what I'm doing. The filter needs to know the user id - and I

Re: Apache AJP to 4 TCs

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 9/9/2010 2:00 AM, Andrew Bruno wrote: > [Wed Sep 08 22:57:36 2010] [6912:6336] [debug] jk_worker.c (242): > creating worker loadbalancer > [Wed Sep 08 22:57:36 2010] [6912:6336] [debug] jk_worker.c (146): > about to create instance loadbala

Re: Multi level webapp

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oscar, On 9/9/2010 7:23 AM, Oscar Segarra Rey wrote: > Yes but... we have a deployment tool which is not able to unzip the war file. What kind of tool is that? > Is there any way to instruct the system to find some war's and deploy them ? find -nam

Re: [OT] Multi level webapp

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/9/2010 6:38 AM, Mark Thomas wrote: > > Hmm. I wonder if there is a URL being constructed somewhere where the > '#' is not escaped. I had a similar problem when using Cocoon with Tomcat: a multi-level URI-based WAR gets deployed into a dir

Re: Unable to get any information why jsp page fails to generate code

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kannan, On 9/9/2010 11:27 AM, Kannan Jayaprakasam wrote: > I discovered that in web.xml some error pages were mentioned as > genericError.htm but this file existed no where. I removed the setting of > error pages from web.xml. But now when a jsp pag

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 16:30, Wesley Acheson wrote: > On Thu, Sep 9, 2010 at 4:11 PM, Mark Thomas wrote: >> On 09/09/2010 14:21, Wesley Acheson wrote: >>> Oscar, >>> >>> I've only one last suggestion if you need it to work this way. And >>> that would be to front tomcat with apache httpd. >>> >>> Use mod_p

RE: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread Caldarale, Charles R
> From: John Baker [mailto:jba...@javasystemsolutions.com] > Subject: Re: 2 second delays in mod_jk while "maintaining workers" > some of our JBoss instances are showing a large number > ajp threads that seem to be in keep alive mode but are > well beyond the connectionTimeout defined in server.

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
On Thu, Sep 9, 2010 at 4:11 PM, Mark Thomas wrote: > On 09/09/2010 14:21, Wesley Acheson wrote: >> Oscar, >> >> I've only one last suggestion if you need it to work this way. And >> that would be to front tomcat with apache httpd. >> >> Use mod_proxy_http or similar along with a rewrite rule. > >

RE: Unable to get any information why jsp page fails to generate code

2010-09-09 Thread Kannan Jayaprakasam
I discovered that in web.xml some error pages were mentioned as genericError.htm but this file existed no where. I removed the setting of error pages from web.xml. But now when a jsp page fails to compile, nothing at all gets written to stdout (earlier there was a stracktrace mentioning /gener

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
On Thursday 09 September 2010 16:08:04 you wrote: > On 09/09/2010 04:48 PM, John Baker wrote: > > > > > > On Thursday 09 September 2010 15:45:44 you wrote: > >> Nice. > > > > I spoke too soon. I'm now trying to figure out how to print out the IP > > address of the socket (I don't really do C) s

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread Mladen Turk
On 09/09/2010 04:48 PM, John Baker wrote: On Thursday 09 September 2010 15:45:44 you wrote: Nice. I spoke too soon. I'm now trying to figure out how to print out the IP address of the socket (I don't really do C) so I can log the socket that caused the poll to timeout, and compare with a

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
Interestingly, some of our JBoss instances are showing a large number ajp threads that seem to be in keep alive mode but are well beyond the connectionTimeout defined in server.xml (which is set to 9): Max threads: 40 Current thread count: 40 Current thread busy: 40 Max processing time: 5563

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
I would be happy to share all my evidence and write a report once we get to the bottom of this problem. Any hints on printing out the socket IP (i.e. of Tomcat)? On Thursday 09 September 2010 15:47:33 you wrote: > On 09/09/2010 03:22 PM, John Baker wrote: > > > > Do you fancy putting that change

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
On Thursday 09 September 2010 15:45:44 you wrote: > Nice. I spoke too soon. I'm now trying to figure out how to print out the IP address of the socket (I don't really do C) so I can log the socket that caused the poll to timeout, and compare with a tcpdump.

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread Mladen Turk
On 09/09/2010 03:22 PM, John Baker wrote: Do you fancy putting that change into the next release of mod_jk? BTW, do you fancy opening BZ report fill in what we tried so far and the actual solution, so we can track that down for the next releases and patches? Regards -- ^TM -

Re: Best practice for running Tomcat on port 80

2010-09-09 Thread Pid
On 09/09/2010 15:42, Frank Tilugulilwa wrote: > On Thu, 2010-09-09 at 22:12 +0800, jan gestre wrote: > >>> >>> There's examples of shell scripts called Tomcat.sh, Tomcat5.sh in the >>> unix directory subtree, which may help. Use Tomcat5.sh as a template. >>> >>> It demonstrates how to use & conf

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread Mladen Turk
On 09/09/2010 03:22 PM, John Baker wrote: On Thursday 09 September 2010 13:59:50 you wrote: If that doesn't help, it's obvious the Tomcat doesn't close the socket, so should be investigated why. Like said before, either the Tomcat doesn't respond to shutdown or the shutdown's FIN packet isn't s

Re: Best practice for running Tomcat on port 80

2010-09-09 Thread Pid
On 09/09/2010 15:12, jan gestre wrote: >> >> There's examples of shell scripts called Tomcat.sh, Tomcat5.sh in the >> unix directory subtree, which may help. Use Tomcat5.sh as a template. >> >> It demonstrates how to use & configure the jsvc binary. >> >> >> p >> > Hi Pid, > > I was able to start

Re: Best practice for running Tomcat on port 80

2010-09-09 Thread Frank Tilugulilwa
On Thu, 2010-09-09 at 22:12 +0800, jan gestre wrote: > > > > There's examples of shell scripts called Tomcat.sh, Tomcat5.sh in the > > unix directory subtree, which may help. Use Tomcat5.sh as a template. > > > > It demonstrates how to use & configure the jsvc binary. > > > > > > p > > > Hi Pid,

Re: Problems with SSI

2010-09-09 Thread Pid
On 09/09/2010 14:57, jeffo1b wrote: > > I've tried following all of the advice in the previous threads, but I'm up > against a wall here. > > I have added "http://www.w3.org/TR/html4/loose.dtd";> > > > > tester > > > hi there > > > > The "inc.html" file is in the same directory as the te

Re: Best practice for running Tomcat on port 80

2010-09-09 Thread jan gestre
> > There's examples of shell scripts called Tomcat.sh, Tomcat5.sh in the > unix directory subtree, which may help.  Use Tomcat5.sh as a template. > > It demonstrates how to use & configure the jsvc binary. > > > p > Hi Pid, I was able to start Tomcat by using Tomcat5.sh just like you suggested bu

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 14:21, Wesley Acheson wrote: > Oscar, > > I've only one last suggestion if you need it to work this way. And > that would be to front tomcat with apache httpd. > > Use mod_proxy_http or similar along with a rewrite rule. Bad idea. I have seen far too many apps break in all sorts of

Problems with SSI

2010-09-09 Thread jeffo1b
I've tried following all of the advice in the previous threads, but I'm up against a wall here. I have added http://www.w3.org/TR/html4/loose.dtd";> tester hi there The "inc.html" file is in the same directory as the test.html file. when I run the file, i simply see the "hi there" and no

RE: mod_jk not creating worker other than ajp13 - solved

2010-09-09 Thread Pushkar Tiwari
Hey André, Thanks for quick suggestion. Actually the problem was lying in my text editor in which I m editing my worker.properties files...some how it adds few special characters in the file.I found when I opened the same file in notepad. Now its working properly after removing those unwanted ch

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
Hi, Ok, thanks a lot!!! Oscar Segarra Rey Àrea de tecnologies de la informació i les comunicacions Departament de la Presidència C/ Sant Honorat 1-3 - 08002 Barcelona 934024834 -Mensaje original- De: Wesley Acheson [mailto:wesley.ache...@gmail.com] Enviado el: dijous, 9 / setembre / 2

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
On Thursday 09 September 2010 13:59:50 you wrote: > > > > If that doesn't help, it's obvious the Tomcat > > doesn't close the socket, so should be investigated > > why. Like said before, either the Tomcat doesn't > > respond to shutdown or the shutdown's FIN packet > > isn't send to the Tomcat or

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
Oscar, I've only one last suggestion if you need it to work this way. And that would be to front tomcat with apache httpd. Use mod_proxy_http or similar along with a rewrite rule. I don't understand why path would be ignored in context.xml but that is the way it is, and I wasn't looking at these

RE: Multi level webapp

2010-09-09 Thread Caldarale, Charles R
> From: Wesley Acheson [mailto:wesley.ache...@gmail.com] > Subject: Re: Multi level webapp > It was my understanding that you would just need to enter path > in the context.xml No - that's not allowed. The path attribute is ignored unless the element is in server.xml - where it should never

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread Jim Jagielski
On Sep 9, 2010, at 8:34 AM, Mladen Turk wrote: > On 09/09/2010 02:09 PM, John Baker wrote: >> Thanks for the feedback. >> >> Can you tell me why this if statement exists: >> >> if (poll(&fds, 1, timeout)> 0) >>{ >>... >>} >>else >> break; >

Re: mod_jk not creating worker other than ajp13

2010-09-09 Thread André Warnier
Pushkar Tiwari wrote: Hi All, I am trying to connect Tomcat 6.0.16 with Apache 2.2.16 through mod_jk 1.2.30 on Win XP service pack 3 32 bit platform. I have followed following steps: * Placing mod_jk.so into apache/modules. * Creating mod_jk.conf & workers.properties files in apache/co

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
> It was my understanding that you would just need to enter path in the > context.xml > > > > > > > > But that doesn't seem to work for me. Nevermind just re-read the documentation. - To unsubscribe, e-mail: users-unsubscr...@

Re: mod_jk not creating worker other than ajp13

2010-09-09 Thread Mladen Turk
On 09/09/2010 02:14 PM, Pushkar Tiwari wrote: Hi All, JkMount /TestLB1 jvm1 JkMount /TestLB1/* jvm1 JkShmFile logs/jk.shm # mod_jk.conf end JkMountCopy All Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomca

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Mladen Turk
On 09/09/2010 02:19 PM, Amol Puglia wrote: Hello Mladen, I am still getting 500 error while accessing tomcat trhough apache. I have added following entry as suggested by you in httpd.conf file. JkMount /eMatrix/* loadbalancer;use_server_errors=500 Sorry, that wold actually force Apache erro

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread Mladen Turk
On 09/09/2010 02:09 PM, John Baker wrote: Thanks for the feedback. Can you tell me why this if statement exists: if (poll(&fds, 1, timeout)> 0) { ... } else break; It appears to be at fault. poll returns positive number if there is so

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
On Thu, Sep 9, 2010 at 1:24 PM, Pid wrote: > On 09/09/2010 10:47, Oscar Segarra Rey wrote: >> When application starts up it creates automatically a file in the >> WEB-INF\classes folder called dfc.keystore > > Why not create it in the temporary directory assigned to the > application, instead? >

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
Hi, Below are the messages from the tomcat log files. INFO: Server startup in 12155 ms (http-8083-1) 2010-09-09 14:12:16: Trace.init: Trace level is 3, Tracing elapsed times, Nesting level -1 14:12:16 DEBUG http-8083-1 [ Controller.init] 14:12:16 DEBUG http-8083-1 [ Controller.init] com.ericss

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
Hello Mladen, I am still getting 500 error while accessing tomcat trhough apache. I have added following entry as suggested by you in httpd.conf file. JkMount /eMatrix/* loadbalancer;use_server_errors=500 kindly check. --- On Thu, 9/9/10, Mladen Turk wrote: From: Mladen Turk Subject: Re: To

mod_jk not creating worker other than ajp13

2010-09-09 Thread Pushkar Tiwari
Hi All, I am trying to connect Tomcat 6.0.16 with Apache 2.2.16 through mod_jk 1.2.30 on Win XP service pack 3 32 bit platform. I have followed following steps: * Placing mod_jk.so into apache/modules. * Creating mod_jk.conf & workers.properties files in apache/conf * Modifying https.

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
Thanks for the feedback. Can you tell me why this if statement exists: if (poll(&fds, 1, timeout) > 0) { ... } else break; It appears to be at fault. John - To unsubscribe,

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Mladen Turk
On 09/09/2010 01:01 PM, Amol Puglia wrote: Hello Pid, I have set the jk log level to debug and i can see following messages in the mod_jk log. It seems request is going to tomcat and apache is giving 500 error messages. Because Tomcat returns 500 To see the tomcat generated page instead Ap

Re: Multi level webapp

2010-09-09 Thread Pid
On 09/09/2010 10:47, Oscar Segarra Rey wrote: > When application starts up it creates automatically a file in the > WEB-INF\classes folder called dfc.keystore Why not create it in the temporary directory assigned to the application, instead? getServletContext().getAttribute("javax.servlet.conte

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
Hi, Yes but... we have a deployment tool which is not able to unzip the war file. Is there any way to instruct the system to find some war's and deploy them ? Thanks again for your quick response. Oscar Segarra Rey Àrea de tecnologies de la informació i les comunicacions Departament de la Pres

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Pid
On 09/09/2010 12:01, Amol Puglia wrote: > Hello Pid, > > I have set the jk log level to debug and i can see following messages in the > mod_jk log. > > It seems request is going to tomcat and apache is giving 500 error messages. > > kindly let me know how to proceed further. Please provide err

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 12:12, Oscar Segarra Rey wrote: > Hi, > > Yes, but in this case system will not automatically explode .war files. Isn't > it ? Correct. You'd need to do that as part of your deployment process. Mark - To unsubsc

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
Hi, Yes, but in this case system will not automatically explode .war files. Isn't it ? Thanks a lot for your quick response. Oscar Segarra Rey Àrea de tecnologies de la informació i les comunicacions Departament de la Presidència C/ Sant Honorat 1-3 - 08002 Barcelona 934024834 -Mensaje o

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
Hi, Not exactly, http://localhost/Gabjur is not a real application. Gabjur is just the name of the department where the rest of application belongs to. No, applications do not share anything at webapp level (they do at Dataase Level). I'm using tomcat 6.0.24. Whan applications like http://lo

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
Hello Pid, I have set the jk log level to debug and i can see following messages in the mod_jk log. It seems request is going to tomcat and apache is giving 500 error messages. kindly let me know how to proceed further. [Thu Sep 09 12:16:49 2010] [1723:1] [debug] ajp_unmarshal_response::jk_aj

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 10:47, Oscar Segarra Rey wrote: > Hi, > > We have an application (Gabjur) composed for several modules (AD, AX, FD...) > that should be served throug: > > http://localhost/Gabjur/AD > http://localhost/Gabjur/AX > http://localhost/Gabjur/FD... > > 1.- I have created the context fil

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
If I understand correctly you want to serve content from http://localhost/Gabjur from one web application and another application from http://localhost/Gabjur/AD etc. Is that the requirement or am I missing anything. Do these war files have any interconnected content? What version of tomcat are yo

Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
Hi, We have an application (Gabjur) composed for several modules (AD, AX, FD...) that should be served throug: http://localhost/Gabjur/AD http://localhost/Gabjur/AX http://localhost/Gabjur/FD... 1.- I have created the context file Gabjur#AD.xml, Gabjur#AX.xml and so on... 2.- I have renamed the

Re: pool error timeout waiting for idle object

2010-09-09 Thread Mark Thomas
On 09/09/2010 10:17, sasidhar prabhakar wrote: > tomcat - 6 > oracle 11g > centos 5 > jdbc type 4 That information isn't close to complete and is pretty much useless. When asked for a version number, please provide the *full* version number. You also missed out the JDBC driver version. This is a

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Pid
On 09/09/2010 09:59, Mladen Turk wrote: > On 09/09/2010 09:28 AM, Amol Puglia wrote: >> Hello Team, >> >> We have also noticed that jk module is loading properly in apache. >> >> [Tue Sep 07 09:43:29 2010] [notice] Apache/2.0.59 (Unix) mod_jk/1.2.24 >> DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.7d configured

Re: pool error timeout waiting for idle object

2010-09-09 Thread sasidhar prabhakar
tomcat - 6 oracle 11g centos 5 jdbc type 4 the thread dump some of threads are "http-80-262" daemon prio=1 tid=0x73048fd8 nid=0x268a waiting for monitor entry [0x6f975000..0x6f9760b0] at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)

Re: unusual mod_jk 1.2.30 log messages

2010-09-09 Thread Brett Delle Grazie
On Thu, 2010-09-09 at 09:18 +0100, Brett Delle Grazie wrote: > On Tue, 2010-09-07 at 08:00 +0100, Brett Delle Grazie wrote: > > On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > > > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > > > Hi, > > > > > > > > We're having some strange errors bei

Re: pool error timeout waiting for idle object

2010-09-09 Thread Mark Thomas
On 09/09/2010 07:57, sasidhar prabhakar wrote: > My application sometimes responding very slow. > When I observed the logs, it is showing these lines > > Cannot get a connection, pool error Timeout waiting for idle object. > The maximum connections on oracle I set 150. > maxActive="200" Tha

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Mladen Turk
On 09/09/2010 09:28 AM, Amol Puglia wrote: Hello Team, We have also noticed that jk module is loading properly in apache. [Tue Sep 07 09:43:29 2010] [notice] Apache/2.0.59 (Unix) mod_jk/1.2.24 DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.7d configured -- resuming normal operations Beside that it loads,

Re: unusual mod_jk 1.2.30 log messages

2010-09-09 Thread Brett Delle Grazie
On Tue, 2010-09-07 at 08:00 +0100, Brett Delle Grazie wrote: > On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > > Hi, > > > > > > We're having some strange errors being reported in the 1.2.30 version of > > > mod_jk. We think they might b

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
Hello Andrew, Thanks for the response. I have tried the alternatives provided by you,but it didnt worked for me. Yes, I have enabled ssl at apache level. #Load Balance worker configuration worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=tomcat1,tomcat2 worker.loadbalancer.ba

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Andrew Bruno
Hi Amol, I am trying to do the exact same thing. It works for two workers, but fails as soon as I add one worker. Can you please try these alternatives, and let me know if it works for you? worker.loadbalancer.balanced_workers=tomcat1,tomcat2 worker.loadbalancer.balanced_workers=tomcat1,tomcat

Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
Hello Team, We have installed one instance of apache and 3 instance of tomcat. We have compiled mod_jk module to forward request to 3 instance of tomcat. We have configured workers.properties and it is loaded in httpd.conf file. We are successfully able to redirect request to plain tomcat insta

Re: pool error timeout waiting for idle object

2010-09-09 Thread sasidhar prabhakar
yes I can get through SQLDeveloper. On Thu, Sep 9, 2010 at 12:32 PM, Wesley Acheson wrote: > On Thu, Sep 9, 2010 at 8:57 AM, sasidhar prabhakar > wrote: > > My application sometimes responding very slow. > > When I observed the logs, it is showing these lines > > > > Cannot get a connection, p

Re: pool error timeout waiting for idle object

2010-09-09 Thread Wesley Acheson
On Thu, Sep 9, 2010 at 8:57 AM, sasidhar prabhakar wrote: > My application sometimes responding very slow. > When I observed the logs, it is showing these lines > > Cannot get a connection, pool error Timeout waiting for idle object. > > The maximum connections on oracle I set 150. > When I query