This content has been marked as final. Show 9 replies
We are following up on this. Appreciate your patience.
Please follow the below steps to get the Logs/View Log Messages menu item enabled for your target:
1) Create the log viewer registration xml file for your target type. The DTD for this xml file is oracle/sysman/emSDK/logmgmt/registration/LogMgmtTargetTypeRegistration.xsd
2) Make sure the created log viewer registration xml file is accessible from $PLUGIN_ROOT/metadata/logmgmt/ folder.
3) Install your Plugin.
A sample registration xml file content is,
<LogMgmtUITargetConfig TARGET_TYPE="%your targe type%">
OOB Log Viewer supports the FMW & FA targets which includes WebLogic J2EE Server, J2EE Applications, Custom J2EE Applications, HTTP Server, etc.. If your target is in this list, then the above registration is sufficient to get the logs for your target.
But if your target is not part of this list, then a custom log viewer implementation is required which should extend the oracle/sysman/emSDK/logmgmt/LogViewer.java and include this in the above registration xml.
Log Viewer UI is not customizable.
Thanks for the reply.
I couldn't get this working yet. I have created a folder named "logmgmt" inside metadata folder and added an xml file "LogMgmtsamplepluginRegistration". Now when i create plugin using command empdk create_plugin. It creates an error report which contains
+"Could not find the corresponding xsd to validate the Metadata serviceException while trying to write to C:\Users\TestUser\AppData\Local\Temp\logMgmt\partner\LogMgmtTargetTypeRegistration.xsd_partner: The meta data registration service Log Management Target Type Registration is not published to the plug-in Sample.Plugin.Demo"+
I think I am missing something else. Could you please help to identify the issue.
Hi,1 person found this helpful
I missed out one point.
The Log Viewer functionality will not be available for partner plugins or external plugins which are installed on top of EM 18.104.22.168 (PS1). This functionality is recently included and will be available in EM 22.214.171.124 (PS2). Hope this clarifies.
Thank you for the reply. I have been using the version 126.96.36.199.0. Will check this in the PS2 and let you know.
Meantime, was the plugin validation error I posted earlier is because of older version or am I missing something. Could you please clarify on that point too.
Yes. In 188.8.131.52, the Log Management Target Type Registration is not published for external plugins or partner plugins, so you are seeing this error.1 person found this helpful
The OEM's latest version available is 184.108.40.206, right? Any idea when they will release 220.127.116.11?
I am trying to figure out how to extend oracle/sysman/emSDK/logmgmt/LogViewer.java in our implementation. Could you please elaborate how to import this or where can I find this class. In my Flex implementation I tried importing oracle.sysman.emx but couldn't find emSDK or logmgmnt. Do I need to install anything else? Please help.