Open ahgittin opened 10 years ago
The path Brooklyn is trying to copy standalone-brooklyn.xml to is:
/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/standalone/configuration/standalone-brooklyn.xml
Which is obviously wrong.
The code that does this is:
String destinationConfigFile = Os.mergePathsUnix(getRunDir(), SERVER_TYPE, "configuration", CONFIG_FILE);
copyTemplate(getTemplateConfigurationUrl(), destinationConfigFile);
So it would appear that getRunDir()
is returning "/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/". Is SoftwareProcess.RUN_DIR
being set to something unusual in the blueprint?
Don't think there's any special setting but it could be a relative v absolute path check failing deploying from Windows.
Best Alex On 22 May 2014 09:37, "Sam Corbett" notifications@github.com wrote:
The path Brooklyn is trying to copy standalone-brooklyn.xml to is:
/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/standalone/configuration/standalone-brooklyn.xml
Which is obviously wrong.
The code that does this is:
String destinationConfigFile = Os.mergePathsUnix(getRunDir(), SERVER_TYPE, "configuration", CONFIG_FILE);copyTemplate(getTemplateConfigurationUrl(), destinationConfigFile);
So it would appear that getRunDir() is returning "/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/root/brooklyn-managed-processes/apps/D2JE4t7S/entities/JBoss7Server_kafcWTaO/". Is SoftwareProcess.RUN_DIR being set to something unusual in the blueprint?
— Reply to this email directly or view it on GitHubhttps://github.com/brooklyncentral/brooklyn/issues/1403#issuecomment-43904862 .
deploying jboss from windows to a remote byon linux server, we get the following:
at the bottom of the stack trace we have