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

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

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-17T17:28:47Z  
    I am researching this...
  • SystemAdmin
    SystemAdmin
    300 Posts

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-17T19:32:42Z  
    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

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-18T03:43:20Z  
    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
    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

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-18T15:15:17Z  
    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 ;)
    ok, understood. I will continue to search.
  • Bruno Braga
    Bruno Braga
    5 Posts

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-19T12:59:46Z  
    ok, understood. I will continue to search.
    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

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-19T18:50:53Z  
    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?
    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

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-19T20:04:32Z  
    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
    Ok, thanks Andy ;)
  • SystemAdmin
    SystemAdmin
    300 Posts

    Re: Worklight 5.0 Developer - embedded server questions

    ‏2012-09-19T22:08:10Z  
    Ok, thanks Andy ;)
    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