users@glassfish.java.net

Re: http://java.sun.com/xml/ns/javaee":module}' is expected.

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 25 Feb 2009 22:57:39 +0530

Your application.xml is not valid as per the javaee schema. Open it in
an XML aware editor (like NetBeans) and make it a valid document.

Eve Pokua wrote:
> Hello,
>
> I'm using netbeans 6.5, while I was deploying my application, I got
> the following error:
>
> *#|2009-02-25T16:11:24.353+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Thread-25;cvc-complex-type.2.4.b:
> The content of element 'application' is not complete. One of
> '{"**http://java.sun.com/xml/ns/javaee":description*
> <http://java.sun.com/xml/ns/javaee%22:description>*,
> "**http://java.sun.com/xml/ns/javaee":display-name*
> <http://java.sun.com/xml/ns/javaee%22:display-name>*,
> "**http://java.sun.com/xml/ns/javaee":icon*
> <http://java.sun.com/xml/ns/javaee%22:icon>*,
> "**http://java.sun.com/xml/ns/javaee":module}'*
> <http://java.sun.com/xml/ns/javaee%22:module%7D%27>* is
> expected.;_RequestID=01428534-d0aa-4fbc-97ef-5603f8af97cc;|"DPL8005:
> Deployment Descriptor parsing failure : cvc-complex-type.2.4.b: The
> content of element 'application' is not complete. One of
> '{"**http://java.sun.com/xml/ns/javaee":description*
> <http://java.sun.com/xml/ns/javaee%22:description>*,
> "**http://java.sun.com/xml/ns/javaee":display-name*
> <http://java.sun.com/xml/ns/javaee%22:display-name>*,
> "**http://java.sun.com/xml/ns/javaee":icon*
> <http://java.sun.com/xml/ns/javaee%22:icon>*,
> "**http://java.sun.com/xml/ns/javaee":module}'*
> <http://java.sun.com/xml/ns/javaee%22:module%7D%27>* is expected."|#]*
> *[#|2009-02-25T16:11:24.361+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Thread-25;_RequestID=01428534-d0aa-4fbc-97ef-5603f8af97cc;|Exception
> occured in J2EEC Phase
> com.sun.enterprise.deployment.backend.IASDeploymentException:
> Deployment descriptor file META-INF/application.xml in archive
> [gfdeploy]. cvc-complex-type.2.4.b: The content of element
> 'application' is not complete. One of
> '{"**http://java.sun.com/xml/ns/javaee":description*
> <http://java.sun.com/xml/ns/javaee%22:description>*,
> "**http://java.sun.com/xml/ns/javaee":display-name*
> <http://java.sun.com/xml/ns/javaee%22:display-name>*,
> "**http://java.sun.com/xml/ns/javaee":icon*
> <http://java.sun.com/xml/ns/javaee%22:icon>*,
> "**http://java.sun.com/xml/ns/javaee":module}'*
> <http://java.sun.com/xml/ns/javaee%22:module%7D%27>* is expected.
> at
> com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:304)
> at
> com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:226)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:480)
> at
> com.sun.enterprise.deployment.backend.AppDeployerBase.getModuleClasspath(AppDeployerBase.java:343)
> at
> com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:312)
> at
> com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
> 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: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)
> |#]*
> **
>
>
> Any ideas
>
> thanks
>
> eve
>
> ------------------------------------------------------------------------
> Share your photos with Windows Live Photos – Free Find out more!
> <http://clk.atdmt.com/UKM/go/132630768/direct/01/>