Bugs item #679090, was opened at 2003-02-02 17:22 Message generated for change (Comment added) made by pilhuhn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=679090&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: nash (kanagawa) Assigned to: Nobody/Anonymous (nobody) Summary: EJB-QL parse error reports problem with wrong bean Initial Comment: While debugging an EJB-QL problem, I found I was banging my head against the wrong bean -- when I turned full debugging on I saw this. Here near the top, you can see its trying to deploy ProfileEntity, but when the error is finally reported, the bean identified is ChoiceEntity. 11:10:16,074 INFO [ProfileEntity] Created table 'ProfileEntity' successfully. 11:10:16,084 DEBUG [findByPrimaryKey] SQL: SELECT id FROM ProfileEntity WHERE id =? 11:10:16,094 DEBUG [ProfileEntity] Added findByPrimaryKey query command for home interface 11:10:16,104 DEBUG [findByPrimaryKey] SQL: SELECT id FROM ProfileEntity WHERE id =? 11:10:16,114 DEBUG [ProfileEntity] Added findByPrimaryKey query command for loca l home interface 11:10:16,124 DEBUG [findAll] EJB-QL: SELECT OBJECT(o) FROM ProfileEntity o 11:10:16,124 DEBUG [findAll] SQL: SELECT t0_o.id FROM ProfileEntity t0_o 11:10:16,134 DEBUG [findAll] EJB-QL: SELECT OBJECT(o) FROM ProfileEntity o 11:10:16,144 DEBUG [findAll] SQL: SELECT t0_o.id FROM ProfileEntity t0_o 11:10:16,144 DEBUG [findByOrganizationKey] EJB-QL: SELECT DISTINCT OBJECT(p) FRO M ProfileEntity p WHERE p.organization = ?1 11:10:16,204 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN ame=ejb/CapOneRM/ChoiceEntity,service=EJB org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwa ble: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "1" at line 1, column 71. Was expecting one of: <IDENTIFICATION_VARIABLE> ... <ENTITY_VALUED_PARAMETER> ... <ENTITY_VALUED_PATH> ... ) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.j ava:46) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JD BCCommandFactory.java:44) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManage r.java:218) ---------------------------------------------------------------------- >Comment By: Heiko W.Rupp (pilhuhn) Date: 2003-08-26 16:31 Message: Logged In: YES user_id=217112 Can you submit more context? What JBoss version is this exactly? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=679090&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development