Michele,
How did you construct the URLs passed as arguments to
createConfigurationContextFromURIs?
Can you also provide the stack trace of the
java.net.MalformedURLException, or better the instruction in the
source code that triggers this exception?
Andreas
On 18 Jan 2008, at 17:35, Michele Mazzucco 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]