Hello Tom,

you are able to use the tomcat JNDI features for retrieving initial 
configuration
information in axis.

There is a good documentation at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html#Environment%20Entries

For example:

define a new <Environment> -tag in your Context configuration in the tomcat 
server.xml
file. Add a "<env-entry>" tag in your web application deployment descriptor 
(/WEB-INF/web.xml).
Now you are able to get the configuration via

// Obtain our environment naming context
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
// Look up our data source
<your-type>  <your-variable> = (<your-type>) 
envCtx.lookup("your-config-name");

I hope, this will help
Juergen

>how would i pass initial config information to a webservice in axis ?
>for example: "the path and filename of a logfile"

-----------------------------
Juergen Kaatz
Entwickler / Developer
WWE e-commerce IT GmbH
Eiffestrasse 462
20537 Hamburg
URL: http://www.e-commerceit.de/
URL: http://www.iets.de/ (Internet Export Trading System)
Tel: +49-40-2530659-32
Fax: +49-40-2530659-50
Tel. +49-40-2530659-0 (Zentrale)
E-Mail : [EMAIL PROTECTED]

Reply via email to