1 Reply Latest reply on May 6, 2011 6:57 AM by wolfgangknauf

    Jboss 5.1 how to deploy .war created with netbeans

    alex.ing

      Hi Guys!!

       

      I've the following problem, may be you can help me.

       

      So, I developed a simple web application with netbeans and jboss AS 5.1(j2ee, servlet,mysql).

      It runs on my localhost(netbeans has done automatically deploy), but I have to installing Jboss 5.1 AS in a other machine and I Have to deploy my web app. on it.

       

      How can I do to deploy a .war in jboss 5.1?

      I have taken a .war created by netbeans, on my localhost and I copyed it on  jboss in the other machine, but does not work.

       

      Thanks in advance

        • 1. Jboss 5.1 how to deploy .war created with netbeans
          wolfgangknauf

          Hi,

           

          copy the .war file to "%JBOSS_HOME%\server\default\deploy" (replace "default" with your current configuration), JBoss should automatically detect the file and deploy it. Take a look at the console output or "server\default\log\server.log" to see the result or deployment errors.

           

          Hope this helps

           

          Wolfgang