You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2006/03/03 14:21:39 UTC

[jira] Created: (GERONIMO-1684) server does not start if openejb-jar.xml activation-config had whitespace in values

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


[jira] Updated: (GERONIMO-1684) server does not start if openejb-jar.xml activation-config had whitespace in values

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1684?page=all ]

Aaron Mulder updated GERONIMO-1684:
-----------------------------------

    Fix Version:     (was: 1.2)
      Assign To: Aaron Mulder

> 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
>     Security: public(Regular issues) 
>   Components: OpenEJB
>     Versions: 1.0
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.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


[jira] Resolved: (GERONIMO-1684) server does not start if openejb-jar.xml activation-config had whitespace in values

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1684?page=all ]
     
Aaron Mulder resolved GERONIMO-1684:
------------------------------------

    Resolution: Fixed

> 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
>     Security: public(Regular issues) 
>   Components: OpenEJB
>     Versions: 1.0
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.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


[jira] Commented: (GERONIMO-1684) server does not start if openejb-jar.xml activation-config had whitespace in values

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1684?page=comments#action_12376827 ] 

Aaron Mulder commented on GERONIMO-1684:
----------------------------------------

Looks like MdbBuilder:245 is the place where the action happens

> 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
>     Security: public(Regular issues) 
>   Components: OpenEJB
>     Versions: 1.0
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.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