I m trying to start a weblogic managed server from ant task.But by using wlserver tag I can start the server in the command prompt. But I need to run this as a service without any console.
Could any one please help me.
Thanks in advance,
Ant sounds like the wrong tool, then.
Why no console? Or are you really saying that you want to start weblogic in the background, and leave it running after ant quits, console or no console (or at least, console redirected to a file)?
On a unix system, I've used ant to drive a shell to drive GNU screen to do this. It's ugly, but effective.
Use Shell script .. very powerfull and effective