Anybody got any ideas? Adding <component 
class="org.jboss.seam.example.registration.User"/>
to components.xml doesn't seem to change anything.  If I create a 
META-INF/orm.xml file (which the correctly functioning ant version doesn't 
have) with the following contents:

<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"; 
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm 
orm_1_0.xsd"
  |     version="1.0">
  |     <entity class="org.jboss.seam.example.registration.User" 
access="PROPERTY">
  |     </entity>
  | </entity-mappings>

then it's still missing the "adding class annotation DefaultInterceptorMarker" 
and "found EJB3 Entity bean: org.jboss.seam.example.registration.User" 
messages, but it doesn get the messages about binding entity from annotated 
class User to table users.  As the test proceeds, the error about user not 
being mapped doesn't show up, but then when the test runs, it fails to get the 
user instance User user = (User) Component.getInstance("user", true);
  | assert user!=null;

Is there anybody with some more Seam experience who can suggest what might be 
misconfigured?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953832#3953832

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953832

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to