users@glassfish.java.net

Unable to deploy *EJB.jar - cannot access or read schema file 'abc'

From: <glassfish_at_javadesktop.org>
Date: Mon, 30 Jun 2008 09:46:43 PDT

I'm trying to deploy the *EJB.jar file and it fails with the following exception
___________________________________________________________________

[#|2008-06-30T11:22:34.747-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-2
7;_RequestID=3489242f-4471-4016-a889-1c441df33dec;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- JDO7403
5: JDOCodeGenerator: Problem while creating database model for application 'abcEJB' module 'abcEJB': cannot access o
r read schema file 'abc'.
        at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:320)
        at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:648)
        at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:593)
        at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:347)
        at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:230)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:814)
        at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:144)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
        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)
|#]
___________________________________________________________________

I have all the 4 xml files ejb-jar.xml, sun-cmp-mappings.xml, sun-ejb-jar.xml and abc.dbschema under META-INF folder.

I have specified <schema>abc</schema> in sun-cmp-mappings.xml file

Any help will be appreciated! Thanks in advance.
[Message sent by forum member 'gjp' (gjp)]

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