WebLogic log viewer
Hi,
I am using normal text editors (gVim, TextPad, Notepad++, less) to view WebLogic log files,
but I feel that they are terribly limited -
for instance I would like to filter log lines in a time interval
or to display only log lines from a given thread
or to join multiple log files based on timestamp
etc etc.
Which tool do you normally use to accomplish that?
Thank you so much!
Pierre
Hi Marcelo,
In 11g you won't similar engine-log that we use to get.
here you will get everything under 'soa_server1-diagnostic-log' file under <fmw_home>user_projects/<domain_home>/servers/soa_server1/logs/
Also you can set the log-level to FINEST from em console to get more details.
Let me know if your are getting this or not.
Thanks,
Biltu
Similar Messages
-
How to view weblogic log files from a browser
Hi,
I am running WebLogic Server 7.03 on Solaris 8.
I have one Admin and multiple Managed servers running.
Each creates its own log file.
Is there anyway I can access this log files from the browser ?
In Apache, you can create a link from htdocs dir to the logs dir
and then view the log files from the browser. Is there a similar
mechanism in Weblogic server.
A quick response is well appreciated.
Thanks in advance.
-Anil VarmaIf you are on a unix system you can do something similar by making an open
directory webapp with symbolic links to the weblogic log directories. I suggest
that you protect that webapp with administration access only.
Sam
Anil Varma wrote:
Hi,
I am running WebLogic Server 7.03 on Solaris 8.
I have one Admin and multiple Managed servers running.
Each creates its own log file.
Is there anyway I can access this log files from the browser ?
In Apache, you can create a link from htdocs dir to the logs dir
and then view the log files from the browser. Is there a similar
mechanism in Weblogic server.
A quick response is well appreciated.
Thanks in advance.
-Anil Varma -
Providing developers with access to WebLogic logs
Hi all,
I keep getting asked by developers for access to WebLogic logs in restricted test environments. But due to security policies, I can't just create an account for them. In one of my previous roles we just gave developers access to a WeLogic monitor account (read-only), but I find the WebLogic admin console is not user friendly for viewing logs.
To overcome this, I created a really simple WebLogic app that lets the developers access all logs files on the managed servers.
I've blogged a quick how-to here for anyone interested in doing the same: [http://connectionserver.blogspot.com/2009/05/listing-directories-simple-weblogic.html|http://connectionserver.blogspot.com/2009/05/listing-directories-simple-weblogic.html]
Hope it helps someone :)
P.S. Perhaps someone could modify it to restrict access to certain roles.
-Mr Jones.You may run into incompatible class versions issue. Basically you have altogehter 2 different JVMs. One for EJBs (utility framework as you defiined using 1.3). Another JVM is weblogic server using JDK 1.6 where you have Client to remotely access those EJBs methods. Going back, when you generate the client stubs and skeletons, and refer them on your client side, did you ran into any issues like with incompatible class versions.
Goud -
Hi,
I am using weblogic5.1. I use System.out.println() to output messages to Weblogic console. But I cannot see these messages in weblogic.log. If I start weblogic as Windows service, since there is no weblogic console, I cannot see any messages outputed using System.out.print(). Is there any way to configure such that I can direct System.out.println() messages to weblogic.log, or any other file so I can view these messages.
Thanks a lot.
Zhe
[email protected] wrote:
> I would want to think so to,
> But I guess Weblogic grabs the Out variable first (and make a private copy
> for itself ...?)
Strange - I thought it does this to redirect all System.out.println's to it's
log, but looking at the System.out in the debugger shows that it's the same
one System.initializeSystemClass() created.
> Dimitri do you know of any "undocumented" JDK property to set the standard
> op stream ...other than
> java xxx > mylog.txt ?
Nop. I guess you can get clever and do it as a part of the 1.4 logging initialization
(called by System.initializeSystemClass()).
> peace,
> _NR
> "Dimitri I. Rakitine" <[email protected]> wrote in message
> news:[email protected]...
>> [email protected] wrote:
>> > Hmmm..tough call.. A cheap way would be to set
>>
>> > System.setOut(PrintStream out) to some file or something... before the
> first
>>
>> I thought that WebLogic does it by itself, doesn't it?
>>
>> > System.out.printX() gets called...
>>
>> > peace,
>> > -NR
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> > "Zhe Liu" <[email protected]> wrote in message
>> > news:[email protected]...
>> >>
>> >> Thank you very much for you reply.
>> >>
>> >> Does that mean I have to use the LogServicesDef to replace all
> System.out
>> > in my
>> >> code? I am wondering whether there is a way to see the System.out
> messages
>> > without
>> >> changing code, say, just change the configuration or
> weblogic.properties.
>> > I have
>> >> many JSP pages and I am encounting a problem that weblogic will die by
>> > itsself
>> >> in production. But I have no idea which page may cause the problem. It
>> > will be
>> >> very helpful if I can see all the messages sending to System.out. But
> it
>> > is difficult
>> >> to change all source code in a short time.
>> >>
>> >> Zhe
>> >>
>> >> <[email protected]> wrote:
>> >> >As far as I remember there is a way to do that in WLS 5.1 ,using the
>> >> >LogServicesDef and I am not sure if they were deprecated !!
>> >> >
>> >> >http://www.weblogic.com/docs51/classdocs/API_t3.html#services
>> >> >
>> >> >and
>> >> >
>> >> >http://www.weblogic.com/docs51/classdocs/API_servlet.html
>> >> >
>> >> >T3ServicesDef t3s = T3Services.getT3Services();String consoleEnabled
>> >> >=
>> >> >t3s.config().getProperty("weblogic.system.enableConsole");String
> logmsg
>> >> >=
>> >> >"bla set to " + bla + " at " + new
>> >> >java.util.Date();LogServicesDef logger = t3s.log();logger.log(logmsg);
>> >> >"Zhe Liu" <[email protected]> wrote in message
>> >> >news:[email protected]...
>> >> >> Hi,
>> >> >>
>> >> >> I am using weblogic5.1. I use System.out.println() to output
> messages
>> >> >to
>> >> >Weblogic console. But I cannot see these messages in weblogic.log. If
>> >> >I
>> >> >start weblogic as Windows service, since there is no weblogic console,
>> >> >I
>> >> >cannot see any messages outputed using System.out.print(). Is there
> any
>> >> >way
>> >> >to configure such that I can direct System.out.println() messages to
>> >> >weblogic.log, or any other file so I can view these messages.
>> >> >>
>> >> >> Thanks a lot.
>> >> >>
>> >> >> Zhe
>> >> >
>> >> >
>> >>
>>
>>
Dimitri
-
Unable to see custom Trace messages in Log Viewer which were defined in UDF
Hello Experts, I am not able to see my trace messages in Log Viewer. I have a small user defined fuction which takes a variable and returns its uppercase and while do that it writes few warning level trace messages in the trace file. I've tried changing the levels from Warning to Info but I still don't see anything in my Log Viewer. At this point I am not even sure if I am looking at right place. When I test my mapping in Message Mapping's Test tab it works fine and shows me all my trace messages. But when I do end to end it is not writing anything to the trace file. I've tried to use instructions from following blogs:
1. /people/michal.krawczyk2/blog/2007/04/30/xipi-personalized-logging-tracing(logging and tracing)
2. /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni (logging and tracing)
3. /people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi(for my UDF)
but I still don't see traces in my Log Viewer. Please let me know if I am doing anything wrong here.
Thanks in advance!!
==============================================================
public String TraceVar(String var1, Container container) throws StreamTransformationException{
AbstractTrace importanttrace; //create an instace of AbstractTrace
importanttrace = container.getTrace(); //get trace
importanttrace.addWarning("FiletoFileMP:MyUdflibrary: " + var1); //write first message to the trace
// fix the naming conventions later
String SenderName; // declare multiple vars to store infos
String ReceiverName;
String interface_name;
String message_ID;
String time_Sent;
java.util.Map map;
map = container.getTransformationParameters();
//get interface info into the variables
time_Sent = (String) map.get(StreamTransformationConstants.TIME_SENT);
message_ID = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
interface_name = (String) map.get(StreamTransformationConstants.INTERFACE);
SenderName = (String) map.get(StreamTransformationConstants.SENDER_NAME);
ReceiverName = (String) map.get(StreamTransformationConstants.RECEIVER_NAME);
//post interface info to the trace
importanttrace.addWarning("Time Sent: " + time_Sent);
importanttrace.addWarning("Message ID: " + message_ID);
importanttrace.addWarning("Interface Name: " + interface_name);
importanttrace.addWarning("Sender Name: " + SenderName);
importanttrace.addWarning("Receiver Name: " + ReceiverName);
//convert var1 to uppercase to make sure this function has be executed
return var1.toUpperCase();
Edited by: Mayur Patel on May 5, 2009 11:03 PMThank you Prateek for a quick response.
Yes I was able to see my trace messages in SXMB_MONI. Below is my the info... This is great. I am still not sure why this info is not showing up in Log Veiwer's (default trace) window. Any ideas? Since this XML file contains lots of other information I was wondering how to put my trace messages into the log viewer.
Thanks!!
<Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
<Trace level="2" type="T">FiletoFileMP:MyUdfLibrary: Honda</Trace>
<Trace level="1" type="T">FiletoFileMP:MyUdfLibrary: Honda</Trace>
<Trace level="1" type="T">Time Sent: 2009-05-05T16:16:39Z</Trace>
<Trace level="1" type="T">Message ID: 366CEAF14D3B410033AFDDB71CD2AF73</Trace>
<Trace level="1" type="T">Interface Name: SIC_Car_Outbound</Trace>
<Trace level="1" type="T">Sender Name: SIC_Car_Outbound</Trace>
<Trace level="1" type="T">Receiver Name: SI_Car_Inbound</Trace>
<Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace> -
How to write to weblogic.log from JSP ?
It is possible to write some messages to weblogic.log from JSP?
Use weblogic.logging.LogOutputStream class to log messages into
weblogic.log file.
javap on weblogic.logging.LogOutputStream
for e.g
<%@ page import="weblogic.logging.*" %>
<%
LogOutputStream los = new LogOutputStream("TEST");
los.error("Writing into Log file");
%>
Hope this helps.
--kumar allamraju
Mikhail Ershov wrote:
> It is possible to write some messages to weblogic.log from JSP?
-
Error when trying to use the Log Viewer
Hello experts, today I wanted to examine some logs using the Log Viewer on Visual Administrator. However, when clicking on this service, the Visual Administrator would freeze for a long while and after that, an error message was displayed. I do not remember the exact message, but it was something like "A fatal error occurred. For more information, click on the Details button". After clicking on that button, the following error was displayed:
com.sapmarkets.bam.util.BAMRuntimeException
at com.sapmarkets.bam.jmx.connector.rmi.AbstractConnectorClient.invoke(AbstractConnectorClient.java:110)
at $Proxy31.getAttribute(Unknown Source)
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getAttribute(AbstractLogDepot.java:236)
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getLogDescriptors(AbstractLogDepot.java:84)
at com.sapmarkets.bam.view.config.RemoteViewConfiguration.initializeViewConfiguration(RemoteViewConfiguration.java:65)
at com.sapmarkets.bam.view.overview.OverviewFacade.populateOverview(OverviewFacade.java:219)
at com.sapmarkets.bam.view.AbstractLogViewerAppplication.populateOverview(AbstractLogViewerAppplication.java:171)
at com.sapmarkets.bam.view.AbstractLogViewerAppplication.initOverview(AbstractLogViewerAppplication.java:652)
at com.sapmarkets.bam.j2ee.services.logviewer.gui.LogViewerRuntimeLogical.setRuntime(LogViewerRuntimeLogical.java:121)
at com.sapmarkets.bam.j2ee.services.logviewer.gui.LogViewerRuntimeLogical.show(LogViewerRuntimeLogical.java:88)
at com.sap.engine.services.adminadapter.gui.node.ServiceNodeView.selectSingleService(ServiceNodeView.java:202)
at com.sap.engine.services.adminadapter.gui.node.ServiceNodeView.selectNode(ServiceNodeView.java:156)
at com.sap.engine.services.adminadapter.gui.AdminManager.selectServiceNode(AdminManager.java:290)
at com.sap.engine.services.adminadapter.gui.AdminManager.selectNode(AdminManager.java:170)
at com.sap.engine.services.adminadapter.gui.AdminManager.valueChanged(AdminManager.java:108)
at javax.swing.JTree.fireValueChanged(JTree.java:2392)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.JTree.setSelectionInterval(JTree.java:2041)
at javax.swing.plaf.basic.BasicTreeUI$TreeIncrementAction.actionPerformed(BasicTreeUI.java:3268)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2473)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at java.awt.Component.processEvent(Component.java:4978)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3684)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3546)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3575)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3546)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Caused by: java.lang.reflect.InvocationTargetException
at com.sapmarkets.bam.util.FutureResult.get(FutureResult.java:71)
at com.sapmarkets.bam.jmx.connector.rmi.AbstractConnectorClient.invoke(AbstractConnectorClient.java:104)
... 45 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at javax.management.ObjectName.construct(ObjectName.java:385)
at javax.management.ObjectName.readObject(ObjectName.java:1063)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1736)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at java.util.ArrayList.readObject(ArrayList.java:559)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1736)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at java.util.HashMap.readObject(HashMap.java:1015)
at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1736)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1835)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
The lines I marked in bold are the ones that caught my attention. What is this error and how can I fix it?Hello, thanks for your answers. I checked the JVM Heap size, we are using a 64 bit HW, and it was already set to 2048M, as well as both parameters Xms and Xmx. I also checked our virtual memory and directory space, the virtual memory looks fine, and the <SID> directory uses 5 GB of space.
If you wish, I can write the configuration found on the Config Tool, where you set the JVM Heap size and other parameters. -
Error in weblogic.log using weblogic 6.1
I have this error in my weblogic.log file. I do not know the reason for the
error. What is the error about?
####<Oct 7, 2002 1:23:34 PM PDT> <Error> <Management> <hewlett-yf9yyzb>
<myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'>
<system> <> <140001> <Error getting attribute EJBName.MethodName on MBean
mydomain:Application=test,AssemblyDescriptor=AssemblyDescriptor-4,ContainerT
ransaction=ContainerTransaction-4,EJBComponent=sempire_bc,EJBDescriptor=EJBD
escriptor-4,EJBJar=EJBJar-9,Location=myserver,Name=Method-12,Type=Method.
Method: null>
javax.management.AttributeNotFoundException: EJBName.MethodName
at
weblogic.management.internal.DynamicMBeanImpl.getXAttributeInfo(DynamicMBean
Impl.java:1643)
at
weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.
java:502)
at
weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.
java:477)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:118
3)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:115
3)
at
weblogic.management.internal.MBeanProxy.getOneAttribute(MBeanProxy.java:283)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:199)
at $Proxy77.getAttribute(Unknown Source)
at
weblogic.management.console.utils.MBeans.getDisplayNameFor(MBeans.java:705)
at
weblogic.management.console.utils.ConsoleComparator.compare(ConsoleComparato
r.java:83)
at java.util.Arrays.mergeSort(Arrays.java:1176)
at java.util.Arrays.sort(Arrays.java:1123)
at java.util.Collections.sort(Collections.java:116)
at weblogic.management.console.utils.MBeans.sort(MBeans.java:1101)
at
weblogic.management.console.tags.DeclareBeanSetTag.doStartTag(DeclareBeanSet
Tag.java:96)
at
weblogic.management.console.webapp._ejb._ejb20.__nav._jspService(__nav.java:
4606)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:482)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:308)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
at
weblogic.management.console.webapp._ejb.__nav._jspService(__nav.java:177)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:242)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
at
weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java
:35)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:171)
at
weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServl
et.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2546)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Ronak ParekhIt looks like an error/bug in the deployment descriptor editor in the
console.
-- Rob
Ronak Parekh wrote:
I have this error in my weblogic.log file. I do not know the reason for the
error. What is the error about?
####<Oct 7, 2002 1:23:34 PM PDT> <Error> <Management> <hewlett-yf9yyzb>
<myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'>
<system> <> <140001> <Error getting attribute EJBName.MethodName on MBean
mydomain:Application=test,AssemblyDescriptor=AssemblyDescriptor-4,ContainerT
ransaction=ContainerTransaction-4,EJBComponent=sempire_bc,EJBDescriptor=EJBD
escriptor-4,EJBJar=EJBJar-9,Location=myserver,Name=Method-12,Type=Method.
Method: null>
javax.management.AttributeNotFoundException: EJBName.MethodName
at
weblogic.management.internal.DynamicMBeanImpl.getXAttributeInfo(DynamicMBean
Impl.java:1643)
at
weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.
java:502)
at
weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.
java:477)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:118
3)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:115
3)
at
weblogic.management.internal.MBeanProxy.getOneAttribute(MBeanProxy.java:283)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:199)
at $Proxy77.getAttribute(Unknown Source)
at
weblogic.management.console.utils.MBeans.getDisplayNameFor(MBeans.java:705)
at
weblogic.management.console.utils.ConsoleComparator.compare(ConsoleComparato
r.java:83)
at java.util.Arrays.mergeSort(Arrays.java:1176)
at java.util.Arrays.sort(Arrays.java:1123)
at java.util.Collections.sort(Collections.java:116)
at weblogic.management.console.utils.MBeans.sort(MBeans.java:1101)
at
weblogic.management.console.tags.DeclareBeanSetTag.doStartTag(DeclareBeanSet
Tag.java:96)
at
weblogic.management.console.webapp._ejb._ejb20.__nav._jspService(__nav.java:
4606)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:482)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:308)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
at
weblogic.management.console.webapp._ejb.__nav._jspService(__nav.java:177)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:242)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
at
weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java
:35)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:171)
at
weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServl
et.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2546)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Ronak Parekh -
Canu00B4t see log with J2EE Visual Admin or Standalone Log Viewer
Bom dia!
When logging on Log Viewer, it shows de error message: Unable to invoke LogControllerFacadeMBean method:"getMetaDataOfReaders" In J2EE Visual Admin the error message after click in the item Log Viewer is Error while loading service Log Viewer
When I click in defaultTrace.trc nothing appears. The same for the others log archives listed in Log Viewer.
Can someone help me with this?
Very thanks from Spain.
In the console I see the following java exception:
Exception in thread "AWT-EventQueue-0" com.sapmarkets.bam.util.BAMRuntimeExcepti
on: Unable to invoke LogControllerFacadeMBean method: "getMetaDataOfReaders".
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.invokeFacade
Method(AbstractLogDepot.java:225)
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getMetaDataO
fReaders(AbstractLogDepot.java:303)
at com.sapmarkets.bam.view.config.AbstractViewConfiguration.getColumnInf
oFromServer(AbstractViewConfiguration.java:218)
at com.sapmarkets.bam.view.config.AbstractViewConfiguration.readSetting(
AbstractViewConfiguration.java:126)
at com.sapmarkets.bam.view.config.AbstractViewConfiguration.getColumnSet
tingForLogType(AbstractViewConfiguration.java:247)
at com.sapmarkets.bam.view.buffertable.ContentPane.obtainColumnSettings(
ContentPane.java:915)
at com.sapmarkets.bam.view.buffertable.ContentPane.<init>(ContentPane.ja
va:127)
at com.sapmarkets.bam.view.AbstractLogViewerAppplication.makeTablePane(A
bstractLogViewerAppplication.java:423)
at com.sapmarkets.bam.view.AbstractLogViewerAppplication.displayLogs(Abs
tractLogViewerAppplication.java:474)
at com.sapmarkets.bam.view.overview.OverviewFilePathTreeWrapper.openLog(
OverviewFilePathTreeWrapper.java:334)
at com.sapmarkets.bam.view.overview.OverviewFilePathTreeWrapper$TreeMous
eListener.mousePressed(OverviewFilePathTreeWrapper.java:359)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:26
3)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:26
2)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:26
2)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy0.invoke(Unknown Source)
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.invokeMBeanM
ethod(AbstractLogDepot.java:163)
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.invokeFacade
Method(AbstractLogDepot.java:206)
... 33 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sapmarkets.bam.jmx.connector.AbstractLVServer.invoke(AbstractLVSe
rver.java:184)
at com.sapmarkets.bam.jmx.connector.rmi.IntegratedConnectorClient.invoke
(IntegratedConnectorClient.java:107)
... 36 more
Caused by: javax.management.ReflectionException: No such operation: getMetaDataO
fReaders
at com.sun.jmx.mbeanserver.PerInterface.noSuchMethod(PerInterface.java:1
52)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:94)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761
... 42 more
Caused by: java.lang.NoSuchMethodException: getMetaDataOfReaders()
at com.sun.jmx.mbeanserver.PerInterface.noSuchMethod(PerInterface.java:1
50)
... 46 moreHello Ivan,
Make sure that you are using a supported JDK version as per note below:
723909 Java VM settings for J2EE 6.40/7.0
And also, make sure that the necessary environment variables are pointing to the correct JDK version.
Regards,
Rafael -
HOW TO VIEW DATA IN LOG VIEW - PROCESS CHAIN?
HAI FRIENDS,
I SIMULTANEOUSLY LOADED DATA INTO ODS AND INFOCUBE....I USED THE PROCESS CHAIN TO LOAD DATA.. BUT AFTER ACTIVATING, I COULD N'T VIEW THE DATA IN THE LOG.AFTER THAT I FOUND OUT DATA IS NOT LOADED INTO THE ODS ..SO I ACTIVATED IT AGAIN.. DID THE PROCESS CHAIN ACTIVATE.. EVEN AFTER THAT I COULD NOT VIEW DATA IN LOG VIEW AND ALSO WHEN I CLICK ON LOAD DATA PROCESS(ODS) NO DATA IS FOUND.. PLS HELP OUT
WITH REGARDS
APPUHi,
Go to the manage screen for that ODS. See teh relevent request and find how many records were transferred and how many added.
If it is zero added records, then check for any rules.
Arun
Assign pts if useful -
How to use weblogic.logging classes in 6.0
Hi,
We developed a number of logging classes under 5.1. One used
weblogic.logging.LogOutputStream to write messages out to the log. This
code no longer works under WLS 6.0. Everything compiles and runs but I
don't see any of our messages in any of the log files. Judging from the 6.0
JavaDoc, it looks like LogOutputStream is no longer supported. So I
switched over to using NonCatalogLogger. Same results - no output in the
logs.
What am I missing?
Thanks.
-brianMy coding error. weblogic.logging.* classes work just fine in 6.0 (he said
sheepishly)!
-b
"Brian J. Levine" <[email protected]> wrote in message
news:[email protected]..
Hi,
We developed a number of logging classes under 5.1. One used
weblogic.logging.LogOutputStream to write messages out to the log. This
code no longer works under WLS 6.0. Everything compiles and runs but I
don't see any of our messages in any of the log files. Judging from the6.0
JavaDoc, it looks like LogOutputStream is no longer supported. So I
switched over to using NonCatalogLogger. Same results - no output in the
logs.
What am I missing?
Thanks.
-brian -
Hi to all
I'm newbie to SQL Server.
I'm trying to configure the server (Enterprise ver. 11) to track change regarding insert/update/delete of records inside a simple single table.
I dont know exactly what and how the audit features of SQL Server write and track, but I need a table where I can read the changes on some table or some field of that tables.
I made some empirical temptatives.
I created the Audit Server (on Security of database instance). Then I created the "Server Audit Specification"...where I specified UPDATE as type, OBJECT...my table, and entity... my user that connect to database (For this temptative I'm using
a Access database linked/connected by ODBC. Work good because I see the changes made in Access, inside the SQL Management Studio).
than I activated the Audit Server... then activated Audit Specification (on my database schema).
I made some change on table... but I see empty the View Log Viewer.
I try to configure the audit server as file or as application. I don't know if the problem is there.
Could someone give me some basic/dummie suggestion?
thank you.
Daniele.b75Hi,
Alternately, you can create a trigger to audit the table and then write certain information to another table. Here is a sample code.
create table demo
( c1 varchar(50)),
c2 varchar(50)),
go
create table audit_demo
old_c1 varchar(50)),
old_c2 varchar(50)),
audit_UserID varchar(50)),
audit_Timestamp datetime,
audit_action varchar(50))
go
create TRIGGER updDemo
ON demo
for UPDATE
as
if(UPDATE(c2))
begin
INSERT INTO audit_demo
(old_c1,
old_c2,
audit_UserID,
audit_Timestamp,
audit_action)
SELECT c1,c2,SUSER_SNAME(),GETDATE(),'update'
FROM deleted
end
insert into demo values('a','p')
insert into demo values('b','p')
insert into demo values('c','p')
insert into demo values('d','p')
demo for update trigger
select * from demo
select * from audit_demo
update demo set c2='ppp' where c1='b'
go
select * from demo
select * from audit_demo
Thanks.
Tracy Cai
TechNet Community Support -
Log Viewer Error In MII 12.1
Hi All,
I am getting an error in log viewer in SAP MII 12.1 version(Netweaver 7.1).
When I am tring to open the log viewer ,It is giving the error Connection refuse.
Please do let me know if someone know anything about issue.
Thanks,
Ritim JainHi Ritim,
As I think its roles issue with your user ID
Can let us know the what roles has been assigned to that user ID
Regards,
Praveen Reddy -
Automatic Activities and Log Viewer
Hi.
I'm trying and make a very simple data processing but I need to implement in an automatic activity.
Someone knows what is an activity which is its automatic or similar activity in the BPM 11G automatic.?
Also as I can see the output or the log, similar to the log viewer in BPM Version 10.3.?
Thanks.!Hi(Bonjour)!
Help us to help you. What are:
-your mac model?
-RAM amount?
-Mac OS version ?
-Quicktime version?
-your camcorder model?
-the format it shoots?
-How (what mac's port)do you connect your camcorder?
-do you use external hard drive?
-how this drive is formatted?
-How is it connected?
-Dou you use filevault in system preferences?
-Does timemachine currently performs a backup?
-Is there any heavy process/application used in background?
Michel Boissonneault -
Creating a Custom Event Log View Shortcut on a server desktop for an admin
Good morning,
We have a new admin starting and I would like to create custom event log view shortcut on there desktop for each server they need to check. Is there a way to do this in Server 2012 and Server 2008?
I have figured out how to create a shortcut of the Application and System log, but not Custom Views. Thanks.Hi,
Based on my research, you can create a custom view like
this.However, I tried miltiple ways to create a shortcut of the custom view of the event viewer and no result. I can only create a shortcut of the event viewer. You may need a script can achieve that.
Best regards,
Susie
Maybe you are looking for
-
Can we call java function in java script????
hello please tell me can i call a java function through java script function in jsp???
-
Swing problem: table is not refreshed when i open it from jdialog
Hi , my situation is this one : 1. i have a swing form. 2. i have created a panel form where i have a drop down list and a table. wich are depndend with each other. When i choose an item to the drop down list the value in the table is changed. 3. i i
-
Disk Utility-Permissions Repair doesn't seem to repair anything
I have recently installed Leopard, and so far I haven't had any serious issues. However, I used the 'Repair Permissions' function in Disk Utility today, and it doesn't seem to have repaired anything. As a rule, I run 'Repair Permissions' two times in
-
Nokia C7 - "Service Temporarily Unavailable. Try a...
I bought Nokia C7 today. Working fine but for one issue. I've tried setting up email for the past 2 weeks. It keep giving the same error "Service Temporarily Unavailable. Try again later." I don't have any trouble connecting to the internet - both on
-
Hi, I am not sure if you discuss this here, if not let me know where to ask. I am now using Macbook (2gb of Ram, 2.2 Ghz, 120GB hard drive - bought it a year ago). I am mostly working with photos, editing a lot of raw files and my mac is now powerful