Hi Sahoo,
the ear that contains ABSessionBean can be deployed without any problems. I've added the following mappedName attribute:
[...]
@Stateless(mappedName="ABSession")
[...]
But to no avail. Both EJBs are packaged in EARs that contain a meta-inf/Manifest.mf and in the case of XYSession a jar-File containing the class-Files of the XY remote interface and the implementing class, plus the AB remote interface. Still, when trying to deploy the EAR I get an error message saying "Error processing EjbDescriptor." and the following entry in the log file:
Zeitstempel
02.02.2009 17:19:25.943
Protokollebene
SEVERE
Protokollierungsfunktion
javax.enterprise.system.tools.deployment
Namens-/Wertepaare
_ThreadID=25;_ThreadName=Thread-34041;_RequestID=322dabed-dfc4-48da-a747-058875f6dd51;
Eintragsnummer
620
Nachrichten-ID
Ausnahmefehler in J2EEC-Phasejava.lang.RuntimeException
Vollständige Meldung
Error processing EjbDescriptor com.sun.enterprise.deployment.backend.IASDeploymentException: Fehler beim Laden der Bereitstellungsbeschreibungen für Modul [testInjectXY] - Error processing EjbDescriptor at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390) at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358) at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:294) at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:207) at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223) Caused by: java.lang.RuntimeException: Error processing EjbDescriptor at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:281) at com.sun.enterprise.deployment.EjbDescriptor.visit(EjbDescriptor.java:2058) at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:734) at com.sun.enterprise.deployment.Application.visit(Application.java:1754) at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:470) at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:366) ... 11 more Caused by: java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:334) at com.sun.appserv.server.util.ASURLClassLoader.loadClass(ASURLClassLoader.java:136) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at com.sun.appserv.server.util.ClassLoaderChain.loadClass(ClassLoaderChain.java:157) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at com.sun.appserv.server.util.ClassLoaderChain.loadClass(ClassLoaderChain.java:157) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:238) ... 16 more
Any help is appreciated. Thanks for your patience.
Michael
[Message sent by forum member 'mschwind' (mschwind)]
http://forums.java.net/jive/thread.jspa?messageID=329653