Re: Developing Web Services in JAVA using Apache Soap on a tomcat server
From: Asher Blum (asher-news_at_wildspark.com)
Date: 09/17/04
- Next message: Sudsy: "Re: html:img with a dynamic value STRUTS"
- Previous message: Nurettin Arslankaya: "Re: simpleDateFormat and April month"
- In reply to: John Cox: "Developing Web Services in JAVA using Apache Soap on a tomcat server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 17 Sep 2004 16:45:39 GMT
In article <b23299ee.0409101152.334d4cc7@posting.google.com>, John Cox wrote:
[snip]
> Or, in the Unix Bourne shell (/bin/sh):
>
> CLASSPATH = $CLASSPATH;$SOAP_LIB/soap.jar
> CLASSPATH = $CLASSPATH;$SOAP_LIB/mail.jar
> CLASSPATH = $CLASSPATH;$SOAP_LIB/activation.jar
[snip]
I realize this isn't relevant to your question, but these instructions
are wrong for four reasons:
1. The Bourne Shell does not allow spaces around an equals sign.
2. The Bourne Shell interprets ';' as a control operator that
terminates the command. If you really wanted a ';', you'd
need to escape or quote it.
3. The current Linux version of Sun's JVM uses ':' as the CLASSPATH
separator. (java.io.File.pathSeparatorChar)
4. Merely setting an environment variable in the shell does not make
it part of the environment of any child processes you may launch,
such as the JVM. You need to export the variable.
So a fixed version of the command, at least for Linux/Bash is:
export CLASSPATH=$CLASSPATH:$SOAP_LIB/soap.jar:$SOAP_LIB/mail.jar:$SOAP_LIB/activation.jar
- Next message: Sudsy: "Re: html:img with a dynamic value STRUTS"
- Previous message: Nurettin Arslankaya: "Re: simpleDateFormat and April month"
- In reply to: John Cox: "Developing Web Services in JAVA using Apache Soap on a tomcat server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|