You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mike Wallace <th...@yahoo.com> on 2002/11/07 17:30:24 UTC
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
RE: Error while trying to deploy service
Posted by Mike Wallace <th...@yahoo.com>.
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....@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
RE: Error while trying to deploy service
Posted by Mattia dongili <m....@hisn.it>.
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