• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB-QL compile error: FROM not found

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I'm not sure if this is a container related issue or an EJB related issue.
I seem to be getting this error from Jboss:
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:50)
The weird thing is... it's saying that the EJB-QL is in my entity bean called MessageCounter, but I don't have any EJB-QL statements in it.
Here is my XML file:
<entity>
<display-name>MessageCounter</display-name>
<ejb-name>MessageCounter</ejb-name>
<local-home>ca.jambo.jradio.ejb.entity.MessageCounterHome</local-home>
<local>ca.jambo.jradio.ejb.entity.MessageCounter</local>
<ejb-class>ca.jambo.jradio.ejb.entity.MessageCounterBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>ca.jambo.jradio.ejb.pk.MessageCounterPK</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>MessageCounter</abstract-schema-name>
<cmp-field>
<field-name>messageId</field-name>
</cmp-field>
</entity>

Anybody have the same problem?
My setup is jboss-3.2.3, MySQL, and jBuilder as the IDE.
Regards,
Matt
 
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic