How can I make the default-config running ??You can't. See the [url http://docs.oracle.com/cd/E18930_01/html/821-2426/abdjl.html#scrolltoc]corresponding section of the HA-Admin Guide for more details. Though for Oracle GlassFish, these concepts are implemented equally in the OSE.
up to the closing tag for config with the values from
and restart your instance. Note that the default-config has different ports and settings than you might expect from your server-config.
<server name="server" config-ref="test-config">
Why would you think there is a need to switch to that one?I was checking the Forum for a similar problem, and I found a long thread between you and one of Oracle Advocate.... you suggested to make sure that the default server is running ...
you suggested to make sure that the default server is runningYeah, that meant more or less that I wanted to make sure that no other configuration change (like JVM parameter) had been effective without noticing. "default server" in that sense meant to (re)create the configuration that shipped, not actually the "default-config". Sorry for any confusion I might have caused by that. ;)
However, I think the cause of my problem is that I installed Glassfish first with Java 7 then changed to Java 6.I think so, too. Probably some issue with different versions of the hash/encryption function or something like that used in Java 7 without downward compatibility. Though I'm not a GlassFish expert, I assume that the authentication in file realm is somehow linked with Java's keytool which had several changes from Java 6 to Java 7.