[jboss-jira] [JBoss JIRA] (WFLY-768) Caused by: javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream

Jason Greene (JIRA) jira-events at lists.jboss.org
Thu Jul 18 01:11:38 EDT 2013


     [ https://issues.jboss.org/browse/WFLY-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated WFLY-768:
------------------------------

    Fix Version/s: 8.0.0.Beta1
                       (was: 8.0.0.Alpha3)

    
> Caused by: javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-768
>                 URL: https://issues.jboss.org/browse/WFLY-768
>             Project: WildFly
>          Issue Type: Bug
>          Components: Server
>         Environment: windows 7 jdk1.6,eclipse juno,
>            Reporter: raky k
>            Assignee: Jason Greene
>              Labels: UnsupportedAudioFileException
>             Fix For: 8.0.0.Beta1
>
>
> The application is working fine in the tomcat when deployed in the Jboss server it does not recognizes wav format and throws error Caused by: javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream
> The application is open source and can be found 
> http://sourceforge.net/projects/simplecaptcha/files/simplecaptcha-1.2-j2ee-sample.war/download 
> i have done below changes but still no luck. ( as advised on https://community.jboss.org/thread/197517   )
> "
> Darran is right, it requires to edit the modules/sun/jdk/main/modules.xml and add an entry for com.sun.media.
>  
> Moreover, copy the following files to modules/sun/jdk/main/service-loader-resources/META-INF/services/
> javax.sound.sampled.spi.AudioFileReader
> javax.sound.sampled.spi.AudioFileWriter
> javax.sound.sampled.spi.FormatConversionProvider
> javax.sound.sampled.spi.MixerProvider
> These files can be found inside /jre/lib/resources.jar of JDK, under /META-INF/services/  "

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list