axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sukma Agung Verdianto" <save...@gmail.com>
Subject Re: [axis2] custom configuration context
Date Sat, 19 Jan 2008 03:19:45 GMT
 You should use file:///path/to/axis2.xml instead of //file:/path/to/axis2.xml

Regards,
Sukma

On 1/18/08, Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:
> Hi all,
>
> I'd like to create a custom configuration context from inside a service
> archive. The parameters (axis2.xml and repository) are contained into
> the aar file (or at least the custom axis2.xml).
> I've tried both the
> ConfigurationContextFactory.createConfigurationContextFromFileSystem and
> ConfigurationContextFactory.createConfigurationContextFromURIs, but they
> don't work as expected.
>
> This is the result when I use the first approach and my custom axis2.xml
> (worker_axis2.xml) is contained into the archive
>
> ERROR 16:30:35,124 (WorkerConfiguration.java:128) -
> org.apache.axis2.AxisFault: System can not find the given axis2.xml
> file:/work/michele/router/work/Catalina/localhost/axis2/axis227495RoutingService.aar!/ncl/qosp/controller/worker_axis2.xml
>
> The other approach fails in a similar way:
> ERROR 16:21:10,971 (WorkerConfiguration.java:127) -
> org.apache.axis2.AxisFault: invalid
> url:
> //file:/work/michele/router/work/Catalina/localhost/axis2/axis226240RoutingService.aar!/repository/
> (java.net.MalformedURLException: no protocol:
> //file:/work/michele/router/work/Catalina/localhost/axis2/axis226240RoutingService.aar)
>
>
> Any idea?
>
> Thanks,
> Michele
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message