users@glassfish.java.net

Re: NetBeans and GlassFish deploy error

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Thu, 16 Jul 2009 11:06:35 -0300

please send us the structure of the EAR and the description of the
client jar contents..

If possible, please include any configuration file or deployment descriptor...

* I am in vacations, but I hope the list will save your day :)


On Thu, Jul 16, 2009 at 10:29 AM, Ronaldo Rigoni ...<rrigoni_at_gmail.com> wrote:
> Hi all,
> I am try to deploy a application in GlassFish and NetBeans in a new EAR project.
> And i recieve a error.
> I have 13 EJBs with @Remote interfaces and 21 with @Local, because
> Application server responses with a EJB don't have a Remote interface.
>
> Ronaldo.
>
> Exception occured in J2EEC Phasejava.lang.RuntimeException: Trying to
> set an ejb-ref on an EJB, while the EJB does not define remote
> interfaces
> com.sun.enterprise.deployment.backend.IASDeploymentException: Error
> loading deployment descriptors for module [portaldoprofessor] --
> Trying to set an ejb-ref on an EJB, while the EJB does not define
> remote interfaces
>        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:406)
>        at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:359)
>        at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
>        at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
>        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:208)
>        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
>        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
>        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:283)
>        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:835)
>        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
>        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225)
> Caused by: java.lang.RuntimeException: Trying to set an ejb-ref on an
> EJB, while the EJB does not define remote interfaces
>        at com.sun.enterprise.deployment.EjbReferenceDescriptor.setEjbDescriptor(EjbReferenceDescriptor.java:167)
>        at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:335)
>        at com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1415)
>        at com.sun.enterprise.deployment.Application.visit(Application.java:1832)
>        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:520)
>        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:840)
>        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:794)
>        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:365)
>        ... 10 more
>
>
> --
> []'s,
> Ronaldo Rigoni
> http://www.ronaldorigoni.com.br
> Desenvolvedor JEE
> Ministério da Educação -  CESPE
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl