• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic