On Thu, 2003-10-02 at 01:51, J.Mann wrote:
> Caused by: MBeanException:
> org.jboss.persistence.jbossdo.PersistenceManagerFactoryImpl constructor has thrown
> an exception:
> org.jboss.deployment.DeploymentException: Could not create KeyGenerator instance.; -
> nested throwable: (java.lang.NullPointe
> rException)
> Cause: org.jboss.deployment.DeploymentException: Could not create KeyGenerator
> instance.; - nested throwable: (java.lang.Nul
> lPointerException)
> at
> org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:893)
> at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:851)
> at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:263)
> at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:304)
> at
> org.jboss.persistence.jbossdo.deployment.JDOModule.createPersistenceManagerFactory(JDOModule.java:77)
> ... 67 more
>
The MBeanException isn't formating its nested exception correctly.
A quick fix to get more error information would be to add some logging.
protected void handleInstantiateExceptions(Throwable t, String
className) throws ReflectionException, MBeanException
{
// Add this line
log.error("Error instantiating MBean className=" + className, e);
Most likely you are missing some configuration, or
maybe a dependency - like waiting for the connection pool to start.
Regards,
Adrian
--
xxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user