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

Axis2 class cast exception in tomcat

 
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to web service

My Environment eclipse helios, tomcat 6, axis2 1.5.5, JDK1.6

Axis2 directory installed separately from Tomcat.
I developed apache axis2 webservice using eclipse wtp.But when I deployed it on Tomcat it says it faulty service and throws the class cast exception as follows


[INFO] org.apache.axis2.deployment.DeploymentException: org.apache.axis2.classloader.JarFileClassLoader cannot be cast to org.apache.axis2.deployment.DeploymentClassLoader
[INFO] Deploying Web service: version.aar - file:/D:/Projects/helios/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/TestWS/WEB-INF/services/version.aar
[WARN] No transportReceiver for org.apache.axis2.transport.http.AxisServletListener found. An instance for HTTP will be configured automatically. Please update your axis2.xml file!



If anyboby have solution please suggest me
thanks
mahesh
 
Ranch Hand
Posts: 312
MS IE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe, you need to use the version of axis that is compatible with Tomcat and JDK. ;)
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I ran into the same problem. Installed the new Axis 1.6.0 and the problem went away. You can try the same.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I gote the same problem. cannot be cast to org.apache.axis2.deployment.DeploymentClassLoader

How can i download 1.6.0 only documentation is available.
 
Normally trees don't drive trucks. Does this tiny ad have a license?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic