Thanks
for your prompt reply.
I
fixed the problem. I had to place the class files in the root directory of Axis
web application.
But
now I am facing another problem. Now the applet got loaded but it says, "The
SOAP Monitor is unable to communcate with the server". Again read thru the
archive, but couldn't fix it.
The
Java console says:
Exception!
java.net.ConnectException: connect: Address is invalid on local machine, or port
is not valid on remote machine
java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
.....
java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
.....
Please
help. :)
Thanks
Vignesh.
-----Original Message-----I'm not sure why the classes are placed there. Anyways, the applet classes - as described in the docs - must be placed in axis/*applet.class/WEB-INF.
From: robert lazarski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 09, 2006 8:24 PM
To: [email protected]
Subject: Re: load: class SOAPMonitorApplet.class not found
HTH,
Robert
http://www.braziloutsource.com/
On 5/9/06, Vignesh M.P.N. <[EMAIL PROTECTED] > wrote:Hi allI am using Tomcat 5.5, Axis 1.4 and Java 1.5.I am having problem in using SOAP monitor. I did go through the mail archive for help and couldn't fix this.The class files for the SOAPMonitor.java were already in the "webapps\axis\WEB-INF\classes" folder. I deployed the SOAP monitor service using the following deployment descriptor.<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<handler name="soapmonitor"
type="java:org.apache.axis.handlers.SOAPMonitorHandler">
<parameter name="wsdlURL"
value="/axis/SOAPMonitorService-impl.wsdl"/>
<parameter name="namespace"
value="http://tempuri.org/wsdl/2001/12/SOAPMonitorService-impl.wsdl"/>
<parameter name="serviceName" value="SOAPMonitorService"/>
<parameter name="portName" value="Demo"/>
</handler>
<service name="SOAPMonitorService" provider="java:RPC">
<parameter name="allowedMethods" value="publishMessage"/>
<parameter name="className"
value="org.apache.axis.monitor.SOAPMonitorService"/>
<parameter name="scope" value="Application"/>
</service>
</deployment>I also included the following in the descriptor of my service and undeployed and deployed it again.<requestFlow>
<handler type="soapmonitor"/>
</requestFlow>
<responseFlow>
<handler type="soapmonitor"/>
</responseFlow>I uncommented the snippet under <!-- uncomment this if you want the admin servlet --> in the web.xml.But the SOAP monitor applet isn't working for me and the Java console saysload: class SOAPMonitorApplet.class not found.
java.lang.ClassNotFoundException: SOAPMonitorApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
....Please help. :)ThanksVignesh.
