5 Replies Latest reply on Aug 24, 2005 3:35 AM by Thomas Diesler

    Failed to create factory: org.jboss.webservice.client.Servic

    mei xi Newbie

      I am

        • 1. Failed to create factory: org.jboss.webservice.client.Servic
          mei xi Newbie

          Can someone tell me what jar files that I needs for
          ServiceFactoryImpl serviceFactory = (ServiceFactoryImpl)ServiceFactory.newInstance();

          I add jars to the java build path: axis-ws4ee.jar, jboss-ws4ee.jar, wsdl4j.jar, jboss-ws4ee.war, commons-discovery.jar, jaxrpc-spi.jar and jaxrpc-impl.jar. I got error:
          Failed to create factory: org.jboss.webservice.client.ServiceFactoryImpl

          Maybe something else is wrong? I followed http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientDII

          Thanks for the helps,

          mei

          • 3. Re: Failed to create factory: org.jboss.webservice.client.Se
            mei xi Newbie

            I added jboss-ws4ee-client.jar with other jars that I listed before to my build. I still get:

            Failed to create factory: org.jboss.webservice.client.ServiceFactoryImpl.

            Can someone list all the jar files that I need to ServiceFactoryImpl?

            Thanks,

            mei

            • 4. Re: Failed to create factory: org.jboss.webservice.client.Se
              Christy Christy Novice

              There are my libraries and everything works fine.
              I'm not sure, but may be it will help you:

              C:\jboss-4.0.2\server\default\lib\activation.jar
              C:\jboss-4.0.2\server\default\lib\autonumber-plugin.jar
              C:\jboss-4.0.2\client\axis-ws4ee.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\axis.jar
              C:\jboss-4.0.2\server\default\lib\bcel.jar
              C:\jboss-4.0.2\server\default\lib\bindingservice-plugin.jar
              C:\jboss-4.0.2\server\default\lib\bsh-1.3.0.jar
              C:\jboss-4.0.2\server\default\lib\bsh-deployer.jar
              C:\jboss-4.0.2\server\default\lib\cliwareweb.jar
              C:\jboss-4.0.2\server\default\lib\commons-collections.jar
              C:\jboss-4.0.2\server\default\lib\commons-dbcp.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\commons-discovery-0.2.jar
              C:\jboss-4.0.2\server\default\lib\commons-discovery-0.2.jar
              C:\jboss-4.0.2\server\default\lib\commons-httpclient.jar
              C:\jboss-4.0.2\lib\commons-httpclient.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\commons-logging-1.0.4.jar
              C:\jboss-4.0.2\server\default\lib\commons-logging-1.0.4.jar
              C:\jboss-4.0.2\lib\commons-logging.jar
              C:\jboss-4.0.2\server\default\lib\commons-pool.jar
              C:\jboss-4.0.2\lib\concurrent.jar
              C:\jboss-4.0.2\server\default\lib\crimson.jar
              C:\jboss-4.0.2\lib\dom4j.jar
              C:\jboss-4.0.2\server\default\lib\dss-scheduler.jar
              C:\jboss-4.0.2\server\default\lib\dttask.jar
              C:\jboss-4.0.2\server\default\lib\extJboss.jar
              C:\jboss-4.0.2\lib\getopt.jar
              C:\jboss-4.0.2\lib\gnu-regexp.jar
              C:\jboss-4.0.2\server\default\lib\hsqldb-plugin.jar
              C:\jboss-4.0.2\server\default\lib\hsqldb.jar
              C:\jboss-4.0.2\server\default\lib\javax.servlet.jar
              C:\jboss-4.0.2\server\default\lib\javax.servlet.jsp.jar
              C:\jboss-4.0.2\lib\jaxen.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\jaxrpc.jar
              C:\jboss-4.0.2\server\default\lib\jaxrpc.jar
              C:\jboss-4.0.2\server\default\lib\jboss-common-jdbc-wrapper.jar
              C:\jboss-4.0.2\lib\jboss-common.jar
              C:\jboss-4.0.2\server\default\lib\jboss-j2ee.jar
              C:\jboss-4.0.2\server\default\lib\jboss-jaxrpc.jar
              C:\jboss-4.0.2\server\default\lib\jboss-jca.jar
              C:\jboss-4.0.2\lib\jboss-jmx.jar
              C:\jboss-4.0.2\server\default\lib\jboss-jsr77.jar
              C:\jboss-4.0.2\server\default\lib\jboss-juddiaxis.jar
              C:\jboss-4.0.2\lib\jboss-juddiaxis.jar
              C:\jboss-4.0.2\server\default\lib\jboss-management.jar
              C:\jboss-4.0.2\server\default\lib\jboss-monitoring.jar
              C:\jboss-4.0.2\server\default\lib\jboss-saaj.jar
              C:\jboss-4.0.2\lib\jboss-system.jar
              C:\jboss-4.0.2\server\default\lib\jboss-transaction.jar
              C:\jboss-4.0.2\client\jboss-ws4ee-client.jar
              C:\jboss-4.0.2\server\default\lib\jboss.jar
              C:\jboss-4.0.2\server\default\lib\jbossmq.jar
              C:\jboss-4.0.2\server\default\lib\jbosssx.jar
              C:\jboss-4.0.2\server\default\lib\jmx-adaptor-plugin.jar
              C:\jboss-4.0.2\server\default\lib\jnpserver.jar
              C:\jboss-4.0.2\server\default\lib\jpl-pattern.jar
              C:\jboss-4.0.2\server\default\lib\jpl-util.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\juddi.jar
              C:\jboss-4.0.2\server\default\lib\juddi.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\log4j-1.2.8.jar
              C:\jboss-4.0.2\server\default\lib\log4j-1.2.8.jar
              C:\jboss-4.0.2\lib\log4j-boot.jar
              C:\jboss-4.0.2\server\default\lib\mail-plugin.jar
              C:\jboss-4.0.2\server\default\lib\mail.jar
              C:\jboss-4.0.2\server\default\lib\mxmlsched.jar
              C:\jboss-4.0.2\lib\namespace.jar
              C:\jboss-4.0.2\server\default\lib\ocrs12.zip
              C:\jboss-4.0.2\server\default\lib\ojdbc14.jar
              C:\jboss-4.0.2\server\default\lib\properties-plugin.jar
              C:\jboss-4.0.2\server\default\lib\rdf-api-2000-05-12c.jar
              C:\jboss-4.0.2\lib\endorsed\resolver.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\saaj.jar
              C:\jboss-4.0.2\server\default\lib\saaj.jar
              C:\jboss-4.0.2\server\default\lib\sapdbc.jar
              C:\jboss-4.0.2\server\default\lib\scheduler-plugin-example.jar
              C:\jboss-4.0.2\server\default\lib\scheduler-plugin.jar
              C:\jboss-4.0.2\lib\webdavlib.jar
              C:\jboss-4.0.2\server\default\deploy\juddi.war\WEB-INF\lib\wsdl4j-1.5.1.jar
              C:\jboss-4.0.2\lib\endorsed\xalan.jar
              C:\jboss-4.0.2\lib\endorsed\xercesImpl.jar
              C:\jboss-4.0.2\lib\endorsed\xml-apis.jar