Re: Apache 2.2.3(mod_proxy_ajp) - Tomcat 6.0.13 Loadbalancing - error logs in apache

2010-03-05 Thread jkv
Thanks for the reply Ster, Find someone who does., sorry when I said privilege I actually meant option, that is I cannot install a new Apache over the older 2.2.3 and we have to go with the default configuration. Because they have chosen RHEL 5.4 as the platform and it comes with 2.2.3 version,

class loaded twice when sharing wlfullclient.jar by two web apps

2010-03-05 Thread Michal Bunarowski
ClassCastException occurs in my web app, because classloaders load the same class twice, when two web apps share WebLogic wlfullclient.jar. Any idea how to avoid that? Details below. Project set-up: - Tomcat 6.0.13 + Weblogic 10.0 - wlfullclient.jar is placed in TOMCAT_HOME\lib. - two web apps

IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Jason Foy
Hi guys, I have a need for IIS 7 to load 32-bit Tomcat connector since for some reason our 64-bit Tomcat connector works in some way but not completely behave same as IIS 6 / 32-bit connector. I got following error Calling LoadLibraryEx on ISAPI filter D:\Tomcat\Jakarta Isapi

Re: jvm exits without trace

2010-03-05 Thread Taylan Develioglu
Pid, that would assume we had a working 1.6.10 version before that we replaced. We've run 1.6.10 upwards succesfully for a very long time. So I don't see the point in doing this. On Wed, 2010-03-03 at 12:00 +0100, Pid wrote: On 03/03/2010 09:11, Taylan Develioglu wrote: Downgrading to

Re: POST to a url

2010-03-05 Thread Pid
On 05/03/2010 05:48, vishalsant wrote: I have a POST I need to a do to a url ( through Apache Jmeter and in fact any descent programmatic HTTP request libraries) I have my servlet is a war ( test.war ) with the web.xml having the correct url mapping servlet

Re: Apache 2.2.3(mod_proxy_ajp) - Tomcat 6.0.13 Loadbalancing - error logs in apache

2010-03-05 Thread Pid
On 05/03/2010 08:01, jkv wrote: Thanks for the reply Ster, Find someone who does., sorry when I said privilege I actually meant option, that is I cannot install a new Apache over the older 2.2.3 and we have to go with the default configuration. Because they have chosen RHEL 5.4 as the platform

Re: class loaded twice when sharing wlfullclient.jar by two web apps

2010-03-05 Thread Pid
On 05/03/2010 08:17, Michal Bunarowski wrote: ClassCastException occurs in my web app, because classloaders load the same class twice, when two web apps share WebLogic wlfullclient.jar. Any idea how to avoid that? Details below. Project set-up: - Tomcat 6.0.13 + Weblogic 10.0 - wlfullclient.jar

Re: class loaded twice when sharing wlfullclient.jar by two web apps

2010-03-05 Thread Mark Thomas
On 05/03/2010 08:17, Michal Bunarowski wrote: ClassCastException occurs in my web app, because classloaders load the same class twice, when two web apps share WebLogic wlfullclient.jar. Any idea how to avoid that? Details below. Don't share the jar. Deploy a separate copy with each web

Re: jvm exits without trace

2010-03-05 Thread Pid
On 05/03/2010 08:41, Taylan Develioglu wrote: Pid, that would assume we had a working 1.6.10 version before that we replaced. That it would. We've run 1.6.10 upwards succesfully for a very long time. So I don't see the point in doing this. I must have missed that. How is the HTTP

Re: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Mladen Turk
On 03/05/2010 09:22 AM, Jason Foy wrote: Hi guys, I have a need for IIS 7 to load 32-bit Tomcat connector since for some reason our 64-bit Tomcat connector works in some way but not completely behave same as IIS 6 / 32-bit connector. I got following error Calling LoadLibraryEx on ISAPI

Re: Deploy war

2010-03-05 Thread Pid
On 05/03/2010 06:08, Kaushal Shriyan wrote: On Wed, Mar 3, 2010 at 9:22 PM, Gurkan Erdogducgurkanerdo...@gmail.com wrote: I wonder whether you have looked at http://tomcat.apache.org/tomcat-6.0-doc/index.html or not 2010/3/3 Kaushal Shriyankaushalshri...@gmail.com On Wed, Mar 3, 2010 at

RE: class loaded twice when sharing wlfullclient.jar by two web apps

2010-03-05 Thread Michal Bunarowski
Reason: At the server startup, WebLogic GenericClassLoader (that is provided within wlfullclient.jar) is loaded and it sets WepApp1ClassLoader as its parent. Well that'll be your problem then. Why is it setting that classloader - what are you doing in WebApp1 to initialise the

RE: HttpServletRequest.getParameter() inside a valve

