You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by mika <mi...@gentlemansclub.de> on 2006/07/20 15:56:59 UTC

Deploying an J2EE JAR needs GBean ???

Hi all,

now Geronimo says that it can't initialize webapp GBean for myserver.war...
You must consider that I'm not as strong to Geronimo as you!

my geronimo-web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
    <environment>
        <moduleId>
            <artifactId>mySERVERwebAPP</artifactId>
        </moduleId>
    </environment>

    <context-root>/transconnect</context-root>

    <security-realm-name>geronimo-properties-realm</security-realm-name>
    <security>
        <default-principal>
            <principal name="anonymous"
class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
            />
        </default-principal>
        <role-mappings>
            <role role-name="AdminRole">
                <principal name="administrators" designated-run-as="true"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
                />
                <principal name="root"
class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
                />
            </role>
        </role-mappings>
    </security>

  <ejb-ref>
     <ref-name>ejb/clientInterface</ref-name>
     <pattern>
        <artifactId>ejb</artifactId>
        <name>ClientInterfaceJAR/EJBClientInterfaceEJB</name>
     </pattern>
  </ejb-ref>
<!--
  <gbean name="ejb/clientInterface" class="com.sqlgmbh.tcsap.ci.EJBClientInterfaceHome" />
-->
</web-app>

and my error-message:
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 myserver.war

    	Qualifier patterns in the URLPatternSpec cannot match the first
    URLPattern

What is the reason for this message?
-- 
thanks a lot again

mika

Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

Re: Deploying an J2EE JAR needs GBean ???

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
Oops, I meant, "Can you post your web.xml too"?

Thanks,
    Aaron

On 7/20/06, Aaron Mulder <am...@alumni.princeton.edu> wrote:
> Can your web.xml too?  It seems like there might be a problem with the
> URLs in there, but that could be servlet mapping URLs, security URLs,
> etc.
>
> Thanks,
>     Aaron
>
> On 7/20/06, mika <mi...@gentlemansclub.de> wrote:
> > Hi all,
> >
> > now Geronimo says that it can't initialize webapp GBean for myserver.war...
> > You must consider that I'm not as strong to Geronimo as you!
> >
> > my geronimo-web.xml:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
> >     <environment>
> >         <moduleId>
> >             <artifactId>mySERVERwebAPP</artifactId>
> >         </moduleId>
> >     </environment>
> >
> >     <context-root>/transconnect</context-root>
> >
> >     <security-realm-name>geronimo-properties-realm</security-realm-name>
> >     <security>
> >         <default-principal>
> >             <principal name="anonymous"
> > class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
> >             />
> >         </default-principal>
> >         <role-mappings>
> >             <role role-name="AdminRole">
> >                 <principal name="administrators" designated-run-as="true"
> > class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
> >                 />
> >                 <principal name="root"
> > class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
> >                 />
> >             </role>
> >         </role-mappings>
> >     </security>
> >
> >   <ejb-ref>
> >      <ref-name>ejb/clientInterface</ref-name>
> >      <pattern>
> >         <artifactId>ejb</artifactId>
> >         <name>ClientInterfaceJAR/EJBClientInterfaceEJB</name>
> >      </pattern>
> >   </ejb-ref>
> > <!--
> >   <gbean name="ejb/clientInterface" class="com.sqlgmbh.tcsap.ci.EJBClientInterfaceHome" />
> > -->
> > </web-app>
> >
> > and my error-message:
> > 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 myserver.war
> >
> >         Qualifier patterns in the URLPatternSpec cannot match the first
> >     URLPattern
> >
> > What is the reason for this message?
> > --
> > thanks a lot again
> >
> > mika
> >
> > Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> > "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
> >
>

Re: Deploying an J2EE JAR needs GBean ???

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
Can your web.xml too?  It seems like there might be a problem with the
URLs in there, but that could be servlet mapping URLs, security URLs,
etc.

Thanks,
    Aaron

On 7/20/06, mika <mi...@gentlemansclub.de> wrote:
> Hi all,
>
> now Geronimo says that it can't initialize webapp GBean for myserver.war...
> You must consider that I'm not as strong to Geronimo as you!
>
> my geronimo-web.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
>     <environment>
>         <moduleId>
>             <artifactId>mySERVERwebAPP</artifactId>
>         </moduleId>
>     </environment>
>
>     <context-root>/transconnect</context-root>
>
>     <security-realm-name>geronimo-properties-realm</security-realm-name>
>     <security>
>         <default-principal>
>             <principal name="anonymous"
> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
>             />
>         </default-principal>
>         <role-mappings>
>             <role role-name="AdminRole">
>                 <principal name="administrators" designated-run-as="true"
> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
>                 />
>                 <principal name="root"
> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
>                 />
>             </role>
>         </role-mappings>
>     </security>
>
>   <ejb-ref>
>      <ref-name>ejb/clientInterface</ref-name>
>      <pattern>
>         <artifactId>ejb</artifactId>
>         <name>ClientInterfaceJAR/EJBClientInterfaceEJB</name>
>      </pattern>
>   </ejb-ref>
> <!--
>   <gbean name="ejb/clientInterface" class="com.sqlgmbh.tcsap.ci.EJBClientInterfaceHome" />
> -->
> </web-app>
>
> and my error-message:
> 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 myserver.war
>
>         Qualifier patterns in the URLPatternSpec cannot match the first
>     URLPattern
>
> What is the reason for this message?
> --
> thanks a lot again
>
> mika
>
> Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
>

Re: Deploying an J2EE JAR needs GBean ???

Posted by Kanchana Welagedara <ka...@gmail.com>.
Hi Mike

Every new users and volunteers  are working hard to use geronimo for
their own purposes.I'm also relatively new to the product but not to
the open source.It's really needed to be posted detailed mails which
exactly reflect your question when you communicate to the opensource
mailing list.The community (dev and users)is voluntary base who are
passionate people and there can't be any "must" or "should" requests
on the communication.
I have not tried to deploy a GBean yet with Geronimo v1.1 and let me
get back to  you if I found something worth for you

Thanks and Regards
Kanchana



On 7/20/06, mika <mi...@gentlemansclub.de> wrote:
> Hi all,
>
> now Geronimo says that it can't initialize webapp GBean for myserver.war...
> You must consider that I'm not as strong to Geronimo as you!
>
> my geronimo-web.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
>     <environment>
>         <moduleId>
>             <artifactId>mySERVERwebAPP</artifactId>
>         </moduleId>
>     </environment>
>
>     <context-root>/transconnect</context-root>
>
>     <security-realm-name>geronimo-properties-realm</security-realm-name>
>     <security>
>         <default-principal>
>             <principal name="anonymous"
> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
>             />
>         </default-principal>
>         <role-mappings>
>             <role role-name="AdminRole">
>                 <principal name="administrators" designated-run-as="true"
> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
>                 />
>                 <principal name="root"
> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
>                 />
>             </role>
>         </role-mappings>
>     </security>
>
>   <ejb-ref>
>      <ref-name>ejb/clientInterface</ref-name>
>      <pattern>
>         <artifactId>ejb</artifactId>
>         <name>ClientInterfaceJAR/EJBClientInterfaceEJB</name>
>      </pattern>
>   </ejb-ref>
> <!--
>   <gbean name="ejb/clientInterface"
> class="com.sqlgmbh.tcsap.ci.EJBClientInterfaceHome" />
> -->
> </web-app>
>
> and my error-message:
> 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 myserver.war
>
>     	Qualifier patterns in the URLPatternSpec cannot match the first
>     URLPattern
>
> What is the reason for this message?
> --
> thanks a lot again
>
> mika
>
> Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
>