James Server
  1. James Server
  2. JAMES-770

Exception when runnning JAMES with run.sh

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      windows, cygwin

      Description

      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.

      1. james.jpg
        72 kB
        maximeloridan

        Activity

        maximeloridan created issue -
        maximeloridan made changes -
        Field Original Value New Value
        Attachment james.jpg [ 12349504 ]
        Hide
        Stefano Bagnara added a comment -

        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.

        Show
        Stefano Bagnara added a comment - 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.
        Hide
        Norman Maurer added a comment -

        Any news on this ?

        Show
        Norman Maurer added a comment - Any news on this ?
        Danny Angus made changes -
        Fix Version/s Next Minor [ 12312136 ]
        Fix Version/s 2.2.0 [ 10747 ]
        Hide
        Stefano Bagnara added a comment -

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

        Show
        Stefano Bagnara added a comment - we support bat files under windows and sh files under unix. Please use run.bat.
        Stefano Bagnara made changes -
        Resolution Won't Fix [ 2 ]
        Assignee Stefano Bagnara [ bago ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12394939 ] Default workflow, editable Closed status [ 12566041 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566041 ] jira [ 12581434 ]

          People

          • Assignee:
            Stefano Bagnara
            Reporter:
            maximeloridan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development