axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Lai" <johanan...@yahoo.com>
Subject Axis jws compile error
Date Mon, 05 Aug 2002 05:23:49 GMT
Dear all:

I've installed Axis beta3 on the latest Tomcat 4.0x of my Win2K PC.
Following the installation instructions, I run Validate the local
installation's configuration.  It works well (see below).

However, when I copy Calculator.java to webapps/axis/Calculator.jws, it
reports Axis is running.  But when I run
http://localhost:8080/axis/Calculator.jws?wsdl, it reports file not found
(jwsClasses/Calculator.class).  I check the local directory and find
webapps/jwsClasses/samples/userguide/example2/Calculator.class.

Is this a bug, or a configuration error?

Thanks.
Rgds,

Ray Lai
johananlai@yahoo.com

AXIS error
Sorry, something seems to have gone wrong... here are the details:

Fault - java.io.FileNotFoundException:
D:\Dev\WSDP\webapps\axis\WEB-INF\jwsClasses\Calculator.class (The system
cannot find the file specified)
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.io.FileNotFoundException:
D:\Dev\WSDP\webapps\axis\WEB-INF\jwsClasses\Calculator.class (The system
cannot find the file specified)
 faultActor: null
 faultDetail:
	stackTrace: java.io.FileNotFoundException:
D:\Dev\WSDP\webapps\axis\WEB-INF\jwsClasses\Calculator.class (The system
cannot find the file specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at java.io.FileInputStream.<init>(Unknown Source)
	at org.apache.axis.utils.JWSClassLoader.<init>(JWSClassLoader.java:94)




Examining webapp configuration

Needed Components
Found SAAJ API (javax.xml.soap.SOAPMessage) at
D:\Dev\WSDP\common\lib\saaj-api.jar
Found JAX-RPC API (javax.xml.rpc.Service) at
D:\Dev\WSDP\common\lib\jaxrpc-api.jar
Found Apache-Axis (org.apache.axis.transport.http.AxisServlet) at
D:\Dev\WSDP\webapps\axis\WEB-INF\lib\axis.jar
Found Jakarta-commons logging (org.apache.commons.logging.Log) at
D:\Dev\WSDP\webapps\axis\WEB-INF\lib\commons-logging.jar
Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at
D:\Dev\WSDP\webapps\axis\WEB-INF\lib\wsdl4j.jar
Found JAXP implementation (javax.xml.parsers.SAXParserFactory)
Found Activation API (javax.activation.DataHandler) at
D:\Dev\WSDP\common\lib\activation.jar

Optional Components
Found Mail API (javax.mail.internet.MimeMessage) at
D:\Dev\WSDP\common\lib\mail.jar
Found XML Security API (org.apache.xml.security.Init) at
D:\Dev\WSDP\webapps\axis\WEB-INF\lib\xmlsec.jar

Warning: could not find resource server-config.wsdd
There is no a server configuration file;run AdminClient to create oneThe
core axis libraries are present. The optional components are present.

Note: Even if everything this page probes for is present, there is no
guarantee your web service will work, because there are many configuration
options that we do not check for. These tests are necessary but not
sufficient


----------------------------------------------------------------------------
----

Examining System Properties
com.sun.launcher.outputFile=D:\Dev\WSDP\logs\catalina.out
jmx.specification.vendor=Sun Microsystems
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
sun.boot.library.path=D:\J2SE\bin
java.vm.version=1.4.0_01-b03
java.vm.vendor=Sun Microsystems Inc.
com.sun.launcher.minimizedFrameTitle=Tomcat
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=D:\
jsse.home=D:\Dev\WSDP\common
java.runtime.version=1.4.0_01-b03
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=D:\Dev\WSDP\common\endorsed
os.arch=x86
java.io.tmpdir=D:\Dev\WSDP\temp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
java.naming.factory.url.pkgs=org.apache.naming
os.name=Windows 2000
org.apache.commons.logging.simplelog.defaultlog=warn
com.sun.launcher.displayMinimizedFrame=
com.sun.launcher.errorFile=D:\Dev\WSDP\logs\catalina.out
sun.java2d.fontpath=
jwsdp.home=D:\Dev\WSDP
java.library.path=D:\J2SE\bin;.;D:\WINNT\System32;D:\WINNT;D:\J2SE\bin;D:\De
v\WSDP\bin;D:\J2EE\bin;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;D:\
Program Files\Common Files\Adaptec
Shared\System;d:\j2se\bin;D:\tools\tibrv\bin;C:\DOS
jmx.implementation.version=1.0
java.class.version=48.0
java.specification.name=Java Platform API Specification
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
os.version=5.0
user.home=D:\Documents and Settings\ray
user.timezone=America/Los_Angeles
catalina.useNaming=true
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.specification.version=1.4
file.encoding=Cp1252
catalina.home=D:\Dev\WSDP
user.name=ray
java.class.path=D:\Dev\WSDP\bin;D:\J2SE\lib\tools.jar;D:\Dev\WSDP\bin\bootst
rap.jar;D:\Dev\WSDP\common\lib\jaas.jar;D:\Dev\WSDP\common\lib\jcert.jar;D:\
Dev\WSDP\common\lib\jnet.jar;D:\Dev\WSDP\common\lib\jsse.jar
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java.vm.specification.version=1.0
sun.arch.data.model=32
java.home=D:\J2SE
jmx.specification.name=Java Management Extensions
java.specification.vendor=Sun Microsystems Inc.
user.language=en
awt.toolkit=sun.awt.windows.WToolkit
jmx.implementation.name=JMX RI
java.vm.info=mixed mode
com.sun.launcher.disposeMinimizedFrame=
java.version=1.4.0_01
java.ext.dirs=
sun.boot.class.path=D:\Dev\WSDP\common\endorsed\dom.jar;D:\Dev\WSDP\common\e
ndorsed\sax.jar;D:\Dev\WSDP\common\endorsed\xalan.jar;D:\Dev\WSDP\common\end
orsed\xercesImpl.jar;D:\Dev\WSDP\common\endorsed\xsltc.jar;D:\J2SE\lib\rt.ja
r;D:\J2SE\lib\i18n.jar;D:\J2SE\lib\sunrsasign.jar;D:\J2SE\lib\jsse.jar;D:\J2
SE\lib\jce.jar;D:\J2SE\lib\charsets.jar;D:\J2SE\classes
java.vendor=Sun Microsystems Inc.
catalina.base=D:\Dev\WSDP
file.separator=\
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
jmx.implementation.vendor=Sun Microsystems
jmx.specification.version=1.0 Final Release
sun.cpu.isalist=pentium i486 i386
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog


Mime
View raw message