Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application Server unable to deploy Web Services

 
Radhika Verma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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.
 
Hany Shafik
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
itrahul soni
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic