First, what I get:

@In attribute requires non-null value: questionCategoryManager.entityManager

Second, my configuration (should be allright)

components.xml

  | <component name="org.jboss.seam.core.init">
  |         <property name="debug">true</property>
  |         <property name="myFacesLifecycleBug">true</property>
  |         <property name="jndiPattern">Inquisitor/#{ejbName}/local</property>
  |     </component>
  |     
  |     <component class="org.jboss.seam.web.MultipartFilter">
  |         <property name="createTempFiles">true</property>
  |         <property name="maxRequestSize">1000000</property>
  |     </component>
  |     
  |     <core:managed-persistence-context name="entityManager" 
auto-create="true" persistence-unit-jndi-name="java:/EntityManagerFactory"/>
  | 

persistence.xml


  | <persistence>
  |   <persistence-unit name="InquisitorDS">
  |     <jta-data-source>java:/InquisitorDS</jta-data-source>
  |     <properties>
  |       <property name="hibernate.hbm2ddl.auto" value="update"/>
  |       <property name="jboss.entity.manager.factory.jndi.name" 
value="java:/EntityManagerFactory" />
  |     </properties>
  |   </persistence-unit>
  | </persistence>
  | 

So, why this doesn`t work ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110471
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to