geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ruebsam <mario.rueb...@googlemail.com>
Subject Re: Deploying EAR which has been already deployed in JBoss 4.0.4
Date Wed, 26 Jul 2006 12:20:03 GMT
Well a step forward. You should also define a moduleId in your environment 
element (geronimo-application.xml) for easier deploy/undeploy identification.

Can you post your geronimo-web-*.xml for the tcserver.war ?

Thanks, Mario

mika wrote:
>> Ok, can you put the openejb-jar.xml and the geronimo-web.xml
>> into the EARs META-INF directory. You can also put both files
>> into another dir (e.g. "deploy") an then referencing both with
>> the alt-dd element.
>>
>>
>> <module>
>>    <ejb>ccserver.jar</ejb>
>>    <alt-dd>deploy/openejb-jar.xml</alt-dd>
>> </module>
>>
>> <module>
>>    <web>csample.war</web>
>>    <alt-dd>deploy/geronimo-web.xml</alt-dd>
>> </module>
>>
>>
>> Thanks,
>> Mario
> 
> 
> Hi,
> 
> I did what you recommended. I've putted the geronimo-web.xml's for each WAR  and the
openejb-jar.xml of the JAR in the directory 'EAR/dds/' (dds for DeploymentDescriptorS ;-)
). But now I feel like going in a circuit, because I already got the following stack trace
some days ago.
> (For each WAR I made an extra XML like 'geronimo-web-wsci.xml' which I wrote between
the alt-dd-tag's as alternative descriptors)
> 
> 
> Using GERONIMO_BASE:   C:\ApplicationServers\geronimo-1.1
> Using GERONIMO_HOME:   C:\ApplicationServers\geronimo-1.1
> Using GERONIMO_TMPDIR: C:\ApplicationServers\geronimo-1.1\var\temp
> Using JRE_HOME:        C:\Programme\Java\jre1.5.0_06
>     Error: Unable to distribute transconnect.ear: Unable to initialize
>     webapp GBean for tcserver.war
> 
>     	Qualifier patterns in the URLPatternSpec cannot match the first
>     URLPattern
> 
> 
> WTH ??? Slowly I am thinking that Geronimo v1.1 is not made for deploying an self created
EAR which already has been deployed in JBoss...
> 
> What is the reason for the stack trace above and how could I supress it?
> 
> For comparing with your expectations... my modified geronimo-application.xml:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <application
>     xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1"
>     xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"
>     xmlns:openejb="http://www.openejb.org/xml/ns/openejb-jar-2.1"
>     application-name="TransConnect">
> 
>   <environment></environment>
> 
>   <module>
>     <ejb>tcserver.jar</ejb>
>     <alt-dd>dds/openejb-jar.xml</alt-dd>
> <!--    <openejb:emptyType/> -->
>   </module>
> 
>   <module>
>     <web>tcsample.war</web>
>     <alt-dd>dds/geronimo-web-tcsample.xml</alt-dd>
> <!--    <web:context-root>/sample</web:context-root> -->
>   </module>
> 
>   <module>
>     <web>tcserver.war</web>
>     <alt-dd>dds/geronimo-web-tcserver.xml</alt-dd>
> <!--    <web:context-root>/transconnect</web:context-root> -->
>   </module>
> 
>   <module>
>     <web>wsci.war</web>
>     <alt-dd>dds/geronimo-web-wsci.xml</alt-dd>
> <!--    <web:context-root>/service</web:context-root> -->
>   </module>
> 
> </application>
> 
> 
> Thanks a lot,
> mika
> 


Mime
View raw message