problem deploying cmp on jboss 3.2.5 + postgresql

Discussion in 'Java' started by tmaus, Sep 19, 2004.

  1. tmaus

    tmaus Guest

    hi there ..

    im running into problems deploying a simple entity bean ..
    i have searched the internet but it looks like the error i receive is
    pretty unique ..

    the descriptors look right ... the datasource is properly bound ...

    i would be very thankful for any idea about this

    thanks and greetings

    19:22:26,908 INFO [EJBDeployer] Deployed:
    file:/home/maus/server/jboss-3.2.5/server/default/tmp/deploy/tmp55743im-ear-0.1.ear-contents/bd-ejb-0.1.jar
    19:22:28,530 ERROR [EntityContainer] Starting failed
    jboss.j2ee:jndiName=UserLocal,service=EJB
    java.lang.NullPointerException
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.getInstance(JDBCQueryManager.java:88)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.<init>(JDBCJBossQLQuery.java:39)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createJBossQLQuery(JDBCCommandFactory.java:72)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:254)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:498)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396)
    at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147)
    at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown
    Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
     
    tmaus, Sep 19, 2004
    #1
    1. Advertising

  2. Hi,
    Did you ever find the solution to this problem? I have a very similar
    problem, with an application that uses MySQL and crashes at the same
    code position. I wonder, in my case, if it may be that it is because
    the ear file was built using JBOSS 3.2.1 and there is an
    incompatibility with 3.2.5 in this area? However, I have no way of
    checking at the moment as I can't rebuild.
    Any info you have would be appreciated.

    Thanks,
    Richard.

    (tmaus) wrote in message news:<>...
    > hi there ..
    >
    > im running into problems deploying a simple entity bean ..
    > i have searched the internet but it looks like the error i receive is
    > pretty unique ..
    >
    > the descriptors look right ... the datasource is properly bound ...
    >
    > i would be very thankful for any idea about this
    >
    > thanks and greetings
    >
    > 19:22:26,908 INFO [EJBDeployer] Deployed:
    > file:/home/maus/server/jboss-3.2.5/server/default/tmp/deploy/tmp55743im-ear-0.1.ear-contents/bd-ejb-0.1.jar
    > 19:22:28,530 ERROR [EntityContainer] Starting failed
    > jboss.j2ee:jndiName=UserLocal,service=EJB
    > java.lang.NullPointerException
    > at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.getInstance(JDBCQueryManager.java:88)
    > at org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.<init>(JDBCJBossQLQuery.java:39)
    > at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createJBossQLQuery(JDBCCommandFactory.java:72)
    > at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:254)
    > at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:498)
    > at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396)
    > at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147)
    > at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
    > at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    > at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    > at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown
    > Source)
    > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    > at java.lang.reflect.Method.invoke(Method.java:324)
    > at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
     
    Richard Hardy, Oct 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marek Lange

    Re: JBOSS CMP Oracle

    Marek Lange, Aug 26, 2003, in forum: Java
    Replies:
    0
    Views:
    818
    Marek Lange
    Aug 26, 2003
  2. Richard Corfield
    Replies:
    2
    Views:
    2,060
    Richard Corfield
    Apr 22, 2004
  3. Andrea Sansottera

    no cmp field defined in cmp ejb

    Andrea Sansottera, Jul 16, 2004, in forum: Java
    Replies:
    0
    Views:
    417
    Andrea Sansottera
    Jul 16, 2004
  4. Subra
    Replies:
    2
    Views:
    1,308
    Tomer Ben-David
    Sep 23, 2004
  5. Michael Lim

    jboss/mysql cmp deadlock?

    Michael Lim, Sep 23, 2004, in forum: Java
    Replies:
    4
    Views:
    2,086
    Heiko W. Rupp
    Mar 17, 2005
Loading...

Share This Page