Good Morning Oliver

Have you compiled SOAPMonitorApplet.java and copied the requisite classes to axis2 ROOT folder?

cp SOAPMonitorApplet$ServiceFilterPanel.class into $CATALINA_HOME/webapps/axis2 folder ? cp SOAPMonitorApplet$SOAPMonitorData.class into $CATALINA_HOME/webapps/axis2 folder ? cp SOAPMonitorApplet$SOAPMonitorFilter.class into $CATALINA_HOME/webapps/axis2 folder ? cp SOAPMonitorApplet$SOAPMonitorPage.class into $CATALINA_HOME/webapps/axis2 folder ? cp SOAPMonitorApplet$SOAPMonitorTableModel.class into $CATALINA_HOME/webapps/axis2 folder ? cp SOAPMonitorApplet$SOAPMonitorTextArea.class into $CATALINA_HOME/webapps/axis2 folder ? cp SOAPMonitorApplet$SOAPMonitorApplet.class into $CATALINA_HOME/webapps/axis2 folder ?

also make sure org.apache.axis2.soapmonitor.servlet.SOAPMonitorConstants.class is located in $CATALINA_HOME/webapps/axis2/org/apache/axis2/soapmonitor/servlet

Also make sure your Socket connections have requisite connect and resolve permission on Applet on Port 5001 AND
class files have read/write/execute access in axis2 folder e.g.

vi $CATALINA_HOME/conf/catalina.policy e.g.

grant codeBase "file:${catalina.home}/webapps/axis2/-" {
   permission java.security.AllPermission;
permission java.net.SocketPermission "localhost:5001", "accept,connect, listen, resolve";
 };

HTH
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.


----- Original Message ----- From: "Oliver Hirschi" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>
Sent: Tuesday, June 19, 2007 10:53 AM
Subject: [Axis2] SOAPMonitorApplet.class not found


Hi there

I have just installed Axis2 (Version 1.2) and I try to run the SOAPMonitor-Applet.
Unfortunately I am not able to run it.

What I have done:
1.) Add '<module ref="soapmonitor"/>' to axis2.xml of the "axis2\WEB-INF\conf\" folder. 2.) Add the <servlet> and <servlet-mapping> to web.xml of the "axis2\WEB-INF\" folder.
3.) Restart Tomcat.
There is a "axis2-soapmonitor-1.2.jar" in the "axis2\WEB-INF\lib\" directory.

Now, when I call http://localhost:8080/axis2/SOAPMonitor there comes the message "Applet SOAPMonitorApplet notinited" in the browser statusbar.
The Java console shows:
------------------------
Laden: Klasse SOAPMonitorApplet.class nicht gefunden
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)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
------------------------

It seems like a classpath-problem, but I don't know where to solve.
I also tried to copy the "axis2-soapmonitor-1.2.jar" to the "apache-tomcat-6.0.13\lib\" directory, but it does not help.

Could anyone help me on this problem?

Great thanks.
--
Oliver Hirschi
http://www.FamilyHirschi.ch



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to