1 Reply Latest reply on Jan 20, 2006 12:04 AM by thomas.diesler

    Creating webservice from scratch in JBoss Eclipse ide

    ekandasamy

      I am using the JBoss4.0.3sp1 for server and eclipse3.1.1 and jBossIDE1.5 for development. I am just trying to create a webservice that i already have it running on weblogic server. I can't find a way to create the .war file that goes inside the .ear file. Everything else looks okay. I have jboss-web.xml and web.xml files inside WEB-INF directory. But those files are just empty. Nothing inside. I don't know how to use this JBoss IDE (With eclipse) to create those files with something in it. I am sure that i am doing something wrong. Just couldn't figure out what it is. I am using the package configuration and xdoclet to generate this webservice from the tool. Any help would be useful.
      The error i am getting when i try to deploy the .ear file is:

      14:36:17,441 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.3SP1/server/default/deploy/GDTGatewayRWS.ear
      14:36:17,550 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.3SP1/server/default/deploy/GDTGatewayRWS.ear
      org.jboss.deployment.DeploymentException: Failed to find module file: GDTGatewayRWS.war
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:242)

      Thanks in advance
      Elango