DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13149

Client requires servlet.jar

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From [EMAIL PROTECTED]  2002-10-10 17:02 -------
My client app works with JDK 1.3 but fails with JDK 1.4.

My classpath is:  .;axis.jar;jaxrpc.jar;saaj.jar;commons-discovery.jar;commons-
logging.jar;wsdl4j.jar

The following exception is thrown (not logged) when using JDK 1.4:

Exception in thread "main" java.lang.NoClassDefFoundError: 
javax/servlet/ServletContext
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:1613)
        at java.lang.Class.getMethod0(Class.java:1732)
        at java.lang.Class.getDeclaredMethod(Class.java:1219)
        at org.apache.commons.discovery.tools.ClassUtils.findPublicStaticMethod
(ClassUtils.java:112)
        at 
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory
(EngineConfigurationFactoryFinder.java:214)
        at 
org.apache.axis.configuration.EngineConfigurationFactoryFinder.access$300
(EngineConfigurationFactoryFinder.java:92)
        at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run
(EngineConfigurationFactoryFinder.java:179)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory
(EngineConfigurationFactoryFinder.java:148)
        at 
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory
(EngineConfigurationFactoryFinder.java:204)
        at org.apache.axis.client.Service.<init>(Service.java:111)

Note that JDK 1.4 throws this exception when ClassUtils.findPublicStaticMethod
() is called.  Presumably, the classloader behavior is different under JDK 1.3.

Reply via email to