[jboss-user] [EJB 3.0] - EJB 3.0 Entity problem - Error: Incomplete Deployment listin

HappyNewYear do-not-reply at jboss.com
Sun Mar 30 17:38:04 EDT 2008


Does anyone have any idea what this error means? I have been trying to figure it out but haven't made any progress. I am deploying only the files shown below (in snippets) as a jar file to jboss. Thanks in advance.


- - Flight class - - 

  | @Entity
  | public class Flight implements Serializable {
  |    ... 
  | @Id (above my primary key)
  |   ...
  | 


- - FlightBean code - - 

  | @Stateless
  | public class FlightBean implements IFlight{
  | 	@PersistenceContext (unitName="tps")
  | 	protected EntityManager em;
  | 	...
  | 


- - IFlight - - 

  | @Remote
  | public interface IFlight {
  |     ...   
  | 


- - Persistence.xml - -

  | <persistence>
  |   <persistence-unit name="ejb3trail">
  |     <jta-data-source>java:/DefaultDS</jta-data-source>
  |     <properties>
  |       <property name="hibernate.hbm2ddl.auto"
  |                 value="create-drop"/>
  |     </properties>
  |   </persistence-unit>
  | </persistence>
  | 


Error Message

  | 17:30:01,593 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jbo
  | ss.ejb3.stateless.StatelessContainer
  | 17:30:01,593 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=tps-e
  | ntity.jar,name=FlightBean,service=EJB3 with dependencies:
  | 17:30:01,593 INFO  [JmxKernelAbstraction]       persistence.units:unitName=tps
  | 17:30:01,593 INFO  [EJB3Deployer] Deployed: file:/C:/jboss-4.2.2.GA/server/defau
  | lt/deploy/tps-entity.jar
  | 17:30:01,609 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.j2ee:jar=tps-entity.jar,name=FlightBean,service=EJB3
  |   State: NOTYETINSTALLED
  |   I Depend On:
  |     persistence.units:unitName=tps
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: persistence.units:unitName=tps
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  |     jboss.j2ee:jar=tps-entity.jar,name=FlightBean,service=EJB3
  | 



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

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



More information about the jboss-user mailing list