OutOfMemoryError: allocLargeObjectOrArray

2008-01-29 Thread angus
Dear all: We have some problem with OutOfMemory error. Environment Tomcat: 5.5.25 JDK: jrockit-R27.4.0-jdk1.5.0_12 5130472 [TP-Processor29] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[

Re: Invalid Keystore Format Exception

2008-01-29 Thread Vamsavardhana Reddy
May be you should use the "-storetype JKS" to be sure of the format in which the keystore is generated. ++Vamsi On Jan 30, 2008 11:11 AM, Ole Ersoy <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to get SSL working real quick for some experiments, and I did > this: > > $JAVA_HOME/bin/keytool -ge

Invalid Keystore Format Exception

2008-01-29 Thread Ole Ersoy
Hi, I'm trying to get SSL working real quick for some experiments, and I did this: $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA Answered the questions, got .keystore to appear in my home directory and then I uncommented the SSL Connector element in server.xml and filled out the ke

Re: comet end event

2008-01-29 Thread Filip Hanik - Dev Lists
Peter Warren wrote: Could you indulge me and try the client with the sleep? just did, worked exactly as before. event: BEGIN, subtype: null event: READ, subtype: null Read 10 bytes: comet test for session: A01334D0AC22505DCD4B323820963FEC read error event: ERROR, subtype: TIMEOUT

Re: comet end event

2008-01-29 Thread Peter Warren
> > Could you indulge me and try the client with the sleep? > > > just did, worked exactly as before. > event: BEGIN, subtype: null > event: READ, subtype: null > Read 10 bytes: comet test for session: A01334D0AC22505DCD4B323820963FEC > read error > event: ERROR, subtype: TIMEOUT Hmm, not sure whe

RE: Wrong path to servlets

2008-01-29 Thread Caldarale, Charles R
> From: david delbecq [mailto:[EMAIL PROTECTED] > Subject: Re: Wrong path to servlets > > is /servlet actually in the same webapplication as your jsp? Why do I suspect the OP is using the dreaded and despicable InvokerServlet? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHER

Re: jk_translate::mod_jk.c (3033): missing uri map for

2008-01-29 Thread Rainer Jung
Your post unfortunately is barely readable. The same question was asked on the list 40 minutes before your post, so I simply point you to http://marc.info/?l=tomcat-user&m=120164756115289&w=2 If this doesn't help, please post again using a more friendly message format :) Regards, Rainer

Re: [ANN] Apache Tomcat JK 1.2.26 Web Server Connector released

2008-01-29 Thread Rainer Jung
Hi Haroon, the change in the status worker display that you noticed is not directly related to your problem, only so far, as we changed a couple of things around the mount tables. The good: more information in the status worker. The ugly: stricter handling of JkMount/JkMountFile etc. with re

Re: comet end event

2008-01-29 Thread Filip Hanik - Dev Lists
Peter Warren wrote: Could you indulge me and try the client with the sleep? just did, worked exactly as before. event: BEGIN, subtype: null event: READ, subtype: null Read 10 bytes: comet test for session: A01334D0AC22505DCD4B323820963FEC read error event: ERROR, subtype: TIMEOUT I see the e

Re: Wrong path to servlets

2008-01-29 Thread david delbecq
According to sun's doc: "The pathname must begin with a "/" and is interpreted as relative to the current context root." is /servlet actually in the same webapplication as your jsp? Or did you put your jsp inside ROOT and your servlets inside a separate "servlet" webapp? In later case, you shoul

Re: Empty log files

2008-01-29 Thread david delbecq
http://tomcat.apache.org/tomcat-5.5-doc/logging.html might be a good starting place. I don't know what logging configuration you have, but look like ou use some rolling file appender based on date pattern. It creates new files upon new dates. Change your logging configuration if you don't want

Re: Wrong path to servlets

2008-01-29 Thread Emmanuel Milou
The jsp code is very basic. Here is the content of each jsp file: <% getServletContext().getRequestDispatcher("/servlet/org.capella.intranet.agenda.AgendaServlet").forward(request,response); %> Of course, each jsp file calls the right servlet... like I said before, if the jsp file is in a sub di

Re: Wrong path to servlets

2008-01-29 Thread david delbecq
Difficult to say, without the actual jsp code Emmanuel Milou a écrit : Hi, I would like to have your input on this problem. It is quite tricky and I hope you will be able to help me. Here is my configuration: JDK 1.6.0_03, Apache-Tomcat5.5.25, connector ajp13. When I click on an option in

jk_translate::mod_jk.c (3033): missing uri map for

2008-01-29 Thread f rom
On our suse webserver that was working I have upgraded apache to v2.2.6. I got myself also a new mod_jk. However mod_jk is now failing with : jk_translate::mod_jk.c (3033): missing uri map for bla Has the config been changed between versions ? Ou

Re: comet end event

2008-01-29 Thread Peter Warren
Could you indulge me and try the client with the sleep? I see the end event when there's a break/delay between sending a chunk and sending the last chunk. It is legal http to send the last chunk separately from preceding chunks, isn't it? > getting a -1 on a inputstream.read is normal (even for

Empty log files

2008-01-29 Thread Jonathan Mast
Tomcat is generating a lot of empty log files of at least to types: manager..log and host-manager..log I googled ["empty log files" tomcat] and did not find satisfactory answers (or any answers for that matter). thanks

Wrong path to servlets

2008-01-29 Thread Emmanuel Milou
Hi, I would like to have your input on this problem. It is quite tricky and I hope you will be able to help me. Here is my configuration: JDK 1.6.0_03, Apache-Tomcat5.5.25, connector ajp13. When I click on an option in the menu bar of my home page, JSP code is executed to call the servlet. It l

Re: Cannot activate Tomcat Manager

2008-01-29 Thread Jonathan Mast
THANKS! That worked! I need both the 8080 and the html subdirectory specified. Problem solved. On Jan 29, 2008 2:14 PM, Ken Bowen <[EMAIL PROTECTED]> wrote: > FWW, on my Linux box (CentOS5), with a pure Apache Tomcat just unzipped > and used in place, > to talk to the manager, I need this url:

Re: Cannot activate Tomcat Manager

2008-01-29 Thread Ken Bowen
FWW, on my Linux box (CentOS5), with a pure Apache Tomcat just unzipped and used in place, to talk to the manager, I need this url: http://localhost:8080/manager/html Ken Pid wrote: Jonathan Mast wrote: I'm having trouble enabling the Manager webapp on Tomcat I've alte

Re: [ANN] Apache Tomcat JK 1.2.26 Web Server Connector released

2008-01-29 Thread Haroon Rafique
On Dec 24 at 4:36pm, RJ=>Rainer Jung <[EMAIL PROTECTED]> wrote: RJ> The Apache Tomcat team is pleased to announce the immediate availability RJ> of version 1.2.26 of the Apache Tomcat Connectors. RJ> RJ> [..snip..] So, JK 1.2.26 has been out for over a month and I finally got around to upgradin

Re: Cannot activate Tomcat Manager

2008-01-29 Thread Pid
Jonathan Mast wrote: I'm having trouble enabling the Manager webapp on Tomcat I've altered the server.xml and tomcat-users.xml files appropriately but when I type in www.mysite.com/manager I get an error saying the location doesn't exist. On my local Windoze machine, I've gotten the Manager app

RE: Socket Exception

2008-01-29 Thread Nuno Manuel Martins
That is probably the reason so going to try and fix the way the check is done. Thank you. -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: terça-feira, 29 de Janeiro de 2008 16:56 To: Tomcat Users List Subject: Re: Socket Exception If it happens that often and you don

Cannot activate Tomcat Manager

2008-01-29 Thread Jonathan Mast
I'm having trouble enabling the Manager webapp on Tomcat I've altered the server.xml and tomcat-users.xml files appropriately but when I type in www.mysite.com/manager I get an error saying the location doesn't exist. On my local Windoze machine, I've gotten the Manager app to work, it is on the

Re: comet end event

2008-01-29 Thread Filip Hanik - Dev Lists
getting a -1 on a inputstream.read is normal (even for a regular servlet). that means you've reached EOF and shouldn't read anymore. I haven't tested with the sleep, and I did try with the cometgui, and that worked as well. Filip Peter Warren wrote: Is the read error expected behavior? I g

Re: Socket Exception

2008-01-29 Thread Rainer Jung
If it happens that often and you don't have a high traffic site, it might be a monitor script, that does only check if it can do a TCP connect and drop the connection before a full HTTP request-response cycle has finished. Regards, Rainer Peter Crowther wrote: From: Nuno Manuel Martins [mai

Tomcat 5.5 and SSL connector: keystore was tampered with

2008-01-29 Thread Samuli Seppänen
Hi! I migrated from Tomcat 5.0 to Tomcat 5.5. I had SSL working in Tomcat 5.0 with both a self-created certificate and a signed (trusted) certificate, both inside a Java keystore (JKS). Now, with Tomcat 5.5 the SSL connector refuses to start with the dreaded "keystore was tampered with" erro

RE: Socket Exception

2008-01-29 Thread Peter Crowther
> From: Nuno Manuel Martins [mailto:[EMAIL PROTECTED] > Ah... nothing else can be the cause of this? Anything that can cause a socket connection to fail or close before Tomcat's finished writing to it. But the most common cause is the user agent. > Asking because these aren't normal users for s

RE: Socket Exception

2008-01-29 Thread Nuno Manuel Martins
Ah... nothing else can be the cause of this? Asking because these aren't normal users for sure, must be something automated since I'm getting some 50 messages a minute :( -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: terça-feira, 29 de Janeiro de 2008 16:31 To:

RE: Socket Exception

2008-01-29 Thread Peter Crowther
> From: Nuno Manuel Martins [mailto:[EMAIL PROTECTED] > org.apache.tomcat.util.net.TcpWorkerThread runIt > SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Connection reset [...] > Anyone on the list knows what this is, what might be causing > it and how do I fix it? The usual cause is that t

Socket Exception

2008-01-29 Thread Nuno Manuel Martins
Hello list, I have an old version of tomcat (I know it is discontinued so if no help available though luck) 5.0.28 running on RedHat EL 4 and there is an error constantly showing up in the logs: Jan 29, 2008 3:55:18 PM org.apache.tomcat.util.net.TcpWorkerThread runIt SEVERE: Remote Host /xxx.xxx

RE: Tomcat Performance

2008-01-29 Thread Peter Crowther
> From: Alan Chaney [mailto:[EMAIL PROTECTED] > Unfortunately I think it is way more complicated than this. Seconded. Andrew, you keep mailing this list looking for simple, neat and clean ways of working out the maximum capability of a Tomcat application. There aren't any! The *only* reliable

Re: Tomcat Performance

2008-01-29 Thread Leon Rosenberg
Without wanting to oppose the whole document, the parts you quoted are pretty incomplete. first, calculating AART from clients perespective (as implicitely done in the article) is not a good idea, since you are mixing up tomcat response time, network transport, internet latency, all in one bunch.

Re: Tomcat Performance

2008-01-29 Thread Alan Chaney
Unfortunately I think it is way more complicated than this. I think that Mladen Turk's article has a lot of very useful information about configuring Tomcat and I congratulate him on putting it together. However, I've spent some time recently working on some performance issues and I think that

Re: Config file not found in class path when deploying WAR

2008-01-29 Thread Björn Wilmsmann
David Smith work: Then I think the path to your common-terms.utf8 probably should be / common-terms.utf8 in the config file. Otherwise the path spec is relative and it's hard to figure out what it's relative to. The hadoop class that generates the reader uses Classloader.getResource( pa

Re: session variables are not setting for the first time in https mode

2008-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Murthy, Murthy Chelankuri wrote: | In my web application i have enabled http/https connector. When i am | using in https mode for the first request session variables are not | getting set properly. From the second request onwards its working fine. |

Re: server configuration - shared appBase in multiple Host elements

2008-01-29 Thread David Delbecq
Hi, i think there is no big troubles in having multiple host or even multiple tomcat instances share a common webapp repository, as long as the webapp are properly coded. Tomcat will not write to the webapp base, unless you deploy using tomcat manager. Only exception is when you put a .war t

server configuration - shared appBase in multiple Host elements

2008-01-29 Thread Chris Beckey
The question: has anyone tried to share a web application (appBase) between multiple virtual hosts? Background: the project I'm working on is a number of web applications that front a number (100's) of instances of a legacy application accessed through a custom protocol. The number of Tomcat host

Tomcat Performance

2008-01-29 Thread Andrew Hole
Hello I read an interesting document from Mladen Turk (with whom I want to speak directly, but I don't know direct contact) that there is a formula to calculate the number of concurrent request: http://people.apache.org/~mturk/docs/article/ftwai.html Calculating Load When determining the number

session variables are not setting for the first time in https mode

2008-01-29 Thread Murthy Chelankuri
In my web application i have enabled http/https connector. When i am using in https mode for the first request session variables are not getting set properly. From the second request onwards its working fine. what might be the problem. I am using tomcat6 and struts2 Murthy ---