users@glassfish.java.net

Referencing error: This bundle has no bean of name

From: <forums_at_java.net>
Date: Fri, 23 Dec 2011 01:45:33 -0600 (CST)

Hi All,

While deploying in Glassfish 2.1.1 with JDK 1.6.0.3 on Window XP i'm getting
the error like "Referencing error: This bundle has no bean of name". I have
not used any sun-ejb-jar.xml file. I have used only ejb-jar.xml. Please help
on this. I stuck in this issue since last 4 days.

The complete error stack is like below :-

[#|2011-12-23T12:42:51.520+0530|SEVERE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=Thread-338;_RequestID=73831bd8-6dfc-4f54-9dec-6d6fe85be768;|Exception
occured in J2EEC Phasejava.lang.IllegalArgumentException: Referencing error:
This bundle has no bean of name [UserManager]
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading
deployment descriptors for module [wsc] -- Referencing error: This bundle has
no bean of name [UserManager]
    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.IllegalArgumentException: Referencing error: This bundle
has no bean of name [UserManager]
    at
com.sun.enterprise.deployment.EjbBundleDescriptor.getEjbByName(EjbBundleDescriptor.java:283)
    at
com.sun.enterprise.deployment.EjbBundleDescriptor.getEjbByName(EjbBundleDescriptor.java:266)
    at
com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:493)
    at
com.sun.enterprise.deployment.EjbDescriptor.visit(EjbDescriptor.java:2069)
    at
com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:735)
    at
com.sun.enterprise.deployment.Application.visit(Application.java:1819)
    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
|#]
 


--
[Message sent by forum member 'mohitkumarjoshi']
View Post: http://forums.java.net/node/876859