Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty(user.name ) to retrieve the logged in user id. But now that we start tomcat using a service, the get property call returns

RE: Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 1:27 PM To: Tomcat Users List Subject: Re: Reading environment variable from Tomcat Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from

RE: Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
PROTECTED] wrote: Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty(user.name ) to retrieve the logged in user id. But now that we start tomcat using

RE: Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
drives when it runs as a service. The real question is why do you want to know who the current desktop user(s) is/are? Tomcat should only be interested in the users coming in via http(s) connections. --David Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat

Defining JDBC Data source

2008-03-05 Thread Sureka, Sushil
We are trying to port an application from Weblogic to Tomcat. Our JDBC entry looks like this bean id=the_dataSource class=org.springframework.jndi.JndiObjectFactoryBean property name=jndiName value=myJDBC / /bean The weblogic works fine with setup. The jdbc

Tomcat installation/deployment question

2008-01-24 Thread Sureka, Sushil
Hi, We are intending to deploy our application on individual laptops (to be used by field personnel who does not have internet connectivity to connect to our central server). The idea is that a trimmed down version of our core application will be deployed on individual

RE: Tomcat installation/deployment question

2008-01-24 Thread Sureka, Sushil
XP but there is no guarantee that they won't go to Vista in a year timeframe. Sushil -Original Message- From: Gabe Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 11:54 AM To: Tomcat Users List Subject: Re: Tomcat installation/deployment question Sureka, Sushil

RE: Tomcat installation/deployment question

2008-01-24 Thread Sureka, Sushil
- From: Sureka, Sushil [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, January 24, 2008 1:00 PM Subject: RE: Tomcat installation/deployment question XP but there is no guarantee that they won't go to Vista in a year timeframe. Sushil -Original

RE: Tomcat installation/deployment question

2008-01-24 Thread Sureka, Sushil
c_Driver.connect( c_sDBURL, props ); - Original Message - From: Sureka, Sushil [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, January 24, 2008 2:39 PM Subject: RE: Tomcat installation/deployment question Well we are not intending to use laptops