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 va...@bull.net on 2003/12/05 10:03:44 UTC
Réf. : Re: problem with client-config.wsdd
I think there's a big problem with this.
Because axis.jar is located in TOMCAT_HOME/common/lib, it searchs for
client-config.wsdd only in TOMCAT_HOME/common/classes !
If I try to put it anywhere else I get an error...
This would mean that we must use the same client-config.wsdd for all
clients !!!!!!!
It's really a problem !
Valerie
Harald Pollak <h....@pke.at> sur 05/12/2003 08:31:57
Veuillez répondre à axis-user@ws.apache.org
Pour : axis-user@ws.apache.org
cc :
Objet : Re: problem with client-config.wsdd
I think the tomcats classpath search at 1st in the lib dir, so the wsdd is
found first in the jar and searching for the wssd will be stopped.
I don't really have a solution but a work arround:
remove the client-config.wsdd from the jar and but it everywhere you use
it.
maybee it is allso possible to reorder tomcats classpath to search 1st in
the class dir.
regards
harry
Am Don, den 04.12.2003 schrieb valerie.bauche@bull.net um 17:49:
I have a first config which works correctly :
TOMCAT_HOME/webbaps/myservlet/WEB-INF/classes/client-config.wsdd
TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib/axis.jar (without
client-config.wsdd)
But next, I need to use the axis.jar elsewhere in tomcat so I need to put
the axis.jar in TOMCAT_HOME/common/lib.
If I put an axis.jar containing the default client-config.wsdd, my custom
one wont be used in my servlet.
If I put an axis.jar without client-config.wsdd I get the following error :
org.apache.axis.ConfigurationException: No engine configuration file -
aborting!
Do I have to put the default client-config.wsdd someplace else ?
Valerie
Re: Réf. : Re: problem with client-config.wsdd
Posted by Harald Pollak <h....@pke.at>.
stupid question what happens if you but it twice?
in common/lib and in
TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib/axis.jar (without
client-config.wsdd).
I don't know what happens, but in your situation i would try it.
Harry
Am Fre, den 05.12.2003 schrieb valerie.bauche@bull.net um 10:03:
> I think there's a big problem with this.
> Because axis.jar is located in TOMCAT_HOME/common/lib, it searchs for
> client-config.wsdd only in TOMCAT_HOME/common/classes !
> If I try to put it anywhere else I get an error...
> This would mean that we must use the same client-config.wsdd for all
> clients !!!!!!!
> It's really a problem !
>
> Valerie
>
>
>
>
> Harald Pollak <h....@pke.at> sur 05/12/2003 08:31:57
>
> Veuillez répondre à axis-user@ws.apache.org
>
> Pour : axis-user@ws.apache.org
> cc :
> Objet : Re: problem with client-config.wsdd
>
>
> I think the tomcats classpath search at 1st in the lib dir, so the wsdd is
> found first in the jar and searching for the wssd will be stopped.
> I don't really have a solution but a work arround:
> remove the client-config.wsdd from the jar and but it everywhere you use
> it.
>
> maybee it is allso possible to reorder tomcats classpath to search 1st in
> the class dir.
>
> regards
> harry
>
>
>
> Am Don, den 04.12.2003 schrieb valerie.bauche@bull.net um 17:49:
>
> I have a first config which works correctly :
> TOMCAT_HOME/webbaps/myservlet/WEB-INF/classes/client-config.wsdd
> TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib/axis.jar (without
> client-config.wsdd)
>
> But next, I need to use the axis.jar elsewhere in tomcat so I need to put
> the axis.jar in TOMCAT_HOME/common/lib.
> If I put an axis.jar containing the default client-config.wsdd, my custom
> one wont be used in my servlet.
> If I put an axis.jar without client-config.wsdd I get the following error :
> org.apache.axis.ConfigurationException: No engine configuration file -
> aborting!
>
> Do I have to put the default client-config.wsdd someplace else ?
>
> Valerie
>
>
>
>
>
>
>
>
>