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
System Attendant Service failed
SBS Server 2003 vs Server 2003
XP constantly losing server connections
BIND - NOTIFY - NS and A Field
n-Layer theroy question.... Wanted to check i am understanding the question
Setting up WEP
how to configure sendmail for mail server host in virtual domain lan
Setting up a home network using Windows Server 2003 and XP for use with MCSE
continous trace route?
ArcGIS to Civil 3d to 3ds Max - supported vector objects?