users@glassfish.java.net

Cannot deploy web application in V1

From: Imran M Yousuf <imran_at_smartitengineering.com>
Date: Fri, 10 Aug 2007 19:00:59 +0600

Dear Users,

Whenever I try to deploy my web application I get the following error. I
have attached the web.xml in the log. Please have a look and please let me
know.

Thank you,

Imran


[#|2007-08-10T18:56:
17.305+0600|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=19;_ThreadName=Thread-74;Deployment
descriptor file WEB-INF/web.xml in archive [event-ws].;3;10;General Schema
Error: Schema in web-app_2_4.xsd has a different target namespace from the
one specified in the instance document
:web-app_2_5.xsd.;_RequestID=8fbd6160-64df-4006-aaea-eff98268bf20;|"DPL8015:
Invalid Deployment Descriptors in Deployment descriptor file WEB-INF/web.xml
in archive [event-ws].
Line 3 Column 10 -- General Schema Error: Schema in web-app_2_4.xsd has a
different target namespace from the one specified in the instance document
:web-app_2_5.xsd."|#]

[#|2007-08-10T18:56:
17.305+0600|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=19;_ThreadName=Thread-74;General
Schema Error: Schema in web-app_2_4.xsd has a different target namespace
from the one specified in the instance document
:web-app_2_5.xsd.;_RequestID=8fbd6160-64df-4006-aaea-eff98268bf20;|"DPL8005:
Deployment Descriptor parsing failure : General Schema Error: Schema in
web-app_2_4.xsd has a different target namespace from the one specified in
the instance document :web-app_2_5.xsd."|#]

[#|2007-08-10T18:56:
17.322+0600|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=19;_ThreadName=Thread-74;_RequestID=8fbd6160-64df-4006-aaea-eff98268bf20;|Exception
occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading
deployment descriptors for module [event-ws] Line 3 Column 10 -- Deployment
descriptor file WEB-INF/web.xml in archive [event-ws]. General Schema
Error: Schema in web-app_2_4.xsd has a different target namespace from the
one specified in the instance document :web-app_2_5.xsd.
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(
Deployer.java:352)
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(
ModuleDeployer.java:395)
        at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(
WebModuleDeployer.java:155)
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(
ModuleDeployer.java:160)
        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: org.xml.sax.SAXParseException: General Schema Error: Schema in
web-app_2_4.xsd has a different target namespace from the one specified in
the instance document :web-app_2_5.xsd.
        at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(
DeploymentDescriptorFile.java:285)
        at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(
DeploymentDescriptorFile.java:207)
        at
com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor
(Archivist.java:467)
        at
com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(
Archivist.java:292)
        at com.sun.enterprise.deployment.archivist.Archivist.open(
Archivist.java:200)
        at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(
ApplicationArchivist.java:750)
        at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(
ApplicationArchivist.java:731)
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(
Deployer.java:327)
        ... 10 more
|#]

-- 
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran_at_smartitengineering.com
Mobile: +880-1711402557