This is a test version of Biostars. For the public version, visit https://www.biostars.org.
LOSITAN - illegal URL redirect

Hi all,

I've used lositan for awhile now and haven't had any issues getting it to launch, but when I went to use it last week, all of a sudden it wasn't working (error message below; "illegal URL redirect"). I've added the lositan selection workbench website as a security exception, and have also tried replacing my current version of Java (v8) with previous versions (v7, tried various updates), but I still get the same error. Some of the suggestions I've found through different Google searches of the "illegal URL redirect" error message mention that this issue may have to do with the applet for the program (rather than the version of java you're using); is lositan now defunct or have others been able to use it recently?

Any suggestions will be appreciated! I'm using Mac OS X El Capitan (but also have the same problem on Windows).

Nadya

Error message that I get:

java.lang.SecurityException: illegal URL redirect
    at jdk.deploy@9.0.4/com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at jdk.javaws@9.0.4/com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at jdk.javaws@9.0.4/com.sun.javaws.Launcher.updateLaunchDesc(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.prepareToLaunch(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.prepareToLaunch(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.launchApp(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.launchApp(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.continueInSecureThread(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.access$000(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart$1.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
lositan lositan java applet

Is that Java 9 you have there?

Yes sorry, I started out testing with Java 8 then reverted back to Java 7 with no luck. Thought I'd go ahead and upgrade to Java 9 for other applications while trying to sort this particular issue out. I got the same error message with Java v8 as what I've posted here with v9.

I have the same problem, pretty sure never changed my Java version or any of its settings since the last time I ran it successfully few months ago, perhaps nothing we can do and the program is finally down.

I have the same problem. Fixes that worked before in windows 10 and linux (uninstalling java 8, working from java 7, adding http://popgen.net to security exception list) are no longer working. Has anyone found a solution?

Hi @nadya, same here but I use Ubuntu... it may have to do with changes with to https protocol of the Lositan repository? (just my guess). You can try to run Lositan as a standalone version which can be found on Github: https://github.com/tiagoantao/lositan

Start with: 1. getLibs.sh 2. prepareLibs.sh 3. prepareLocalExec.sh 4. prepareJNLP.sh

Finally runLocal.sh

To be honest, the scripts are little bit messy and they have some errors, like old links or navigation to wrong folder. The best thing is to copy each code line and in case of errors correct them. This should do the trick.

1 answer

We have a Win 7 32-bit OS and we wanted to resolve this. Using the instructions given by Bartosz above, we have compiled a working local copy of the software.

The link is https://github.com/BaskiGIT/lositan/tree/master/OfflineVersion

FYI - We did not prepare JNLP completely, but instead the app works with runLocal.bat

Thanks for making this! This is probably a silly question, but how can we download that version? I only see 'Pull request' and 'Compare' on Github, rather than 'Clone or download' as with Bartosz's version.

aesculus, you can download it together with complete Lositan from the prior page https://github.com/BaskiGIT/lositan you will need some scripting in windows, but I myself cant stop thinking, should we really try to bring a dead program published 10 years ago and apparently abandoned by its owner, back to life while there are other newer alternatives?

Log in to answer this question.