[
https://issues.apache.org/jira/browse/BROOKLYN-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299960#comment-15299960
]
Yavor Yanchev commented on BROOKLYN-276:
----------------------------------------
[~johnmccabe] The required Java version has to be installed automatically,
because TomcatServer extends JavaWebAppSoftwareProcess.
It is installed during the setup phase. Can you share the expected Java version
and the used Ubuntu version. I don't think it is tested with Ubuntu 16.04 yet.
> TomcatServer entity does not install JRE if one is not present
> --------------------------------------------------------------
>
> Key: BROOKLYN-276
> URL: https://issues.apache.org/jira/browse/BROOKLYN-276
> Project: Brooklyn
> Issue Type: Bug
> Reporter: John McCabe
> Assignee: John McCabe
>
> Deploying a simple app to a location which does *not* have a JRE/JDK
> installed results in the TomcatServer failing to start, the deployment
> however proceeds with any errors.
> {code}
> location: byon1
> services:
> - type: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
> id: tomcat
> name: Tomcat
> war: http://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war
> {code}
> If I subsequently log into that machine and install Java I am them able to
> invoke the *restart* effector on the app and it starts up as expected.
> (suspect this may impact all the Java entities)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)