Resolving Typesafe activator start up issues
Typesafe activator is a local running web-application and can be used to create/open applications and provides a variety of templates to leverage AKKA framework. E.g: Hello akka project.
However, there are a few issues in starting up the activator for which resolutions are provided as below
In Mac, click on the activator file and in windows, click on activator.bat file.
This tries to open up the activator ui. But, in-case of any error/issues, the activator does not open up and the .bat file also gets closed. So, this does not give any information to the user about the cause of the issue. Hence, it is better to start the activator from command prompt so that we get to know the error details in-case it does not start up as expected.
From command prompt, we can run it as below
Java tries to use IPv6 on Windows 8 and we have to force it to use IPv4 by running this command:
setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
Then run activator ui again. The browser should open up showing http://localhost:8888/home
It would open the typesafe activator but still might give a connect exception. Because of this, creating and opening a project would not be successful. In-order to overcome this, switch to SAP-Internet, switch off the firewall for a moment and see that there are no proxies set in the browser and then start the activator ui. It should start now without errors.
After these changes, try to clone a project. Though it shows up the page that it takes a moment and gets stuck there, the project gets cloned. Try to refresh the page and click on open existing project, browse to the location and open the newly created project. This will open up the project and we can view its code, run and view console etc.