4 Replies Latest reply on Jul 16, 2005 8:13 AM by darranl

    Please Answer me

    k0114

      My Project is not a J2EE Structure but i want to run with JBoss.
      My Project is a Web Mobule(.war) that include jsp + java bean + servlet
      Please Tell me how to run my project with JBoss.Please Help Me

        • 1. Re: Please Answer me
          darranl

          http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossInstallation

          After starting JBoss (assuming you pass no arguments to the run script) put the war file in {jboss.home}/server/default/deploy.

          JBoss will deploy the archive automatically.

          If the was is called 'MyWebApp.war' your web app will be available to http://localhost:8080/MyWebApp

          • 2. Re: Please Answer me
            k0114

            i am puting WAR file in to {jboss.home}/server/default/deploy but JBoss not deploy for me i think because My Project isn't a J2EE Structure. T_T many thank for answer

            • 3. Re: Please Answer me
              k0114

              message for error is:


              --- MBeans waiting for other MBeans ---
              ObjectName: jboss.web.deployment:id=-145059178,war=buportal.war
              State: FAILED
              Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
              d throwable: (javax.naming.NamingException: resource-ref: jdbc/portal has no val
              id JNDI binding. Check the jboss-web/resource-ref.)

              --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
              ObjectName: jboss.web.deployment:id=-145059178,war=buportal.war
              State: FAILED
              Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
              d throwable: (javax.naming.NamingException: resource-ref: jdbc/portal has no val
              id JNDI binding. Check the jboss-web/resource-ref.)

              • 4. Re: Please Answer me
                darranl

                It looks like you have defined a resource-ref in the web.xml that doesn't have the corresponding values set in the jboss-web.xml.