M
mahesh.mohan1
Hi All,
I am trying to deploy one of the portal applications on websphere 6.1.
During the course of deployment, I get the following error:
EJPPC0005E: portlet.xml validation caught a SAXException. The Message
was: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'init-param'. One of
'{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":supported-locale,
"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":resource-bundle,
"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
ortlet-info}'
is expected.
The best part here is same application is deployed properly on 6.0, but
gives a SAXException when deployed on 6.1. The header of my portlet.xml
looks like this:
<?xml version="1.0"?>
<portlet-app
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
id="hrapplication" version="1.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
Any help will be greatly appreciated.
Thanks All.
I am trying to deploy one of the portal applications on websphere 6.1.
During the course of deployment, I get the following error:
EJPPC0005E: portlet.xml validation caught a SAXException. The Message
was: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'init-param'. One of
'{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":supported-locale,
"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":resource-bundle,
"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
is expected.
The best part here is same application is deployed properly on 6.0, but
gives a SAXException when deployed on 6.1. The header of my portlet.xml
looks like this:
<?xml version="1.0"?>
<portlet-app
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
id="hrapplication" version="1.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
Any help will be greatly appreciated.
Thanks All.