I was able to make it work by unpacking the instant client in ashmon\bin
directory and using EZCONNECT to host name. This is my listener.ora
[oracle@medo admin]$ cat listener.ora
# listener.ora Network Configuration File: /oracle/product/11.2.0/
dbhome_2/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = medo)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
DEFAULT_SERVICE_LISTENER=HOME
ADR_BASE_LISTENER = /oracle
Of course, EZCONNECT must be in the sqlnet.ora. This enables me to
connect like this: sqlplus scott/tiger@localhost
Default service for listener is set in the listener.ora and EZCONNECT
allows me to use host

ort/service syntax to find my database. Now, we
can try ashmon.bat:
Z:\tmp\ashmon\bin>ashmon.bat
Z:\tmp\ashmon\bin>bltwish.exe ..\funcs\begin.tcl -colormap new
fixme:msg

ack_message msg 7f (WM_GETICON) not supported yet
fixme:msg

ack_message msg 7f (WM_GETICON) not supported yet
fixme:msg

ack_message msg 7f (WM_GETICON) not supported yet
fixme:msg

ack_message msg 7f (WM_GETICON) not supported yet
fixme:msg

ack_message msg 7f (WM_GETICON) not supported yet
fixme:msg

ack_message msg 7f (WM_GETICON) not supported yet
fixme:imm:ImmReleaseContext (0x10090, 0xe88440): stub
fixme:actctx

arse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:actctx

arse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.CRT" (8.0.50727.762)
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make
sure that ntlm_auth >= 3.0.25 is in your path.
err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind
package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x18f9158,0x00000001,0x18f9174) stub
fixme:advapi:LsaClose (0xcafe) stub
Error from thread 32
can't read "handle": no such variable
while executing
"::callback_mesg "$cur_proc:$handle""
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
fixme:x11drv:X11DRV_SelectPen PS_USERSTYLE is not supported
All those messages do not bother me, ashmon appears and works.
--
http://mgogala.byethost5.com