Solved

Java Applet Behind ISA 2006 Reverse Proxy

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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 91
printing a file in reverse order is easy in recursion rather than in iteration 3 56
maven project error 5 55
arguments to jar 5 26
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…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

773 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