cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout Service??

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Ajdin,

As can be seen from <a href="http://help.sap.com/saphelp_nw04/helpdata/en/61/e176cb3fd64848966ecb58f8eecba2/frameset.htm">Services Overview</a> the Timeout service "is a non-distributed system used only internally by the J2EE Engine". You cannot use it within your custom application code, it's simply not supported by SAP.

Regards,

Vladimir