Apache Axis from a Plugin

Hiya, has anyone here used Apache Axis inside a Plugin before?

I just got the following stack trace when I tried to initialize my Axis
client...

2003-03-27 09:40:58,231 ERROR - intellij.plugins.PluginManager -
2003-03-27 09:40:58,263 ERROR - intellij.plugins.PluginManager - IntelliJ IDEA (Aurora) Build #807
2003-03-27 09:40:58,265 ERROR - intellij.plugins.PluginManager - JDK: 1.4.1_02
2003-03-27 09:40:58,267 ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM) Client VM
2003-03-27 09:40:58,268 ERROR - intellij.plugins.PluginManager - Vendor: Sun Microsystems Inc.
2003-03-27 09:40:58,269 ERROR - intellij.plugins.PluginManager - OS: Linux
2003-03-27 09:40:58,271 ERROR - intellij.plugins.PluginManager - Last Action:
2003-03-27 09:40:58,275 ERROR - intellij.plugins.PluginManager - Original exception:
java.lang.ClassCastException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.axis.utils.XMLUtils.initSAXFactory(XMLUtils.java:218)
at org.apache.axis.utils.XMLUtils.(XMLUtils.java:119) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209) at org.apache.axis.AxisEngine.init(AxisEngine.java:185) at org.apache.axis.AxisEngine.(AxisEngine.java:170) at org.apache.axis.client.AxisClient.(AxisClient.java:88) at org.apache.axis.client.Service.getAxisClient(Service.java:140) at org.apache.axis.client.Service.(Service.java:182) at com.bulletinwireless.message.soap.BulletinServerProxy.(BulletinServerProxy.java:84) at com.bulletinwireless.testharness.support.SoapSender.(SoapSender.java:25) at com.bulletinwireless.testharness.test.SoapMessageTest.]]>(SoapMessageTest.java:19)
at com.bulletinwireless.testharness.test.SendTests.run(SendTests.java:51)
at java.lang.Thread.run(Thread.java:536)

2003-03-27 09:40:58,609 ERROR - intellij.plugins.PluginManager -
java.lang.ExceptionInInitializerError
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209)
at org.apache.axis.AxisEngine.init(AxisEngine.java:185)
at org.apache.axis.AxisEngine.(AxisEngine.java:170) at org.apache.axis.client.AxisClient.(AxisClient.java:88) at org.apache.axis.client.Service.getAxisClient(Service.java:140) at org.apache.axis.client.Service.(Service.java:182) at com.bulletinwireless.message.soap.BulletinServerProxy.(BulletinServerProxy.java:84) at com.bulletinwireless.testharness.support.SoapSender.(SoapSender.java:25) at com.bulletinwireless.testharness.test.SoapMessageTest.(SoapMessageTest.java:19) at com.bulletinwireless.testharness.test.SendTests.run(SendTests.java:51) at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.ClassCastException at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) at org.apache.axis.utils.XMLUtils.initSAXFactory(XMLUtils.java:218) at org.apache.axis.utils.XMLUtils.]]>(XMLUtils.java:119)
... 11 more

1 comment

On Thu, 27 Mar 2003 09:45:41 +1200, Mark Derricutt wrote:

I just got the following stack trace when I tried to initialize my Axis
client...


My guess is for somereason my plugin/axis is getting the wrong XML parser
class, anyone know how to set it so it gets the right one? ( xerces
preferred )

0

Please sign in to leave a comment.