axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Ward <Brian.W...@BristolWest.com>
Subject RE: Error while trying to deploy service
Date Thu, 07 Nov 2002 17:01:08 GMT
You'll need your commandline classpath including all the JARs from Axis (as
well as the servlet jar, if memory serves).

If you wish to continue your attempts at running through java code, your
"current working directory" is the one in which you started the VM (for
servlets, that where you were when you started Tomcat).  A nice hardcoded
absolute path should get you over the hump, for now.

--- bhw

-----Original Message-----
From: Mike Wallace [mailto:the_real_brisco@yahoo.com]
Sent: Thursday, November 07, 2002 11:54 AM
To: axis-user@xml.apache.org
Subject: RE: Error while trying to deploy service


That's the first thing I tried, however I kept getting
a NoClassDefFoundError on the AdminClient.  I've got
all the jar files where they should be.  It was
driving me up the wall so I tried running the
AdminClient in a jsp.
--- Mattia dongili <m.dongili@hisn.it> wrote:
> why not use this?
> java
> org.apache.axis.client.AdminClient
> -l"http://localhost/axis/services/AdminSe
> rvice" path_to\deploy.wsdd
> 
> anyway I think deploy.wsdd should reside in the same
> directory where you run
> your code from...
> in case your code is in a JSP file the execution
> directory is your server's
> execution directory ($TOMCAT_HOME/bin ?)
> 
> --
> mattia
> 
> > -----Original Message-----
> > From: Mike Wallace
> [mailto:the_real_brisco@yahoo.com]
> > Sent: Thursday, November 07, 2002 5:30 PM
> > To: axis-user@xml.apache.org
> > Subject: Error while trying to deploy service
> >
> >
> > Sorry if this is a double post (email's acting
> up).
> > I'm getting this error:
> > java.io.FileNotFoundException: deploy.wsdd (The
> system
> > cannot find the file specified)
> >
> > when running the following code:
> >   AdminClient admin = new AdminClient();
> >
> >   String[] args =
> >
>
{"-lhttp://localhost/axis/services/AdminService","deploy.wsdd"};
> >
> >   try {
> >     admin.process(args);
> >   } catch (Exception e) {
> >     out.println(e.toString()+"<BR>");
> >   }
> >
> > Gotta be something simple I'm missing.
> > Where should the deploy.wsdd file reside?
> >
> > Thanks,
> > Mike
> >
> > __________________________________________________
> > Do you Yahoo!?
> > U2 on LAUNCH - Exclusive greatest hits videos
> > http://launch.yahoo.com/u2
> 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

Mime
View raw message