3 Replies Latest reply on Dec 16, 2009 10:31 AM by Carlos Santos Canelles

    org.apache.commons.discovery.DiscoveryException: Class org.a

    Gajanan More Newbie

      when i am running webservice through axis client in potlet 2.7.1. I am getting following error.


      stacktrace:




      exception

      javax.servlet.ServletException: Servlet execution threw an exception
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      java.lang.ExceptionInInitializerError
      org.apache.axis.handlers.BasicHandler.(BasicHandler.java:81)
      org.apache.axis.client.Service.getAxisClient(Service.java:140)
      org.apache.axis.client.Service.(Service.java:149)
      com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanServiceLocator.(PoEndpointBeanServiceLocator.java:12)
      com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy._initPoEndpointBeanProxy(PoEndpointBeanProxy.java:18)
      com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy.(PoEndpointBeanProxy.java:8)
      org.jboss.portal.portlet.samples.SampleClient.service(SampleClient.java:62)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4FLogFactory does not implement org.apache.commons.logging.LogFactory
      org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180)
      org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:202)
      org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:196)
      org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)
      org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418)
      org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
      org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84)
      java.security.AccessController.doPrivileged(Native Method)
      org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:80)
      org.apache.axis.components.logger.LogFactory.(LogFactory.java:72)
      org.apache.axis.handlers.BasicHandler.(BasicHandler.java:81)
      org.apache.axis.client.Service.getAxisClient(Service.java:140)
      org.apache.axis.client.Service.(Service.java:149)
      com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanServiceLocator.(PoEndpointBeanServiceLocator.java:12)
      com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy._initPoEndpointBeanProxy(PoEndpointBeanProxy.java:18)
      com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy.(PoEndpointBeanProxy.java:8)
      org.jboss.portal.portlet.samples.SampleClient.service(SampleClient.java:62)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



      thanks in advance