axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@us.ibm.com
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/utils JavaUtils.java
Date Tue, 13 Aug 2002 16:04:03 GMT
I don't think you've got the latest and greatest from CVS.  You've probably
got Glen's fix, but not mine.  The line # in your dump is where is USED to
fail.  That line number cannot fail now with that particular exception.

Russell Butek
butek@us.ibm.com


"Riggs, David" <driggs@asset.com> on 08/13/2002 10:45:46 AM

Please respond to axis-dev@xml.apache.org

To:    <axis-dev@xml.apache.org>
cc:
Subject:    RE: cvs commit: xml-axis/java/src/org/apache/axis/utils
       JavaUtils.java



> -----Original Message-----
<snip/>
>   Log:
>   Fix for http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11519.
>   AXIS no longer requires activation.jar and mail.jar to run.  It DOES
>   require them to build, however.
>
<snip/>

It looks like Axis does still require both activation.jar and
mail.jar to run. This example shows me trying to run the latest
CVS checkout first without both, then without mail.jar


-------- Example -----------
D:\AxisTestWSClient>soap_client.bat

D:\AxisTestWSClient>java -classpath
.;D:\AxisTestWSClient\xml-axis\java\build\lib\xerces.j
ar;D:\AxisTestWSClient\xml-axis\java\build\lib\axis.jar;D:\AxisTestWSCli
ent\xml-axis\java\
build\lib\jaxrpc.jar;D:\AxisTestWSClient\xml-axis\java\build\lib\saaj.ja
r;D:\AxisTestWSCli
ent\xml-axis\java\build\lib\log4j-1.2.4.jar;D:\AxisTestWSClient\xml-axis
\java\build\lib\tt
-bytecode.jar;D:\AxisTestWSClient\xml-axis\java\build\lib\commons-loggin
g.jar;D:\AxisTestW
SClient\xml-axis\java\build\lib\commons-discovery.jar;D:\AxisTestWSClien
t\xml-axis\java\bu
ild\lib\wsdl4j.jar TestClient http://buckeye:88/EWING/PexWebService.ASP
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/activation/DataHandler
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:130)
        at
org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory.class$(JA
FDataHa
ndlerDeserializerFactory.java:70)
        at
org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory.<init>(JA
FDataHa
ndlerDeserializerFactory.java:78)
        at
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappin
gImpl.j
ava:124)
        at
org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton(DefaultType
Mapping
Impl.java:99)
        at
org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegis
tryImpl
.java:177)
        at
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.jav
a:500)
        at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:10
6)
        at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.
java:20
9)
        at org.apache.axis.AxisEngine.init(AxisEngine.java:187)
        at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
        at org.apache.axis.client.AxisClient.<init>(AxisClient.java:85)
        at
org.apache.axis.client.Service.getAxisClient(Service.java:142)
        at org.apache.axis.client.Service.<init>(Service.java:151)
        at
org.tempuri.PexWebServiceLocator.<init>(PexWebServiceLocator.java:10)
        at TestClient.callService(TestClient.java:25)
        at TestClient.main(TestClient.java:14)

D:\AxisTestWSClient>soap_client.bat

D:\AxisTestWSClient>java -classpath
.;D:\AxisTestWSClient\xml-axis\java\build\lib\xerces.j
ar;D:\AxisTestWSClient\xml-axis\java\build\lib\axis.jar;D:\AxisTestWSCli
ent\xml-axis\java\
build\lib\jaxrpc.jar;D:\AxisTestWSClient\xml-axis\java\build\lib\saaj.ja
r;D:\AxisTestWSCli
ent\xml-axis\java\build\lib\log4j-1.2.4.jar;D:\AxisTestWSClient\xml-axis
\java\build\lib\tt
-bytecode.jar;D:\AxisTestWSClient\xml-axis\java\build\lib\commons-loggin
g.jar;D:\AxisTestW
SClient\xml-axis\java\build\lib\commons-discovery.jar;D:\AxisTestWSClien
t\xml-axis\java\bu
ild\lib\wsdl4j.jar;D:\AxisTestWSClient\xml-axis\java\build\lib\activatio
n.jar TestClient h
ttp://buckeye:88/EWING/PexWebService.ASP
Exception in thread "main" java.lang.NoClassDefFoundError:
javax.mail.internet.MimeMultipa
rt
        at
org.apache.axis.encoding.DefaultTypeMappingImpl.class$(DefaultTypeMappin
gImpl.j
ava:124)
        at
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappin
gImpl.j
ava:366)
        at
org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton(DefaultType
Mapping
Impl.java:99)
        at
org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegis
tryImpl
.java:177)
        at
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.jav
a:500)
        at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:10
6)
        at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.
java:20
9)
        at org.apache.axis.AxisEngine.init(AxisEngine.java:187)
        at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
        at org.apache.axis.client.AxisClient.<init>(AxisClient.java:85)
        at
org.apache.axis.client.Service.getAxisClient(Service.java:142)
        at org.apache.axis.client.Service.<init>(Service.java:151)
        at
org.tempuri.PexWebServiceLocator.<init>(PexWebServiceLocator.java:10)
        at TestClient.callService(TestClient.java:25)
        at TestClient.main(TestClient.java:14)
----------------------

David A. Riggs
Science Applications International Corporation - SAIC
 (304)284-9000x201                  driggs@asset.com

Mime
View raw message