Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Server Audio(Server Audio does not work Helios)
Server Audio [message #654670] Wed, 16 February 2011 16:06 Go to next message
Peter  is currently offline Peter Friend
Messages: 5
Registered: February 2011
Junior Member
I have set up preferences to play an audio file when the server starts up. The "Play" button greys out however so I cannot actually test the .au or .wav files that I have associated with server events. I have played the sound files outside of Eclipse. I have ensured sound is enabled in Eclipse and the volume is at max. Still, when the server starts, no audio. I'm running Eclipse on a Windows XP machine.

TIA for your response.

[Updated on: Wed, 16 February 2011 16:08]

Report message to a moderator

Re: Server Audio [message #654680 is a reply to message #654670] Wed, 16 February 2011 16:10 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3799
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 16-Feb-11 09:06, Peter wrote:
> I have set up preferences to play an audio file when the server starts
> up. The "Play" button greys out however so I cannot actually test the
> .au or .wav files that I have associated with server events. I have
> ensured sound is enabled and the volume is at max. Still, when the
> server starts, no audio. Running on a Windows XP machine.
>
> TIA for your response.

There's not nearly enough information here to answer this question.
Moreover, it's almost certainly not a question for this Eclipse forum.
I'm guessing you'll not get it answered here for both reasons.
Re: Server Audio [message #654704 is a reply to message #654680] Wed, 16 February 2011 18:38 Go to previous messageGo to next message
Peter  is currently offline Peter Friend
Messages: 5
Registered: February 2011
Junior Member

I could have posted in Java Development Tools, I suppose. I thought this was a relatively easy answer and also assumed that perhaps the server section of Eclipse may not apply strictly to Java.
What forum would you suggest I use?

Additional information on my environment. The Eclipse version is Helios (also tried with Ganymede). The server is Tomcat 6.
Re: Server Audio [message #654731 is a reply to message #654704] Wed, 16 February 2011 20:00 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3799
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 16-Feb-11 11:38, Peter wrote:
>
> I could have posted in Java Development Tools, I suppose. I thought this
> was a relatively easy answer and also assumed that perhaps the server
> section of Eclipse may not apply strictly to Java.
> What forum would you suggest I use?
>
> Additional information on my environment. The Eclipse version is Helios
> (also tried with Ganymede). The server is Tomcat 6.

Eclipse web application answers are to be had in the Eclipse web tools
platform forum in general. I work that forum too, but there's not
anything like enough information for me to begin to answer you. (But
then, I'm not the brightest guy by any means.) If you suspect it's an
Eclipse question, you should try to tie it closer to Eclipse, describe
what you did, what you expected, and what didn't happen, etc.
Re: Server Audio [message #655238 is a reply to message #654731] Fri, 18 February 2011 18:57 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 2/16/11 3:00 PM, Russell Bateman wrote:
> On 16-Feb-11 11:38, Peter wrote:
>>
>> I could have posted in Java Development Tools, I suppose. I thought this
>> was a relatively easy answer and also assumed that perhaps the server
>> section of Eclipse may not apply strictly to Java.
>> What forum would you suggest I use?
>>
>> Additional information on my environment. The Eclipse version is Helios
>> (also tried with Ganymede). The server is Tomcat 6.
>
> Eclipse web application answers are to be had in the Eclipse web tools
> platform forum in general. I work that forum too, but there's not
> anything like enough information for me to begin to answer you. (But
> then, I'm not the brightest guy by any means.) If you suspect it's an
> Eclipse question, you should try to tie it closer to Eclipse, describe
> what you did, what you expected, and what didn't happen, etc.

I think he's talking about the section of the Preferences (Server >
Audio) where you can configure Eclipse to play a sound for various JEE
server lifecycle events. I just went there myself and also found that
the Play button does not ever seem to enable.

Peter, did you ask about this on the Web Tools (WTP) forum group as Russ
recommended?

Eric
Re: Server Audio [message #655589 is a reply to message #655238] Mon, 21 February 2011 20:25 Go to previous messageGo to next message
Peter  is currently offline Peter Friend
Messages: 5
Registered: February 2011
Junior Member
Eric

Yes I posted to the WTP forum as suggested.

I actually got the audio working once, but it has reverted to its non-working state.

Thanks for your help.
Re: Server Audio [message #1786527 is a reply to message #654670] Sat, 05 May 2018 11:18 Go to previous message
Charlie Hurrell is currently offline Charlie HurrellFriend
Messages: 1
Registered: May 2018
Junior Member
(First of all, I know it is horribly bad form to resurrect old posts, let alone something this old, but this might help future Google searchers like myself).

I found how to get the server audio working thanks to a very helpful comment from this StackOverflow link: (I can't post a working link, but you can work it out from this)
//stackoverflow.com/questions/7436739/getting-audio-feedback-from-eclipse

Firstly, make sure your audio files are set up in Preferences --> Server --> Audio, make sure they are all ticked and that the volume is set above 0. Don't worry that the Play button doesn't work, I don't think it ever does.

Close the preferences window, now here's the bit that you need to know:
You need to right click on your server in the "Servers" view (not the "Package Explorer" view), and click on Properties. In here you should see a property called Location, which is probably set to [workspace metadata]. There should be a button next to it called "Switch Location", press that.

This changed the Location property to a more exact path to my server, although it may say something else for a different machine. No matter what it says, this should also fix the audio problem. This still doesn't fix the "Play" button greying out in the regular Eclipse properties section, but the sounds should now work when you start the server.

(Sorry again for reviving an old thread, but this was bugging me for ages and I thought I might be able to help someone else)
Previous Topic:Slow refactory/deleting
Next Topic:JavaScript auto-complete stopped working after restarting eclipse
Goto Forum:
  


Current Time: Sun May 20 19:52:51 GMT 2018

Powered by FUDForum. Page generated in 0.03720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top