Bugs item #512744, was opened at 2002-02-04 05:39 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=512744&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Thomas Hamann (thomash76) Assigned to: Dain Sundstrom (dsundstrom) Summary: incomplete parsing of ejb-ql elements Initial Comment: OS:Win2k; JDK:1.3.1_01; JBOSS:3.0.0DR1 (1.2.2002) Hi, i tried to deploy an application which uses ejbSelect methods... unfortunately i had to find out that my version of JBoss (3.0.0DR1) does not parse the ejb-ql elements correctly/completely. That's why i got a lot of exceptions: 14:33:04,457 ERROR [EJBDeployer] Could not deploy file:/C:/win32app/jboss-3.0.0DR1/deploy/jatek31ejb_jboss.jar org.jboss.deployment.DeploymentException: Error in query spedification for method ejbSelectMembershipCheck at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaDataFactory.createJDBCQueryMetaData(JD BCQueryMetaDataFac tory.java:116) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaDataFactory.createJDBCQueryMetaData(JD BCQueryMetaDataFac tory.java:72) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntityMetaData.java:523) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(JDBCApplicationMetaData. java:282) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java :503) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:277) at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:134) at org.jboss.ejb.EntityContainer.create(EntityContainer.java:339) at org.jboss.ejb.Application.start(Application.java:214) at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:429) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:376) at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:273) at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) at java.lang.Thread.run(Unknown Source) 14:33:04,472 ERROR [MainDeployer] Deployment failed: file:/C:/win32app/jboss-3.0.0DR1/deploy/jatek31ejb_jboss.jar java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.stop(JDBCStoreManager.java:346) at org.jboss.ejb.plugins.CMPPersistenceManager.stop(CMPPersistenceManager.java:180) at org.jboss.ejb.EntityContainer.stop(EntityContainer.java:405) at org.jboss.ejb.Application.stop(Application.java:240) at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:442) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:376) at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:273) at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) at java.lang.Thread.run(Unknown Source) 14:33:04,488 INFO [MainDeployer] could not delete directory file:/C:/win32app/jboss-3.0.0DR1/tmp/deploy/68.jatek31ejb_j boss.jar restart will delete it I solved the problem by declaring the same (90!) queries in declared-sql elements explicitly. What is the bug? - is there something i made wrong? And why is Jboss that economic when writing error messages - it could print out which part of which query caused the problem, couldn't it?! Thanks, Thomas ---------------------------------------------------------------------- >Comment By: Dain Sundstrom (dsundstrom) Date: 2002-02-26 19:17 Message: Logged In: YES user_id=251431 The new EJB-QL compiler is finished. ---------------------------------------------------------------------- Comment By: Dain Sundstrom (dsundstrom) Date: 2002-02-11 10:31 Message: Logged In: YES user_id=251431 The initial implementation of the EJB-QL parser is very poor. It was a get it to work implementation. I will be rewriting this package soon, but most likely not befor dr1 is released. I will close this bug when the rewrite is complete. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=512744&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development