Deployment descriptor "web.xml " is malformed error 2005-05-23 - By Dharmendra Sharan
Back Hi Srinivas,
I believe the DTD version for webapp is different between the WL6.1sp4 and WL8.1sp3 instances. Just make sure you have the correct DTD version and it should be fine. The last I recall it was webapp version 2.3 or something... (http://java.sun.com/dtd/web-app_2_3.dtd) make sure it's the correct one.
HTH,
Dharm ps: have a good day! -- --Original Message-- -- From: An interest list for Sun Java Center J2EE Pattern Catalog [mailto:J2EEPATTERNS-INTEREST@(protected)]On Behalf Of Nawab Srinivas Sent: Friday, May 20, 2005 7:25 PM To: J2EEPATTERNS-INTEREST@(protected) Subject: Deployment descriptor "web.xml" is malformed error
Hi All,
I am getting following error while deploying application in WL8.1sp3 as part of migration from 6.1sp4.
I apology if this posting is not relavant here. Pleas help me or let me know where to post it.
Thanks in advance, Srinivas
<BEA-101248 (See http://BEA-101248.ora-code.com)> <[Application: '/home/snawab/wls81/etg/applications', Module: 'webapp']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. (line 2, column 10).> ####<May 20, 2005 6:46:19 PM EDT> <Warning> <HTTP> <njwlfdev02.lehman.com> <snawab_12752_a> <Main Thread> <<WLS Kernel>> <> <BEA-101248 (See http://BEA-101248.ora-code.com)> <[Application: '/home/snawab/wls81/etg/applications', Module: 'webapp']: Deployment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'weblogic-web-app'. (line 1, column 19).> ####<May 20, 2005 6:46:19 PM EDT> <Warning> <HTTP> <njwlfdev02.lehman.com> <snawab_12752_a> <Main Thread> <<WLS Kernel>> <> <BEA-101248 (See http://BEA-101248.ora-code.com)> <[Application: '/home/snawab/wls81/etg/examples', Module: 'sampleWebApp']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter -mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping* ,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security -constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
(line 46, column 11).>
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you , you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|