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
Network uptime monitor
How to break username and password in Cisco 2900 Switches?
Configuring Tomcat 6.0 with Apache Web Server 2.2
Cisco Router/VPN Bandwidth command(s)
Cricket oids
Manually specify secondary (or tertiary) DNS servers in Windows XP with DHCP?
Multiple services are terminated unexpectedly at startup in XP Pro
Asterisk: Run PBX as a VM ?
DNS Issue on SBS 2008
DFSR: Windows 2003 R2 and Windows Storage Server 2003