File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes help with deploying ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "help with deploying ejb" Watch "help with deploying ejb" New topic
Author

help with deploying ejb

Mirel Caicedo
Greenhorn

Joined: Jan 07, 2010
Posts: 1
EJB 3.0
Glassfish v2.1
Netbeans 6.7.1

I want to run my EJB project - that gives me an error with comment "(...)Start registering the project's server resources
Finished registering server resources
deployment started : 0%
Deploying application in domain failed; Error loading deployment descriptors for module [ModulListyObecnosciEJB] -- Referencing error: This bundle has no bean of name [ListaObecnosciEndpointBean]

Here You've got my sun-ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
<sun-ejb-jar>
<security-role-mapping>
<role-name>zobaczListeObecnosci</role-name>
<group-name>KOORDYNATOR</group-name>
</security-role-mapping>
<enterprise-beans>
<ejb>
<ejb-name>ListaObecnosciEndpointBean</ejb-name>
<jndi-name>ListaObecnosciEndpointBean</jndi-name>
<pass-by-reference>true</pass-by-reference>
</ejb>
<ejb>
<ejb-name>ListaObecnosciManagerBean</ejb-name>
<jndi-name>ListaObecnosciManagerBean</jndi-name>
<pass-by-reference>true</pass-by-reference>
</ejb>
<ejb>
<ejb-name>PracownikFacade</ejb-name>
<jndi-name>PracownikFacade</jndi-name>
<pass-by-reference>true</pass-by-reference>
</ejb>
</enterprise-beans>
</sun-ejb-jar>



And there is persistence.xml:

<?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="ssbd05_ModulListyObecnosciEJB_ejb_1.0-SNAPSHOTPU" transaction-type="JTA">
<provider>oracle.toplink.essentials.PersistenceProvider</provider>
<jta-data-source>jdbc/ssbd05-mlo</jta-data-source>
<class>ssbd05.encje.Pracownik</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
(..)
</properties>
</persistence-unit>
</persistence>


There are no problems with dependencies.
How do You think, where is a problem?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help with deploying ejb