[
https://issues.apache.org/jira/browse/GERONIMO-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922009#action_12922009
]
Shawn Jiang commented on GERONIMO-5525:
---------------------------------------
I just noticed the code below:
org.apache.geronimo.main.FrameworkLauncher.loadStartupProperties()
{code}
private List<BundleInfo> loadStartupProperties() throws Exception {
File etc = new File(geronimoBase, "etc");
File file = new File(etc, startupFile);
Properties startupProps = Utils.loadPropertiesFile(file, true);
ArrayList<File> bundleDirs = new ArrayList<File>();
String defaultRepo = System.getProperty(DEFAULT_REPO, "repository");
if (geronimoBase.equals(geronimoHome)) {
bundleDirs.add(new File(geronimoHome, defaultRepo));
} else {
bundleDirs.add(new File(geronimoBase, defaultRepo));
bundleDirs.add(new File(geronimoHome, defaultRepo));
}
return loadStartupProperties(startupProps, bundleDirs);
}
{code}
Which means, in addition to "var" and "etc", "repository" directory must also
be copied into the new instance path for 3.0.
> Geronimo launch failed for Multiple Geronimo Instances
> -------------------------------------------------------
>
> Key: GERONIMO-5525
> URL: https://issues.apache.org/jira/browse/GERONIMO-5525
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: startup/shutdown
> Affects Versions: 3.0
> Reporter: Delos Dai
>
> According to the configuration
> https://cwiki.apache.org/GMOxDOC22/running-multiple-geronimo-instances.html,
> I configure Geronimo 3.0 trunk build, but it can't start in case of multi
> instances.
> Here is the error message after "geronimo run",
> "Error launching framework: java.lang.NullPointerException"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.