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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

WSA + Applet = wtf?

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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, 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!
    Bookmark Topic Watch Topic
  • New Topic