# xml-soap-dev mailing list archives

##### Site index · List index
Message view
Top
From Scott Nichol <snicholn...@scottnichol.com>
Subject Re: Classpath on Windows ME
Date Wed, 09 Oct 2002 16:05:49 GMT
```The Windows ME version of start does not support a title parameter;
therefore, you should remove the "Catalina" parameter from line 3.

Also, your classpath is all wrong.  Tomcat does not want your normal
classpath.  It wants a classpath with its own bootstrap.jar and the
tools.jar from your JDK.  The Tomcat classpath should not have anything
else.  Tomcat will pick up everything in its common/lib directory, as
well as all the classes and jars copied to webapps/axis (you have
followed the instructions at
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/install.
html, right?).

Also, I cannot recommend strongly enough that you use the release
version of Axis rather than a beta.

Scott Nichol

----- Original Message -----
From: "Syam Rajasekharuni" <syamr@rivernet.com.au>
To: <soap-dev@xml.apache.org>
Sent: Wednesday, October 09, 2002 2:11 AM
Subject: Re: Classpath on Windows ME

> Hi,
>
> I created the bat file with the following:
>
> Line 1
> set _CLASSPATH=%CLASSPATH%
>
> Line2
> set
>
CLASSPATH="C:\XML-AXIS-BETA1\LIB\AXIS.JAR;C:\XML-AXIS-BETA1\LIB\JAXRPC.J
AR;C
>
:\XML-AXIS-BETA1\LIB\CLUTIL.JAR;C:\XML-AXIS-BETA1\LIB\WSDL4J.JAR;C:\XML-
AXIS
> -BETA1\LIB\LOG4J-CORE.JAR;C:\XML-AXIS-BETA1\LIB\COMMONS-LOGGING.JAR;C:
\XML-A
>
XIS-BETA1\LIB\TTBYTECODE.JAR;C:\JAKARTA-TOMCAT-4.0.4\COMMON\LIB\XERCES.J
AR;C
> :\JAKARTA-TOMCAT-4.0.4\COMMON\LIB\ACTIVATION.JAR"
>
> Line3
> start "Catalina"
>
"C:\J2SDK1.4.0_02\BIN\java" -Dcatalina_base="c:\jakarta-tomcat-4.0.4" -D
cata
> lina_home="c:\jakarta-tomcat-4.0.4"
org.apache.catalina.startup.Bootstrap
> start
>
> Line 4
> set CLASSPATH=%_CLASSPATH%
>
> I have placed this file in C:\JAKARTA-TOMCAT-4.0.4/BIN directory and
invoked
> it.
>
> I got this error:
>
> A device attached to the system is not functioning
>
> Any clues ?
>
> Thanks
> Syam
>
>
>
> ----- Original Message -----
> From: "Scott Nichol" <snicholnews@scottnichol.com>
> To: <soap-dev@xml.apache.org>
> Cc: <axis-user@xml.apache.org>
> Sent: Wednesday, October 09, 2002 12:27 PM
> Subject: Re: Classpath on Windows ME
>
>
> > You will find that catalina.bat uses a fair amount of environment.
> > However, it is mostly dynamically creating the proper command to
invoke.
> > On the machine I am currently using, which already has
CATALINA_HOME,
> > CATALINA_BASE and JAVA_HOME in the environment, running startup.bat
from
> > %CATALINA_HOME%\bin is equivalent to (word wrapping will make this
look
> > screwy, but it's 5 lines)
> >
> > set _CLASSPATH=%CLASSPATH%
> > set
> >
CLASSPATH="j:\jakarta-tomcat-4.0.1\bin\bootstrap.jar;j:\j2sdk1.4.0_01\li
> > b\tools.jar"
> > start "Catalina" "j:\j2sdk1.4.0_01\bin\java"
> >  -Dcatalina.base="j:\jakarta-tomcat-4.0.1"
> >  -Dcatalina.home="j:\jakarta-tomcat-4.0.1"
> >  org.apache.catalina.startup.Bootstrap
> >  start
> > set CLASSPATH=%_CLASSPATH%
> > set _CLASSPATH=
> >
> > You should be able to construct a batch file with a similar set of
> > commands to execute Tomcat as an alternative to the startup.bat.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Syam Rajasekharuni" <syamr@rivernet.com.au>
> > To: <soap-dev@xml.apache.org>
> > Cc: <axis-user@xml.apache.org>
> > Sent: Tuesday, October 08, 2002 10:00 PM
> > Subject: Re: Classpath on Windows ME
> >
> >
> > > Hi,
> > >
> > > I have tried maximum environment space of 4096K with CLASSPATH
defined
> > as
> > > shown below by Scott, restarted PC,
> > > Still I get the same error Out of Environment Space when Tomcat
> > startup is
> > > invoked.
> > >
> > > I read on Internet that increasing the maximum environment space
> > beyond
> > > 4096K may work, but it didn't in this case.
> > > Can someone replicate the problem on thier Pc (Windows 98 or ME)
what
> > I am
> > > trying to do ? You must have JDK1.4 or above, Jakarta-Tomcat 4.0.3
or
> > above,
> > > AXIS 1.
> > >
> > > If so, I will send the code for web service.
> > >
> > > Thanks
> > > Syam
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > To: <soap-dev@xml.apache.org>
> > > Sent: Wednesday, October 09, 2002 1:18 AM
> > > Subject: Re: Classpath on Windows ME
> > >
> > >
> > > > Check
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q230205;
> > > > you will see that the maximum environment space is 4096k.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > > To: <soap-dev@xml.apache.org>
> > > > Sent: Tuesday, October 08, 2002 11:07 AM
> > > > Subject: Re: Classpath on Windows ME
> > > >
> > > >
> > > > > I suspect your use of /e:9200000 in config.sys means that the
> > option
> > > > is
> > > > > ignored.  My config.sys on Windows 98 has
> > > > >
> > > > >     shell=c:\windows\command.com /e:4096 /p
> > > > >
> > > > > You can build your classpath like (note that you should not
need
> > the
> > > > > J2SDK stuff)
> > > > >
> > > > > SET CLASSPATH=C:\AXIS
> > > > > SET CLASSPATH=%CLASSPATH%;C:\XML-AXIS-BETA1\LIB\AXIS.JAR
> > > > > SET CLASSPATH=%CLASSPATH%;C:\XML-AXIS-BETA1\LIB\JAXRPC.JAR
> > > > > SET CLASSPATH=%CLASSPATH%;C:\XML-AXIS-BETA1\LIB\CLUTIL.JAR
> > > > > SET CLASSPATH=%CLASSPATH%;C:\XML-AXIS-BETA1\LIB\WSDL4J.JAR
> > > > > SET CLASSPATH=%CLASSPATH%;C:\XML-AXIS-BETA1\LIB\LOG4J-CORE.JAR
> > > > > SET
> > CLASSPATH=%CLASSPATH%;C:\XML-AXIS-BETA1\LIB\COMMONS-LOGGING.JAR
> > > > > SET CLASSPATH=%CLASSPATH%;C:\XML-AXIS-BETA1\LIB\TTBYTECODE.JAR
> > > > > SET
> > > >
CLASSPATH=%CLASSPATH%;C:\JAKARTA-TOMCAT-4.0.4\COMMON\LIB\XERCES.JAR
> > > > > SET
> > > > >
> > > >
> >
CLASSPATH=%CLASSPATH%;C:\JAKARTA-TOMCAT-4.0.4\COMMON\LIB\ACTIVATION.JAR
> > > > >
> > > > > You may want to download a new copy of Axis: version 1.0 was
just
> > > > > released.  There is no reason to be running a beta.
> > > > >
> > > > > BTW, axis-user@xml.apache.org would be a more appropriate
place
> > for
> > > > this
> > > > > question.
> > > > >
> > > > > Scott Nichol
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Syam Rajasekharuni" <syamr@rivernet.com.au>
> > > > > To: <soap-dev@xml.apache.org>
> > > > > Sent: Friday, August 09, 2002 1:24 AM
> > > > > Subject: Classpath on Windows ME
> > > > >
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I am deploying SparePartPrice web service in Tomcat, AXIS
Java
> > SOAP
> > > > > > environment. I have set up Autoexec.bat on Windows ME to
point
> > to
> > > > > required
> > > > > > class file paths. I am getting Out of environment space
error
> > when
> > > > > starting
> > > > > > Tomcat. I have modified my config.sys file to increase the
> > > > > > shell=c:\command.com c:\/p /e:9200000.
> > > > > >
> > > > > > The problem is , only a single line of CLASSPATH is
appearing in
> > > > > > Autoexec.bat though I have spread the CLASSPATH into several
> > lines,
> > > > > one per
> > > > > > each required class as shown.
> > > > > >
> > > > > > SET CLASSPATH=C:\J2SDK1.4.0_02\BIN;
> > > > > > SET CLASSPATH=C:\J2SDK1.4.0_02\LIB;
> > > > > > SET CLASSPATH=C:\AXIS;
> > > > > > SET CLASSPATH=C:\XML-AXIS-BETA1\LIB\AXIS.JAR;
> > > > > > SET CLASSPATH=C:\XML-AXIS-BETA1\LIB\JAXRPC.JAR;
> > > > > > SET CLASSPATH=C:\XML-AXIS-BETA1\LIB\CLUTIL.JAR;
> > > > > > SET CLASSPATH=C:\XML-AXIS-BETA1\LIB\WSDL4J.JAR;
> > > > > > SET CLASSPATH=C:\XML-AXIS-BETA1\LIB\LOG4J-CORE.JAR;
> > > > > > SET CLASSPATH=C:\XML-AXIS-BETA1\LIB\COMMONS-LOGGING.JAR;
> > > > > > SET CLASSPATH=C:\XML-AXIS-BETA1\LIB\TTBYTECODE.JAR;
> > > > > > SET CLASSPATH=C:\JAKARTA-TOMCAT-4.0.4\COMMON\LIB\XERCES.JAR;
> > > > > > SET
CLASSPATH=C:\JAKARTA-TOMCAT-4.0.4\COMMON\LIB\ACTIVATION.JAR
> > > > > >
> > > > > > Can someone show correct way of setting CLASSPATH on Windows
ME
> > so
> > > > > that the
> > > > > > web service finds required classes during deploy time.
> > > > > >
> > > > > > Thanks
> > > > > > Syam
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > <mailto:soap-dev-unsubscribe@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > > <mailto:soap-dev-help@xml.apache.org>
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <mailto:soap-dev-unsubscribe@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <mailto:soap-dev-help@xml.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > <mailto:soap-dev-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> > <mailto:soap-dev-help@xml.apache.org>
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<mailto:soap-dev-unsubscribe@xml.apache.org>
> > > For additional commands, e-mail:
<mailto:soap-dev-help@xml.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:soap-dev-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:
<mailto:soap-dev-help@xml.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>
>
>

--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>