?
Solved

Java Applet Behind ISA 2006 Reverse Proxy

Posted on 2011-03-16
5
Medium Priority
?
1,248 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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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 basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

741 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