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

          ann.loraine Ann Loraine created issue -
          ann.loraine Ann Loraine made changes -
          Field Original Value New Value
          Sprint Spring 2017 [ 47 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          djoshi4 Deepti Joshi (Inactive) made changes -
          Assignee Deepti Joshi [ djoshi4 ]
          djoshi4 Deepti Joshi (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          ann.loraine Ann Loraine made changes -
          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 simple "bat" script.

          According to former IGB developer David Norris:

          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.

              On Fri, May 19, 2017 at 10:59 AM, Ann Loraine <Ann.Loraine@uncc.edu> wrote:

                  Hello,

                  David is available to advise on getting IGB-fx to run in Windows - see below.

                  A google hangout might be the best option - you could show him the progress you've made thus far and get his advice on possible next steps.

                  -Ann

                  ---------- Forwarded message ----------
                  From: David Norris <dcnorris@stackleader.com>
                  Date: Fri, May 19, 2017 at 10:53 AM
                  Subject: Re: IGB-fx running in karaf on windows
                  To: Ann Loraine <Ann.Loraine@uncc.edu>


                  Hi Dr. Loraine,
                  I can't swing by, but if you can tell me what issues you are having I would be happy to advise.

                  Best Regards,
                  David
          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 simple "bat" script.

          According to former IGB developer David Norris:

          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.

             
          ann.loraine Ann Loraine made changes -
          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 simple "bat" script.

          According to former IGB developer David Norris:

          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.

             
          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 simple "bat" script.

          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.

             
          ann.loraine Ann Loraine made changes -
          Story Points 1 2
          ann.loraine Ann Loraine made changes -
          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 simple "bat" script.

          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.

             
          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 simple "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.

             
          ann.loraine Ann Loraine made changes -
          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 simple "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.

             
          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 simple "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."

             
          ann.loraine Ann Loraine made changes -
          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 simple "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."

             
          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."

             
          djoshi4 Deepti Joshi (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          djoshi4 Deepti Joshi (Inactive) made changes -
          Assignee Deepti Joshi [ djoshi4 ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] Ready for Pull Request [ 10304 ]
          ann.loraine Ann Loraine made changes -
          Assignee Deepti Joshi [ djoshi4 ]
          djoshi4 Deepti Joshi (Inactive) made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          djoshi4 Deepti Joshi (Inactive) made changes -
          Assignee Deepti Joshi [ djoshi4 ]
          ann.loraine Ann Loraine made changes -
          Resolution Done [ 10000 ]
          Status Pull Request Submitted [ 10101 ] Closed [ 6 ]
          mason Mason Meyer (Inactive) made changes -
          Fix Version/s 9.0.1 Minor Release [ 10500 ]
          mason Mason Meyer (Inactive) made changes -
          Fix Version/s 9.0.1 Minor Release [ 10500 ]
          ieclabau Ivory Blakley (Inactive) made changes -
          Fix Version/s 9.0.1 Minor Release [ 10500 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 17801 ] Fall 2019 Workflow Update [ 19804 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 19804 ] Revised Fall 2019 Workflow Update [ 21923 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: