Miroslav Nachev wrote:
Dear Steen,

   We have the same problem and we fixed with the following code:
public class MailServer
{

    public static void main(String[] args)
        throws Exception
    {
        String value = new String(new byte[]{'\r', '\n'});
        System.setProperty("line.separator", value);

Main.main(args);
} }


After compiling of the above code I put it in phoenix.sh:
...
# Get the run cmd
RUN_CMD="$JAVA_HOME/bin/java $JVM_OPTS \
$DEBUG \
-Djava.security.policy=jar:file:$PHOENIX_HOME/bin/phoenix-loader.jar!/META-INF/java.policy \
$PHOENIX_JVM_OPTS \
-Dphoenix.home="$PHOENIX_HOME" \
-Djava.io.tmpdir="$PHOENIX_TMPDIR" \
MailServer $*"
# -jar "$PHOENIX_HOME/bin/phoenix-loader.jar" $*"



Best Regards, Miroslav Nachev


Thank you for answering, I was feeling a little lonely, and thought I was the only one seeing this problem.

Doesn't your solution affect other files too. For
example log files?

Steen




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to