Microsoft
Software
Hardware
Network
Question : 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/feat
ures/valid
ation/dyna
mic
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
Answer : Websphere jaxp.propertis file
Are you using the struts that comes with WebSphere, or is there one bundled in your application?
If you have one in your application, what is the classloader policy?
Parent_First?
or
Parent_Last?
Random Solutions
Beginner: Evaluate expression if field is visible:
How to configure my net ?
Add an extension to a Vonage line
Zoom X5 DSL modem as a bridge.
VPN access to only one IP (PC) on lan
RPVST on a cisco switch
WiFi will not connect when not logged into the domain
Cannot set up SIP proxy to server
Problems with Trust Relations
Ad-hoc network