Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

WSA + Applet = wtf?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I got task to deploy existing applet (running on Tomcat) on WAS v8 (note: never seen WAS before, this is my first time). So I took files from Tomcat's web directory, packed them into WAR file, created simple application.xml with <module><web><web-uri>foo.war</web-uri><context-root>app</context-root></web></module> and put it into subdirectory named META-INF. This WAR and subdir packed into EAR file and deployed as application on WAS. No problem so far (at least no error message). But problem occurs when I tried to open that applet in browser. I can access localhost/app. index.html will load, but applet ends with error: FailedDownloadException -> Unable to load resource file: localhost/app/applet_name.jar. "Funny" thing is - when I put that URL with missing resource into browser, I can see it (I can download that applet JAR).

Applet is loaded via script http://www.java.com/js/deployJava.js, resources are linked via JNLP file.

Can someone tell me, what I am doing wrong? Thanks...
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic