Stream closed IO Exception when using Tomcat 5.5.28

2010-05-06 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Dear Tomcat Users, We have upgraded Tomcat from 5.5.17 version to 5.5.28 and experiencing stream closed IO Exceptions in many places. java.io.IOException: Stream closed at org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:281) at

JMX and Tomcat-Queue

2010-05-06 Thread Baba
Hi tomcat users, I’ am new at this list but I have gain some years of experience with the tomcat server as a developer. I hope the email full fill all of the community introduced requirements. At first, I have searched the whole web to find a good answer but nothing fit. At next I setup a tomcat

Re: JMX and Tomcat-Queue

2010-05-06 Thread Mark Thomas
On 06/05/2010 09:14, Baba wrote: The mechanism would work in the following step so far my concept: 1) Take a look in the tomcat queue and get a count of the stored requests 2) If the count greater a defined number reject a defined type of requests 3) Process the request Tomcat does this by

tomcat 6.0.26 and Windows 7 - should I go for 64bit?

2010-05-06 Thread Christoph Kukulies
I moved to Windows 7 and I'm wondering whether it would be appropriate to install the 64bit server or say with the 32bit version. What implications would it have? Memory footprint? Would I have to run two JVM? a 64 bits and a 32bit (when running other apps like OpenOffice?) -- Christoph

Re: tomcat 6.0.26 and Windows 7 - should I go for 64bit?

2010-05-06 Thread Pid
On 06/05/2010 09:55, Christoph Kukulies wrote: I moved to Windows 7 and I'm wondering whether it would be appropriate to install the 64bit server or say with the 32bit version. 64bit JVM, not 'server'. Tomcat is agnostic with respect to bit counts. What implications would it have? Memory

Re: Stream closed IO Exception when using Tomcat 5.5.28

2010-05-06 Thread Pid
On 06/05/2010 09:08, Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: Dear Tomcat Users, We have upgraded Tomcat from 5.5.17 version to 5.5.28 and experiencing stream closed IO Exceptions in many places. OS/Platform? java.io.IOException: Stream closed at

Re: Help need for implementing Custom Login Module

2010-05-06 Thread Pid
On 05/05/2010 22:41, Srinivasa Rao.Kandula wrote: Hello Team, I need help implementing a Custom Login module for a web application which will run on Tomcat 6.X. I need to access ServletRequest/HttpSession in side the login module to access an attribute from the HttpSession. Basically

Re: tomcat 6.0.26 and Windows 7 - should I go for 64bit?

2010-05-06 Thread Christoph Kukulies
Am 06.05.2010 10:59, schrieb Pid: On 06/05/2010 09:55, Christoph Kukulies wrote: I moved to Windows 7 and I'm wondering whether it would be appropriate to install the 64bit server or say with the 32bit version. 64bit JVM, not 'server'. Tomcat is agnostic with respect to bit counts.

tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-06 Thread Christoph Kukulies
Tomcat 6.0.26 doesn't start. I used the 64bit installer under Windows 7. jakarta_service_log: [2010-05-06 11:41:44] [info] Commons Daemon procrun (1.0.2.0) started [2010-05-06 11:41:44] [info] Running Service... [2010-05-06 11:41:44] [info] Starting service... [2010-05-06 11:41:44] [206

Repost: mod_proxy_ajp configuration

2010-05-06 Thread Christian Roche
Hi, can somebody help me with this? Should I look somewhere else (any dedicated forum out there)? Thanks! I have a problem with configuring mod_proxy_ajp to access Tomcat5 through Apache2. My setup: CentOS release 5.4 (Final) httpd-2.2.3-31.el5.centos.4 tomcat5-5.5.23-0jpp.7.el5_3.2 I have in

RE: Tomcat 6.0.24 requires me to log on twice

2010-05-06 Thread Terry Horner
-Original Message- From: Terry Horner [mailto:t.hor...@dancerace.com] Sent: Friday, April 09, 2010 5:08 PM To: users@tomcat.apache.org Subject: RE: Tomcat 6.0.24 requires me to log on twice -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net]

Re: Repost: mod_proxy_ajp configuration