2010-03-05 Thread PAROLINI Antonio
Hey, Thanks for your analyse. I guess the only way out of this is to prevent the use of getparameter() in case of a HTTP post. This may be ok for us, as our secuId is sent using the querystring, thus HTTP GET. I've seen a place where request.getParameter() is used thus: in FormAuthenticator.

RE: class loaded twice when sharing wlfullclient.jar by two web apps

2010-03-05 Thread Michal Bunarowski
ClassCastException occurs in my web app, because classloaders load the same class twice, when two web apps share WebLogic wlfullclient.jar. Any idea how to avoid that? Details below. Don't share the jar. Deploy a separate copy with each web application. We've been considering this. It

Re: jvm exits without trace

2010-03-05 Thread Taylan Develioglu
It's performing rather poorly performance wise, compared to the apr connector. The number of threads required to handle the requests has gone up significantly over the board. Stability wise, I don't have complaints yet. I'm keeping my fingers crossed. On Fri, 2010-03-05 at 10:09 +0100, Pid

RE: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread David Bolsover
Pid Sorry I probably should have looked at this before sending my previous mail. The attached is the extracted HTML code corresponding to the images in question - I have sampled from both the 'bad' - windows 7 machine and the 'good' Server 2008 machine. There are clear differences. DB

Tomcat response Blank Page

2010-03-05 Thread Shirely
I have a Tomcat 6.0 run at Window Server 2008. We mainly used it to show some dynamic JSP by running java method at background. However, I found that tomcat server sometimes run abnormally. When we use a web browser, e.g. IE 8 to access the Tomcat jsp page. sometimes, it can show the page

2 windows services on the same tomcat 5.5 instance

2010-03-05 Thread gasp_marino
Hi, i am a new tomcat user...i have read that i can install 2 tomcat instance on the same machine... But what about to have 2 windows services on the same tomcat instance/home?? I'm working on windows server (2003-2008) and Tomcat 5.5.28 Can I create another service, may be listen on another

Re: 2 windows services on the same tomcat 5.5 instance

2010-03-05 Thread Peter Crowther
One Tomcat instance = one process = one service. But you can create two or more copies of Tomcat. They can be the same or different versions. If you want, they can share binaries and just have different working, config and webapps directories. You can register each of them as a service, and

RE: 2 windows services on the same tomcat 5.5 instance

2010-03-05 Thread Hadole, Nishant IN BOM SISL
Dear Gaspare, As suggested by Peter, if you are interested in creating two copies of tomcat on same host, attached document might help you. With best regards, Nishant Hadole Siemens IT Solutions and Services Mailto: nishant.had...@siemens.com -Original Message- From:

Re: 2 windows services on the same tomcat 5.5 instance

2010-03-05 Thread gasp_marino
Yes, it'right... I need one tomcat due to production upgrade and mantainance problem (it can be a customer request...) Thanks a lot Gaspare -- Initial Header --- From : peter.crowth...@googlemail.com To : Tomcat Users List users@tomcat.apache.org Cc :

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Mladen Turk
On 03/05/2010 10:47 AM, David Bolsover wrote: Hi Pid I don't know if significant, but I have once seen a message generated by the 1.2.30.dll - something along the lines of the 'the server is busy'... I see you have connection errors to Tomcat. You should resolve those at the first place.

RE: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread David Bolsover
Hi Mladen I've tried setting connection_pool_size=25 but no help. I've also taken a look at the HTML actually being rendered - clearly different between W7 / S2K8 - see attached. DB -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: 05 March 2010 11:53 To: Tomcat

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Pid
On 05/03/2010 10:02, David Bolsover wrote: Pid Sorry I probably should have looked at this before sending my previous mail. The attached is the extracted HTML code corresponding to the images in question - I have sampled from both the 'bad' - windows 7 machine and the 'good' Server 2008

Re: NIO Connector results in requests with no responses

2010-03-05 Thread Ashish Jain
On Fri, Mar 5, 2010 at 8:35 AM, Ashish Jain ashja...@gmail.com wrote: Hi, I am having an application which is based on comet and dojo. The application uses ActiveMQ to publish messages.I am using firebug to see the request/response of the XMLHttprrequests. I see a difference in behaviour in

Re: NIO Connector results in requests with no responses

2010-03-05 Thread Mark Thomas
On 05/03/2010 13:25, Ashish Jain wrote: On Fri, Mar 5, 2010 at 8:35 AM, Ashish Jain ashja...@gmail.com wrote: Hi, I am having an application which is based on comet and dojo. The application uses ActiveMQ to publish messages.I am using firebug to see the request/response of the

Re: NIO Connector results in requests with no responses

