You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Vadim Pesochinskiy (JIRA)" <ji...@apache.org> on 2007/01/06 03:05:48 UTC
[jira] Created: (AMQ-1121) Kaha DB hangs on restart
Kaha DB hangs on restart
------------------------
Key: AMQ-1121
URL: https://issues.apache.org/activemq/browse/AMQ-1121
Project: ActiveMQ
Issue Type: Bug
Components: Message Store
Affects Versions: 4.1.0
Environment: Windows XP, NetApp
Reporter: Vadim Pesochinskiy
Priority: Blocker
Fix For: 4.1.0
I run a bunch or messages through AMQ, then restarted AMQ and it hangs. Following are the last messages that I see. AMQ is not listening on the configured port.
2007-01-06 01:35:29,723 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 810, file = 1, size = 219
2007-01-06 01:35:29,754 [JMX connector ] INFO ManagementContext - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:11099/jmxrmi
2007-01-06 01:35:32,660 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 88244949, file = 5, size = 100856
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (AMQ-1121) Kaha DB hangs on restart
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies reassigned AMQ-1121:
-------------------------------
Assignee: Rob Davies
> Kaha DB hangs on restart
> ------------------------
>
> Key: AMQ-1121
> URL: https://issues.apache.org/activemq/browse/AMQ-1121
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 4.1.0
> Environment: Windows XP, NetApp
> Reporter: Vadim Pesochinskiy
> Assigned To: Rob Davies
> Priority: Blocker
> Fix For: 4.1.0
>
>
> I run a bunch or messages through AMQ, then restarted AMQ and it hangs. Following are the last messages that I see. AMQ is not listening on the configured port.
> 2007-01-06 01:35:29,723 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 810, file = 1, size = 219
> 2007-01-06 01:35:29,754 [JMX connector ] INFO ManagementContext - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:11099/jmxrmi
> 2007-01-06 01:35:32,660 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 88244949, file = 5, size = 100856
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (AMQ-1121) Kaha DB hangs on restart
Posted by "Homer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37893 ]
Homer commented on AMQ-1121:
----------------------------
I have run into a similar issue where AMQ gets hung on restart. In my case, the KahaStore is stuck in an infinite loop because it finds two IndexItem objects from the file that point to each other. It's a potential show stopper because there is no way to recover the data in the queue.
Here's a dump of the object variables from Eclipse:
item IndexItem (id=212)
active false
keyFile 1
keyOffset 153495
keySize 61
next null
nextItem 612
offset 765
prev null
previousItem 51
valueFile 1
valueOffset 153561
valueSize 468
item IndexItem (id=240)
active false
keyFile 1
keyOffset 114687
keySize 61
next null
nextItem 765
offset 612
prev null
previousItem 51
valueFile 1
valueOffset 114753
valueSize 468
> Kaha DB hangs on restart
> ------------------------
>
> Key: AMQ-1121
> URL: https://issues.apache.org/activemq/browse/AMQ-1121
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 4.1.0
> Environment: Windows XP, NetApp
> Reporter: Vadim Pesochinskiy
> Assigned To: Rob Davies
> Priority: Blocker
> Fix For: 4.1.0
>
>
> I run a bunch or messages through AMQ, then restarted AMQ and it hangs. Following are the last messages that I see. AMQ is not listening on the configured port.
> 2007-01-06 01:35:29,723 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 810, file = 1, size = 219
> 2007-01-06 01:35:29,754 [JMX connector ] INFO ManagementContext - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:11099/jmxrmi
> 2007-01-06 01:35:32,660 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 88244949, file = 5, size = 100856
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (AMQ-1121) Kaha DB hangs on restart
Posted by "Vadim Pesochinskiy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37838 ]
Vadim Pesochinskiy commented on AMQ-1121:
-----------------------------------------
There are about 30 parties doing concurrent request / response messaging for about 20 minutes. At the end I stop AMQ and I get that error on restart. You just need to do more concurrent testing. It does not happen if I configure Journal JDBC with Derby. I am sorry I cannot write unit test at the moment.
> Kaha DB hangs on restart
> ------------------------
>
> Key: AMQ-1121
> URL: https://issues.apache.org/activemq/browse/AMQ-1121
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 4.1.0
> Environment: Windows XP, NetApp
> Reporter: Vadim Pesochinskiy
> Assigned To: Rob Davies
> Priority: Blocker
> Fix For: 4.1.0
>
>
> I run a bunch or messages through AMQ, then restarted AMQ and it hangs. Following are the last messages that I see. AMQ is not listening on the configured port.
> 2007-01-06 01:35:29,723 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 810, file = 1, size = 219
> 2007-01-06 01:35:29,754 [JMX connector ] INFO ManagementContext - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:11099/jmxrmi
> 2007-01-06 01:35:32,660 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 88244949, file = 5, size = 100856
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (AMQ-1121) Kaha DB hangs on restart
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37823 ]
Rob Davies commented on AMQ-1121:
---------------------------------
could you provide a test case ?
> Kaha DB hangs on restart
> ------------------------
>
> Key: AMQ-1121
> URL: https://issues.apache.org/activemq/browse/AMQ-1121
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 4.1.0
> Environment: Windows XP, NetApp
> Reporter: Vadim Pesochinskiy
> Assigned To: Rob Davies
> Priority: Blocker
> Fix For: 4.1.0
>
>
> I run a bunch or messages through AMQ, then restarted AMQ and it hangs. Following are the last messages that I see. AMQ is not listening on the configured port.
> 2007-01-06 01:35:29,723 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 810, file = 1, size = 219
> 2007-01-06 01:35:29,754 [JMX connector ] INFO ManagementContext - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:11099/jmxrmi
> 2007-01-06 01:35:32,660 [main ] DEBUG DataManager - End of data file reached at (header was invalid): offset = 88244949, file = 5, size = 100856
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira