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 "maximeloridan (JIRA)" <se...@james.apache.org> on 2007/01/24 11:37:49 UTC

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

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


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


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

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ 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


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

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara resolved JAMES-770.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Stefano Bagnara

we support bat files under windows and sh files under unix.
Please use run.bat.

> 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
>            Assignee: Stefano Bagnara
>             Fix For: 2.3.2
>
>         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


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

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489941 ] 

Norman Maurer commented on JAMES-770:
-------------------------------------

Any news on this ?

> 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


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

Posted by "Danny Angus (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danny Angus updated JAMES-770:
------------------------------

    Fix Version/s:     (was: 2.2.0)
                   Next Minor

> 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: Next Minor
>
>         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


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

Posted by "maximeloridan (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

maximeloridan updated JAMES-770:
--------------------------------

    Attachment: james.jpg

> 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