Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, after RMsis upgrade, sometimes this issue is usually observed.

Symptoms:

You will may see the following error upon accessing RMsis<Add Screenshot for error>:

Image Added

RMsis log files will have following error:

com.optimizory.rmsis.plugin.exception.RMsisPluginException: An application is already running on port 3060. 
To fix this problem, either change the port for RMsis or close the application which is listening on port 3060.

...

  1. Stop JIRA.

  2. Kill all processes related to JIRA / RMsis (they are typically named as Tomcat*, java). This is important because sometimes stopping JIRA does not terminate all the processes.
    • On linux server, you can use the following commands
      1. List all java processes using: ps -ef | grep java 
      2. Note down the process id of JIRA / RMsis processes from the output of above command.
      3. Use Kill command to kill the processes (related to JIRA / RMsis), if any. Example: kill -9 12345, where 12345 is the process ID.
    • On Windows server, you can use the following commands
      1. Open a command prompt window (as Administrator) 
        • From "Start\Search box" Enter "cmd" then right-click on "cmd.exe" and select "Run as Administrator"
      2. Find Process ID of process that is using the port on which RMsis in configured to run (e.g. port:"3060") using: netstat -aon | find "3060"

      3. Note down the process id of the process 

      4. Then Kill the process by Process ID: taskkill /F /PID 12345, where 12345 is the process ID.

  3. Restart JIRA.
  4. Try to access RMsis again.

Sample run on *nix server:

<Add screenshot for *nix server>Image Added

Sample run on windows server:

 

Info

Command References:

ps: https://en.wikipedia.org/wiki/Ps_(Unix)

netstat: https://en.wikipedia.org/wiki/Netstat

kill & taskkill: https://en.wikipedia.org/wiki/Kill_(command)

...