2010-05-06 Thread Pid
On 06/05/2010 10:52, Christian Roche wrote: Hi, can somebody help me with this? Should I look somewhere else (any dedicated forum out there)? Thanks! I have a problem with configuring mod_proxy_ajp to access Tomcat5 through Apache2. My setup: CentOS release 5.4 (Final)

Re: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-06 Thread Pid
On 06/05/2010 10:44, Christoph Kukulies wrote: Tomcat 6.0.26 doesn't start. I used the 64bit installer under Windows 7. jakarta_service_log: [2010-05-06 11:41:44] [info] Commons Daemon procrun (1.0.2.0) started [2010-05-06 11:41:44] [info] Running Service... [2010-05-06 11:41:44] [info]

Re: JMX and Tomcat-Queue

2010-05-06 Thread Baba
Thanks Mark for the answer but I didn't mean this. I knew that you can configure the maxThreads and the acceptCount. I defined both attributes with 250. I need a solution for the following scenario: My Tomcat run with 250 Threads (maxThreads==250; capacity limit) and the queue stored 80

Re: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-06 Thread Christoph Kukulies
Am 06.05.2010 12:07, schrieb Pid: On 06/05/2010 10:44, Christoph Kukulies wrote: Tomcat 6.0.26 doesn't start. I used the 64bit installer under Windows 7. jakarta_service_log: [2010-05-06 11:41:44] [info] Commons Daemon procrun (1.0.2.0) started [2010-05-06 11:41:44] [info] Running

issue with Tomcat as service on Windows 2008 server

2010-05-06 Thread Kamatnurkar (EXT), Praveen
Hi I created an web application which has an integration with MS Excel. I used jacozoom for this integration. I deploy this application on Tomcat 6.0.26. When I run Tomcat as service my application is throwing following error. Exception Text: com.inzoom.comjni.ComJniException: code=0x800a03ec

Re: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-06 Thread Christoph Kukulies
Am 06.05.2010 12:07, schrieb Pid: On 06/05/2010 10:44, Christoph Kukulies wrote: Tomcat 6.0.26 doesn't start. I used the 64bit installer under Windows 7. jakarta_service_log: [2010-05-06 11:41:44] [info] Commons Daemon procrun (1.0.2.0) started [2010-05-06 11:41:44] [info] Running

Re: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-06 Thread André Warnier
Christoph Kukulies wrote: Am 06.05.2010 12:07, schrieb Pid: On 06/05/2010 10:44, Christoph Kukulies wrote: Tomcat 6.0.26 doesn't start. I used the 64bit installer under Windows 7. jakarta_service_log: [2010-05-06 11:41:44] [info] Commons Daemon procrun (1.0.2.0) started [2010-05-06

Re: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-06 Thread Christoph Kukulies
Am 06.05.2010 12:26, schrieb Christoph Kukulies: Am 06.05.2010 12:07, schrieb Pid: On 06/05/2010 10:44, Christoph Kukulies wrote: Tomcat 6.0.26 doesn't start. I used the 64bit installer under Windows 7. jakarta_service_log: [2010-05-06 11:41:44] [info] Commons Daemon procrun (1.0.2.0)

Re: issue with Tomcat as service on Windows 2008 server

2010-05-06 Thread André Warnier
Kamatnurkar (EXT), Praveen wrote: Hi I created an web application which has an integration with MS Excel. I used jacozoom for this integration. I deploy this application on Tomcat 6.0.26. When I run Tomcat as service my application is throwing following error. Exception Text:

RE: Stream closed IO Exception when using Tomcat 5.5.28

2010-05-06 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Thanks Pid. It is happening in both Windows 2003 and Solaris SPARC. Under normal usage only exception is thrown. Yes, All the jsp's are recompiled for 5.5.28. DataInputStream is extracted from the HttpServletRequest req. DataInputStream dis = new DataInputStream(req.getInputStream());

RE: Stream closed IO Exception when using Tomcat 5.5.28

