> -----Original Message----- > From: karim [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 18, 2004 2:18 PM > To: [EMAIL PROTECTED] > Subject: Re: AdminClient under Linux > > [EMAIL PROTECTED] wrote: > > >Hey, > > > >I'm running Axis on a Linux Server and have a few problems > in using the > >AdminClient there. > > > >This is the error message I'll get: > > > ># java org.apache.axis.client.AdminClient dayTimesGreeting.wsdd > >Warning: Major version number mismatch. > >Warning: Minor version number mismatch. > >Warning: Major version number mismatch. > >Warning: Minor version number mismatch. > >Warning: Major version number mismatch. > >Warning: Minor version number mismatch. > >Warning: Major version number mismatch. > >Warning: Minor version number mismatch. > >Warning: Major version number mismatch. > >Warning: Minor version number mismatch. > >Warning: Major version number mismatch. > >Warning: Minor version number mismatch. > >Warning: Major version number mismatch. > >Warning: Minor version number mismatch. > >Internal error: caught an unexpected exception. > >Please check your CLASSPATH and your installation. > >java/lang/NoSuchMethodError: > java/lang/Class.getPackage()Ljava/lang/Package; > > at > >org.apache.commons.discovery.tools.ResourceUtils.getPackageNa > me(ResourceUtils.java:48) > > at > >org.apache.commons.discovery.tools.ResourceUtils.getResource( > ResourceUtils.java:88) > > at > >org.apache.commons.discovery.tools.ResourceUtils.loadProperti > es(ResourceUtils.java:129) > > at > >org.apache.commons.discovery.tools.PropertiesHolder.getProper > ties(PropertiesHolder.java:56) > > at > >org.apache.commons.discovery.tools.DiscoverClass.find(Discove > rClass.java:314) > > at > >org.apache.commons.discovery.tools.DiscoverClass.newInstance( > DiscoverClass.java:533) > > at > >org.apache.commons.discovery.tools.DiscoverSingleton.find(Dis > coverSingleton.java:372) > > at > >org.apache.commons.discovery.tools.DiscoverSingleton.find(Dis > coverSingleton.java:332) > > at > >org.apache.axis.components.logger.LogFactory$1.run(LogFactory > .java:45) > > at > >java.security.AccessController.doPrivileged(AccessController.java:26) > > at > >org.apache.axis.components.logger.LogFactory.getLogFactory(Lo > gFactory.java:41) > > at > >org.apache.axis.components.logger.LogFactory.<clinit>(LogFact > ory.java:33) > > at java.lang.Class.forName(Class.java:native) > > at java.lang.Class.forName(Class.java:52) > >Abgebrochen (core dumped) > > > >The deployment via JWS is working pretty fine, but I think I > need for > >bigger projects the deployment via WSDD. > > > >I tested also Axis with Tomcat on my desktop Windows > computer and there > >everything is working. > > > >It would be great if anybody has an idea what I forgot on the > >linuxserver to do. > > > >Thanks Olaf > > > > > > > > > What version of java do you currently use? > > Try to use the same version to execute the AdminClient than > the one that have been used to create the axis.jar archive. > > I am using the j2sdk1.4.2_05 - which one is used to build the axis.jar?
I tried already 1.4.0 unfortunately with the same result.