Solved

Java Applet Behind ISA 2006 Reverse Proxy

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 83
reasons why a "inside Menu" would not appear for a web server 6 56
Unable to start eclipse ? 17 133
Error with Java/Cache JDBC Classpath 2 31
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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 arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

867 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

19 Experts available now in Live!

Get 1:1 Help Now