2010-05-06 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Thanks Pid. The line number specified in the exception matches with the below line of readObject function. while ((line = dis.readLine()) != null) { The connection is not getting closed at the other end. Connector config from server.xml is as follows. Connector

RE: JMX and Tomcat-Queue

2010-05-06 Thread Caldarale, Charles R
From: Baba [mailto:baba...@googlemail.com] Subject: Re: JMX and Tomcat-Queue My Tomcat run with 250 Threads (maxThreads==250; capacity limit) and the queue stored 80 Requests (acceptCount==250). Now I like to reject requests if they defined (the definition is provide by a custom definition

RE: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-06 Thread Caldarale, Charles R
From: Christoph Kukulies [mailto:k...@kukulies.org] Subject: Re: tomcat 6 (windows 7- 64 bits) doesn't start I believe it's because I only have the jre, not the jdk and I'm downloading at the moment. No, Tomcat runs fine on a JRE. The problem is that you have a 32-bit JVM installed in a

RE: Stream closed IO Exception when using Tomcat 5.5.28

2010-05-06 Thread Caldarale, Charles R
From: Prathima Dandapani -X (pdandapa - HCL at Cisco) [mailto:pdand...@cisco.com] Subject: RE: Stream closed IO Exception when using Tomcat 5.5.28 Let me know if any other information is required. The full stack trace would be a start. (And send messages just to the list, not to

Re: Stream closed IO Exception when using Tomcat 5.5.28

2010-05-06 Thread Pid
On 06/05/2010 13:54, Caldarale, Charles R wrote: From: Prathima Dandapani -X (pdandapa - HCL at Cisco) [mailto:pdand...@cisco.com] Subject: RE: Stream closed IO Exception when using Tomcat 5.5.28 Let me know if any other information is required. The full stack trace would be a start.

RE: JMX and Tomcat-Queue

2010-05-06 Thread DJohnson
I think Baba wants an acceptCount of 250, but he would like to prevent certain rejectable requests from tying up slots in that acceptCount, so that it only holds non-rejectable requests. Unfortunately, since Tomcat knows nothing about the requests in the accept queue, it appears the only way

Re: Log4j logging doesn't work when a web application is moved outside Tomcat/webapps directory

2010-05-06 Thread Mark H. Wood
On Wed, May 05, 2010 at 08:31:33AM -0500, Caldarale, Charles R wrote: As always, don't put Context elements in server.xml. The above got you double deployment of the foo webapp, once as foo, once as the default. Why do people invite problems when it's so easy to do things properly? Maybe

RE: issue with Tomcat as service on Windows 2008 server

2010-05-06 Thread Kamatnurkar (EXT), Praveen
I already make sure that all the Tomcat processes (tomcat6.exe and tomcat6w.exe) are running under same account as I run the tomcat from command line. The same login is used to test this case. Any other solution or thought on this issue? -Original Message- From: André Warnier

Question regarding https relative links

2010-05-06 Thread Ken Bowen
I haven't been able to find a clear statement regarding the following assertion: Once a broswer is using https on a site, all relative URLs will be https, including form get/post and also file upload. Is this really true about the interpretation of relative URLs? Can anyone point me to

Re: JMX and Tomcat-Queue

2010-05-06 Thread Baba
Hi Chuck, David and tomcat users, thanks for your answer. David your interpretation fits more than to 80%. I want an acceptCout of 250. A new request reaches the tomcat server. As next step(s) the tomcat map the request to my servlet. Before the business logic start I would check how much

Mod_JK binary for httpd on win64

2010-05-06 Thread Greg Stump
Hello, Could you please tell me where I might find a mod_jk-1.2.30-httpd-2.2.3.so binary for win64? http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.30/amd64/ I only see the isapi_redirect-1.2.30.dll for win64. Thank you Greg

Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
Hello everyone, Tomcat 6.0.20 on Ubuntu 9.10. I'm trying to deploy simple web applications that either use beans or servlets. I'm now down to very simple examples like this one: http://www.roseindia.net/ejb/introduction/javabean.shtml This is basically a html file, a jsp file that deals with a

Re: issue with Tomcat as service on Windows 2008 server

2010-05-06 Thread Gregor Schneider
Just a shot from the hip: When you run TC from the comand-line, I figure you're using startup.bat, right? So, maybe there are some env-variables set in this script (or catalina.bat, classpath.bat), which are not set when running tomcat.exe as a service? Forget my comments in case you're running

RE: JMX and Tomcat-Queue

2010-05-06 Thread Caldarale, Charles R
From: Baba [mailto:baba...@googlemail.com] Subject: Re: JMX and Tomcat-Queue Is there no way to get this information (How much requests are in the accept queue?) out? No, the accept queue is completely invisible. Only the comm stack knows anything about it, and there are no APIs I'm aware

RE: issue with Tomcat as service on Windows 2008 server

2010-05-06 Thread Caldarale, Charles R
From: Kamatnurkar (EXT), Praveen [mailto:praveen.kamatnurkar@siemens.com] Subject: RE: issue with Tomcat as service on Windows 2008 server I already make sure that all the Tomcat processes (tomcat6.exe and tomcat6w.exe) are running under same account as I run the tomcat from command

RE: Log4j logging doesn't work when a web application is moved outside Tomcat/webapps directory

2010-05-06 Thread Caldarale, Charles R
From: Mark H. Wood [mailto:mw...@iupui.edu] Subject: Re: Log4j logging doesn't work when a web application is moved outside Tomcat/webapps directory Maybe because the documentation doesn't say it's improper; The current documentation for Context states (in bold): For Tomcat 6, unlike

Re: Question regarding https relative links

2010-05-06 Thread Pid
On 06/05/2010 14:33, Ken Bowen wrote: I haven't been able to find a clear statement regarding the following assertion: Once a broswer is using https on a site, all relative URLs will be https, including form get/post and also file upload. Is this really true about the

RE: Question regarding https relative links

2010-05-06 Thread Caldarale, Charles R
From: Ken Bowen [mailto:kbo...@als.com] Subject: Question regarding https relative links I haven't been able to find a clear statement regarding the following assertion: Once a broswer is using https on a site, all relative URLs will be https, including form get/post and also file

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 14:54, Luís de Sousa wrote: Hello everyone, Tomcat 6.0.20 on Ubuntu 9.10. I'm trying to deploy simple web applications that either use beans or servlets. I'm now down to very simple examples like this one: http://www.roseindia.net/ejb/introduction/javabean.shtml This is

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
Sorry, here goes the example exception. Luís org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for the useBean class attribute ourbeans.greeterbean is invalid. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 15:13, Luís de Sousa wrote: Sorry, here goes the example exception. Luís org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for Now the contents of the greeter.JSP, please? p the useBean class attribute ourbeans.greeterbean is invalid.

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 3:11 PM, Pid p...@pidster.com wrote: Please post the exact error message and stack trace from the logs. Hi Pid, please look at the attachments. Thanks, Luís - To unsubscribe, e-mail:

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 3:14 PM, Pid p...@pidster.com wrote: org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for Now the contents of the greeter.JSP, please? Hi again, that was in the link: http://www.roseindia.net/ejb/introduction/javabean.shtml

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 15:15, Luís de Sousa wrote: On Thu, May 6, 2010 at 3:11 PM, Pid p...@pidster.com wrote: Please post the exact error message and stack trace from the logs. Hi Pid, please look at the attachments. The list strips attachments. Otherwise I wouldn't have need to ask for it. p

Re: JMX and Tomcat-Queue

2010-05-06 Thread André Warnier
Baba wrote: ... Is there no way to get this information (How much requests are in the accept queue?) out? Even if you could find this out at the Tomcat level, I seem to recall that you also wanted to find out what kind of request these were, so that you could decide to reject selectively

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
2010/5/6 Pid p...@pidster.com: The list strips attachments.  Otherwise I wouldn't have need to ask for it. Oops. Here they go then, sorry for the trouble... catalina.2010-05-06.log 06-May-2010

Re: JMX and Tomcat-Queue

2010-05-06 Thread Baba
Thanks for your help. There are some benefits to give a request priority but not on technique site. ;) Regards, Thomas - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Mod_JK binary for httpd on win64

2010-05-06 Thread André Warnier
Greg Stump wrote: Hello, Could you please tell me where I might find a mod_jk-1.2.30-httpd-2.2.3.so binary for win64? http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.30/amd64/ I only see the isapi_redirect-1.2.30.dll for win64. Is that not because there is no

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 15:19, Luís de Sousa wrote: On Thu, May 6, 2010 at 3:14 PM, Pid p...@pidster.com wrote: org.apache.jasper.JasperException: /greeter.jsp(5,10) The value for Now the contents of the greeter.JSP, please? Hi again, that was in the link:

Access Log Valve

2010-05-06 Thread Leo Donahue - PLANDEVX
Using CATALINA_BASE: C:\apache-tomcat-6.0.24 Using CATALINA_HOME: C:\apache-tomcat-6.0.24 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.24\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 Using CLASSPATH: C:\apache-tomcat-6.0.24\bin\bootstrap.jar Server version: Apache

md5

2010-05-06 Thread János Löbb
Folks, What am I doing wrong here ? bash-3.2# md5 -s apache-tomcat-6.0.26.zip MD5 (apache-tomcat-6.0.26.zip) = d0892b5662287d18c06b167c4bba249d bash-3.2# cat apache-tomcat-6.0.26.zip.md5.txt 6bf77c1c820a0e7c1a1fb6463c0a2a1d t was downloadad yesterday from the Tomcat site. Thanks ahead, János

md5 /enlightened/

2010-05-06 Thread János Löbb
Folks, Sorry for the previous post. In the meantime I realized the meaning of the -s flag :-) János - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: md5

2010-05-06 Thread Konstantin Kolinko
2010/5/6 János Löbb janos.l...@yale.edu: Folks, What am I doing wrong here ? bash-3.2# md5 -s apache-tomcat-6.0.26.zip MD5 (apache-tomcat-6.0.26.zip) = d0892b5662287d18c06b167c4bba249d bash-3.2# cat apache-tomcat-6.0.26.zip.md5.txt 6bf77c1c820a0e7c1a1fb6463c0a2a1d t was downloadad

Re: md5

2010-05-06 Thread Serge Fonville
newline? On Thu, May 6, 2010 at 4:56 PM, János Löbb janos.l...@yale.edu wrote: Folks, What am I doing wrong here ? bash-3.2# md5 -s apache-tomcat-6.0.26.zip MD5 (apache-tomcat-6.0.26.zip) = d0892b5662287d18c06b167c4bba249d bash-3.2# cat apache-tomcat-6.0.26.zip.md5.txt

RE: Mod_JK binary for httpd on win64

2010-05-06 Thread Greg Stump
André, Yes, that would seem to be the case. Thank you for the advice. I've found some resources through the Apache Lounge. http://www.apachelounge.com/viewtopic.php?t=3455 Thanks again. Greg -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, May 06,

Tomcat, Windows, And Deployment

2010-05-06 Thread Timothy Orme
Hello, I'm running Tomcat on windows and am trying to use the tomcat manager to redeploy webapps. I've googled for this on numerous occassions, and the consensus seems to be that in order for this to work you must add: antiJarLocking=true and antiResourceLocking=true to your

Re: not able to use two oracle resources/

2010-05-06 Thread Gregor Schneider
Could you please come back on that issue next week? My crystal ball is just out for maintenance, and without it I'm not able to read your logs containing the error-message... Rgds Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp:

RE: not able to use two oracle resources/

2010-05-06 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: not able to use two oracle resources/ My crystal ball is just out for maintenance, and without it I'm not able to read your logs containing the error-message... I think Pid will be teaching his Internet Telepathy class soon

RE: Access Log Valve

2010-05-06 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: Access Log Valve Why is the access log valve in server.xml commented out initially? Because it's additional overhead. If you're willing to trade off the overhead for the information, turn it on. You can also place

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
(Let's keep it on the list shall we?) On 06/05/2010 16:23, Luís de Sousa wrote: package packagename public class ExampleServlet extends javax.servlet.http.HttpServlet I have no clue where this comes from. Looks like the kind of thing you'd find in a tutorial, but I haven't created any

Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
Hello, Is there a way to read the context.xml stored in /conf/ folder from a webapplication? Thank you! -K -- View this message in context: http://old.nabble.com/Reading-tomcat-context.xml-file-from-webapp-tp28475444p28475444.html Sent from the Tomcat - User mailing list archive at

RE: Reading tomcat context.xml file from webapp

2010-05-06 Thread Caldarale, Charles R
From: kgaekwad [mailto:karthik.gaek...@ni.com] Subject: Reading tomcat context.xml file from webapp Is there a way to read the context.xml stored in /conf/ folder from a webapplication? You can issue normal Java I/O requests to the file system path, but ... Why do you want to? What's the

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 4:26 PM, Pid p...@pidster.com wrote: Can you remove all of the comments from your server.xml and post it here? Sure, ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.core.JasperListener / Listener

Re: Reading tomcat context.xml file from webapp

2010-05-06 Thread Pid
On 06/05/2010 16:30, kgaekwad wrote: Hello, Is there a way to read the context.xml stored in /conf/ folder from a webapplication? String pathToContextXmlFile = ...; File contextXmlFile = new File(pathToContextXmlFile); Why would you want to do such a thing? p signature.asc

RE: not able to use two oracle resources/

2010-05-06 Thread Martin Gainty
define each resource at the server level server.xml with GlobalNamingResources GlobalNamingResources ... Resource name=jdbc/DEVDS^M auth=Container^M type=oracle.jdbc.pool.OracleDataSource^M driverClassName=oracle.jdbc.driver.OracleDriver^M

[no subject]

2010-05-06 Thread Tomcat Users List
X-zuka-RWMailScanner-ID: 22D9E53828A.AD1D4 X-zuka-rw-MailScanner-Information: Please contact the ISP for more information Received: from Magnolia.local (unknown [70.48.209.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested)

[no subject]

2010-05-06 Thread Tomcat Users List
X-zuka-RWMailScanner-ID: 22D9E53828A.AD1D4 X-zuka-rw-MailScanner-Information: Please contact the ISP for more information Received: from Magnolia.local (unknown [70.48.209.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested)

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 16:35, Luís de Sousa wrote: On Thu, May 6, 2010 at 4:26 PM, Pid p...@pidster.com wrote: Can you remove all of the comments from your server.xml and post it here? Sure, ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 4:48 PM, Pid p...@pidster.com wrote: So what's in your tomcat/webapps directory currently? This: l...@kohntarkosz:~/tomcat/webapps$ ls -la total 28 drwxrwxr-x 7 lads tomcat6 4096 2010-05-06 16:53 . drwxr-xr-x 3 root root4096 2010-01-07 17:11 .. drwxr-xr-x 2 lads

Re: Tomcat, Windows, And Deployment

2010-05-06 Thread Timothy Orme
Hello, I'm only running 2 applications under tomcat, the manager and one site. I can't imagine that these are competing for resources. I'm not sure what you're suggesting I do here though. Should I only use antiJarLocking? Thanks, Tim On 5/6/2010 11:52 AM, Martin Gainty wrote:

Re: not able to use two oracle resources/

2010-05-06 Thread Konstantin Kolinko
2010/5/6 kumaresh P N pnkumar...@gmail.com:   connectionCacheProperties={MaxStatementsLimit=10, MinLimit=0, InitialLimit=0, ValidateConnection=true, ConnectionWaitTime out=10, MaxLimit=4} Is there an extra space or a linewrap in the ConnectionWaitTimeout above? not the second one Are there

RE: Tomcat can't find Java Beans

2010-05-06 Thread Caldarale, Charles R
From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] Subject: Re: Tomcat can't find Java Beans . default_root - what Martin sugested to create Martin who? If it was Martin Gainty, be very wary - this is another example of needing to take all of his suggestions with large chunks of salt.

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 17:12, Caldarale, Charles R wrote: From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] Subject: Re: Tomcat can't find Java Beans . default_root - what Martin sugested to create Martin who? If it was Martin Gainty, be very wary - this is another example of needing to take

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:12 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Martin who?  If it was Martin Gainty, be very wary - this is another example of needing to take all of his suggestions with large chunks of salt.  There doesn't seem to be any point in having this

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:17 PM, Pid p...@pidster.com wrote: On 06/05/2010 17:12, Caldarale, Charles R wrote: I'd like to know what's in the conf/Catalina/localhost directory too please. Here it goes then. Luís l...@kohntarkosz:~/tomcat/conf/Catalina$ ls -la total 12 drwxrwxr-x 3 root

Re: Tomcat can't find Java Beans

2010-05-06 Thread Pid
On 06/05/2010 17:23, Luís de Sousa wrote: On Thu, May 6, 2010 at 5:17 PM, Pid p...@pidster.com wrote: On 06/05/2010 17:12, Caldarale, Charles R wrote: I'd like to know what's in the conf/Catalina/localhost directory too please. Here it goes then. Luís

Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl

2010-05-06 Thread Greg Bondy
I am migrating from Tomcat 5.5.27 to 6.0.26. I found that an application I have running on 5.5.27 fails on 6.0.26 with the error: NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl. I found that the class in question is located in commons-el.jar on 5.5.27 and that jar is missing

Re: Tomcat, Windows, And Deployment

2010-05-06 Thread Pid
On 06/05/2010 16:12, Timothy Orme wrote: Hello, I'm running Tomcat on windows and am trying to use the tomcat manager to redeploy webapps. I've googled for this on numerous occassions, and the consensus seems to be that in order for this to work you must add: antiJarLocking=true

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:33 PM, Pid p...@pidster.com wrote: So you've got a mix of ownerships there. You installed Tomcat as 'root', but are now running it as 'tomcat6'? Make sure the whole tomcat installation is owned by the tomcat6 user, if that's what you're using to start Tomcat. Ok, I

RE: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl

2010-05-06 Thread Caldarale, Charles R
From: Greg Bondy [mailto:gbo...@starmountsystems.com] Subject: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl (I was wondering when this would get transferred from the dev list :-) I am migrating from Tomcat 5.5.27 to 6.0.26. I found that an

RE: Tomcat can't find Java Beans

2010-05-06 Thread Martin Gainty
keep it honest pidster.. the question is ownership of the resource NOT the folder name or location Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: Tomcat can't find Java Beans

2010-05-06 Thread Caldarale, Charles R
From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] Subject: Re: Tomcat can't find Java Beans I installed Tomcat with the good old sudo apt-get install The 3rd-party repackaging of Tomcat often introduce configuration and file placement issues that the contributors for this list are not

RE: Tomcat, Windows, And Deployment

2010-05-06 Thread Martin Gainty
if both going are referencing the same version of jar..then yes personally I would never do that as most of my apps have version specific stack..I usually run version 1.x of jar side by side with version 2.x of same jar to demonstrate features and functions between the 2 webapps with 2

Re: Tomcat can't find Java Beans

2010-05-06 Thread Luís de Sousa
On Thu, May 6, 2010 at 5:55 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F Chuck thanks for the link. I have to go now, let you know tomorrow how it went. Luís

RE: Tomcat, Windows, And Deployment

2010-05-06 Thread Caldarale, Charles R
From: Timothy Orme [mailto:to...@genome.med.harvard.edu] Subject: Re: Tomcat, Windows, And Deployment I'm only running 2 applications under tomcat, the manager and one site. I can't imagine that these are competing for resources. They're not - ignore Martin G's ramblings. I'm not sure

Re: Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
This is true. I'm trying to create a /status page for my application and it's dependencies (ip address/dns name); one of these dependencies is the db, which is configured in the context.xml file I guess I could use the regular java file io stuff, but I was wondering if there was anything

RE: Reading tomcat context.xml file from webapp

2010-05-06 Thread Caldarale, Charles R
From: kgaekwad [mailto:karthik.gaek...@ni.com] Subject: Re: Reading tomcat context.xml file from webapp one of these dependencies is the db, which is configured in the context.xml file You can also use JMX to access numerous attributes maintained by Tomcat. Enable JMX for your Tomcat

Re: Tomcat, Windows, And Deployment

2010-05-06 Thread Timothy Orme
Hi, Tomcat 6.0.18 Windows Server 2003 R2 Java JRE 1.6.0_07 I'll also see if there are any relevant log files as suggested by someone else on the list. Thanks, Tim On 5/6/2010 12:37 PM, Pid wrote: On 06/05/2010 16:12, Timothy Orme wrote: Hello, I'm running Tomcat

RE: Tomcat, Windows, And Deployment

2010-05-06 Thread Caldarale, Charles R
From: Timothy Orme [mailto:to...@genome.med.harvard.edu] Subject: Re: Tomcat, Windows, And Deployment Tomcat 6.0.18 There were some jar-locking related changes in 6.0.21, so you might want to consider moving up to the current version and trying things again. Your version is almost

Re: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl

2010-05-06 Thread Greg Bondy
I wasn't able to find any direct Spring references to ExpressionEvaluatorImpl but I searched through all the third party libraries that I'm using and I found a reference to commons-el.jar in the GranitDS 2.1.0.GA library. I suspect this library is what is causing the dependency. As you suggested,

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-06 Thread paul geer
thanks everyone for the responses. Unrelated hardware issues necessitated a reinstall, so I did a fresh install of 10.04. this time I used apt-get to install more packages (user, admin, example, etc) and everything is working as expected. I suspect my original problem was probably due to missing

Tomcat JULI resets JDK logging? Tomcat 6.0.26

2010-05-06 Thread Victor Pittman
Hi all, I'm new to the group and have run across a problem Tomcat is now reseting the JDK logging as part of shutdown. I found a thread where this is discussed (http://marc.info/?l=tomcat-userm=126558503921689w=2) ... We just upgraded out tomcat version and are now running into the same

Re: Tomcat, Windows, And Deployment

2010-05-06 Thread Timothy Orme
Yeah, I looked into log files and there isn't any errors. In this case I made a simple change like making the number of results on a page be 5 instead of 3. When I go to redeploy, it looks like everything went fine, but the change doesn't appear. If I just restart the web server it correctly

RE: Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
Interesting. This is the first time I've played around with JMX, and it looks pretty neat. I see the parameter I'm looking for; I'll just need to figure out how to programmatically parse it. Thank you! n828cl wrote: From: kgaekwad [mailto:karthik.gaek...@ni.com] Subject: Re: Reading

RE: Tomcat, Windows, And Deployment

2010-05-06 Thread Caldarale, Charles R
From: Timothy Orme [mailto:to...@genome.med.harvard.edu] Subject: Re: Tomcat, Windows, And Deployment In this case I made a simple change like making the number of results on a page be 5 instead of 3. When I go to redeploy, it looks like everything went fine, What makes you think so? Are

RE: Tomcat JULI resets JDK logging? Tomcat 6.0.26

2010-05-06 Thread Caldarale, Charles R
From: Victor Pittman [mailto:victor.pitt...@workday.com] Subject: Tomcat JULI resets JDK logging? Tomcat 6.0.26 Do you know what the 'undocumented' fix is, and how to use it ? Try nesting the following inside the Context element for the webapp of interest: Loader

Re: Tomcat, Windows, And Deployment

2010-05-06 Thread Timothy Orme
Yeah, the log says that everything is undeployed and redeployed, without anything blowing up, as best as I can tell. INFO: Server startup in 10892 ms May 6, 2010 1:08:05 PM org.apache.catalina.core.ApplicationContext log INFO: Manager: init: Associated with Deployer

RE: Tomcat, Windows, And Deployment

2010-05-06 Thread Caldarale, Charles R
From: Timothy Orme [mailto:to...@genome.med.harvard.edu] Subject: Re: Tomcat, Windows, And Deployment Any suggestions for other caching places? I'm running tomcat through IIS, so maybe that could be the culprit? Not sure, since I avoid IIS like the plague. If there are smart (?) routers

RE: Tomcat, Windows, And Deployment

2010-05-06 Thread Propes, Barry L
Is that really ALL of the log(s)? Seems like there'd be more in some of the other logs. -Original Message- From: Timothy Orme [mailto:to...@genome.med.harvard.edu] Sent: Thursday, May 06, 2010 3:43 PM To: users@tomcat.apache.org Subject: Re: Tomcat, Windows, And Deployment Yeah, the

  1   2   >