1 Reply Latest reply on Sep 24, 2008 3:13 PM by Peter Johnson

    Error deploying web service

    Terri Simon Newbie

      I'm trying to deploy a simple HelloWorld web service, but I'm getting errors and the service is not showing up in the JBossWS listing. We're using 4.2.0.GA on a Windows 2003 server. The JDK is 1.5.0_16. Here's the error I get when I start up JBoss after putting my ear in the following folder: C:\jboss\jboss-4.2.0.GA\server\default\deploy

      14:32:08,837 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-4.2.0.GA/server/default/deploy/helloworld.ear
      14:32:18,228 INFO [TomcatDeployer] deploy, ctxPath=/services/example, warUrl=.../tmp/deploy/tmp14347helloworld.ear-contents/services-example-exp.war/
      14:32:18,385 ERROR [STDERR] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
      14:32:18,385 ERROR [STDERR] log4j:WARN Please initialize the log4j system properly.
      14:32:18,619 ERROR [STDERR] Sep 24, 2008 2:32:18 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
      INFO: WSSERVLET12: JAX-WS context listener initializing
      14:32:19,681 INFO [STDOUT] DEPLOYMENT_ID = 6734706890374306453
      14:32:19,869 ERROR [STDERR] Sep 24, 2008 2:32:19 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate
      INFO: WSSERVLET14: JAX-WS servlet initializing
      14:32:19,916 INFO [TomcatDeployer] deploy, ctxPath=/services/ucf-1222201863926, warUrl=.../tmp/deploy/tmp14347helloworld.ear-contents/ucf-exp.war/
      14:32:20,056 INFO [EARDeployer] Started J2EE application: file:/C:/jboss/jboss-4.2.0.GA/server/default/deploy/helloworld.ear

      We're pretty new to JBoss and I wasn't able to find this, so sorry if it's obvious to everyone else.

        • 1. Re: Error deploying web service
          Peter Johnson Master

          What are the contents of your ear file? For a simple hello world EJB, all you need are:


          and the only thing you need in the jar file is the hello world class.

          If this does not help, please post the source code for your web service. Enclose the source code within 'code' tags. You can do this by selecting the source code and then clicking the Code button. Also use the Preview button to ensure proper formatting before submitting.