• 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

Application Server unable to deploy Web Services

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am very new to Web Services. I am using JBOSS 4.0.3 application server and trying to deploy Web Services through it.
But the SPML web services are not deployed and ther server log shows the followin error:





Please help.
Regards.
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From the logs you have posted, it seems you are missing commons-discovery.jar. Check which version of commons-discovery.jar is required by your axis version and place that jar inside the /WEB-INF/lib/ directory.
 
Radhika Verma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you fo the quick reply.

The JAR exists in the location (WEB-INF/lib).
Also, the class file - DiscoverSingleton exists in the JAR

java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton



Could this be a problem with setting up Environment variables?

Regards.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you have to define all lib files needed for axis webservice in the MANIFEST.MF like Class-Path: lib/common-discovery.jar and others. Try out this way.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic