Hi Lee, I personally have not tried this. Let me investigate little bit and get back to you.
Thanks Amila On Fri, Feb 22, 2013 at 4:34 PM, Roh H. Lee <[email protected]> wrote: > I meant instead of a web server when I mentioned Apache Tomcat. > > > On Fri, Feb 22, 2013 at 4:32 PM, Roh H. Lee <[email protected]> wrote: >> >> Thanks Amila, >> >> It worked fine without errors. >> >> I have a question. I was wondering if there is a way to put xbaya JNLP >> distribution into the airavata standalone server instead of using Apache >> tomcat. >> I see airavata-gateway/ directory under >> bin/tomcat.8080/work/Tomcat/localhost/ but I think it is not ROOT directory >> of webapps. >> >> Thanks, >> Hyungro >> >> >> On Fri, Feb 22, 2013 at 12:54 PM, Amila Jayasekara >> <[email protected]> wrote: >>> >>> Hi Lee, >>> >>> The JNLP distribution should be deployed in a web server. Please do >>> following steps to install JNLP distribution in a web server. >>> In the web server (E.g :- Tomcat) create a folder in a place you >>> prefer. This folder should be accessible through a URL. >>> >>> E.g :- Create airavata-xbaya directory in >>> ${TOMCAT_INSTALL_DIRECTORY}/webapps/ROOT. >>> >>> Then unzip xbaya-jnlp-0.7-SNAPSHOT.zip into above created directory. >>> >>> Now go to link http://127.0.0.1:8080/airavata-xbaya/xbaya.jnlp >>> (Assuming tomcat server is running on port 8080). >>> If your web browser is running in a different port/ip you need to >>> change "codebase" property [1] in xbaya.jnlp file. Also if you are >>> using a different directory location again you need to change codebase >>> URL. >>> >>> Above should resolve your issue. Please let us know if you encounter >>> more problems. >>> >>> Thanks >>> Amila >>> >>> [1] >>> >>> ... >>> <jnlp spec="1.0+" >>> codebase="http://localhost:8080/airavata-xbaya/" >>> href="xbaya.jnlp"> >>> .... >>> >>> On Fri, Feb 22, 2013 at 3:36 AM, Roh H. Lee <[email protected]> wrote: >>> > Hi, >>> > >>> > I've got an error message when I launched xbaya.jnlp java web start >>> > file on >>> > my windows machine. >>> > >>> > I believe that I have to change resource URL and make it accessible? >>> > but I >>> > only installed binary standalone server which is using 8080 port in >>> > this >>> > installation packages. Where can I find airavata-xbaya directory? Hope >>> > to >>> > hearing any tips. >>> > >>> > Thanks, >>> > Hyungro >>> > >>> > Here I captured errors >>> >> >>> >> com.sun.deploy.net.FailedDownloadException: Unable to load resource: >>> >> http://127.0.0.1:8080/airavata-xbaya/xbaya.jnlp >>> >> at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) >>> >> at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) >>> >> at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) >>> >> at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown >>> >> Source) >>> >> at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown >>> >> Source) >>> >> at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source) >>> >> at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source) >>> >> at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source) >>> >> at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) >>> >> at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) >>> >> at com.sun.javaws.Launcher.launch(Unknown Source) >>> >> at com.sun.javaws.Main.launchApp(Unknown Source) >>> >> at com.sun.javaws.Main.continueInSecureThread(Unknown Source) >>> >> at com.sun.javaws.Main$1.run(Unknown Source) >>> >> at java.lang.Thread.run(Unknown Source) >>> > >>> > >> >> >
