1 Reply Latest reply on Apr 25, 2007 8:37 AM by jaikiran

    web page

    c.vicenti

      Hi all!
      What I exactly have to do to deploy a web page?
      This is the first time I use Jboss and I have latest version.
      I'm using tomcat and running ant to create an .ear file. Some Jboss tutorials say that I have to copy that .ear file in the /server/default/deploy directory,run Jboss and Tomcat deploy my page.is this ok?
      I've this error message
      *** DEPLOYMENTS IN ERROR: Name -> Error

      jar:file:/C:/jboss/server/default/deploy/example3.ear/example3.jar -> org.xml.sax.SAXException: Element type "ej-name" must be declared. @jar:file:/C:/DOCUMEN..../LOCALS_1/temp/nestedjar43083.tmp!/META-INF/jboss.xml[7,10]

      maybe .ear file is wrong or copying file to that directory is not enough. Could you help me please?.

      Thank you

        • 1. Re: web page
          jaikiran

           

          Element type "ej-name" must be declared. @jar:file:/C:/DOCUMEN..../LOCALS_1/temp/nestedjar43083.tmp!/META-INF/jboss.xml[7,10]


          Looks like you have a typo in jboss.xml file. ej-name should be ejb-name in that file.