java.awt.HeadlessException
696618Apr 16 2009 — edited Apr 27 2009Hello.
I am working with Web services in Soa Suite Platform. I have developed a web service that create an instance of a class that extends of Thread. This class open an RTP session to start transmitting a video.
Well, when i test the web services with de debug and de embebbed server, everything is correct. But when i upload the web service to the application server and i try to execute the web service, this error is thrown:
javax.media.NoProcessorException: Error instantiating class: com.sun.media.processor.unknown.Handler : java.awt.HeadlessException
at javax.media.Manager.createProcessorForSource(Manager.java:1755)
at javax.media.Manager.createProcessor(Manager.java:666)
at audio.AVTransmitAudio.createProcessor(AVTransmitAudio.java:145)
at audio.AVTransmitAudio.startTransmission(AVTransmitAudio.java:93)
at audio.AVTransmitAudio.run(AVTransmitAudio.java:533)
I don't know why in the embebbed server everything is correct and when i try to test in the server not... I'm working with Windows OS.
Thank you.