2010-03-05 Thread Ashish Jain
Hi Mark, Since I have registered today to the users@tomcat.apache.org I was not sure if my registration has been successful. So I was confused if my question has made it to the list and that is the reason I have re-posted it. Thanks Ashish On Fri, Mar 5, 2010 at 7:01 PM, Mark Thomas

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread André Warnier
David Bolsover wrote: Hi Mladen I've tried setting connection_pool_size=25 but no help. I've also taken a look at the HTML actually being rendered - clearly different between W7 / S2K8 - see attached. That is a puzzling factor. The link is embedded in a html page returned by Tomcat. To

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Pid
On 05/03/2010 12:56, Pid wrote: On 05/03/2010 10:02, David Bolsover wrote: Pid Sorry I probably should have looked at this before sending my previous mail. The attached is the extracted HTML code corresponding to the images in question - I have sampled from both the 'bad' - windows 7 machine

RE: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Jason Foy
Hi Turk, I forgot the wow64 entry. Now it is working. You are absolutely right. The 64-bit and 32-bit do behave the same. Now I don't know what to do any more. I have a chatting application working well on windows 2003/IIS6(32-bit). The chatting application enables person1 to talk to

Re: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread André Warnier
Jason Foy wrote: Hi Turk, I forgot the wow64 entry. Now it is working. You are absolutely right. The 64-bit and 32-bit do behave the same. Now I don't know what to do any more. I have a chatting application working well on windows 2003/IIS6(32-bit). The chatting application enables

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Rainer Jung
On 05.03.2010 15:04, Pid wrote: On 05/03/2010 12:56, Pid wrote: On 05/03/2010 10:02, David Bolsover wrote: Pid bad - windows 7 32bit img id=j_id_jsp_1541835357_13:media style=width: 250px; height: 200px;

Re: Tomcat response Blank Page

2010-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shirley, On 3/5/2010 5:05 AM, Shirely wrote: I have a Tomcat 6.0 run at Window Server 2008. We mainly used it to show some dynamic JSP by running java method at background. However, I found that tomcat server sometimes run abnormally. I see a

RE: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Jason Foy
Andre, That is actually what I meant. IIS 7 is supposed to send the javascript back to person1's web browser. You are correct that the parent frame will execute the received javascript. The problem here is that IIS 7 does not send the received data from ISAPI filter. I used wireshark on

Re: jvm exits without trace

2010-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylan, On 3/5/2010 4:45 AM, Taylan Develioglu wrote: It's performing rather poorly performance wise, compared to the apr connector. The number of threads required to handle the requests has gone up significantly over the board. That's

RE: jvm exits without trace

2010-03-05 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: jvm exits without trace Do you have a lot of static resources being served? Or still allow keep-alives with the non-NIO connector? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: Tomcat response Blank Page

2010-03-05 Thread Shirely
I just try a very very simple code, here is the code. %@ page language=java import=java.text.*, java.util.*, tools.* errorPage= % % int count = 0; if(session.getAttribute(WH_Count)!= null){ Integer t = (Integer)session.getAttribute(WH_Count); count = t.intValue(); } count++;

Re: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread André Warnier
Jason, Jason Foy wrote: That is actually what I meant. IIS 7 is supposed to send the javascript back to person1's web browser. You have to be more precise about how this works. I am not trying to split hairs, just to understand precisely what may be happening. Because the IIS/Tomcat

Re: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Mladen Turk
On 03/05/2010 03:32 PM, Jason Foy wrote: Hi Turk, It's Mladen :) [Fri Mar 05 09:09:26.794 2010] [7040:11432] [debug] jk_isapi_plugin.c (1194): Writing 68 bytes of data to client [Fri Mar 05 09:09:26.794 2010] [7040:11432] [debug] jk_isapi_plugin.c (1207): Wrote 68 bytes of data

RE: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread David Bolsover
I'm not sure I'm any further along with this... If I take this first URL (from Tomcat port 8080) and paste into my browser address bar, I get the expected image.

RE: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Jason Foy
I want to make this more clear. The chat client sends HTTP get to web server to initate a chat session. In the back end, java servlet gets this request and form a loop to prevent the session from ending,meanwhile spawn another thread to connect to person2 using plain socket. Person1 use HTTP

RE: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Jason Foy
Forgot to mention the javascript function is defined in the same html page. From: jason12...@hotmail.com To: users@tomcat.apache.org Subject: RE: IIS 7 is unable to load 32-bit Tomcat connector Date: Fri, 5 Mar 2010 11:11:22 -0500 I want to make this more clear. The chat client sends

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread André Warnier
David Bolsover wrote: I'm not sure I'm any further along with this... If I take this first URL (from Tomcat port 8080) and paste into my browser address bar, I get the expected image.

