geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1684) server does not start if openejb-jar.xml activation-config had whitespace in values
Date Fri, 03 Mar 2006 13:21:39 GMT
server does not start if openejb-jar.xml activation-config had whitespace in values
-----------------------------------------------------------------------------------

         Key: GERONIMO-1684
         URL: http://issues.apache.org/jira/browse/GERONIMO-1684
     Project: Geronimo
        Type: Bug
  Components: OpenEJB  
    Versions: 1.0    
    Reporter: Aaron Mulder
    Priority: Blocker
     Fix For: 1.1, 1.0.1


Deployed an EAR with an EJB JAR with a MDB.

The activation-config property names had whitespace around them:

<activation-config-property-name>
   SomeValue
</activation-config-property-name>

The application deployed successfully.  However, Geronimo was hosed.  During startup it complained
that SomeValue was an invalid GBean property, or something along those lines.

There appear to be 2 bugs here:

1) Whitespace should be stripped from activation config property names (and values, I expect)
2) When generating the ActivationSpec GBean, we should validate that every property exists
on the class (and if possible, confirm that the requested value can actually be set).  It's
critical to raise a deployment exception rather than deploy correctly and barf on every startup.

-- 
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