Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Java Applet Behind ISA 2006 Reverse Proxy

Posted on 2011-03-16
5
Medium Priority
?
1,256 Views
Last Modified: 2012-05-11
I have a Java applet on a SharePoint server that is published behind an ISA 2006 reverse proxy. IIS is setup to use both NTLM and Basic authentication.  I'm haviing a problem where the applet will not launch. I get the error below:

ExitException[ 3]JNLParseException[ Could not parse launch file. Error at line 0.]
      at com.sun.javaws.Launcher.updateFinalLaunchDesc(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)

If I bypass the ISA server and connect to SharePoint directly, it works without issue. My ISA logs show a status of unauthorized because the user is anonymous so I believe the issues is related to authentication.

Does anyone have any idea on how to resolve this?

Thanks,
JJ
0
Comment
Question by:Jamie McKillop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 35149924
It is talking about JNLP - is it really and Applet or rather Java WebStart application?
0
 
LVL 37

Author Comment

by:Jamie McKillop
ID: 35149965
Sorry. Yes it is JNLP and it is a webstart app.

JJ
0
 
LVL 47

Expert Comment

by:for_yan
ID: 35151368
So now let's try to understand.
You want to launch the WebStart application which sits somewhere on the server.
You client reaches that server through the proxy.
And it does not start with this error above.

You can reach  the same server wirectly without proxy.
Then it starts.

Is that correct understanding?

What is reverse proxy ? Could you explain it to me - I never used that.

From what I see on the net  this kind of error could be caused by dufferent issues -
some people recommend clearing cache using javaws -viewer,
https://www.vaultletsoft.com/support/clear-jws-cache.html
some are suggesting that server (or browser) have some issues
with mime/type (this seems in your case to contradict
the fact that it works without proxy).
Still it is probably worth considering these things.



0
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 0 total points
ID: 35179914
I've managed to figure this out. The URL of the SharePoint server was hard coded into the app using HTTP. I have my ISA server setup to redirect HTTP to HTTPS but it would appear this breaks the app. I'm having the coders fix the hard coded URL to use HTTPS.

JJ
0
 
LVL 37

Author Closing Comment

by:Jamie McKillop
ID: 35221101
Managed to figure this out on my own.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question