3 Replies Latest reply on Feb 4, 2008 10:14 AM by maxandersen

    Jboss Tools - Few first questions

    trouby

      Hey,

      I have few first questions regarding the plugin:


      1) Right click on the server - I can't see a way to restart the server, only stop/start, is there a restart button somewhere?
      2) I upgraded Jboss with Jboss WS ver 2, but for some reason, when starting the server through 'Jboss Server View' the WS are not working, when I start the server via default 'run.bat' it works fine, what could be the reason for that?
      3) Because of q2, when the server is started not via tools, saving files are not being deployed to the server, is it possible to keep deploying files to the server when the server is off?
      4) Is there any support for Seam's hot deploy with the tools?


      Thanks in advanced,
      Asaf.

        • 1. Re: Jboss Tools - Few first questions
          maxandersen

           

          "trouby" wrote:

          1) Right click on the server - I can't see a way to restart the server, only stop/start, is there a restart button somewhere?


          When the server is running there is a Restart button in the main toolbar. Yeah - should probably be in the menu too (report in jira - thanks)

          Note: that besides restart we also have the "touch" functionallity which touches the relevant descriptor depending on your current project type. That will result in the app to be redeployed, removing the need for most restarts.


          2) I upgraded Jboss with Jboss WS ver 2, but for some reason, when starting the server through 'Jboss Server View' the WS are not working, when I start the server via default 'run.bat' it works fine, what could be the reason for that?


          Good question - I'm not much of webservices guy so don't know if WS 2 requires some special things for the startup. Could you please report it in our jira with info on what "WS are not working" means (e.g. stacktraces, examples, screenshots etc.)


          3) Because of q2, when the server is started not via tools, saving files are not being deployed to the server, is it possible to keep deploying files to the server when the server is off?


          You can use a deploy only server which does not actually start nor stop the server, but just maintains the deployment directory.


          4) Is there any support for Seam's hot deploy with the tools?


          the projects are preconfigured to have hotdeploy working (e.g. source and classes splitted up so action src goes to WEB-INF/dev which seam will pick up)



          • 2. Re: Jboss Tools - Few first questions
            trouby

            Hey,


            When the server is running there is a Restart button in the main toolbar. Yeah - should probably be in the menu too (report in jira - thanks)

            Note: that besides restart we also have the "touch" functionallity which touches the relevant descriptor depending on your current project type. That will result in the app to be redeployed, removing the need for most restarts.



            This is weird, right-click on the server menu has a restart button, I guess it was lately added :)

            Did you mean the 'twiddle server' option?



            Good question - I'm not much of webservices guy so don't know if WS 2 requires some special things for the startup. Could you please report it in our jira with info on what "WS are not working" means (e.g. stacktraces, examples, screenshots etc.)


            Well, this is probably related to some startup configurations, how the tools starts Jboss? I guess it does not use the startup shell scripts (run.bat/run.sh/conf/etc...)


            You can use a deploy only server which does not actually start nor stop the server, but just maintains the deployment directory.


            How do I do that? for now, if the server is stopped any modification to files are not being deployed, then I have to use the clean option, etc... to redeploy everything.


            Thanks for the detailed reply :)

            • 3. Re: Jboss Tools - Few first questions
              maxandersen

               


              "trouby" wrote:
              Hey,


              When the server is running there is a Restart button in the main toolbar. Yeah - should probably be in the menu too (report in jira - thanks)

              Note: that besides restart we also have the "touch" functionallity which touches the relevant descriptor depending on your current project type. That will result in the app to be redeployed, removing the need for most restarts.



              This is weird, right-click on the server menu has a restart button, I guess it was lately added :)


              maybe the server just need to be started before Restart button gets activated ;)


              Did you mean the 'twiddle server' option?


              no, I meant the "touch" feature (which is the finger pointing in the main toolbar)



              You can use a deploy only server which does not actually start nor stop the server, but just maintains the deployment directory.


              How do I do that? for now, if the server is stopped any modification to files are not being deployed, then I have to use the clean option, etc... to redeploy everything.


              New > Server > JBoss Deploy only server/runtime

              And then use that server to deploy your projects.