This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Apache Axis Soap Monitor  RSS feed

 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!