J.W. Janssen created ACE-595:
--------------------------------

             Summary: IllegalStateException in Gogo after restarting the 
executable JARs
                 Key: ACE-595
                 URL: https://issues.apache.org/jira/browse/ACE-595
             Project: ACE
          Issue Type: Bug
          Components: Client Repository, Deployment, OBR, Repository
    Affects Versions: 2.1.0
            Reporter: J.W. Janssen
             Fix For: next


Steps to reproduce: 

# Export the `run-obr` project to an executable JAR (`./gradlew 
run-obr:export`);
# run the executable JAR;
# stop it by means of CTRL+C;
# restart the executable JAR (with the same bundle-cache).

Observe two things:

# lots of restarts of bundles take place, for unknown reasons;
# the Gogo shell no longer functions properly: typing `lb` causes either an 
`IllegalStateException: session is closed` error or you get complaints from 
Gogo about commands not existing.

It appears that Gogo runtime/shell isn't able to recover from package refreshes 
or restarts.

Alternatively, you can trigger similar behavior in Gogo directly by stopping 
and starting the Gogo runtime bundle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to