Deploy a Web service with system properties

2004-03-04 Thread Quinn Cao
Could someone give me some help on this? I have a service which is started up with the system properties as following: java -DLogFileDir=c:\test\logs -DDataSource=MyDataSource com.bambi.MyService Now I need to convert the above service into a web service by using soap under Tomcat. My question

RE: Deploy a Web service with system properties

2004-03-04 Thread Shapira, Yoav
service with system properties Could someone give me some help on this? I have a service which is started up with the system properties as following: java -DLogFileDir=c:\test\logs -DDataSource=MyDataSource com.bambi.MyService Now I need to convert the above service into a web service by using

RE: Deploy a Web service with system properties

2004-03-04 Thread Quinn Cao
Thanks. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 9:15 AM To: Tomcat Users List Subject: RE: Deploy a Web service with system properties Hi, You can at any point in any of your classes use System.setProperty(LogFileDir, c:\test\logs

Setting system properties in standalone Tomcat 4.1.24

2004-01-26 Thread Chris Ward
Hi all, Sorry if this is a really dumb question, but how/where do I set system properties when using Tomcat 4.1.24? I've searched around but found nothing obvious. Is it in an xml file rather than a .properties file? Is it in the Java JDK? Best regards Chris

RE: Setting system properties in standalone Tomcat 4.1.24

2004-01-26 Thread Rudolf Visagie
If by system properties you mean JVM (Java Virtual Machine) settings, then you can do this by setting the CATALINA_OPTS variable in the catalina.sh (unix, linux) or catalina.bat (win32) file in the /bin directory of your Tomcat installation. -Original Message- From: Chris Ward [mailto

RE: Setting system properties in standalone Tomcat 4.1.24

2004-01-26 Thread Chris Ward
Thanks. That's just what I needed. I thought I'd done it at some point in the past! Best regards Chris If by system properties you mean JVM (Java Virtual Machine) settings, then you can do this by setting the CATALINA_OPTS variable in the catalina.sh (unix, linux) or catalina.bat (win32

Re: classpath issues and system properties

2003-08-21 Thread Bill Barker
srinivas reddy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am using tomcat 4.1.24. I have a couple of questions. 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have included j2ee.jar in my CLASSPATH, but tomcat is not

Re: classpath issues and system properties

2003-08-21 Thread srinivas reddy
--- Bill Barker [EMAIL PROTECTED] wrote: srinivas reddy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am using tomcat 4.1.24. I have a couple of questions. 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have

RE: classpath issues and system properties

2003-08-21 Thread Shapira, Yoav
Howdy, I found this documentation at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html . Did I misunderstand it or it says what I am thinking? You misunderstood it. Why is using j2ee.jar with tomcat is not recommended? Because it contains duplicate older versions of

Re: classpath issues and system properties

2003-08-21 Thread Justin Ruthenbeck
At 08:48 AM 8/21/2003, you wrote: 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have included j2ee.jar in my CLASSPATH, but tomcat is not picking it up. Why is it so? Wherever you saw these docs, they are wrong. Tomcat ignores the

classpath issues and system properties

2003-08-20 Thread srinivas reddy
Hi, I am using tomcat 4.1.24. I have a couple of questions. 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have included j2ee.jar in my CLASSPATH, but tomcat is not picking it up. Why is it so? 2. When I use tomcat, system property

RE: System properties

2003-08-14 Thread Shapira, Yoav
Howdy, But what do I have to do if I would like to set more than one system property? export JAVA_OPTS='-DpropName1=propValue1 -DpropName2=propValue2' ??? Yes, as many as you want just like that. Yoav Shapira This e-mail, including any attachments, is a confidential business

System properties

2003-08-14 Thread Christian Hauser
Hello I'd like to know how I can set system properties when starting Tomcat 4.1. I mean those properties that I can get from within a JSP file as: System.getProperty(CONFIG_HOME) Thank you in advance for any hint. Christian

Re: System properties

2003-08-06 Thread Christian Hauser
Tim Funk wrote: http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim Thank you Tim for pointing me to the right place. But what do I have to do if I would like to set more than one system property? export JAVA_OPTS='-DpropName1=propValue1 -DpropName2=propValue2' ??? Regards,

Re: System properties

2003-08-06 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim Christian Hauser wrote: Hello I'd like to know how I can set system properties when starting Tomcat 4.1. I mean those properties that I can get from within a JSP file as: System.getProperty(CONFIG_HOME) Thank you in advance for any

Tomcat and system properties

2003-07-22 Thread Olivier Jouny
Hi all, The system properties seems to be global in the tomcat JVM which means that a webapps can get the property of an other. This is annoying when you use two different version of the same web app where properties have different value. Is it a normal behavior ? Thanks. Olivier

RE: Tomcat and system properties

2003-07-22 Thread Bodycombe, Andrew
Yes. System properties are set for the JVM not each individual web application. http://java.sun.com/docs/books/tutorial/essential/system/properties.html If you require properties specific to your web application, you should use Servlet initialization parameters or ServletContext Initialization

Re: Tomcat and system properties

2003-07-22 Thread Tim Funk
Thats why its a System property. Its global to the JVM. If you want individual configuration options for your webapp then either: - Place them in web.xml as init parameters - Use JNDI and set the config items in server.xml (or appropriate) -Tim Olivier Jouny wrote: Hi all, The system

Set System properties at TC startup

2003-06-19 Thread christian . schuster
Hi list, I have several web applications running. All of them have some properties equal. They are also important in order to the web applications working appropriatly. Is there a way at TC startup time to set these properties (just Strings) and in case the properties are not found to let TC

Re: Set System properties at TC startup

2003-06-19 Thread Bill Barker
Assuming that you are using TC 4.x (TC 3.3 has a different way of doing this), then you create a file called setenv.(bat|sh) (of course, bat for Windows, sh for *nix). In this file you set the environment variable CATALINA_OPTS to define the system properties that you need. [EMAIL PROTECTED

Re: Set System properties at TC startup

2003-06-19 Thread christian . schuster
System properties at TC 19.06.2003 09:45 startup Please respond

Re: Set System properties at TC startup

2003-06-19 Thread Tim Funk
Subject Re: Set System properties at TC 19.06.2003 09:45 startup

Re: Set System properties at TC startup

2003-06-19 Thread John Turner
This looks pretty recent...is it? John On Thu, 19 Jun 2003 07:05:04 -0400, Tim Funk [EMAIL PROTECTED] wrote: http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim [EMAIL PROTECTED] wrote: Yes I am running Tomcat 4.1.18. Where does this file need to be located that TC is reading it

Re: Set System properties at TC startup

2003-06-19 Thread Tim Funk
Yup. I recently committed the FAQ to jakarta-tomcat-site. For the short term, I will probably try to make a mass update once a week or every other week based on questions, gaps, (and my own knowledge of the solution). I already have a list of updates I want to make. (I save a lot of potential

Re: Set System properties at TC startup [SOLVED]

2003-06-19 Thread christian . schuster
] cc Please respond to Subject Tomcat Users Re: Set System properties at TC

Re: Set System properties at TC startup

2003-06-19 Thread John Turner
Cool! John On Thu, 19 Jun 2003 09:23:47 -0400, Tim Funk [EMAIL PROTECTED] wrote: Yup. I recently committed the FAQ to jakarta-tomcat-site. For the short term, I will probably try to make a mass update once a week or every other week based on questions, gaps, (and my own knowledge of the

Configuring System properties

2003-02-07 Thread Sreedhar, Dantam
Hi, I am using Java Web Services Developer Pack to expose methods using SOAP. The problem is I want to read a property file location in my program. If the program is of application type, this can be implemented by setting system property using -D searcher.home = command line argument. My

RE: Configuring System properties

2003-02-07 Thread Shapira, Yoav
-Original Message- From: Sreedhar, Dantam [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 7:53 AM To: Tomcat Users List Subject: Configuring System properties Hi, I am using Java Web Services Developer Pack to expose methods using SOAP. The problem is I want to read a property file

Re: Configuring System properties

2003-02-07 Thread Will Hartung
From: Shapira, Yoav [EMAIL PROTECTED] Sent: Friday, February 07, 2003 6:02 AM Subject: RE: Configuring System properties Howdy, If you want to go the same route, simply add -Dsearcher.home=... to the JAVA_OPTS variable in $CATALINA_HOME/bin/catalina.sh. It will be available via

Re: Configuring System properties

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Will Hartung wrote: Do all of the webapps see the same System Properties? Yes, if they're running in the same JVM. I can't imagine why not (assuming they share a JVM), but with all of the isolation that's enforced between the webapps, it gives one pause to consider

tomcat system properties

2002-09-17 Thread Ralph Goers
Where are the system properties used by tomcat documented somewhere? Are there any others besides catalina.home and catalina.base? Thanks, Ralph

RE: tomcat system properties

2002-09-17 Thread Turner, John
CATALINA_HOME/bin/catalina.bat or catalina.sh has the full list. John -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:23 PM To: Tomcat Users List Subject: tomcat system properties Where are the system properties used

System properties

2002-05-03 Thread Richard Wooding
Hi all, Is it possible to change system properties from within' a JSP page. Regards Richard Wooding -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: System properties

2002-05-03 Thread PChaganti
What system properties are you referring to? prabhakar Is it possible to change system properties from within' a JSP page. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

how to set environment variable(or system properties)

2002-04-29 Thread Leland Chen
to define these enviornment variables in tomcat ? I especially like the environment variables(or system properties) can be defined to one particular application. Thanks, Leland _ Send and receive Hotmail on your

Re: System properties

2000-11-27 Thread Miles Daffin
Craig, I was wondering if there is an optimal way of doing the following in TomCat? If you have the time to briefly describe such Thanks Miles (I prefer to store global application objects in the servlet context, so that they are easily visible to all servlets and JSP pages in

Re: System properties

2000-11-27 Thread Craig R. McClanahan
Miles Daffin wrote: Craig, I was wondering if there is an optimal way of doing the following in TomCat? If you have the time to briefly describe such Thanks Miles (I prefer to store global application objects in the servlet context, so that they are easily visible to all

Re: System properties

2000-11-20 Thread Miles Daffin
Hi guys, From the looks of things, it is just the way it is, although I was hoping the there would be some way to put stuff in the web.xml file, maybe in the servlet tag like: system-property namemyproperty/name value42/value /system-property Anyone think this is a good idea,

Re: System properties

2000-11-20 Thread Craig R. McClanahan
Miles Daffin wrote: As long as this property value is never broadcast i.e. System.setProperty("myProperty", "42"); System properties, in the sense that we are talking about the java.lang.System class, are global to the entire JVM. Therefore, even if

Re: System properties

2000-11-19 Thread Jim Rudnicki
From the looks of things, it is just the way it is, although I was hoping the there would be some way to put stuff in the web.xml file, maybe in the servlet tag like: system-property namemyproperty/name value42/value /system-property Anyone think this is a good idea, or am I talking

Re: System properties

2000-11-17 Thread Rachel Greenham
On Friday 17 November 2000 14:27, you wrote: Hi, I was wondering if it is possible to pass properties to Tomcat. I have some classes which read various system properties in their static initializers, and this works fine when using these classes on the command line using "java -Dpro

RE: System properties

2000-11-17 Thread Stuart Farnan
, it is nicer to say "java -Ddb.properties=/home/stuart/db.properties". As the classes are not servlets, servletContext.getResource() is not really an option. I could not find anything about TOMCAT_OPTS on the web site, persumably this is an environment variable, what format do you put system

RE: System properties

2000-11-17 Thread Stuart Farnan
of the connection pooling in one place, including the actions of reading the system properties file. Yeah, all the stuff is in process, no separate database access server. From the looks of things, it is just the way it is, although I was hoping the there would be some way to put stuff

RE: System properties

2000-11-17 Thread Stuart Farnan
John Thanks for that, will look into further and let you know. Stuart -Original Message- From: John Ellis [mailto:[EMAIL PROTECTED]] Sent: 17 November 2000 17:44 To: [EMAIL PROTECTED] Subject: Re: System properties According to the dtd: http://java.sun.com/j2ee/dtds/web-app_2.2.dtd

Re: System properties

2000-11-17 Thread Craig R. McClanahan
is entry is (the dtd description did not specifically say how to get these values back -- I am assuming System.getProperties())? Does anyone know if more current version of tomcat support it? Will future versions? You would not really want to use system properties for this in the first place. What wo