You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/06/03 18:42:57 UTC

[jira] Updated: (BEEHIVE-792) NPE from JMS Control after redeploying application

     [ http://issues.apache.org/jira/browse/BEEHIVE-792?page=all ]

Jeremiah Johnson updated BEEHIVE-792:
-------------------------------------

    Attachment: BEEHIVE-792.tar

I am assuming that you have either Jonas (4.3) or JBoss (3.2) available.  If you need a different app server repro, please let me know.  Note that the different between these two are the default JNDI names and the library paths.  I made separate directories so you wouldn't have to edit, but the code is really the same between the two so the repro doesn't care which is used.

To reproduce this in Jonas:
tar xf BEEHIVE-792.tar
cd BEEHIVE-792
ant -f jonas/mdb/build.xml clean build jar
mv jonas/BEEHIVE-792_mdb.jar $JONAS_ROOT/ejbjars
jonas admin -a BEEHIVE-792_mdb.jar
ant -f jonas/webapp/WEB-INF/src/build.xml clean build war
mv jonas/BEEHIVE-792.war $JONAS_ROOT/webapps
jonas admin -a BEEHIVE-792.war
http://localhost:9000/BEEHIVE-792/
click on 'Post a JMS Message' <= results in Hello World! in console
jonas admin -r BEEHIVE-792.war
jonas admin -a BEEHIVE-792.war
http://localhost:9000/BEEHIVE-792/
click on 'Post a JMS Message' <= currently results in NPE; should be Hello World! again

To reproduce this in JBoss:
tar xf BEEHIVE-792.tar
cd BEEHIVE-792
ant -f jboss/mdb/build.xml clean build jar
mv jboss/BEEHIVE-792_mdb.jar $JBOSS_HOME/server/default/deploy
ant -f jboss/webapp/WEB-INF/src/build.xml clean build war
cp jboss/BEEHIVE-792.war $JBOSS_HOME/server/default/deploy
http://localhost:8080/BEEHIVE-792/
click on 'Post a JMS Message' <= results in Hello World! in console
cp jboss/BEEHIVE-792.war $JBOSS_HOME/server/default/deploy
http://localhost:8080/BEEHIVE-792/
click on 'Post a JMS Message' <= currently results in NPE; should be Hello World! again

> NPE from JMS Control after redeploying application
> --------------------------------------------------
>
>          Key: BEEHIVE-792
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-792
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>  Environment: Dist Build from SVN 179731.
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-792.tar
>
> When I have a JMS Control in an application and use it, then redeploy the application, the JMS Control is no longer usable - it throws NPE.  I'll attach a repro.

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