You are within the web application's classloader in the WAR. The Tomcat server will not see this jar file and the servlet container spec doesn't specify a contract for service providers.
If you want to see what is happening look here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html --- "Daire Treanor (CAPE)" <[EMAIL PROTECTED]> wrote: > Hi All, > > Could someone please tell me if is it possible to use > org.apache.commons.discovery.tools.Service to discover one or more services > that are of a given type and are deployed in a .war file in Tomcat. Each > service is autonomous and is stored in a .jar file as per the JDK1.3 > 'Service Provider' specification. ( > http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html ). It is possible to > discover these services using this method in a standalone application but > when they are deployed in a .war they are not detected when Tomcat is > started. Has anyone had any experience in this area and able to give me some > tips. > Regards, > Dáire > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]