• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Fixed
  • gbevin
  • Reporter: kkannaiy
  • November 13, 2009
  • 0
  • Watchers: 0
  • July 27, 2012
  • November 18, 2009

Description

Steps:

  1. Install the ehcache-monitor-1.0.0-beta version
  2. start the monitor server by executing bin/startup.sh
  3. shut the monitor server by executing bin/shutdown.sh

Actual: Unable to shutdown the server

Couldn’t shut server down at 10.0.4.194:9889 Exception in thread “main” java.io.IOException: Stream closed at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.terracotta.ehcachedx.monitor.util.HttpUtils.getConnectionContent(HttpUtils.java:110) at org.terracotta.ehcachedx.monitor.util.HttpUtils.getConnectionContent(HttpUtils.java:73) at org.terracotta.ehcachedx.monitor.util.HttpUtils.getHttpConnectionContent(HttpUtils.java:24) at org.terracotta.ehcachedx.monitor.util.RestProxy.shutdown(RestProxy.java:55) at org.terracotta.ehcachedx.monitor.StandaloneServer$Command$2.execute(StandaloneServer.java:140) at org.terracotta.ehcachedx.monitor.StandaloneServer.main(StandaloneServer.java:54)

Comments

Geert Bevin 2009-11-17

Can you give me more information about what config you used, which OS you’re on, etc etc

I can’t reproduce this.

Kalai Kannaiyan 2009-11-17

using /etc/ehcache-monitor.conf OS: linux (dev02 box)

If the monitor server is running with temporary licenses, the server is shutting down properly, but if the monitor server is running with trial license or commercial license, I am seeing this issue.

edit the /etc/ehcache-monitor.conf for license_file path, address, port, user and password for e.g., license_file = /export1/dev/kalai/ehcache-dx-kits/trial-ehcachedx.key address = 10.0.4.194 port = 9889 user = admin password = secret

start the monitor server -> bin/startup.sh stop the monitor server -> bin/shutdown.sh

Actual: Exception occurs

Geert Bevin 2009-11-18

The problem wasn’t the license, but the username and password that weren’t used by the shutdown command.