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 Sebastian Szczygiel <se...@openknowledge.de> on 2006/04/10 18:42:02 UTC

[Axis2] mymodule.mar caused module.xml not found

Hi,

I've tried to develop a module (containing a handler) for Axis2 0.95.
The mymodule.mar file looks like this:

mymodule.mar
->meta-inf/module.xml
->com.dir.dir.dir.MyTestHandler.class
->com.dir.dir.dir.MytestModule.class

The mymodule.mar lies in WEB-INF/modules together with
addressing-0.95.mar

After deployment I get

Invalid module : mymodule.mar caused module.xml not found for the
module..; nested exception is:
	org.apache.axis2.deployment.DeploymentException: module.xml not
found for the module... mymodule.mar

org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArch
ive(ArchiveReader.java:303)
...

What do I have to change/fix, if I want Axis2 to find my module.xml in
my own mar-file ?

Best regards,
Sebastian


Re: [Axis2] mymodule.mar caused module.xml not found

Posted by Eran Chinthaka <ch...@opensource.lk>.
I fixed this in the latest svn. Now META-INF is not case sensitive any
more, at least for module.xml.

-- Chinthaka

Deepal Jayasinghe wrote:
> can you please rename meta-inf to META-INF and see :)
> 
> Sebastian Szczygiel wrote:
> 
>> Hi,
>>
>> I've tried to develop a module (containing a handler) for Axis2 0.95.
>> The mymodule.mar file looks like this:
>>
>> mymodule.mar
>> ->meta-inf/module.xml
>> ->com.dir.dir.dir.MyTestHandler.class
>> ->com.dir.dir.dir.MytestModule.class
>>
>> The mymodule.mar lies in WEB-INF/modules together with
>> addressing-0.95.mar
>>
>> After deployment I get
>>
>> Invalid module : mymodule.mar caused module.xml not found for the
>> module..; nested exception is:
>> 	org.apache.axis2.deployment.DeploymentException: module.xml not
>> found for the module... mymodule.mar
>>
>> org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArch
>> ive(ArchiveReader.java:303)
>> ...
>>
>> What do I have to change/fix, if I want Axis2 to find my module.xml in
>> my own mar-file ?
>>
>> Best regards,
>> Sebastian
>>
>>
>>
>>  
>>
> 



Re: [Axis2] mymodule.mar caused module.xml not found

Posted by Deepal Jayasinghe <de...@opensource.lk>.
can you please rename meta-inf to META-INF and see :)

Sebastian Szczygiel wrote:

>Hi,
>
>I've tried to develop a module (containing a handler) for Axis2 0.95.
>The mymodule.mar file looks like this:
>
>mymodule.mar
>->meta-inf/module.xml
>->com.dir.dir.dir.MyTestHandler.class
>->com.dir.dir.dir.MytestModule.class
>
>The mymodule.mar lies in WEB-INF/modules together with
>addressing-0.95.mar
>
>After deployment I get
>
>Invalid module : mymodule.mar caused module.xml not found for the
>module..; nested exception is:
>	org.apache.axis2.deployment.DeploymentException: module.xml not
>found for the module... mymodule.mar
>
>org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArch
>ive(ArchiveReader.java:303)
>...
>
>What do I have to change/fix, if I want Axis2 to find my module.xml in
>my own mar-file ?
>
>Best regards,
>Sebastian
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~