wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Help with ERROR [URLDeploymentScanner] Incomplete Deployment listing: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Help with ERROR [URLDeploymentScanner] Incomplete Deployment listing:" Watch "Help with ERROR [URLDeploymentScanner] Incomplete Deployment listing:" New topic
Author

Help with ERROR [URLDeploymentScanner] Incomplete Deployment listing:

linker linker
Greenhorn

Joined: Jan 28, 2009
Posts: 1
I´m doing an enterprise application
Here is my persistence unit in the EJB:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="WPC-ejbPU" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:/wpc_pa1</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="hibernate.archive.autodetection" value="class"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>
</persistence>

And when I deployed it; I get the next message:

16:55:02,041 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:ear=WPC.ear,jar=WPC-ejb.jar,unitName=WPC-ejbPU
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=wpc_pa1,service=DataSourceBinding
Depends On Me:
jboss.j2ee:ear=WPC.ear,jar=WPC-ejb.jar,name=OrganizacionFacadeBean,service=E
JB3

ObjectName: jboss.j2ee:ear=WPC.ear,jar=WPC-ejb.jar,name=OrganizacionFacadeBean,s
ervice=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=WPC.ear,jar=WPC-ejb.jar,unitName=WPC-ejbPU

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=wpc_pa1,service=DataSourceBinding
State: NOTYETINSTALLED
Depends On Me:
persistence.units:ear=WPC.ear,jar=WPC-ejb.jar,unitName=WPC-ejbPU

Here is the session bean it mentions:
package dao;

import domain.Organizacion;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
*
* @author windows
*/
@Stateless
public class OrganizacionFacadeBean implements OrganizacionFacadeRemote {

@PersistenceContext
private EntityManager em;

public void create(Organizacion organizacion) {
em.persist(organizacion);
}

public void edit(Organizacion organizacion) {
em.merge(organizacion);
}

public void remove(Organizacion organizacion) {
em.remove(em.merge(organizacion));
}

public Organizacion find(Object id) {
return em.find(Organizacion.class, id);
}

public List<Organizacion> findAll() {
return em.createQuery("select object(o) from Organizacion as o").getResultList();
}

}

and my remote interface:
package dao;

import domain.Organizacion;
import java.util.List;
import javax.ejb.Remote;

/**
*
* @author windows
*/
@Remote
public interface OrganizacionFacadeRemote {

void create(Organizacion organizacion);

void edit(Organizacion organizacion);

void remove(Organizacion organizacion);

Organizacion find(Object id);

List<Organizacion> findAll();
}

Why is this happening?


Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9941
    
159

"linker linker"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help with ERROR [URLDeploymentScanner] Incomplete Deployment listing:
 
Similar Threads
Problem with EJB 3. Name not bound error
NameNotFoundExcption
Deployment unsuccessful: " service=DataSourceBinding State: NOTYETINSTALLED"
Error on deploy
Incomplete Deployment