Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-768

Caused by: javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream

    XMLWordPrintable

    Details

      Description

      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/ "

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ctomc Tomaz Cerar
                Reporter:
                ray25 raky k
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: