Project: springxd
Issue XD-446: Investigate stream lifecycle issues with redis store
When running with "./gradlew launch" I get a 500 error when I try to re-deploy an undeployed stream. A subsequent create or destroy also fail http://localhost:8080:>stream create --definition "time | log" --name ticktock Created new stream 'ticktock' http://localhost:8080:>stream undeploy --name ticktock Un-deployed stream 'ticktock' http://localhost:8080:>stream deploy --name ticktock 13:02:09,936 WARN Spring Shell client.RestTemplate:524 - PUT request for "http://localhost:8080/streams/ticktock" resulted in 500 (Internal Server Error); invoking error handler Command failed org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error http://localhost:8080:>stream deploy --name ticktock 13:03:11,453 WARN Spring Shell client.RestTemplate:524 - PUT request for "http://localhost:8080/streams/ticktock" resulted in 500 (Internal Server Error); invoking error handler Command failed org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error http://localhost:8080:>stream undeploy --name ticktock 13:03:54,576 WARN Spring Shell client.RestTemplate:524 - PUT request for "http://localhost:8080/streams/ticktock" resulted in 500 (Internal Server Error); invoking error handler Command failed org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error http://localhost:8080:>stream undeploy --name ticktock 13:04:48,872 WARN Spring Shell client.RestTemplate:524 - PUT request for "http://localhost:8080/streams/ticktock" resulted in 500 (Internal Server Error); invoking error handler Command failed org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error http://localhost:8080:>stream create --definition "time | log" --name ticktock 13:04:52,066 WARN Spring Shell client.RestTemplate:524 - POST request for "http://localhost:8080/streams" resulted in 500 (Internal Server Error); invoking error handler Command failed org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error http://localhost:8080:>stream destroy --name ticktock 13:05:14,207 WARN Spring Shell client.RestTemplate:524 - DELETE request for "http://localhost:8080/streams/ticktock" resulted in 500 (Internal Server Error); invoking error handler Command failed org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error
Story points: 1