Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3516

JalviewJS runtime path not resolved when when core files are used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.11.0_js
    • Fix Version/s: 2.11.1_js
    • Component/s: jalview-j2s
    • Labels:
      None

      Description

      Originally reported in https://github.com/jalview/jalview-js/issues/5

      JalviewJS deployed under:
      /jalview.js/...

      page using Jalview is deployed under
      /jalview/...

      This requires the Info.j2sPath for pages under /jalview/ to be set to '/jalview.js/swingjs/j2s'
      If a corefile is used e.g. (jvexamplefile) then some GET urls appear to include the originating URL's path:

      e.g.
      In the browser console I can see this:
      GET http://dev.../jalview.js/swingjs/swingjs2.js
      J2SApplet load JalviewJS loadClazz... swingjs2.js:12881:12
      J2SApplet load JalviewJS start applet... swingjs2.js:12881:12
      J2SApplet exec JalviewJS loadClazz null -- OK swingjs2.js:12832:12
      GET http://dev.../jalview.js/swingjs/j2s/core/corejvexamplefile.z.js
      J2SApplet exec JalviewJS start applet null -- OK swingjs2.js:12832:12
      JalviewJS loaded /jalview.js/swingjs/j2s/core/corejvexamplefile.z.js:3134:51
      JalviewJS running jalview.bin.Jalview /jalview.js/swingjs/j2s/core/corejvexamplefile.z.js:3134:51
      GET http://dev.../jalview//jalview.js/swingjs/j2s/sun/util/resources/CalendarData.properties
      GET http://dev.../jalview//jalview.js/swingjs/j2s/sun/util/resources/CalendarData_en.properties

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter Jim Procter
              Reporter:
              jprocter Jim Procter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: