.jnlp displays as plain/text in IE

.jnlp file hosted by Websphere 6.1 via IIS 6.0 is displayed in browser as plain/text instead of executing via WebStart.  I have tried adding .jnlp in MIME types on IIS but it did not make a difference.  It used to execute in WebStart fine but does not any more.  If I open the same .jnlp file on a different IIS/Websphere environment (Production), it opens in WebStart fine.
BSSForestsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mick BarryJava DeveloperCommented:
check the content type of the jnlp response to verify it is as expected
0
BSSForestsAuthor Commented:
The content type of the response is plain/text.  Should it not be application/x-java-jnlp-file?
0
Mick BarryJava DeveloperCommented:
double check your mime type setup on iis
0
BSSForestsAuthor Commented:
I thought that was the issue and added the mime type to IIS at the local computer property level but it did not make a difference.  I didn't have to add it before?!? And it was not there.  Strange.
0
BSSForestsAuthor Commented:
Thanks for your help.  I found the solution.  The web.xml file was missing the following code:

  <mime-mapping>
    <extension>jnlp</extension>
    <mime-type>application/x-java-jnlp-file</mime-type>
  </mime-mapping>

I guess it was removed in the last build.  I fixed the xml file in the EAR file and reinstalled.  All is ok now.

The following site helped me:  http://www.twainconnect.com/jnlp/Default.aspx

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.