axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manolis Floros" <manolis.flo...@venation.com>
Subject RE: attachments problems
Date Wed, 03 Jul 2002 13:30:35 GMT
Hi,

i am posting my question again because i did not have any reply before.
Basically i am trying to use the attachments example in AXIS BETA 2.
Has anyone managed to run that example???? If so would he be kind enough 
to send me a copy of his java files, and what configuration he used(CLASSPATH,AXIS,TOMCAT
VERSIONS, MACHINE etc.)

Below there are the errors i get at the client and at the server

I use Tomcat 3.2.3

Thanks!!
Manolis



HERE IS MY CLASSPATH --->

C:\j2sdk1.4.0\src.zip;c:\soap-2_2\lib\soap.jar;c:\uddi4j\lib\uddi4j.jar;c:\2\uddi4j\lib\uddi4j.jar;c:\s
oap-2_2\lib\mail.jar;c:\soap-2_2\lib\xerces.jar;c:\soap-2_2\lib\activation.jar;c:\junit3.7\junit.jar;c:
\xml-axis-beta2\lib\axis.jar;c:\xml-axis-beta2\lib\jaxrpc.jar;c:\xml-axis-beta2\lib\clutil.jar;c:\xml-a
xis-beta2\lib\commons-logging.jar;c:\xml-axis-beta2\lib\tt-bytecode.jar;c:\xml-axis-beta2\lib\wsdl4j.ja
r;c:\xml-axis-beta2\lib;c:\xml-axis-beta2\lib\mm2.jar;c:\xml-axis-beta2;c:\xml-axis-beta2\lib\samples.j
ar

ERROR I GET IN THE CLIENT --->

Z:\>java samples.attachments.EchoAttachment test
Internal Server Error
Internal Server Error
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518)

        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:174)
        at org.apache.axis.client.Call.invoke(Call.java:1905)
        at org.apache.axis.client.Call.invoke(Call.java:1690)
        at org.apache.axis.client.Call.invoke(Call.java:1608)
        at org.apache.axis.client.Call.invoke(Call.java:1169)
        at samples.attachments.EchoAttachment.echo(EchoAttachment.java:138)
        at samples.attachments.EchoAttachment.main(EchoAttachment.java:310)

ERROR I GET IN THE SERVER --->

Parse error, empty line:
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at org.apache.axis.Message.setup(Message.java:258)
        at org.apache.axis.Message.<init>(Message.java:184)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:47
6)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
05)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:812)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758
)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:213)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:501)
        at java.lang.Thread.run(Thread.java:536)
Caused by: Error in parsing mime data stream:  null
        at org.apache.axis.attachments.MultiPartRelatedInputStream.<init>(MultiP
artRelatedInputStream.java:232)
        at org.apache.axis.attachments.AttachmentsImpl.<init>(AttachmentsImpl.ja
va:122)
        ... 18 more
[FATAL] Message - -InvocationTargetException: <java.lang.reflect.InvocationTarge
tException>
2002-07-03 14:21:57 - Ctx( /axis ): Exception in: R( /axis + /servlet/AxisServle
t + null) - java.lang.RuntimeException
        at org.apache.axis.Message.setup(Message.java:267)
        at org.apache.axis.Message.<init>(Message.java:184)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:47
6)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
05)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:812)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758
)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:213)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:501)
        at java.lang.Thread.run(Thread.java:536)



Mime
View raw message