Re: Accident: After app in one tomcat is deleted, the same app in another tomcat is disappeared.

2010-12-04 Thread Bill Wang
Hi Konstantin Pid, Thank you for your reply. My tomcat is apache-tomcat-6.0.14, I start tomcat by bin/startup.sh and stop by bin/shutdown.sh There is no conf/Catalina/localhost/myapp.xml I find the folder Catalina/localhost under $CATALINE_HOME/work, but I don't find any xml file under it.

Place .ini conf file inside the war package.

2010-12-04 Thread srd.pl
Hello, I have a quick question considering my rest webservice. I would like to place an .ini file with configuration parameters inside an war file, so that I can change them wile the app is deployed on tomcat without recompiling. Can any give an advice on how to do this? And how to open this

Re: tomcat 7 in debian/ubuntu

2010-12-04 Thread Mario Kleinsasser
Hello, i would like to support your work on developing a (Linux) system independent package or Debian package. We have developed something similar for our own private needs (http://sourceforge.net/projects/smsgw/files/installer/1.11/) but we are currently switched back to building binary Debian

Re: Place .ini conf file inside the war package.

2010-12-04 Thread Brian Braun
http://commons.apache.org/configuration/ ? On Sat, Dec 4, 2010 at 6:58 AM, srd.pl srolek2...@yahoo.com wrote: Hello, I have a quick question considering my rest webservice. I would like to place an .ini file with configuration parameters inside an war file, so that I can change them wile

Re: Place .ini conf file inside the war package.

2010-12-04 Thread Mark Eggers
Read about using properties files. They're typically called name.properties. Snippet of code that can be placed in a ServletContextListener. String resource = some.properties; InputStream in = this.getClass().getClassLoader().getResourceAsStream(resource); try { props.load(in);

Re: Place .ini conf file inside the war package.

2010-12-04 Thread Pid
On 12/4/10 5:41 PM, Mark Eggers wrote: Read about using properties files. They're typically called name.properties. Snippet of code that can be placed in a ServletContextListener. String resource = some.properties; InputStream in =

Can tomcat detect disconnection by client side in Async mode?

2010-12-04 Thread Ben
Hi there, Any idea about the disconnection handling? Cannot find reference for this. In my application the client may disconnect and send a new request with different parameters. On server side I wanna clean the AsynContext held by previous request. Right now only timeout will do, which is not