Bugs item #533020, was opened at 2002-03-21 12:49 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=533020&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Bernhard Meyer-Willner (houstonbernie) Assigned to: Nobody/Anonymous (nobody) Summary: Deploy error with JBoss beta and mySQL Initial Comment: Hi, I'm using JBoss 3 beta (built from the CVS source yesterday) on a Windows 2000 machine with J2SE 1.4. and mySQL as a datasource. I have an ejb-jar file with several CMP entity beans and session beans which deployed allright on the November version of JBoss 3 alpha, available on jboss.org. I managed to run JBoss beta allright, and got my mySQL datasource correctly deployed and bound to JNDI. Now when I deploy my ejb-jar file I get the following exception stacktrace: 2002-03-20 14:56:40,728 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Partne rJur] Initializing CMP plugin for PartnerJur 2002-03-20 14:56:41,168 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Partne rJur] Loading standardjbosscmp-jdbc.xml : file:/C:/Programme/GNU/WinCvs/jboss- all/build/output/jboss- 3.0.0beta2/server/default/conf/standardjbosscmp- jdbc.xml 2002-03-20 14:56:41,609 ERROR [org.jboss.ejb.EntityContainer] Exception in service lifecyle operation: create java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.createTy peSimple(JDBCTypeFactory.java:113) at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.getJDBCT ype(JDBCTypeFactory.java:75) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFi eldBridge.<init>(JDBCAbstractCMPFieldBridge.java:55) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBri dge.<init>(JDBCCMP2xFieldBridge.java:43) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge. createCMPField(JDBCEntityBridge.java:274) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge. loadCMPFields(JDBCEntityBridge.java:141) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge. <init>(JDBCEntityBridge.java:101) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create (JDBCStoreManager.java:276) at org.jboss.ejb.plugins.CMPPersistenceManager.create (CMPPersistenceManager.java:138) at org.jboss.ejb.EntityContainer.create (EntityContainer.java:329) at org.jboss.ejb.Container.invoke(Container.java:765) at org.jboss.ejb.EntityContainer.invoke (EntityContainer.java:1003) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1523) at org.jboss.system.ServiceController$ServiceProxy.invoke (ServiceController.java:745) ... How come? Are there any significant changes in any of the (CMP specific) config files that I should be aware of? Like in jboss-service.xml... do I have to put anything else into it? If this is of help: I tried putting the following line in my jboss-service.xml: <mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider"> <attribute name="Drivers">org.gjt.mm.mysql.Driver</attribute> </mbean> This worked before with JBoss alpha, but now if I put it in JBoss doesn't even start up. I also posted this on the CMP forum but haven't received a reply yet. However, I saw a post from someone else from February who had the exact same problem with the same stacktrace. The link for this problem is: http://main.jboss.org/thread.jsp? forum=46&thread=9781&message=500556&q=beta+CVS+mySQL#50 0556 Thanks for any help!! ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=533020&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development