axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Kane <sk...@verisol.com>
Subject Axis installation instructions, section 1.10.3 “Run the admin client”
Date Sat, 04 Feb 2006 19:40:02 GMT
I am installing Axis and following the installation guide step-by-step.

At section 1.10.3 of the installation guide, “Run the admin client” I execute the sample
code that is supposed to deploy the "stock" sample.
 
I ran the following command:
 
C:\axis-1_3\samples\stock>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient 
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
 
I received the following error:
 
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
        at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)
        at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
        at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
        at org.apache.axis.client.AdminClient.<clinit>(AdminClient.java:48)
 
My Classpath is setup as follows:
 
AXIS_HOME=C:\axis-1_3
AXIS_LIB=%AXIS_HOME%\lib
AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;%AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar

 
The following information may be helpful.  It came from happyaxis:
 
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path=C:\j2sdk1.4.2_08\jre\bin
java.vm.version=1.4.2_08-b03
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=Service Pack 2
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\Tomcat 4.1
java.runtime.version=1.4.2_08-b03
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Tomcat 4.1\common\endorsed
os.arch=x86
java.io.tmpdir=C:\DOCUME~1\STUART~1\LOCALS~1\Temp\
line.separator=
java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
java.naming.factory.url.pkgs=org.apache.naming
os.name=Windows XP
sun.java2d.fontpath=
java.library.path=C:\j2sdk1.4.2_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Sonic Shared;C:\PROGRA~1\COMMON~1\SONICS~1\;C:\Program Files\Common Files\Roxio
Shared\DLLShared;C:\j2sdk1.4.2_08\bin;C:\Tomcat 4.1\bin;C:\ant\bin;C:\Program Files\QuickTime\QTSystem\
java.specification.name=Java Platform API Specification
java.class.version=48.0
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
os.version=5.1
user.home=C:\Documents and Settings\Stuart Kane
user.timezone=America/New_York
catalina.useNaming=true
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1252
java.specification.version=1.4
catalina.home=C:\Tomcat 4.1
user.name=Stuart Kane
java.class.path=C:\Tomcat 4.1\bin\bootstrap.jar
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java.vm.specification.version=1.0
sun.arch.data.model=32
java.home=C:\j2sdk1.4.2_08\jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.4.2_08
java.ext.dirs=C:\j2sdk1.4.2_08\jre\lib\ext
sun.boot.class.path=C:\Tomcat 4.1\common\endorsed\xercesImpl.jar;C:\Tomcat 4.1\common\endorsed\xmlParserAPIs.jar;
 C:\j2sdk1.4.2_08\jre\lib\rt.jar;C:\j2sdk1.4.2_08\jre\lib\i18n.jar;C:\j2sdk1.4.2_08\jre\lib\sunrsasign.jar;
    C:\j2sdk1.4.2_08\jre\lib\jsse.jar;C:\j2sdk1.4.2_08\jre\lib\jce.jar;C:\j2sdk1.4.2_08\jre\lib\charsets.jar;C:\j2sdk1.4.2_08\jre\classes
java.vendor=Sun Microsystems Inc.
catalina.base=C:\Tomcat 4.1
file.separator=\
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.isalist=pentium i486 i386

 

Mime
View raw message