Hi,

  I'm a student and I'm trying to use Axis on a PDA ( as a client of course).
But it seems that Axis doesn't have all librairies needed to work (example : javax.servlet package or libxmlj...).
And the problem is that my PDA's JVM doesn't have those packages.

The PDA's JVM is Mysaifu JVM ( a J2SE JVM )

My first question is why does Axis need javax.servlet package to work as a client ??
And my second question is : does exist a minimal version of Axis ( for PDA's JVM) that I can use  (for my PDA client).

When I execute I have that :

Jun 26, 2006 10:35:26 AM org.apache.axis.configuration.EngineConfigurationFactoryFinder newFactory
WARNING: Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: invoke method failed: public static EngineConfigurationFactory newFactory(Object).
java.lang.ClassNotFoundException: javax/servlet/ServletConfig not found in java.lang.ClassLoader$1{urls=[file:/My Documents/ClientSimple/amui-client-pda.jar], parent=null}
   at java.net.URLClassLoader.findClass (URLClassLoader.java:902)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:342)
   at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1110)

   at java.lang.ClassLoader.loadClass (ClassLoader.java:294)
   at org.apache.axis.configuration.EngineConfigurationFactoryServlet.newFactory (EngineConfigurationFactoryServlet.java:79)
   at java.lang.reflect.Method.invokeNative (Native Method)
  ...
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)
   ...15 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)

And it is right that in my PDA's JVM there is no Native library `xmlj' or javax.servlet package

           

Any idea ? Thanks


Reply via email to