geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Koehler (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (GERONIMO-1453) GBeanOverride throws NullPointerException when more than one reference element specified
Date Sat, 14 Jan 2006 18:21:27 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1453?page=all ]

Kristian Koehler updated GERONIMO-1453:
---------------------------------------

    Component: core
      Version: 1.0

updated the affected version

> GBeanOverride throws NullPointerException when more than one reference element specified
> ----------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1453
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1453
>      Project: Geronimo
>         Type: Bug
>   Components: core
>     Versions: 1.0
>     Reporter: Kristian Koehler
>  Attachments: GBeanOverride.patch
>
> Hi
> if there are more than one reference Element for a GBean within the config.xml file the
GBeanOverride class throws a NullPointerException.
> Example GBean config to add:
> --- 8< ---
>     <gbean name="geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebContainer">
>       <attribute name="catalinaHome">var/catalina</attribute>
>       <reference name="EngineGBean">
>           <pattern><gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine</gbean-name></pattern>
>       </reference>
>       <reference name="ServerInfo">
>           <pattern><gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=geronimo/j2ee-system/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=ServerInfo</gbean-name></pattern>
>       </reference>
>     </gbean>
>  
> --- 8< ---
> Kristian

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message