sunilramu
asked on
Websphere jaxp.propertis file
Hi All,
When I have deployed my application in Websphere 6.1 in linux environment it stops working.
The struts modules was giving following error.
org.xml.sax.SAXNotRecogniz edExceptio n: http://apache.org/xml/features/validation/dynamic
at gnu.xml.aelfred2.JAXPFacto ry.setFeat ure(JAXPFa ctory.java :102)
at org.apache.commons.digeste r.parser.X ercesParse r.configur eXerces(Xe rcesParser .java:185)
at org.apache.commons.digeste r.parser.X ercesParse r.newSAXPa rser(Xerce sParser.ja va:138)
at org.apache.commons.digeste r.ParserFe atureSette rFactory.n ewSAXParse r(ParserFe atureSette rFactory.j ava:73)
at org.apache.commons.digeste r.Digester .getParser (Digester. java:682)
at org.apache.commons.digeste r.Digester .getXMLRea der(Digest er.java:89 1)
at org.apache.commons.digeste r.Digester .parse(Dig ester.java :1572)
Than I applied below solution
Rename the jaxp.properties.sample (located in a folder similar to /opt/WebSphere/AppServer/j ava/jre/li b) file to jaxp.properties and uncomment the following properties.
javax.xml.parsers.SAXParse rFactory=o rg.apache. xerces.jax p.SAXParse rFactoryIm pl
And it works fine.
Now the question is how will this affect the other applications running in this environment?
Thanks in advance!
--Sunil
When I have deployed my application in Websphere 6.1 in linux environment it stops working.
The struts modules was giving following error.
org.xml.sax.SAXNotRecogniz
at gnu.xml.aelfred2.JAXPFacto
at org.apache.commons.digeste
at org.apache.commons.digeste
at org.apache.commons.digeste
at org.apache.commons.digeste
at org.apache.commons.digeste
at org.apache.commons.digeste
Than I applied below solution
Rename the jaxp.properties.sample (located in a folder similar to /opt/WebSphere/AppServer/j
javax.xml.parsers.SAXParse
And it works fine.
Now the question is how will this affect the other applications running in this environment?
Thanks in advance!
--Sunil
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the grade & points.
Good luck & have a great day.
Good luck & have a great day.
ASKER