Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Axis error

 
naveen chinthakunta
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am running a sample webservice over apache axis on a linux platform. I am getting the following error. Can somebody plz tell me where I am going wrong? Are there some environment setup issues? Thanking you in advance.

===========================================================================
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.FileNotFoundException: /var/lib/tomcat5/webapps/axis/WEB-INF/jwsClasses/HelloWorldService.java (No such file or directory)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:localhost.localdomain
==========================================================================

Regards,
Naveen
 
Tom George
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally this error shouldnt interrupt your thing. It pops up in the logs for me all the time. Anyway, to remove it, set the classpath as follows
javax.activation.DataHandler - Activation.jar from Sun's site
javax.mail.internet.MimeMultipart - j2ee.jar (if you're using Websphere) or weblogic.jar (if using BEA weblogic)

 
naveen chinthakunta
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tom,

Thank u so much for the timely help. The missing jars did not make any impact on the application. The axis error I was getting was due to a missing class file. For a .jws file in /axis dir, it expects a .class file in /axis/WEB-INF/jwsClasses. Putting the class file in that directory, solves that problem.

naveen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic