Skip to Content
0
Former Member
Feb 14, 2007 at 01:17 PM

Timeout Service??

26 Views

Hy,

I try to use Timeout service on WAS Java (NetWeaver 2004s SP10). But I get ClassCastException when i try to get TimeoutManager.

Context ctx = new InitialContext();
TimeoutManager tm = (TimeoutManager)ctx.lookup("timout") ;

When I make

Context ctx = new InitialContext();
Object o = tx.lookup("timout") ;
o.toString();

the result of o.toString() is <b>TimeoutManagerImpl</b> object.

Does anybody know where is problem??

Thaxs