Topic
8 replies Latest Post - ‏2012-09-19T22:08:10Z by SystemAdmin
Bruno Braga
Bruno Braga
5 Posts
ACCEPTED ANSWER

Pinned topic Worklight 5.0 Developer - embedded server questions

‏2012-09-16T05:51:00Z |
Hi,

I installed the Worklight 5.0 Developer in my eclipse from marketplace update site.
Now when I open my eclipse there is a message in my console: "Worklight Server started successfully on localhost:8080"

My problem is: some times I would like to open my Eclipse to use other perspectives, so starts the Worklight Server automatically is not a good idea for me.

How can I configure the embedded worklight server to not starts automatically?
  • SystemAdmin
    SystemAdmin
    300 Posts
    ACCEPTED ANSWER

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-17T17:28:47Z  in response to Bruno Braga
    I am researching this...
  • SystemAdmin
    SystemAdmin
    300 Posts
    ACCEPTED ANSWER

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-17T19:32:42Z  in response to Bruno Braga
    Hi Bruno,
    I have not found a way to block worklight server from starting in eclipse.

    But you can change the port number of the internal worklight server to avoid port conflicts. Edit file eclipse.ini, add property worklight.port under -vmargs. Example:

    -vmargs
    -Dworklight.port=8888

    Details on page 8: http://goo.gl/8VxkH

    Does this help? If not, I will keep searching for a way to block the server from starting.

    Thanks,
    Andy
    • Bruno Braga
      Bruno Braga
      5 Posts
      ACCEPTED ANSWER

      Re: Worklight 5.0 Developer - embedded server questions

      ‏2012-09-18T03:43:20Z  in response to SystemAdmin
      Hi Andy,

      Thanks for your reply.

      The point is: why I have to leave a server running in my machine if I will not use that?
      There are many perspectives in Eclipse and sometimes I would like to use the J2EE, Java or Plug-in Development perspective. In that case I will not use the worklight server and it is still running consuming my resources.

      The port is not a big problem, the real problem is the resource usage ;)
      • SystemAdmin
        SystemAdmin
        300 Posts
        ACCEPTED ANSWER

        Re: Worklight 5.0 Developer - embedded server questions

        ‏2012-09-18T15:15:17Z  in response to Bruno Braga
        ok, understood. I will continue to search.
        • Bruno Braga
          Bruno Braga
          5 Posts
          ACCEPTED ANSWER

          Re: Worklight 5.0 Developer - embedded server questions

          ‏2012-09-19T12:59:46Z  in response to SystemAdmin
          Andy, thanks for your support ;)
          I tried to find that but without success.
          I think it's a limitation of the tool. Maybe we have to open a Enhancement. Do you know how to do that?
          • SystemAdmin
            SystemAdmin
            300 Posts
            ACCEPTED ANSWER

            Re: Worklight 5.0 Developer - embedded server questions

            ‏2012-09-19T18:50:53Z  in response to Bruno Braga
            Hi Bruno,
            I confirmed there is NOT a way to stop the worklight server within eclipse studio. The server does not consume much resource when idle, but it does keep the listen socket open.

            We do not have a process to submit new feature requests at this time. I have passed your request along to the product planners.

            Thanks,
            Andy
            • Bruno Braga
              Bruno Braga
              5 Posts
              ACCEPTED ANSWER

              Re: Worklight 5.0 Developer - embedded server questions

              ‏2012-09-19T20:04:32Z  in response to SystemAdmin
              Ok, thanks Andy ;)
              • SystemAdmin
                SystemAdmin
                300 Posts
                ACCEPTED ANSWER

                Re: Worklight 5.0 Developer - embedded server questions

                ‏2012-09-19T22:08:10Z  in response to Bruno Braga
                Actually we do have a forum for submitting feature requests: http://www.ibm.com/developerworks/forums/forum.jspa?forumID=2836

                Might be good to log it there as well as Andy forwarding it on.
                Barbara Hampson, Manager, IBM Worklight