Dear Scott,

I hv just followed the steps as per your statement and
the doc.I hv started the tomcat from the bin directory
using the startup.bat.Then i switched over to the
dirctory where the deploy.wsdd is available.Then i set
the classpath for the jar files from this position.
I was getting the error as below.

D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\classes\samples\transport>java
or
apache.axis.client.AdminClient -
lhttp://localhost:8080/axis/services/AdminSer
ce deploy.wsdd
- Processing file
lhttp://localhost:8080/axis/services/AdminService
- Exception:
java.io.FileNotFoundException:
lhttp://localhost:8080/axis/services/AdminServi
 (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at
java.io.FileInputStream.<init>(FileInputStream.java:64)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:291)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:299)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:250)
at
org.apache.axis.client.AdminClient.main(AdminClient.java:335)

Then i switched over to the home dirctory,where i set
the classpath for the jar files and run the
program.There also i got the same above error.

My classpath settings is as below:

CLASSPATH=D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\lib\axis.jar;D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\lib\commons-logging.jar;D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\lib\Jaxp.jar;D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\lib\jaxrpc.jar;D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\lib\log4j-core.jar;

Please advise.

Regards,
Ram
--- Scott Nichol <[EMAIL PROTECTED]> wrote:
> Let's use the Axis installation instructions as a
> reference.  It sounds to
> me like you have completed steps 1 through 4.  You
> must now complete step 5.
> You must have the jars in question in your classpath
> at the command prompt.
> To run the command shown, you must be in the same
> directory as the
> deploy.wsdd for the service you want to deploy. 
> Then go on to step 6.
> 
> If you receive an error doing this, please paste the
> error text into an
> e-mail and post it.
> 
> Scott Nichol
> 
> ----- Original Message -----
> From: "Ramamoorthy Namachivayam"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 28, 2002 11:42 AM
> Subject: Re: Axis Installation Error in Tomcat
> 
> 
> > Scott,
> >
> > Thank you for your reply.
> >
> > I could able to run the sample applictions that
> comes
> > part of the axis package as a standalone.That is i
> am
> > able to deploy it if the axis serves as a
> standalone
> > server.I get problem only when i integrate it with
> > tomcat and run it.I hv copied the jars file to the
> > tomcat directory as per the documents.
> >
> > What i could understand from you is that,i start
> the
> > tomcat server and then switch over to my axis
> > directory,from where i hv to give the command to
> > execute the application.If i am worng please
> pardon
> > me.
> >
> > Regards,
> > Ram
> >
> >
> > --- Scott Nichol <[EMAIL PROTECTED]>
> wrote:
> > > Ram,
> > >
> > > The application has client and server components
> > > running in separate JVMs.
> > > The server runs your SOAP services.  The client
> > > accesses the SOAP services
> > > (using APIs defined in JAX-RPC).
> > >
> > > You have installed Tomcat, and have installed
> Axis
> > > as a web application.
> > > The service for your application is installed as
> > > part of the Axis web
> > > application.  That means your jar(s) should be
> > > placed in the lib directory
> > > of the web application
> > >
> >
>
(D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\lib\.).
> > > If you have classes not in jars, they go under
> > >
> >
>
(D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\classes\.)
> > > where, as always,
> > > there must be a directory structure that matches
> the
> > > package structure.
> > > This all corresponds to Step 3 of the
> installation
> > > instructions.
> > >
> > > In order to make the services available to
> clients,
> > > they must be deployed.
> > > It so happens that deployment is done using a
> > > service that is part of Axis.
> > > In order to run the client for this service, you
> > > must have various Axis jars
> > > available through your classpath.  You change
> your
> > > classpath at the command
> > > line, through a script or (for NT, Win2k, XP)
> > > through the System Control
> > > Panel applet.  The jars that must be in your
> > > classpath and the command to
> > > run to deploy the service are in Step 5 of the
> > > installation instructions.
> > >
> > > Fortunately, once you have the classpath set for
> the
> > > deployment service
> > > client, it is ready to work with other Axis
> service
> > > clients, including those
> > > you write for your applications.
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Ramamoorthy Namachivayam"
> > > <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, June 28, 2002 11:07 AM
> > > Subject: Re: Axis Installation Error in Tomcat
> > >
> > >
> > > > Dear scott,
> > > >
> > > > If this is the case then where should i set
> the
> > > > classpath and where from i should run the
> > > application.
> > > > ie,i should run the application from the
> > > tomcat/bin
> > > > directory or from my axis installation
> directory.
> > > > Please elaborate.
> > > >
> > > > Regards,
> > > >
> > > > Ram
> > > > --- Scott Nichol <[EMAIL PROTECTED]>
> > > wrote:
> > > > > There is no need to change catalina.bat. 
> The
> > > only
> > > > > classpath changes are for
> > > > > your shell (a/k/a DOS Prompt, in your case).
> > > These
> > > > > changes allow client
> > > > > software to access the services running in
> > > Tomcat.
> > > > >
> > > > > Scott Nichol
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Ramamoorthy Namachivayam"
> > > > > <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Friday, June 28, 2002 10:22 AM
> > > > > Subject: Axis Installation Error in Tomcat
> > > > >
> > > > >
> > > > > > Dear friends,
> > > > > > I hv downloaded the xml-axis-beta2 from
> apache
> > > and
> > > > > > configured with tomcat-4.0.4 as per the
> > > > > instructions
> > > > > > provided there.
> > > > > >
> > > > > > Also i hv copied the jar files from my
> axis
> > > > > > directory(it is
> > > > > >
> > > D:\xml-axis-beta2\webapps\axis\WEB-INF\lib\.)to
> my
> > > > > > tomcat directory(it is
> > > > > >
> > > > >
> > > >
> > >
> >
>
D:\jakarta-tomcat-4.0.4\webapps\axis\WEB-INF\lib\.)as
> > > > > > per the instruction.
> > > > > >
> > > > > > As per the document we have to set the
> > > classpath
> > > > > for
> > > > > > these jars also.Accordingly i hv set the
> > > classpath
> > > > > >
> > >
> (%CATALINA_HOME%\webapps\axis\WEB-INF\lib\axis.jar
> > > > > > for all jar files in
> > > > > <tomcat-home>/bin/catalina.bat
> > > > > > file.
> > > > > >
> > > > > > Thereafter i started my tomcat by giving
> the
> > > > > command
> > > > > > startup.It has thrown an error 'Access is
> > > > > > denied'.After this i hv removed the above
> > > > > classpath
> > > > > > set in only for the jars and restarted my
> > > tomcat
> > > > > and
> > > > > > it is started working.
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

Reply via email to