[jboss-jira] [JBoss JIRA] (WFLY-3608) Java applets cannot be downloaded using WildFly 8.1.0.Final "Kenny"

Dipesh Patel (JIRA) issues at jboss.org
Thu Jul 17 17:58:29 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986029#comment-12986029 ] 

Dipesh Patel edited comment on WFLY-3608 at 7/17/14 5:56 PM:
-------------------------------------------------------------

I'm having the same issue.  It looks like in WildFly 8.1, if you have any jar files in a WAR file, they are not accessible.  To reproduce, create any war file that contains any jar file.  Then, enter the URL to the jar file in your browser and try to download the jar file in the browser.  In WildFly 8.0,0, the file will get downloaded.  In WildFly 8.1.0, you'll get a 404 error.  In my example, I created a war file called MyTest.war that contained a single file, a jar file named cos-1.0.jar.  I deployed that war, and in my browser I navigated to http://localhost:8080/MyTest/cos-1.0.jar.  In Wildfly 8.1, I get a "Not Found" (404) error, in Wildfly 8.0.0, it works.

I encountered the problem on both Windows 7 and RedHat 6 (running Oracle JDK 1.7.0_51 on Windows and openJDK 1.7.0 on RedHat Linux).

Looks like files with the .jnlp extension are also not accessible.  I did some more testing, and it does appear related to some kind of filter on file extensions.  In my example above, if I rename the cos-1.0.jar file to cos-1.0.zip, then I am able to access the file.


was (Author: deepblue17):
I'm having the same issue.  It looks like in WildFly 8.1, if you have any jar files in a WAR file, they are not accessible.  To reproduce, create any war file that contains any jar file.  Then, enter the URL to the jar file in your browser and try to download the jar file in the browser.  In WildFly 8.0,0, the file will get downloaded.  In WildFly 8.1.0, you'll get a 404 error.  In my example, I created a war file called MyTest.war that contained a single file, a jar file named cos-1.0.jar.  I deployed that war, and in my browser I navigated to http://localhost:8080/MyTest/cos-1.0.jar.  In Wildfly 8.1, I get a "Not Found" (404) error, in Wildfly 8.0.0, it works.

I encountered the problem on both Windows 7 and RedHat 6 (running Oracle JDK 1.7.0_51 on Windows and openJDK 1.7.0 on RedHat Linux).

> Java applets cannot be downloaded using WildFly 8.1.0.Final "Kenny"
> -------------------------------------------------------------------
>
>                 Key: WFLY-3608
>                 URL: https://issues.jboss.org/browse/WFLY-3608
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Server
>    Affects Versions: 8.1.0.Final
>         Environment: CentOs 5.5 & Ubuntu 10.04/12.04, Wildfly 8.1.0 Final, java version 1.7.0_60
>            Reporter: Thomas Brenna
>            Assignee: Jason Greene
>
> I have a Java applet that does not download from the WildFly server and generates a ClassNotFoundException in the java console when the web application attempts to load the applet. I have also written a custom Java application to attempt to directly download the applet's JAR file from the server, using the appropriate session ID cookie. This has worked with previous versions, and the applet is not successfully downloaded that way either. I am not sure if there is some new configuration requirement that I don't know about. 
> I noticed the following question that appears to be the same problem I am reporting but it was not reported as a bug.
> https://community.jboss.org/message/880008



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list