• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache Axis error

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic