Bug 777556 (SOA-60) - Unclean ESB server shutdown - extraneous EPR records remain in MySQL jUDDI DB
Summary: Unclean ESB server shutdown - extraneous EPR records remain in MySQL jUDDI DB
Keywords:
Status: CLOSED NOTABUG
Alias: SOA-60
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.2 IR2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Kurt Stam
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA-60
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-22 19:59 UTC by Len DiMaggio
Modified: 2007-11-02 13:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
soa-standalone.zip (oct 12007) RHEL5 java version "1.5.0_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
Last Closed: 2007-11-02 13:40:52 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-60 0 None None None Never

Description Len DiMaggio 2007-10-22 19:59:50 UTC
Date of First Response: 2007-10-30 10:28:33
project_key: SOA

I'm not sure if there will be a way to prevent this from happening if a user decides to kill (kill -9) the ESB server process - but the problem is reproducible.

Steps:

1) With a MySQL 5 jUDDI database - and a running ESB server
2) Deploy an ESB archive (for example, helloworld.esb)
3) Verify that in the database there are (4) records in the BINDING_TEMPLATE table - 3 for the server - one for the deployed app/archive
4) Kill the ESB server process (kill -9 PID#)
5) Startup the ESB server 
6) Verify that in the database there are (4) records in the BINDING_TEMPLATE table - 3 for the server - one for the deployed app/archive
7) Undeploy and then deploy the archive
8) Verify that in the database there are now (8) records in the BINDING_TEMPLATE

I haven't been able to observe a functional problem running a quickstart manually with these duplicate records - but if the sendesb test is modified to send multiple messages thru a single ServiceInvoker, these errors show up in the log:

13:46:37,371 ERROR [ExceptionUtil] SessionEndpoint[24] createQueue [5c4o24w-9ihnh1-f83a42ls-1-f83a620r-y]
javax.jms.JMSException: There is no administratively defined queue with name:queue/quickstart_helloworld_Request_esb

Note - I have not been able to recreate the problem with the hsqldb database.

Comment 1 Kurt Stam 2007-10-30 14:28:33 UTC
This is not a bug, but works as designed

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96389&postdays=0&postorder=asc&start=10


Note You need to log in before you can comment on or make changes to this bug.