Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1158

Determine how to run IGB-fx in karaf using Windows "bat" script

    Details

    • Story Points:
      2
    • Sprint:
      Fall 2017

      Description

      We learned how to run IGB-fx from karaf using cygwin under Windows, but it would be more convenient to run IGB-fx from karaf using a single "bat" script.

      This issue requires learning the basics of OSGi and how karaf functions as an OSGi runtime/container. Take notes and prepare teaching materials to help the team get up to speed. Also, keep your eyes open for ways to migrate IGB-Classic to using karaf.

      Tips from IGB developer David Norris (dcnorris@stackleader.com), replying to question from DK:

      "Hi Devdatta,
      The bin/igb script is mostly just a copy of bin/karaf (you could even consider removing bin/igb. On windows calling bin/karaf.bat from a converted start.sh (convert it to start.bat) is the approach that should work. Trying this from cygwin will likely cause issues and I have never run karaf from cygwin. I have run karaf on windows shell and it works just fine. John and I had a customer on Windows last year that we used karaf on windows for and it worked beautifully.

      Also, as an FYI there is a bin/client script for connecting to to a karaf shell without the need for manual ssh. Because it uses a java ssh implementation and jline I recall this works from windows shell. You cannot last I checked ssh from a windows shell.

      Best Regards,
      David"

      "On Fri, May 19, 2017 at 11:10 AM, Kulkarni, Devdatta <dkulkarn@uncc.edu> wrote:

      Hi David,
      I am going through karaf/bin/igb file which is being called from start-shell and start-dev scripts.
      I was able to see that it is handling Cygwin as special case, and on installing Cygwin I can start igb-fx.
      On starting, it gives me interactive shell but the shell is not responding to any commands.
      Please let me know if I am thinking in right direction and let me know if you are available for Hangouts session.
      Thank you,
      Devdatta."

        Attachments

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: