Hi all,
I'm currently developping a web service client using Axis.
This client is to be executed on a windows mobile pocketpc over the
Mysaifu JVM, built upon GNU Classpath libraries
(http://www.gnu.org/software/classpath/classpath.html).
When executing my client, AxisEngine seems not to be configured properly:
Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
at org.apache.axis.configuration.FileProvider.configureEngine
(FileProvider.java:179)
(Detailed stacktrace pasted below),
and I don't really know what is happening.
Note that, my client use axis stubs generated from the Axis WSDL2Java
tool, and this same client correcly runs on a desktop PC.
As I'm not an expert of the core axis engine, If you have any idea,
please tell me.
Regards,
Hervé
========================
StackTrace follows:
in main client: before web service call
Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
at org.apache.axis.configuration.FileProvider.configureEngine
(FileProvider.java:179)
at org.apache.axis.AxisEngine.init (AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init> (AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init> (AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient (Service.java:104)
at org.apache.axis.client.Service.<init> (Service.java:113)
at
_10._1._168._192.axis1.services.MyServerValidate.MyServerValidateServiceLocator.<init>
(Unknown source)
at MyClientValidate.sayHello (Unknown source)
at MyClientValidate.main (Unknown source)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:329)
at java.lang.VMMainThread$1.run (VMMainThread.java)
at java.lang.VMThread.run (VMThread.java:120)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.VMClassLoader.loadClass (Native Method)
at java.lang.ClassLoader.loadClass (ClassLoader.java:329)
at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1110)
at java.lang.ClassLoader.loadClass (ClassLoader.java:294)
at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance
(DOMImplementationRegistry.java:140)
at gnu.xml.dom.DomDocumentBuilderFactory.<init>
(DomDocumentBuilderFactory.java:69)
at java.lang.reflect.Constructor.constructNative (Native Method)
at java.lang.reflect.Constructor.newInstance (Constructor.java:242)
at java.lang.Class.newInstance (Class.java:1136)
at javax.xml.parsers.DocumentBuilderFactory.newInstance
(DocumentBuilderFactory.java:104)
at org.apache.axis.utils.XMLUtils.getDOMFactory (XMLUtils.java:221)
at org.apache.axis.utils.XMLUtils.<clinit> (XMLUtils.java)
at org.apache.axis.utils.XMLUtils.<clinit> (XMLUtils.java)
at org.apache.axis.configuration.FileProvider.configureEngine
(FileProvider.java:179)
...12 more
Caused by: java.lang.ExceptionInInitializerError
at java.lang.VMClass.forName (Native Method)
at java.lang.Class.forName (Class.java:161)
at gnu.xml.dom.ImplementationSource.<clinit> (ImplementationSource.java)
at gnu.xml.dom.ImplementationSource.<clinit> (ImplementationSource.java)
at java.lang.VMClassLoader.loadClass (Native Method)
...25 more
Caused by: java.lang.UnsatisfiedLinkError: Native library `xmlj' not
found (as file `xmlj') in gnu.classpath.boot.library.path and
java.library.path
at java.lang.Runtime.loadLibrary (Runtime.java:763)
at java.lang.System.loadLibrary (System.java:529)
at gnu.xml.libxmlj.util.XMLJ.init (XMLJ.java:92)
at gnu.xml.libxmlj.dom.GnomeDocumentBuilder.<clinit>
(GnomeDocumentBuilder.java)
at gnu.xml.libxmlj.dom.GnomeDocumentBuilder.<clinit>
(GnomeDocumentBuilder.java)
at java.lang.VMClass.forName (Native Method)
...29 more
JVM exit.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]