[jboss-user] [Installation, Configuration & DEPLOYMENT] - problems in migrating web-application from jboss-5.0.0Beta1

gautam1.k do-not-reply at jboss.com
Tue Aug 18 10:12:02 EDT 2009


Hi All,

       We are facing problems in migrating our web-application from jboss-5.0.0Beta1 to jboss-5.1.0GA.

       are there any suggestion on changes we need to take care of during migration.

        Meantime i did change my web.xml file's <web-app> tag from 

Jboss-5.0.0Beta1 -- 

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
	id="WebApp_ID" version="2.4">

to Jboss-5.1.0GA

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	id="WebApp_ID" version="2.5">

and i faced this problem:

Deployment "vfsfile:/C:/jboss/jboss-5.1.0.GA/server/default/deploy/PerformanceMonitoringISE-1.0/" is in error due
to the following reason(s): org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting w
ith element 'taglib'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee"
:display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":distributable, "http:/
/java.sun.com/xml/ns/javaee":context-param, "http://java.sun.com/xml/ns/javaee":filter, "http://java.sun.com/xml/ns
/javaee":filter-mapping, "http://java.sun.com/xml/ns/javaee":listener, "http://java.sun.com/xml/ns/javaee":servlet,
"http://java.sun.com/xml/ns/javaee":servlet-mapping, "http://java.sun.com/xml/ns/javaee":session-config, "http://j
ava.sun.com/xml/ns/javaee":mime-mapping, "http://java.sun.com/xml/ns/javaee":welcome-file-list, "http://java.sun.co
m/xml/ns/javaee":error-page, "http://java.sun.com/xml/ns/javaee":jsp-config, "http://java.sun.com/xml/ns/javaee":se
curity-constraint, "http://java.sun.com/xml/ns/javaee":login-config, "http://java.sun.com/xml/ns/javaee":security-r
ole, "http://java.sun.com/xml/ns/javaee":env-entry, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.c
om/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee":service-ref, "http://java.sun.com/xml/ns/javae
e":resource-ref, "http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-
destination-ref, "http://java.sun.com/xml/ns/javaee":persistence-context-ref, "http://java.sun.com/xml/ns/javaee":p
ersistence-unit-ref, "http://java.sun.com/xml/ns/javaee":post-construct, "http://java.sun.com/xml/ns/javaee":pre-de
stroy, "http://java.sun.com/xml/ns/javaee":message-destination, "http://java.sun.com/xml/ns/javaee":locale-encoding
-mapping-list}' is expected. @ vfsfile:/C:/jboss/jboss-5.1.0.GA/server/default/deploy/PerformanceMonitoringISE-1.0/
WEB-INF/web.xml[78,10] 
It will be kind if someone can provide the information as well as web.xml specific to Jboss-5.1.0GA

Thanks In Advance...

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250199#4250199

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250199



More information about the jboss-user mailing list