You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vasily Zakharov (JIRA)" <de...@geronimo.apache.org> on 2006/04/13 18:58:00 UTC

[jira] Created: (GERONIMO-1841) JMS connector fails to start if is used instead of

JMS connector fails to start if <name> is used instead of <gbean-link>
----------------------------------------------------------------------

         Key: GERONIMO-1841
         URL: http://issues.apache.org/jira/browse/GERONIMO-1841
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: ActiveMQ  
    Versions: 1.0    
    Reporter: Vasily Zakharov
    Priority: Minor


Attached is a JMS connector deployment plan that deploys fine but hangs in a strange state after that.

The connector is deployed as follows:
java -jar bin/deployer.jar --user system --password manager deploy repository/activemq/rars/activemq-ra-3.2.1.rar testJMS.xml

The deployment goes ok (and this probably is a bug).

At Console/Applications/J2EEConnectors the connector is visible normally, as "running".

At Console/Services/JMS/JMSDestinationManager the connector's adminObjects are visible and accessible normally.

At Console/Services/JMS/JMSConnectionFactories the connector is visible as "Starting" forever (instead of "Running"), and that surely is a bug.

When clicking "test connection" on the connector, the following diagnostic appears on the screen:

Failed: Operations can only be invoke while the GBean is running: geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=TestJMS,j2eeType=JCAManagedConnectionFactory,name=TestConnectionFactory

When clicking "detail" on the connector, the "Error occurred in portlet!" message appears on the screen and the exception stack trace appears in the log (stack trace attached).

The trigger to this strange behaviour is one minor obsoleteness in the deployment plan - in <workmanager>, the tag <gbean-link> must be used instead of <name>. If that is changed, the connector starts and operates normally.

The bug is the connector should either work normally, or fail to deploy with the deployment plan specifed.


-- 
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-1841) JMS connector fails to start if is used instead of

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

Vasily Zakharov updated GERONIMO-1841:
--------------------------------------

    Attachment: StackTrace.txt

Stack trace that occurs when bug is reproduced

> JMS connector fails to start if <name> is used instead of <gbean-link>
> ----------------------------------------------------------------------
>
>          Key: GERONIMO-1841
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1841
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: ActiveMQ
>     Versions: 1.0
>     Reporter: Vasily Zakharov
>     Priority: Minor
>  Attachments: StackTrace.txt, testJMS.xml
>
> Attached is a JMS connector deployment plan that deploys fine but hangs in a strange state after that.
> The connector is deployed as follows:
> java -jar bin/deployer.jar --user system --password manager deploy repository/activemq/rars/activemq-ra-3.2.1.rar testJMS.xml
> The deployment goes ok (and this probably is a bug).
> At Console/Applications/J2EEConnectors the connector is visible normally, as "running".
> At Console/Services/JMS/JMSDestinationManager the connector's adminObjects are visible and accessible normally.
> At Console/Services/JMS/JMSConnectionFactories the connector is visible as "Starting" forever (instead of "Running"), and that surely is a bug.
> When clicking "test connection" on the connector, the following diagnostic appears on the screen:
> Failed: Operations can only be invoke while the GBean is running: geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=TestJMS,j2eeType=JCAManagedConnectionFactory,name=TestConnectionFactory
> When clicking "detail" on the connector, the "Error occurred in portlet!" message appears on the screen and the exception stack trace appears in the log (stack trace attached).
> The trigger to this strange behaviour is one minor obsoleteness in the deployment plan - in <workmanager>, the tag <gbean-link> must be used instead of <name>. If that is changed, the connector starts and operates normally.
> The bug is the connector should either work normally, or fail to deploy with the deployment plan specifed.

-- 
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-1841) JMS connector fails to start if is used instead of

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

Vasily Zakharov updated GERONIMO-1841:
--------------------------------------

    Attachment: testJMS.xml

Deployment plan that demonstrates the bug

> JMS connector fails to start if <name> is used instead of <gbean-link>
> ----------------------------------------------------------------------
>
>          Key: GERONIMO-1841
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1841
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: ActiveMQ
>     Versions: 1.0
>     Reporter: Vasily Zakharov
>     Priority: Minor
>  Attachments: testJMS.xml
>
> Attached is a JMS connector deployment plan that deploys fine but hangs in a strange state after that.
> The connector is deployed as follows:
> java -jar bin/deployer.jar --user system --password manager deploy repository/activemq/rars/activemq-ra-3.2.1.rar testJMS.xml
> The deployment goes ok (and this probably is a bug).
> At Console/Applications/J2EEConnectors the connector is visible normally, as "running".
> At Console/Services/JMS/JMSDestinationManager the connector's adminObjects are visible and accessible normally.
> At Console/Services/JMS/JMSConnectionFactories the connector is visible as "Starting" forever (instead of "Running"), and that surely is a bug.
> When clicking "test connection" on the connector, the following diagnostic appears on the screen:
> Failed: Operations can only be invoke while the GBean is running: geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=TestJMS,j2eeType=JCAManagedConnectionFactory,name=TestConnectionFactory
> When clicking "detail" on the connector, the "Error occurred in portlet!" message appears on the screen and the exception stack trace appears in the log (stack trace attached).
> The trigger to this strange behaviour is one minor obsoleteness in the deployment plan - in <workmanager>, the tag <gbean-link> must be used instead of <name>. If that is changed, the connector starts and operates normally.
> The bug is the connector should either work normally, or fail to deploy with the deployment plan specifed.

-- 
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] Closed: (GERONIMO-1841) JMS connector fails to start if is used instead of

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

    Fix Version: 1.1
     Resolution: Fixed
      Assign To: David Jencks

I've confirmed that 1.1 fixes this. In 1.1 a module only starts if all the gbeans in it start: lack of this behavior was IMO the root cause of this problem.

> JMS connector fails to start if <name> is used instead of <gbean-link>
> ----------------------------------------------------------------------
>
>          Key: GERONIMO-1841
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1841
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: ActiveMQ
>     Versions: 1.0
>     Reporter: Vasily Zakharov
>     Assignee: David Jencks
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: StackTrace.txt, testJMS.xml
>
> Attached is a JMS connector deployment plan that deploys fine but hangs in a strange state after that.
> The connector is deployed as follows:
> java -jar bin/deployer.jar --user system --password manager deploy repository/activemq/rars/activemq-ra-3.2.1.rar testJMS.xml
> The deployment goes ok (and this probably is a bug).
> At Console/Applications/J2EEConnectors the connector is visible normally, as "running".
> At Console/Services/JMS/JMSDestinationManager the connector's adminObjects are visible and accessible normally.
> At Console/Services/JMS/JMSConnectionFactories the connector is visible as "Starting" forever (instead of "Running"), and that surely is a bug.
> When clicking "test connection" on the connector, the following diagnostic appears on the screen:
> Failed: Operations can only be invoke while the GBean is running: geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=TestJMS,j2eeType=JCAManagedConnectionFactory,name=TestConnectionFactory
> When clicking "detail" on the connector, the "Error occurred in portlet!" message appears on the screen and the exception stack trace appears in the log (stack trace attached).
> The trigger to this strange behaviour is one minor obsoleteness in the deployment plan - in <workmanager>, the tag <gbean-link> must be used instead of <name>. If that is changed, the connector starts and operates normally.
> The bug is the connector should either work normally, or fail to deploy with the deployment plan specifed.

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