on 02-14-2007 1:17 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.