My problem with the new build is different. All apps are running, but server interface shows the active agent, but the autodiscovery queue is empty.
2013-11-11 12:48:56,383 INFO [ResourceDiscoveryComponent.invoker.daemon-147] (org.rhq.plugins.apache.ApacheServerDiscoveryComponent)- SNMPConf directive not found. Skipping SNMP configuration.
2013-11-11 12:48:56,384 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Discovered new platform with 8 child server(s).
2013-11-11 12:48:56,384 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending [server] inventory report to Server...
2013-11-11 12:48:56,849 WARN [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Exception caught while executing server discovery scan.
[Warning] javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: could not perform addBatch
...
...
Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into RHQ_STORAGE_NODE (ADDRESS, CQL_PORT, CTIME, ERROR_MSG, RESOURCE_OP_HIST_ID, MAINTENANCE_PENDING, MTIME, OPERATION_MODE, RESOURCE_ID, ID) values ('
rhq-test.xxxxxxx.hu', 9142, 1384170536686, NULL, NULL, '0', 1384170536686, 'INSTALLED', 10332, 10176) was aborted. Call getNextException to see the cause.
at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2746)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1887)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2893)
at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:453)
at com.sun.proxy.$Proxy106.executeBatch(Unknown Source)
at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1077)
at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
rhq=# select * from rhq_storage_node;
id | address | cql_port | operation_mode | ctime | mtime | error_msg | maintenance_pending | resource_id | resource_op_hist_id
------+--------------------+----------+----------------+---------------+---------------+-----------+---------------------+-------------+---------------------
(1 row)