> http://cwiki.apache.org/GMOxDOC11/deployment-plans.html
>
> <dep:environment
> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
> <dep:moduleId>
> <dep:groupId>geronimo</dep:groupId>
> <dep:artifactId>HelloWorld</dep:artifactId>
> <dep:version>1.1</dep:version>
> <dep:type>war</dep:type>
> </dep:moduleId>
>
> <!-- if needed uncomment these lines -->
> <!-- -->
> <!-- <dep:dependencies> -->
> <!-- <dep:dependency /> -->
> <!-- </dep:dependencies> -->
> <!-- -->
> <!-- <dep:hidden-classes/> -->
> <!-- -->
> <!-- <dep:non-overridable-classes/> -->
> <!-- -->
> <!-- ################################# -->
>
> </dep:environment>
>
> you have to define the full moduleId inlcuding groupId, artifactId, type
>
> > Does it play an other role than identification?
>
> the environment section has more options
>
> the moduleId is also responsible for the path created in the repository
> for you application ear, you should find the groupId as directory in
> the repository with a subdir created from your artifactId
>
> if you separate your groupId name with dots you can create a directory
> subtree for your app, e.g. a groupId=myorg.myapps will create
>
> <geronimo-home>/repository/myorg/myapps/<artifactId>/<version>/*
>
> So extend your moduleId in the geronimo-web-*.xml files and try again.
>
> Thanks, Mario
Well, I make the neccessary changes, but the error is the same like B4 (before
;-))!
I changed the geronimo-web-csample.xml's in the following way (and the other
xml's referring to their name too):
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
<environment>
<moduleId>
<groupId>com.myapps</groupId>
<artifactId>csample</artifactId>
<version>1.0</version>
<type>war</type>
</moduleId>
</environment>
<context-root>/sample</context-root>
<security-realm-name>geronimo-properties-realm</security-realm-name>
<ejb-ref>
<ref-name>ejb/clientInterface</ref-name>
<pattern>
<artifactId>ejb</artifactId>
<name>ClientInterfaceJAR/EJBClientInterfaceEJB</name>
</pattern>
</ejb-ref>
</web-app>
But like said, the error remains the same:
Error: Unable to distribute connector.ear: Unable to initialize
webapp GBean for ccserver.war
Qualifier patterns in the URLPatternSpec cannot match the first
URLPattern
There was created in the repository-folder a folder like
com/myapp/TCapplication/1.0 like in geronimo-application.xml mentioned.
But this folder is empty!
The environment-tags in <EAR>/META-INF/geronimo-application.xml looks like:
<environment>
<moduleId>
<groupId>com.myapps</groupId>
<artifactId>TCapplication</artifactId>
<version>1.0</version>
<type>ear</type>
</moduleId>
</environment>
Are these changes valid? What is the reason for the error? It seems, that G 1.1
can't deploy the ccserver.war...
Thanks a lot,
mika
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl