users@glassfish.java.net

java.lang.RuntimeException: Cannot resolve reference Unresolved Ejb-Ref

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Oct 2007 23:39:24 PDT

This issue has been posted by one of our customer

NetBeans 5.5 bundled with Sun Application Server 9 U1 using IBM DB2 database on Windows XP machine

Problem Details :

We cannot get a project to deploy to the local test server. Whether we deploy from netbeans or using the server admin console, we get the same error.

I am attempting to load an existing project on to a new developer's machine. The same project works fine on two other developer's machines. We are just having this issue with this particular developer machine.

Here is a snippet of the error file:

Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Highsmith] -- Cannot resolve reference Unresolved Ejb-Ref highsmith.ejbs.maintenance.ReviewsMaintenanceBean/reviewsFacade_at_jndi: @null_at_highsmith.ejbs.facades.ReviewsFacadeLocal_at_Session@null
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:362)
        at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:327)
        at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:332)
        at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:182)
        at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
Caused by: java.lang.RuntimeException: Cannot resolve reference Unresolved Ejb-Ref highsmith.ejbs.maintenance.ReviewsMaintenanceBean/reviewsFacade_at_jndi: @null_at_highsmith.ejbs.facades.ReviewsFacadeLocal_at_Session@null
        at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:405)
        at com.sun.enterprise.deployment.EjbDescriptor.visit(EjbDescriptor.java:2047)
        at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:680)
        at com.sun.enterprise.deployment.Application.visit(Application.java:1734)
        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:457)
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:342)
        ... 11 more
ADM1006:Uploading the file to:[C:\Documents and Settings\mwweb\Local Settings\Temp\s1astempdomain1server1973260849\SchoolDiscountDirect.ear]
<ejb-class> value [highsmith.ejbs.CatgroupFacade] in ejb-jar.xml for ejb-name [CatgroupFacade] does not match classname[highsmith.ejbs.facades.CatgroupFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.CatgroupFacade
<ejb-class> value [highsmith.ejbs.SuffixFacade] in ejb-jar.xml for ejb-name [SuffixFacade] does not match classname[highsmith.ejbs.facades.SuffixFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.SuffixFacade
<ejb-class> value [highsmith.ejbs.facades.RootFacade] in ejb-jar.xml for ejb-name [RootFacade] does not match classname[highsmith.ejbs.RootFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.RootFacade
<ejb-class> value [highsmith.ejbs.CslpFacade] in ejb-jar.xml for ejb-name [CslpFacade] does not match classname[highsmith.ejbs.facades.CslpFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.CslpFacade
<ejb-class> value [highsmith.ejbs.facades.ColumndataFacade] in ejb-jar.xml for ejb-name [ColumndataFacade] does not match classname[highsmith.ejbs.ColumndataFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.ColumndataFacade
<ejb-class> value [highsmith.ejbs.CatalogFacade] in ejb-jar.xml for ejb-name [CatalogFacade] does not match classname[highsmith.ejbs.facades.CatalogFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.CatalogFacade
<ejb-class> value [highsmith.ejbs.CntycdsFacade] in ejb-jar.xml for ejb-name [CntycdsFacade] does not match classname[highsmith.ejbs.facades.CntycdsFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.CntycdsFacade
<ejb-class> value [highsmith.ejbs.facades.CatgrprelFacade] in ejb-jar.xml for ejb-name [CatgrprelFacade] does not match classname[highsmith.ejbs.CatgrprelFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.CatgrprelFacade
<ejb-class> value [highsmith.ejbs.facades.HnadlrFacade] in ejb-jar.xml for ejb-name [HnadlrFacade] does not match classname[highsmith.ejbs.HnadlrFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.HnadlrFacade
<ejb-class> value [highsmith.ejbs.StatecodeFacade] in ejb-jar.xml for ejb-name [StatecodeFacade] does not match classname[highsmith.ejbs.facades.StatecodeFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.StatecodeFacade
<ejb-class> value [highsmith.ejbs.HsitemFacade] in ejb-jar.xml for ejb-name [HsitemFacade] does not match classname[highsmith.ejbs.facades.HsitemFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.HsitemFacade
<ejb-class> value [highsmith.ejbs.facades.DiscounthdrFacade] in ejb-jar.xml for ejb-name [DiscounthdrFacade] does not match classname[highsmith.ejbs.DiscounthdrFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.DiscounthdrFacade
<ejb-class> value [highsmith.ejbs.OrderitemFacade] in ejb-jar.xml for ejb-name [OrderitemFacade] does not match classname[highsmith.ejbs.facades.OrderitemFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.OrderitemFacade
<ejb-class> value [highsmith.ejbs.PriceFacade] in ejb-jar.xml for ejb-name [PriceFacade] does not match classname[highsmith.ejbs.facades.PriceFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.PriceFacade
<ejb-class> value [highsmith.ejbs.facades.DiscountFacade] in ejb-jar.xml for ejb-name [DiscountFacade] does not match classname[highsmith.ejbs.DiscountFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.DiscountFacade
<ejb-class> value [highsmith.ejbs.PromoFacade] in ejb-jar.xml for ejb-name [PromoFacade] does not match classname[highsmith.ejbs.facades.PromoFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.PromoFacade
<ejb-class> value [highsmith.ejbs.facades.CatgprtrelFacade] in ejb-jar.xml for ejb-name [CatgprtrelFacade] does not match classname[highsmith.ejbs.CatgprtrelFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.CatgprtrelFacade
<ejb-class> value [highsmith.ejbs.facades.MbrgrpFacade] in ejb-jar.xml for ejb-name [MbrgrpFacade] does not match classname[highsmith.ejbs.MbrgrpFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.MbrgrpFacade
<ejb-class> value [highsmith.ejbs.CustomerFacade] in ejb-jar.xml for ejb-name [CustomerFacade] does not match classname[highsmith.ejbs.facades.CustomerFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.CustomerFacade
<ejb-class> value [highsmith.ejbs.facades.ValidsuffixFacade] in ejb-jar.xml for ejb-name [ValidsuffixFacade] does not match classname[highsmith.ejbs.ValidsuffixFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.ValidsuffixFacade
<ejb-class> value [highsmith.ejbs.StoreFacade] in ejb-jar.xml for ejb-name [StoreFacade] does not match classname[highsmith.ejbs.facades.StoreFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.StoreFacade
<ejb-class> value [highsmith.ejbs.maintenance.CustomerMaintenanceBean] in ejb-jar.xml for ejb-name [CustomerMaintenanceBean] does not match classname[highsmith.beans.CustomerMaintenanceBean] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.beans.CustomerMaintenanceBean
<ejb-class> value [highsmith.ejbs.KeyFacade] in ejb-jar.xml for ejb-name [KeyFacade] does not match classname[highsmith.ejbs.facades.KeyFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.KeyFacade
<ejb-class> value [highsmith.ejbs.facades.AddressFacade] in ejb-jar.xml for ejb-name [AddressFacade] does not match classname[highsmith.ejbs.AddressFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.AddressFacade
<ejb-class> value [highsmith.ejbs.QsctrlFacade] in ejb-jar.xml for ejb-name [QsctrlFacade] does not match classname[highsmith.ejbs.facades.QsctrlFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.QsctrlFacade
<ejb-class> value [highsmith.ejbs.MbrgrpmbrFacade] in ejb-jar.xml for ejb-name [MbrgrpmbrFacade] does not match classname[highsmith.ejbs.facades.MbrgrpmbrFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.MbrgrpmbrFacade
<ejb-class> value [highsmith.ejbs.ReviewsFacade] in ejb-jar.xml for ejb-name [ReviewsFacade] does not match classname[highsmith.ejbs.facades.ReviewsFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.ReviewsFacade
<ejb-class> value [highsmith.ejbs.facades.SuffixvalueFacade] in ejb-jar.xml for ejb-name [SuffixvalueFacade] does not match classname[highsmith.ejbs.SuffixvalueFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.SuffixvalueFacade
<ejb-class> value [highsmith.ejbs.CeditionsFacade] in ejb-jar.xml for ejb-name [CeditionsFacade] does not match classname[highsmith.ejbs.facades.CeditionsFacade] for corresponding component-defining annotation.
 symbol: TYPE location: class highsmith.ejbs.facades.CeditionsFacade
Annotations processing failed for C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\Highsmith-ejb_jar
Cannot resolve reference Unresolved Ejb-Ref highsmith.ejbs.maintenance.CustomerMaintenanceBean/customerFacade_at_jndi: @null_at_highsmith.ejbs.facades.CustomerFacadeLocal_at_Session@null
UTIL6040: Error attempting to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_logging.jar
UTIL6041: Performing gc to try to force file closures
UTIL6043: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_logging.jar failed after 4 retries
UTIL6048: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_logging.jar failed; now marked for delete-on-exit
UTIL6040: Error attempting to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_navigation.jar
UTIL6041: Performing gc to try to force file closures
UTIL6043: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_navigation.jar failed after 4 retries
UTIL6048: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_navigation.jar failed; now marked for delete-on-exit
UTIL6040: Error attempting to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_PKCS12ToJKS.jar
UTIL6041: Performing gc to try to force file closures
UTIL6043: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_PKCS12ToJKS.jar failed after 4 retries
UTIL6048: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_PKCS12ToJKS.jar failed; now marked for delete-on-exit
UTIL6040: Error attempting to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_reporting.jar
UTIL6041: Performing gc to try to force file closures
UTIL6043: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_reporting.jar failed after 4 retries
UTIL6048: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect\endeca_reporting.jar failed; now marked for delete-on-exit
UTIL6040: Error attempting to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect
UTIL6041: Performing gc to try to force file closures
UTIL6043: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect failed after 4 retries
UTIL6048: Attempt to delete C:\Sun\AppServer9-0\domains\domain1\applications\j2ee-apps\SchoolDiscountDirect failed; now marked for delete-on-exit
Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [SchoolDiscountDirect] -- Cannot resolve reference Unresolved Ejb-Ref highsmith.ejbs.maintenance.CustomerMaintenanceBean/customerFacade_at_jndi: @null_at_highsmith.ejbs.facades.CustomerFacadeLocal_at_Session@null
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:362)
        at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:327)
        at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:332)
        at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:182)
        at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
Caused by: java.lang.RuntimeException: Cannot resolve reference Unresolved Ejb-Ref highsmith.ejbs.maintenance.CustomerMaintenanceBean/customerFacade_at_jndi: @null_at_highsmith.ejbs.facades.CustomerFacadeLocal_at_Session@null
        at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:405)
        at com.sun.enterprise.deployment.EjbDescriptor.visit(EjbDescriptor.java:2047)
        at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:680)
        at com.sun.enterprise.deployment.Application.visit(Application.java:1734)
        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:457)
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:342)
        ... 11 more
[Message sent by forum member 'chenji' (chenji)]

http://forums.java.net/jive/thread.jspa?messageID=240316