[jboss-dev] What is supposed to configure the JBM_ID_CACHE in the all config?

Dimitris Andreadis dandread at redhat.com
Tue Jun 3 17:18:18 EDT 2008


I don't see any messaging error in my all config?

The only id I know about in JBM is this:

server/all/deploy/messaging/messaging-service.xml:

    ...
    <!-- ServerPeer MBean configuration
         ============================== -->

    <mbean code="org.jboss.jms.server.ServerPeer"
       name="jboss.messaging:service=ServerPeer"
       xmbean-dd="xmdesc/ServerPeer-xmbean.xml">

       <!-- The unique id of the server peer - in a cluster each node MUST have a unique 
value - must be an integer -->

       <attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:0}</attribute>
    ...

Scott Stark wrote:
> The messaging layer is reporting errors during startup of the jbossas 
> trunk all config. I don't see a config file that defines the 
> JBM_ID_CACHE table in any of the all config files. What is supposed to 
> do this?
> 
> [578][valkyrie: bin]$ grep -r JBM_ID_CACHE ../server/all/
> ../server/all/log/server.log:2008-06-03 09:47:26,876 DEBUG 
> [org.jboss.messaging.core.impl.JDBCSupport] (main) Failed to execute: 
> CREATE TABLE JBM_ID_CACHE (NODE_ID INTEGER, CNTR INTEGER, JBM_ID 
> VARCHAR(255), PRIMARY KEY(NODEID, CNTR))
> ../server/all/log/server.log:java.sql.SQLException: Column not found: 
> NODEID in statement [CREATE TABLE JBM_ID_CACHE (NODE_ID INTEGER, CNTR 
> INTEGER, JBM_ID VARCHAR(255), PRIMARY KEY(NODEID, CNTR)]
> ../server/all/log/server.log:java.sql.SQLException: Table not found in 
> statement [SELECT CNTR, ID FROM JBM_ID_CACHE WHERE NODE_ID = ?]
> ../server/all/log/server.log:java.sql.SQLException: Table not found in 
> statement [SELECT CNTR, ID FROM JBM_ID_CACHE WHERE NODE_ID = ?]
> ../server/all/log/server.log:java.sql.SQLException: Table not found in 
> statement [SELECT CNTR, ID FROM JBM_ID_CACHE WHERE NODE_ID = ?]
> ../server/all/log/server.log:jboss.messaging:service=ServerPeer -> 
> **ERROR** | java.sql.SQLException: Table not found in statement [SELECT 
> CNTR, ID FROM JBM_ID_CACHE WHERE NODE_ID = ?]
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development



More information about the jboss-development mailing list