IntelliJ Java IDE
The moose likes Web Services and the fly likes Problem with Apache Axis Soap Monitor Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Problem with Apache Axis Soap Monitor" Watch "Problem with Apache Axis Soap Monitor" New topic
Author

Problem with Apache Axis Soap Monitor

Rashmi Tambe
Ranch Hand

Joined: Aug 07, 2001
Posts: 418
Hi all,
When i try to view the axis soap monitor in the browser using the link http://localhost:8080/axis/SOAPMonitor, i get a blank page, with the error on browser status bar as,
loading java applet failed
In the java cosole i get the error

Java(TM) Plug-in: Version 1.4.2
Using JRE version 1.4.2 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\rashmi_tambe
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
load: 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)
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

What could be the problem???
Vedhas Pitkar
Ranch Hand

Joined: Jan 27, 2001
Posts: 445
Hi Rashmi,
The problem is clearly of setting of classpath.Have you installed Axis as given in the user's guide?Or could you paste you Axis related classpath here?
Pavan Panduga
Ranch Hand

Joined: Jun 12, 2002
Posts: 68
Hello Rashmi,
this thread might help,
http://www.coderanch.com/t/220677/Web-Services/java/set-return-type-as-array
Regards,
Rashmi Tambe
Ranch Hand

Joined: Aug 07, 2001
Posts: 418
enev i thought that the problem is with classpath...however,i verified my classpath, it's still giving the same problem. Here is my classapth -
d:\axis-1_2alpha\lib\axis.jar;
d:\axis-1_2alpha\lib\commons-discovery.jar;
d:\axis-1_2alpha\lib\commons-logging.jar;
d:\axis-1_2alpha\lib\jaxrpc.jar;
d:\axis-1_2alpha\lib\saaj.jar;
d:\axis-1_2alpha\lib\log4j-1.2.8.jar;
d:\axis-1_2alpha\lib\xml-apis.jar;
d:\axis-1_2alpha\lib\xercesImpl.jar
What could be the problem???
Rashmi Tambe
Ranch Hand

Joined: Aug 07, 2001
Posts: 418
hey,
I could solve the problem of SoapMonitor setup. This link Helped me. Basically i did not know that "The SOAP Monitor is NOT enabled by default for security reasons. ". So when i compiled the required classes, deployed the service, the applet is started.
However, i am still not able to see soap messages flowing....
[ March 18, 2004: Message edited by: Rashmi Tambe ]
Enrico Giurin
Greenhorn

Joined: Aug 24, 2005
Posts: 3
I had the same problem,
I have solved it putting SoapMonitorApplet.class and his inner classes
under axis's root.
It's a configuration problem, html applet code, generated from SOAPMonitorService Servlet,
doesn't refer to WEB-INF/classes, so u have to put by hand
all the SoapMonitorApplet.class under axis root folder.

Bye,
Enrico.


PS
Apologies for my english...
 
 
subject: Problem with Apache Axis Soap Monitor
 
Threads others viewed
Ranch Game not working?
Applet not launching
ClassNotFoundException
This is the error with the cattle game posted on website
applet loading problem
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture