When using JNDI bound datasources, following error occurs at start up:
javax.management.MBeanException
at
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(Ref
lectedDispatcher.java:180)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.jav
a:163)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.jav
a:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOp
erationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:2
64)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417
)
... 283 more
Caused by: javax.management.MBeanRegistrationException: preRegister()
failed: [ObjectName='net.sf.hajdbc:cluster=pgcluster',
Class=net.sf.hajdbc.sql.DriverDatabaseCluster (pgcluster)]
at
org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBea
nRegistry.java:713)
at
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanReg
istry.java:211)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.jav
a:155)
... 293 more
Caused by: org.jibx.runtime.JiBXException: Expected "cluster" end tag,
found "datasource" start tag (line 12, col 3)
at
org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(Unmarshal
lingContext.java:800)
at
net.sf.hajdbc.sql.DriverDatabaseCluster.JiBX_binding_driver_unmarshal_2_0(D
riverDatabaseCluster.java)
at
net.sf.hajdbc.sql.JiBX_binding_driverDriverDatabaseCluster_access.unmarshal
()
at
org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingCo
ntext.java:2773)
at
net.sf.hajdbc.sql.AbstractDatabaseCluster.preRegister(AbstractDatabaseClust
er.java:1045)
at
org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInv
oker.java:966)
at
org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvok
er.java:489)
at
org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.j
ava:654)
at
org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBea
nRegistry.java:697)
... 298 more
Nobody/Anonymous ( nobody ) - 2009-10-29 10:05
5
Closed
Invalid
Paul Ferraro
None
v2.0
Public
|
Date: 2009-10-29 13:20 This is not a bug, but rather a mis-configuration. <datasource> style |
| Filename | Description | Download |
|---|---|---|
| ha-jdbc-pgcluster.xml | Cluster configuration | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2009-10-29 13:21 | ferraro |
| allow_comments | 1 | 2009-10-29 13:21 | ferraro |
| assigned_to | nobody | 2009-10-29 13:21 | ferraro |
| resolution_id | None | 2009-10-29 13:21 | ferraro |
| status_id | Open | 2009-10-29 13:21 | ferraro |
| File Added | 348686: ha-jdbc-pgcluster.xml | 2009-10-29 10:05 | nobody |