I'm trying to run Merlin-3.2-RC2 on a Sun Solaris 5.7 host and get the
following exception when starting up:
org.apache.avalon.util.env.EnvAccessException: Failed to access null
environment variable - User cdelima does not seem to exist in /etc/passwd
at org.apache.avalon.util.env.Env.getUnixUserShell(Env.java:373)
at org.apache.avalon.util.env.Env.getUnixShellVariable(Env.java:413)
at org.apache.avalon.util.env.Env.getEnvVariable(Env.java:119)
at
org.apache.avalon.merlin.cli.Main.getMerlinHomePath(Main.java:553)
at org.apache.avalon.merlin.cli.Main.getMerlinHome(Main.java:542)
at
org.apache.avalon.merlin.cli.Main.getMerlinSystemRepository(Main.java:532)
at org.apache.avalon.merlin.cli.Main.main(Main.java:235)
---- runtime exception report
--------------------------------------------------
Exception: java.lang.RuntimeException
Message: ---- runtime exception report
--------------------------------------------------
Internal error while attempting to access MERLIN_HOME environment.
Tracking through the org.apache.avalon.util.env.Env.getUnixUserShell code,
it looks like
is won't work on systems like Solaris which use NIS for the password file,
where users
are not kept in the /etc/passwd file.
Is there a workaround for this? Perhaps Merlin shouldn't attempt to read
the MERLIN_HOME
environment variable if the System property "merlin.home" is set.
Claude De Lima
------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers. Email transmission cannot be guaranteed to be
secure or error-free. Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such. All
information is subject to change without notice.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]