RE: Shared Library Issue using JVM ext

2009-01-31 Thread Peter Crowther
From: Ishtiaq Ahmed [mailto:ishtiaq.ah...@ooober.com] I know this has been discussed many time but couldn't find the exact thing I am looking for. I am deploying several application over tomcat6. Each having its own libraries in WEB-INF/lib. Many of the applications are using the same

Very OT: RE: Slightly OT: ApacheCon Europe 2009

2009-01-31 Thread Peter Crowther
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com] usually the tomcat committers crowd at one table during the hackathon, so feel free to seek us out and join us at the table. if you wear a red rose in your hair, it will be easier to find you ... why do I now have visions of a room

Re: Very OT: RE: Slightly OT: ApacheCon Europe 2009

2009-01-31 Thread André Warnier
Peter Crowther wrote: From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com] usually the tomcat committers crowd at one table during the hackathon, so feel free to seek us out and join us at the table. if you wear a red rose in your hair, it will be easier to find you ... why do I now have

Content-Language en-US

2009-01-31 Thread Rubens
I always see Content-Language en-US on the HTTP header response of Tomcat 6. I wrote code below to have a different locale and header on the response. However, this does not change the response header. response.setLocale(userSession.getLocale()); ((HttpServletResponse)

Re: Content-Language en-US

2009-01-31 Thread André Warnier
Rubens wrote: I always see Content-Language en-US on the HTTP header response of Tomcat 6. I wrote code below to have a different locale and header on the response. However, this does not change the response header. response.setLocale(userSession.getLocale()); ((HttpServletResponse)

RE: application.getRealPath() in JSP from a subdirectory

2009-01-31 Thread Caldarale, Charles R
From: Qiao Jin [mailto:bra...@gmail.com] Subject: RE: application.getRealPath() in JSP from a subdirectory Could you elaborate a bit on your statement: Using getRealPath() inside an app server of any kind is pretty much always a Bad Idea? The container (app server) is under no obligation to

RE: Tomcat 5.5 service won't start

2009-01-31 Thread Caldarale, Charles R
From: arricherekk [mailto:arricher...@hotmail.com] Subject: Tomcat 5.5 service won't start I installed Tomcat 5.5 yesterday, with limited success. It took me until a few hours ago to manage to get all of the ports and such things set correctly, so that everything would run properly. That's

Location of properties file for web app in Tomcat

2009-01-31 Thread Flavius
Greetings, I've spent some time searching online and reading other threads here, such as http://www.nabble.com/where-to-put-config-file-in-a-webapp-td16448528.html#a16450373. I have a question that wasn't quite answered there though. I have a web app that needs to have property information

RE: Location of properties file for web app in Tomcat

2009-01-31 Thread Caldarale, Charles R
From: Flavius [mailto:flav...@silverlion.com] Subject: Location of properties file for web app in Tomcat 1. Where is the best place to put the properties file if I want it located outside the war itself? I don't think there's a best place that would be applicable to all environments. One

Problem in listener

2009-01-31 Thread ahmet temiz
hello I encountered this exception: ~ Jan 31, 2009 9:23:55 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener

Re: commons-logging problem

2009-01-31 Thread John Holman
Certainly putting commons-logging and log4j in the container's common/lib directory is the documented configuration. However this does not allow application-level logging for libraries used by the application like digester or spring that themselves use commons logging. The application log

RE: Tomcat 5.5 service won't start

2009-01-31 Thread arricherekk
Caldarale, Charles R wrote: From: arricherekk [mailto:arricher...@hotmail.com] Subject: Tomcat 5.5 service won't start I installed Tomcat 5.5 yesterday, with limited success. It took me until a few hours ago to manage to get all of the ports and such things set correctly, so that

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-31 Thread Nathan Potter
Chuck, I got the same error with your version. Which got me thinking. So removed all of my webapp files and tried a again with a fresh war file and now they both work. Thanks! Nathan On Jan 29, 2009, at 8:27 PM, Caldarale, Charles R wrote: From: Nathan Potter

Apache Tomcat 6.0 loads blank page

2009-01-31 Thread zia mohades
Hi there, I am currently having issue loading my own page using tomcat apache 6.0 on ubuntu, here are the details; 1) when I start the server using sudo /etc/init.d/tomcat restart and then try to access the server via http://localhost:8080, i sucessfully get the welcome page and the logo of the

RE: Tomcat 5.5 service won't start

2009-01-31 Thread Caldarale, Charles R
From: arricherekk [mailto:arricher...@hotmail.com] Subject: RE: Tomcat 5.5 service won't start I got the exact same error as before. Any idea what the Apache Tomcat Native Library is? That's not an error; note the INFO tag. It's ignorable. APR is the Apache Portable Runtime, an optional

RE: Problem in listener

2009-01-31 Thread Caldarale, Charles R
From: ahmet temiz [mailto:ahmettemi...@gmail.com] Subject: Problem in listener how can I solve this ? You can start by providing useful information: Tomcat version, JRE/JDK vendor and version, type of platform. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: Problem in listener

2009-01-31 Thread Martin Gainty
http://www.java2s.com/Code/Jar/Spring-Related/Downloadjsfapijar.htm HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential

running tomcat with root user

2009-01-31 Thread epicwin...@hotmail.com
I have the latest tomcat 6 installed under centos 5.2. The problem I am having is that it appears that I have to run tomcat as root user, because the spring app that tomcat starts needs to write files to other users' home directories. The tomcat user doesn't have access to these directories.

RE: application.getRealPath() in JSP from a subdirectory

2009-01-31 Thread Qiao Jin
Mark, Thanks for your help. This makes sense. I misunderstood the meaning of appBase. getRealPath() is behaving well now, although I will explore the other options Chuck mentioned. Regards, Qiao -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, January 30,

failed ActiveMQ hangs tomcat

2009-01-31 Thread AD
hello, i am running into a situation where if our JMS server is down (activemq) the tomcat application does not respond at all. Not sure why tomcat is relying so heavily on this connection , any ideas as to why this would be ? Thanks Adam

Re: failed ActiveMQ hangs tomcat

2009-01-31 Thread Kirk True
Hi Adam, AD wrote: hello, i am running into a situation where if our JMS server is down (activemq) the tomcat application does not respond at all. Not sure why tomcat is relying so heavily on this connection , any ideas as to why this would be ? Does your ActiveMQ connection URL

Re: failed ActiveMQ hangs tomcat

2009-01-31 Thread AD
actually i think i did notice failover() with only 1 address in non-prod. I think the reason that was there was some config templating issue. Are you saying if you remove the failover and just go straight in this might resolve it? Will give it a shot Adam On Sun, Feb 1, 2009 at 12:05 AM, Kirk

Re: failed ActiveMQ hangs tomcat

2009-01-31 Thread Kirk True
Hi Adam, AD wrote: actually i think i did notice failover() with only 1 address in non-prod. I think the reason that was there was some config templating issue. Are you saying if you remove the failover and just go straight in this might resolve it? Will give it a shot Failover is

Re: Location of properties file for web app in Tomcat

2009-01-31 Thread Keshav Prasad
I think what Chuck mentioned is a nice approach. You could set an env variable and read it off when app server initializes something like this- String path = System.getenv(PROP_FILE_PATH); Use this file path to read the properties file. On Sat, Jan 31, 2009 at 11:19 AM, Caldarale, Charles R

Re: Location of properties file for web app in Tomcat

2009-01-31 Thread Kirk True
Hi all, Caldarale, Charles R wrote: From: Flavius [mailto:flav...@silverlion.com] Subject: Location of properties file for web app in Tomcat 1. Where is the best place to put the properties file if I want it located outside the war itself? I don't think there's a best place that would

Re: Apache Tomcat 6.0 loads blank page

2009-01-31 Thread Keshav Prasad
After you placed the mms_tets inside the webapp directory, try accessing http://localhost:8080/mms_tets/ or something like http://localhost:8080/mms_tets/somefile.html Replace somefile.html with a file that exists. On Sat, Jan 31, 2009 at 6:39 PM, zia mohades zia.si...@gmail.com wrote: Hi