faban
  1. faban
  2. FABAN-20

master/bin/startup.sh has incorrect faban.war path

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      Solaris 11

      Description

      After deploying faban-kit.jar, the entire faban directory is created.
      Under ~faban/master/bin there is startup.sh, which is used to start the faban master.
      Running startup.sh, it complains that faban.war is not found.

      root@pae-madrid-01:~# faban/master/bin/startup.sh
      Starting Faban Server
      java.io.FileNotFoundException: ../webapps/faban.war (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:128)
      at java.io.FileInputStream.<init>(FileInputStream.java:87)
      at sun.tools.jar.Main.run(Main.java:259)
      at sun.tools.jar.Main.main(Main.java:1177)
      Please point your browser to http://pae-madrid-01:9980/

      The cause is that startup.sh has an incorrect faban.war path (../webapps/faban.war), it should be changed to ../faban.war.

        Activity

        zhenyun created issue -
        yaominchen made changes -
        Field Original Value New Value
        Assignee yaominchen [ yaominchen ]
        yaominchen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            yaominchen
            Reporter:
            zhenyun
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: