Thursday, April 23, 2009

WLST quirk with getServerRuntimes()

this:

connect(username,password,url)

domainRuntime()
cmo.getServerRuntimes()

will not work! Don't ask me why.

use instead:

domainRuntimeService.getServerRuntimes()

domainRuntimeService is a WLST predefined variable.
Strange, uh?





3 comments:

lava said...

I tried the logic to find JDBCRuntime Objects but it shows 0 in has Next. Could you elaborate further ? I use spring.jar in weblogic application to connect to my db server.

Pierre said...

sorry lava, I really have no energies to troubleshoot this issue, I'm already fighting with WebIllogic WebService security and bleeding too much...
Wow fantastic you live in Kathmandu, I really envy you, must be fantastic over there.

Pierre said...

actually I am also fighting with WebIllogic DisIntegration... war on multiple fronts... the troops are exhausted.