Solved

Java Applet Behind ISA 2006 Reverse Proxy

Posted on 2011-03-16
5
1,205 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now