I am following this tutorial as well. I have reached Chapter 6, with a few problems.

When it's mentioned that you need to correct the <ejb-ref> to <ejb-local-ref> in 
jboss.xml, I have also noticed that there is one more thing needed to be done:
In ejb-jar.xml, correct the references to CustomerLocal and ManagerLocal, the 
<ejb-ref-name> needs to be ejb/CustomerLocal and ejb/ManagerLocal. That is, add "ejb/" 
to the name.

However, now with CMP bean, chapter 6, I am getting an Incomplete Deployment with this 
error message:


  | Error compiling EJB-QL statement 'SELECT OBJECT(c) FROM MyStoreItem c where 
c.quantity = 0'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: 
Encountered "MyStoreItem" at line 1, column 23.
  | Was expecting one of:
  |     "IN" ...
  |     <ABSTRACT_SCHEMA> ...
  |     )]
  | 

Any ideas?

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826845#3826845";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826845>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to