Diagnosing Axis problems

Server side

#Does HappyAxis.jsp run? If it doesn't, you may have XML parser version problems. #Is HappyAxis happy? You must have all needed libraries. #Are the optional libraries you need present? Attachments do not work without extra libraries. #Can you list the services?

Common server-side problems are

  1. missing libraries
  2. libraries not in the right place
  3. XML parser not 100% compatible with Axis. SeeXML Parser Notes for details.

  4. Multiple XML parsers in the classpath. Just plain trouble.

Admin Client

A lot of people have problems with this, compounded by difficulty making sense of the error code.

The Admin Client app uses SOAP to talk to the (localhost) copy of Axis. By default it talks to http://localhost:8080/axis/services/Admin . If your application server is on a different port, or Axis is hosted under a different webapp name than Axis, you are going to get an error. Probably an HTTP error code like 404 or 302, all bundled up in a dump of the <noWiki>AxisFault</noWiki> exception raised.

Point your web browser at the "endpoint" that you expect the client to run against it. If you dont get the 'there is a service here' message, the AdminClient wont run.

Client

The common client problems are

  1. Setting up the classpath. Remember to include mail.jar and activation.jar when you want attachments, and get the right XML parser. SeeXML Parser Notes for details.

  2. Setting up the proxy. You need to set the properties  http.proxyHost  and  http.proxyPort  to point to the host:port configuration of the system. SeeHow to Configure a Proxy for further tips.

AxisProjectPages/Diagnostics (last edited 2009-09-20 23:33:21 by localhost)