We're using WebLogic 11g
with Oracle DB 11g
.
Perhaps there is no way to do it just using database queries since the deployment name of any application is stored on WL server.
The query below shows some useful info but I'm not able to see the deployed application name.
SELECT distinct a.program,
a.last_call_et,
a.osuser,
a.process,
a.machine,
a.port,
a.terminal,
a.sid,
a.module,
b.sql_text
FROM v$session a, v$sql b, v$process c
WHERE machine in ('wlservername') AND a.status = 'ACTIVE' AND a.sql_id = b.sql_id
and a.paddr=c.addr;