[EJB 3.0] - Re: EJB 3.0 Entity problem - Error: Incomplete Deployment li
by HappyNewYear
Thanks. I was actually using a persistence.xml with the correct name and just copied a new one into mine because I was trying out different things. I replaced it with tps again and I still get the same error. Any ideas?
Thanks!
| 19:28:23,263 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jbo
| ss.ejb3.stateless.StatelessContainer
| 19:28:23,263 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=tps-e
| ntity.jar,name=FlightBean,service=EJB3 with dependencies:
| 19:28:23,263 INFO [JmxKernelAbstraction] persistence.units:unitName=tps
| 19:28:23,278 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.2.GA/server/defau
| lt/deploy/tps-entity.jar
| 19:28:23,278 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=4139954#4139954
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139954
16 years, 9 months
[EJB 3.0] - EJB 3.0 Entity problem - Error: Incomplete Deployment listin
by HappyNewYear
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
16 years, 9 months