Hi,
Apologise in advance if I shouldn't post here, but I have an urgent issue
which I need expert advice for.
I posted to the 'user' list(earlier today) regarding the
'FactoryConfigurationError' that I always get when trying to access my WSDL
when I deploy my web service to the AIX 5.2 production servers under IBM JDK
1.4.2.
However, I never get such issues under Linux and JDK 1.4.2 where I've built
and tested my web service.
I've seen older posts related to this type of issue and have tried to add an
explicit StaX API implementation by adding :
javax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory
javax.xml.stream.XMLOutputFactory=com.ctc.wstx.stax.WstxOutputFactory
javax.xml.stream.XMLEventFactory=com.ctc.wstx.stax.WstxEventFactory
to an xml.stream.properties file which I've added to my WEB-INF/classes
under my web app.
This doesn't seem to help although based on what I've read, I was under the
impression that this is what fixed the issue.
Can someone please offer some further guidance as to how the issue:
=================================
javax.xml.stream.FactoryConfigurationError: Provider null could not
be instantiated: java.lang.NullPointerException
javax.xml.stream.FactoryFinder.newInstance
(FactoryFinder.java:75)
javax.xml.stream.FactoryFinder.find(FactoryFinder.java:136)
javax.xml.stream.FactoryFinder.find(FactoryFinder.java
:92)
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
org.codehaus.xfire.util.STAXUtils.<clinit>(STAXUtils.java:48)
org.codehaus.xfire.transport.http.HtmlServiceWriter.write
(HtmlServiceWriter.java:50)
org.codehaus.xfire.transport.http.XFireServletController.generateServices
(XFireServletController.java:191)
org.codehaus.xfire.transport.http.XFireServletController.doService
(XFireServletController.java:119)
org.codehaus.xfire.transport.http.XFireServlet.doGet(XFireServlet.java:107)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)
=====================
can be resolved?
As I say I only ever get this issue under AIX and using IBM JDK, which
is the environment under which it needs to be deployed in production..
unfortunately :( The version of XFire I have used is 1.2.6 with my
version of Eclipse.
Thanks in advance,
Sathpal