You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2007/01/25 13:07:49 UTC

[jira] Commented: (JAMES-770) Exception when runnning JAMES with run.sh

    [ https://issues.apache.org/jira/browse/JAMES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467342 ] 

Stefano Bagnara commented on JAMES-770:
---------------------------------------

We never tested cygwin. We use run.bat under Windows, run.sh under linux.

Btw I compared 2.2.0 to 2.3.0 and the only real difference is in phenix.sh. 2.3.0 added this code:
-----------
JVM_EXT_DIRS="$PHOENIX_HOME/lib:$PHOENIX_HOME/tools/lib"
if $cygwin; then
  JVM_EXT_DIRS=`cygpath --path --windows "$JVM_EXT_DIRS"`
fi
---------

Try removing them and tell us if it works.
Btw I don't understand. That code seems to be added to fix cygwin compatibility, it is weird that it instead did the opposite.
If you could investigate also on the real problem and provide a fix to the 4 lines above it would be useful.

> Exception when runnning JAMES with run.sh
> -----------------------------------------
>
>                 Key: JAMES-770
>                 URL: https://issues.apache.org/jira/browse/JAMES-770
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: windows, cygwin
>            Reporter: maximeloridan
>             Fix For: 2.2.0
>
>         Attachments: james.jpg
>
>
> Open cygwin
> then type directly: "D:/James-2.3.0/bin/run.sh" (this is where my james 2.3.0 is installed)
> The result is: ClassNotFoundException (see the top of the picture)
> Actually, we have to set first a directory by typing : "cd D:" (see the middle of the picture) and then launch JAMES (see the bottom of the picture). In this case, it will work
> NB: I test it with JAMES-2.2.0, and this problem does not appear.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org