Search
Calendar
April 2024
S M T W T F S
« Sep    
 123456
78910111213
14151617181920
21222324252627
282930  
Your widget title
Archives

Posts Tagged ‘Cygwin’

PostHeaderIcon Start Mule ESB as an NT service under a Windows server

Case

You would like to start a Mule ESB instance as an NT service, under a Windows server. You would also like to give a specific name and description

Fix

  • add an environment variable MULE_HOME, with value the path of Mule install, for instance: C:\jonathan\mule-standalone-3.0.1
  • edit the file %MULE_HOME%\conf\wrapper.conf
  • replace the following properties default values:
    wrapper.ntservice.name=%MULE_APP%
    wrapper.ntservice.displayname=%MULE_APP_LONG%
    wrapper.ntservice.description=%MULE_APP_LONG%
  • (you can also set other properties related to NT service configuration)
  • launch the command:
  • %MULE_HOME%\bin\mule.bat install -config %MULE_HOME%\bin\mule-conf.xml
  • then you can see in the administration services that the service has started
  • to remove the service, only launch the following command
  • %MULE_HOME%\bin\mule.bat remove

Known issue:

On certain installations (among them the servers on which CygWin is installed), a conflict may happen between the files %MULE_HOME%\bin\mule (standard launcher for Unix and Linux) and %MULE_HOME%\bin\mule.bat (standard launcher for Windows). In this case, rename %MULE_HOME%\bin\mule as %MULE_HOME%\bin\mule.OLD

PostHeaderIcon How to have syntax color in VIm under CygWin?

In order to have syntax color in VIm under CygWin, in your $HOME folder, add a file .vimrc, with this simple line as content:

syntax on