You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Saliya Ekanayake <es...@gmail.com> on 2006/09/29 08:44:16 UTC

[Axis2] SOAP Monitor is not working properly

Hi,

I tried to use SOAP Monitor utility as mentioned in the documentation of
Axis2. But then this is error is generated when I access
http://localhost:8080/axis2/SOAPMonitor

 load: class SOAPMonitorApplet.class not found.
java.lang.ClassNotFoundException: SOAPMonitorApplet.class
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
    at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1757)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
    at sun.applet.AppletPanel.run(AppletPanel.java:324)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
    at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
    at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
    ... 9 more
Exception in thread "Thread-5" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java
:153)
    at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1928)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:655)
    at sun.applet.AppletPanel.run(AppletPanel.java:324)
    at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java
:153)
    at sun.plugin.AppletViewer.showAppletStatus(AppletViewer.java:1861)
    at sun.applet.AppletPanel.run(AppletPanel.java:369)
    at java.lang.Thread.run(Thread.java:595)
Exception in thread "thread applet-SOAPMonitorApplet.class"
java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java
:153)
    at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1928)
    at sun.applet.AppletPanel.run(AppletPanel.java:533)
    at java.lang.Thread.run(Thread.java:595)

But SOAPMonitorApplet.class is there inside
<tomcat-home>/webapps/axis2/WEB-INF

Can anybody help me with this.


Thanks,
Saliya Ekanayake

Re: [Axis2] SOAP Monitor is not working properly

Posted by robert lazarski <ro...@gmail.com>.
These classes need to placed as axis2/SOAPMonitorApplet*.class/WEB-INF
. The latest docs try to explain this better:

http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/1_1/soapmonitor-module.html

Finally, compile the applet classes and place them at the root of the war
- for example axis2/SOAPMonitorApplet*.class/WEB-INF :

javac -classpath axis2-soapmonitor.jar SOAPMonitorApplet.java

Alternatively, you can get the compiled applet classes from the
axis2-soapmonitor-*.jar from inside the expanded axis2.war under WEB-INF/lib
.

HTH,
Robert

On 9/29/06, Saliya Ekanayake <es...@gmail.com> wrote:
> Hi,
>
> I tried to use SOAP Monitor utility as mentioned in the documentation of
> Axis2. But then this is error is generated when I access
> http://localhost:8080/axis2/SOAPMonitor
>
>  load: class SOAPMonitorApplet.class not found.
> java.lang.ClassNotFoundException: SOAPMonitorApplet.class
>     at
> sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
>     at java.lang.ClassLoader.loadClass (ClassLoader.java:306)
>     at
> sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     at
> sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java
> :599)
>     at
> sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
>     at
> sun.plugin.AppletViewer.createApplet(AppletViewer.java:1757)
>     at
> sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
>     at sun.applet.AppletPanel.run (AppletPanel.java:324)
>     at java.lang.Thread.run(Thread.java:595)
> Caused by: java.io.IOException: open HTTP connection failed.
>     at
> sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
>     at
> sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
>     at
> sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
>     at java.security.AccessController.doPrivileged(Native
> Method)
>     at sun.applet.AppletClassLoader.findClass
> (AppletClassLoader.java:155)
>     ... 9 more
> Exception in thread "Thread-5" java.lang.NullPointerException
>     at
> sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
>     at sun.plugin.AppletViewer.showAppletException
> (AppletViewer.java:1928)
>     at
> sun.applet.AppletPanel.runLoader(AppletPanel.java:655)
>     at sun.applet.AppletPanel.run(AppletPanel.java:324)
>     at java.lang.Thread.run(Thread.java:595)
> java.lang.NullPointerException
>     at
> sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
>     at
> sun.plugin.AppletViewer.showAppletStatus(AppletViewer.java:1861)
>     at sun.applet.AppletPanel.run(AppletPanel.java:369)
>      at java.lang.Thread.run(Thread.java:595)
> Exception in thread "thread applet-SOAPMonitorApplet.class"
> java.lang.NullPointerException
>     at
> sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java
> :153)
>     at
> sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1928)
>     at sun.applet.AppletPanel.run(AppletPanel.java:533)
>     at java.lang.Thread.run(Thread.java:595)
>
> But SOAPMonitorApplet.class is there inside
> <tomcat-home>/webapps/axis2/WEB-INF
>
> Can anybody help me with this.
>
>
> Thanks,
> Saliya Ekanayake
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org