RE: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Jason Foy
Hi Mladen :) I went to IIS 7 and unchecked both Enable cache and Enable kernal cache and did iisreset. It still not working. Any other ideas? Hopefully I am not asking you too much. Thanks, Jason Date: Fri, 5 Mar 2010 16:23:11 +0100 From: mt...@apache.org To: users@tomcat.apache.org

Re: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread André Warnier
Jason Foy wrote: I want to make this more clear. mmm. ;-) The chat client sends HTTP get to web server to initate a chat session. Ok, who/what is the chat client ? is it a browser ? is it something running in a browser ? In the back end, java servlet gets this request and form a loop to

RE: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread David Bolsover
Hi Andre I think the point is that the redirector IS messing with the page content. The ONLY difference between these two extracts is that one was served directly by tomcat the second via IIS /redirector to tomcat. Both of these extracts are from the problem W7 machine. I did not even close

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Rainer Jung
On 05.03.2010 17:28, André Warnier wrote: David Bolsover wrote: I'm not sure I'm any further along with this... If I take this first URL (from Tomcat port 8080) and paste into my browser address bar, I get the expected image.

Re: IIS 7 is unable to load 32-bit Tomcat connector

2010-03-05 Thread Mladen Turk
On 03/05/2010 05:30 PM, Jason Foy wrote: Hi Mladen :) I went to IIS 7 and unchecked both Enable cache and Enable kernal cache and did iisreset. It still not working. Any other ideas? Hopefully I am not asking you too much. No idea. Try with some console client like curl or wget if possible

Re: Tomcat response Blank Page

2010-03-05 Thread Pid
On 05/03/2010 15:09, Shirely wrote: I just try a very very simple code, here is the code. %@ page language=java import=java.text.*, java.util.*, tools.* errorPage= % % int count = 0; if(session.getAttribute(WH_Count)!= null){ Integer t = (Integer)session.getAttribute(WH_Count);

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Pid
On 05/03/2010 17:03, David Bolsover wrote: Hi Andre I think the point is that the redirector IS messing with the page content. The ONLY difference between these two extracts is that one was served directly by tomcat the second via IIS /redirector to tomcat. Both of these extracts are from the

Re: jvm exits without trace

2010-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/5/2010 10:07 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: jvm exits without trace Do you have a lot of static resources being served? Or still allow keep-alives with

Re: jvm exits without trace

2010-03-05 Thread Pid
On 05/03/2010 17:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/5/2010 10:07 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: jvm exits without trace Do you have a lot of static resources

RE: jvm exits without trace

2010-03-05 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: jvm exits without trace I thought he said he was using APR, not NIO. He was, but IIRC, switched away from it to see if that would affect the outages. What we don't know is what was switched to - JIO or NIO. If

Tomcat Crash

2010-03-05 Thread Robert Murphy
We are using Tomcat 6.0 (320-bit) running on a Windows 2008 64-bit Datacenter. The web application has 20-30 concurrent users at a given time. Tomcat seems to crash everyday and we cannot seem to repeat the problem It does not seem like it is due to the load because the resources are abundant on

Re: Tomcat Crash

2010-03-05 Thread Konstantin Kolinko
2010/3/5 Robert Murphy abh...@gmail.com: We are using Tomcat 6.0 (320-bit) running on a Windows 2008 64-bit Stack: [0x1634,0x1639),  sp=0x1638f358,  free space=316k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C  [XBDOAA.DLL+0x8c142] C  

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Rainer Jung
On 05.03.2010 17:28, André Warnier wrote: David Bolsover wrote: I'm not sure I'm any further along with this... If I take this first URL (from Tomcat port 8080) and paste into my browser address bar, I get the expected image.

Servlet mapping, welcome file and trailing slashes

2010-03-05 Thread GreggCarrier
I'm having a frustrating problem and I can't find the right configuration for what I want. Hoping someone can offer some insight. Desired behavior: I want all requests to my webapp to be handled by one servlet except requests for index.jsp or the root of the webapp. I do not want trailing

Re: Servlet mapping, welcome file and trailing slashes

2010-03-05 Thread Donn Aiken
Gregg - Any chance you could do this in two steps? Could you implement a filter on the url pattern /* . If the request uri is for something in the root, chain it through. If it is not, forward it to the required servlet? Just a thought. DJ On 3/5/10, GreggCarrier greggcarr...@gmail.com

RE: Servlet mapping, welcome file and trailing slashes

2010-03-05 Thread Caldarale, Charles R
From: GreggCarrier [mailto:greggcarr...@gmail.com] Subject: Servlet mapping, welcome file and trailing slashes 2 - servlet-mapping servlet-nameJersey Spring Web Application/servlet-name url-pattern/*/url-pattern /servlet-mapping welcome-file-list