Log Viewer: Unable to obtain a valid configuration - BAMRuntimeException
Hi All,
We have problems working with the Visual Administrator -> Log Viewer
tool.
excuting the Visual Administrator -> F:\usr\sap\<SID>\J(XXX)\j2ee\admin>go.bat
Login with the user Administrator.
Click On: Cluster -> PEP -> Server X X_XXXXX -> Services -> Log Viewer.
Them you get the following error:
Unable To Obtain a Valid Configuration ->
com.sapmarkets.bam.util.BAMRuntimeException
The Problem is in all our Portals System Landscape: DEV, QA, PRD.
Best Regards,
Erick Ilarraza
Hi All,
We solved the problem. You have to deleted the old archive files. **J2ee/Cluster/Server<n>/log/archive.
Them the Log Viewer works.
Best Regards,
Erick Ilarraza
Similar Messages
-
Error: Logon rejected for Unable to obtain Terminal Server User Configuration. Error: Not enough resources are available to complete this operation.
The problem is that the SharePoint server will
function just fine for a week or so and then suddenly when a new user tries
to log on they get an error message indicating that not enough resources areavailable to
log them on and also user will to credential prompt while accessing share point site .
RajHi,
According to the error message, please use performance monitor to diagnose if it is a memory-related bottleneck and you can use the counters of the memory part in the article below:
https://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx
In addition, it may be due to thousands of open connections to the server are in a TIME_WAIT state. You can run "netstat -an" command on the affected server and client. If you see mutiple connections in the TIME_WAIT state, you can follow the article
to increase the number of TCP/IP connections:
https://msdn.microsoft.com/en-us/library/ee377084(v=bts.70).aspx
Furthermore, if you are running windows server 2003, please make sure that you have installed the KB 948496 and stop all services that you don't need.
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Unable to view latest default trace in log viewer
Hello all,
We have NW 7.0 J2EE production server. We have a CI and two application servers.
Our SP level is SP18.
The DB is oracle and the operating system in RHEL 4.
I have a problem in viewing the default trace files in log viewer using the visual administrator.
I am able to view the old default trace but unable to view the latest trace data generated.
I am facing this problem when i try to view the logs of a particular application server.
Able to view the latest default trace properly for CI and the other application server. Problem lies only with a single application server.
I have also check the permissions in OS level for the trace files. Everything looks fine.
Could some one give me a clue on how to solve this issue.
Regards,
ChandruHello Joey,
The trace file isnt too big....
We have set the file size as 10 MB.
We have some 15 to 16 default trace files for each of the server process and we have 3 server process in that application server.
The ForceSingleTraceFile parameter is set as YES in visual admin.
So the logs will be displayed in visual admin as a single default trace file.
Hope I had provided the inputs you have asked...
Regards,
Chandru -
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> -
Netscape.javascript.JSException: Unable to obtain Document object
Hi all.
I'm fighting against a very unusual problem involving applets and, probably, version 1.4.2_XX of the jre (in fact i've been looking for an answer over the Internet and I've found only one item related in the java programming forum. Unfortunately it was not resolved on any of the answers http://forum.java.sun.com/thread.jsp?thread=452400&forum=31&message=2532663).
The thing is that the applet is unable to obtain any information about the parameters passed through the page; consequently, it finally crashes showing this ugly message:
netscape.javascript.JSException: Unable to obtain Document object
at sun.plugin.AppletViewer.getDocumentBase(Unknown Source)
at sun.plugin.AppletViewer.getCodeBase(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)as I said I've been looking for information over the Internet but it seems that few people knows about it. Any suggestion? Does anybody knows if it is a mater of the IExplorer?
The configuration of the client machine is:
Windows XP SP1
IExplorer 6.0
Although the same has ocurred over:
Windows 2000
IExplorer 6.0
Thank you for your time.Can you reproduce this error with html and applet code (and post this code)?
A full trace might tell you something:
To turn the full trace on you can start the java console, to be found here:
C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
In the advanced tab you can fill in something for runtime parameters fill in this:
-Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
The trace is here:
C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log -
Applet throws "Unable to obtain Document object"
Hello,
I have an applet in a html-page and a link to show the applet (in a later version this should be a menu with links to different applets).
If I click very often (click,click,click,click) on the link I get an exception (see below).
Used environment:
- Windows 2000 English
- Internet Explorer 6
- Java(TM) Plug-in: Version 1.4.2, Using JRE version 1.4.2 Java HotSpot(TM) Client VM
Here are my 4 tiny source-codes:
1. My test Applet:
import java.util.*;
import javax.swing.*;
public class BigApplet extends JApplet {
Vector vec = new Vector();
public void init() {
this.getContentPane().add(new JLabel("BigApplet"));
for (int i = 0; i < 10; i++) {
vec.add(new Object[250000]);
}And 3 HTML-Pages:
2. Frame.html
<html>
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="link.html" name="menuFrame" noresize marginheight="0" marginwidth="0">
<frame name="applet" noresize marginheight="0" marginwidth="0">
</frameset>
</html>3. Link.html
<html>
<a href="applet.html" target="applet">Applet</a>
</html>4. Applet.html
<applet code="BigApplet.class" codebase="bin" />The three html pages are in the same directory and the BigApplet.class is in the bin-folder of this directory.
If I start the frame.html from Explorer and than click very fast (about 5 to 10 times) on the link to the applet I get this exception:
netscape.javascript.JSException: Unable to obtain Document object
at sun.plugin.AppletViewer.getDocumentBase(Unknown Source)
at sun.plugin.AppletViewer.getCodeBase(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)If the applet is delivered by a webserver (tried IIS and Apache) the Internet Explorer crashes without a message. In that case I get a different exception (found in the log file of the java console):
java.lang.NullPointerException
at sun.plugin.util.URLUtil.canonicalize(Unknown Source)
at sun.plugin.AppletViewer.getDocumentBase(Unknown Source)
at sun.plugin.AppletViewer.getCodeBase(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)Any idee what to do to be sure that an user can not produce this error?
Bye
ThomasHello, I am getting the same error under different circumstances. No clicking is involved. What I need to know is what causes the error? Anyone know?
And levi_h - the end users of applets often get impatient when they don't see immediate results and will click and click and click and click, thinking that somehow they are helping the situation. You may feel they deserve to be punished, but the powers that be who are the customers who will deploy our applets don't feel that way at all, and they are the ones that pay our salaries and allow us to be sheltered, clothed, fed and send our kids to college! -
Unable to Obtain a Connection to Hyperion Essbase from Planning Application
Dear All,
I have installed FDM+Foundation+HFM+Essbase+Planning 11.1.1.3 (Tomcat)
I have stacked with the following problem:
when I try to open my data form, I am getting
“Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator”
Validate Database Connection & Validate Essbase Connection are successful throw Manage Data Source menu
Essbase user has admin privileges
In EAS console I can make myself sure, that my application is running
Data Form is valid (verified in Preview screen in Data Form wizard)
Can somebody help me with it?
Best Regards,
SiarheiThanks, John
Summary
Symptoms
When attempting to connect to Hyperion Planning as the admin user, the following error occurs:
Unable to obtain a connection to Hyperion Essbase. If the problem persists, please contact your administrator'
Cause
Hyperion Planning web accesses the application by making a connection to the Planning metadata in the relational repository (via Relational repository settings) and also to Essbase via the datasource settings.
Any Essbase connection issues indicate problems with the Essbase settings in the datasource or are related to the Essbase server.
Solution
- Edit the datasource via the Configuration Utility.
- Test the Essbase connection and make sure that the user used to make the connection is valid and has admin rights to Essbase.
- Restart the Hyperion Planning service once the Essbase user has been given the correct access rights.
- Login to the Essbase Administration Services (EAS) console and right click on the Essbase server name node -> Refresh security from Shared Services
- Expand the applications node (under the Essbase server name node) and check that there is an application with exactly the same name as the Planning application.
Note: Go to section 'manually recreating a Planning application in Hyperion Essbase, if the Planning application is missing in the above step.
- Login to the application in Hyperion Planning web.
Manually recreating a Planning application in Essbase:
- Login to the EAS console as admin (the Essbase user used by admin must have Essbase administrator rights)
- Go to Essbase servers -> your Essbase server name -> right click on applications -> Create application -> Using Block Storage and enter the exact Hyperion Planning Application name then click on ok.
Note: The above step will only create the application shell without the databases.
- Login to the application in Hyperion Planning web as admin and go to Administration menu -> Manage Database -> select database and filters (to create filter access to Essbase) and Refresh (refresh will also recreate the databases if they don't exist)
Best Regards,
Siarhei -
Unable to obtain task sequence from SCCM 2007
Hi,
I have problem to deploy OS to one of my new model laptop due to no NIC driver in boot media CD. When running task sequence wizard, i encounter error " unable to find a valid network adapter driver" and I have google it and get the solution.
However the task sequence did not deploy to my new laptop in SCCM collection.
Step that i use to deploy OS for this new model
1. Download new NIC driver into USB drive, load it during WinPE and able to obtain IP address
2. Add the computer to SCCM deployment collection using tool "SCCM add Computer to Collection v.1.0.0.3" with new netbios name and i saw it inside the collection
3 Task sequence did not push to this new model and from SCCM server i unable to ping it , it display error
"Ping request could not find host xxxxxx. Please check the name and try again"
Is that the reason of the failed deployment?
Regards,
Chungbdid it obtain IP address from DHCP server? is DNS server address is configured in DHCP scope? can you ping using IP address?
if drivers are proper will suggest to update it in boot media & enable command line support to make it easy for deployment & troubleshooting.
Prashant Patil -
Unable to locate a valid EngineConfigurationFactory
Hi,
From the last 2 years we are using AXIS 1.1 with JDK 1.4 and WebSpher 5.1.3 to communicate with IBM Asscential RTI (Real Time Integration) Service which is published as a web service. Currently our project is undergoing series of performance and capacity testing. But in last run of these test, we have encountered with the following exception:
java.lang.NullPointerException
at org.apache.axis.client.Service.getEngineConfiguration(Service.java:801)
at org.apache.axis.client.Service.getAxisClient(Service.java:143)
at org.apache.axis.client.Service.<init>(Service.java:152)
Also in SystemOut.log file, there are entries with description
EngineConfigu E org.apache.axis.configuration.EngineConfigurationFactoryFinder Unable to locate a valid EngineConfigurationFactory
The client program to access the RTI service was generated by using wsdl2java.
This is for the first time we are facing the above mentioned problem. has anybody faced the same problem?
Thanks in advance
Regards,
NageshHi
At last it is working now. Here what I have done
1. Log in as administrator on Vista
2. Removed my laptop from the domain, as my laptop was a part of a Domain
3. Install the SOA but still failed; when it failed I haven’t cancelled the installation.
4. Manually stopped and restarted SOA Server
5. Press retry button and it worked.
Observation
1. When laptop was part of domain it was not installing SOA correctly.
2. Laptop was taking good time to start SOA server and installing script timeout period to check SOA server status was very less so build/ deploy was giving error.
Regards -
Unable to load the pof configuration
Hi all,
Im trying with pof serialization but unable to load the pof configuration and im getting the following error:
2013-06-12 14:41:49,582 [catalina-exec-1] ERROR com.distcachedemo.KnCacheDemoServlet - doPost(HttpServletRequest, HttpServletResponse)::
(Wrapped) java.io.NotSerializableException: com.distcachedemo.dto.KnMasterListResponse
at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:215)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterValueToBinary.convert(PartitionedCache.CDB:3)
at com.tangosol.util.ConverterCollections$ConverterMap.put(ConverterCollections.java:1674)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.put(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
at com.distcachedemo.KnCorpContactInfoControllerDemo.getMasterList(KnCorpContactInfoControllerDemo.java:183)
at com.distcachedemo.KnCacheDemoServlet.doPost(KnCacheDemoServlet.java:60)
Please let me know what is that i need to correct in the below:
NOTE: I have also tried Proxy Scheme with serializer and it too did not work
From the coherence logs i havent found the log of POF configuration being loaded.
Configuration used:
============
cache-config.xml::
<?xml version="1.0"?>
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd">
<caching-scheme-mapping>
<cache-mapping>
<cache-name>nspoc*</cache-name>
<scheme-name>distributed-ns</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>poc*</cache-name>
<scheme-name>distributed</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>distributed-ns</scheme-name>
<service-name>DistributedCache-ns</service-name>
<thread-count>4</thread-count>
<request-timeout>60s</request-timeout>
<backing-map-scheme>
<external-scheme>
<nio-memory-manager>
<initial-size>1MB</initial-size>
<maximum-size>100MB</maximum-size>
</nio-memory-manager>
<high-units>100</high-units>
<unit-calculator>BINARY</unit-calculator>
<unit-factor>1048576</unit-factor>
</external-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<distributed-scheme>
<scheme-name>distributed</scheme-name>
<service-name>DistributedCache</service-name>
<thread-count>4</thread-count>
<request-timeout>60s</request-timeout>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<external-scheme>
<nio-memory-manager>
<initial-size>1MB</initial-size>
<maximum-size>100MB</maximum-size>
</nio-memory-manager>
<high-units>100</high-units>
<unit-calculator>BINARY</unit-calculator>
<unit-factor>1048576</unit-factor>
</external-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-factory-name>com.distcachedemo.KnPocCacheStoreFactory</class-factory-name>
<method-name>loadCacheStore</method-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>{cache-name}</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<local-scheme>
<scheme-name>LocalSizeLimited</scheme-name>
<eviction-policy>LRU</eviction-policy>
<high-units>5000</high-units>
<expiry-delay>1h</expiry-delay>
</local-scheme>
</caching-schemes>
</cache-config>
=================
tangosol-coherence-override.xml:
<?xml version='1.0'?>
<coherence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-operational-config coherence-operational-config.xsd">
<cluster-config>
<member-identity>
<cluster-name system-property="tangosol.coherence.cluster">kn_test</cluster-name>
</member-identity>
<unicast-listener>
<well-known-addresses>
<socket-address id="719">
<address>192.168.7.19</address>
<port>8088</port>
</socket-address>
<socket-address id="3246">
<address>192.168.3.246</address>
<port>8088</port>
</socket-address>
<socket-address id="77">
<address>192.168.7.7</address>
<port>8088</port>
</socket-address>
</well-known-addresses>
<address system-property="tangosol.coherence.localhost">192.168.7.7</address>
<port system-property="tangosol.coherence.localport">8088</port>
<port-auto-adjust system-property="tangosol.coherence.localport.adjust">true</port-auto-adjust>
</unicast-listener>
<serializers>
<serializer id="java">
<class-name>com.tangosol.io.DefaultSerializer</class-name>
</serializer>
<serializer id="pof">
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>String</param-type>
<param-value>pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</serializers>
</cluster-config>
<configurable-cache-factory-config>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value system-property="tangosol.coherence.cacheconfig">cache-config.xml</param-value>
</init-param>
</init-params>
</configurable-cache-factory-config>
</coherence>
======================
pof-config.xml:
<?xml version='1.0'?>
<pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config
coherence-pof-config.xsd">
<user-type-list>
<include>coherence-pof-config.xml</include>
<user-type>
<type-id>1001</type-id>
<class-name>com.distcachedemo.dto.KnMasterListResponse</class-name>
</user-type>
</user-type-list>
</pof-config>
============
Java Code:
package com.distcachedemo.dto;
import com.tangosol.io.pof.PofReader;
import com.tangosol.io.pof.PofWriter;
import com.tangosol.io.pof.PortableObject;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public class KnMasterListResponse implements PortableObject {
private static final long serialVersionUID = -9114918011531875153L;
private KnHierarchyListDTO hierarchyListDTO;
private Map subsMap;
public KnHierarchyListDTO getHierarchyListDTO() {
return hierarchyListDTO;
public void setHierarchyListDTO(KnHierarchyListDTO hierarchyListDTO) {
this.hierarchyListDTO = hierarchyListDTO;
public Map getSubsMap() {
return subsMap;
public void setSubsMap(Map subsMap) {
this.subsMap = subsMap;
public String toString() {
StringBuilder strBuffer = new StringBuilder(100);
if (hierarchyListDTO.getHierachyDTOs() != null) {
strBuffer.append(" hierarchyListDTO - ").append(hierarchyListDTO.getHierachyDTOs().size());
if (subsMap != null) {
strBuffer.append(" subsMap - ").append(subsMap.size());
return strBuffer.toString();
@Override
public void readExternal(PofReader pofReader) throws IOException {
subsMap = pofReader.readMap(0, new HashMap<>());
hierarchyListDTO = (KnHierarchyListDTO) pofReader.readObject(1);
@Override
public void writeExternal(PofWriter pofWriter) throws IOException {
pofWriter.writeMap(0, subsMap);
pofWriter.writeObject(1, hierarchyListDTO);
Thanks,
Ravi ShankerHi Ravi,
it is generally recommended that all new classes support POF in this or that way. This or that means either implementing PortableObject or to provide a PofSerializer implementation to be able to optimally serialize their state. Obviously it is not always possible but you should try to achieve that.
If it is not possible, then you can still convert them to byte[] or String by some other means. If that other means is Java serialization, then Coherence provides a different PofContext implementation (SafeConfigurablePofContext) which you can use instead of ConfigurablePofContext and which is able to fall back to Java serialization for Serializable classes (and also for types not registered in POF configuration but which implement PortableObject). However it is recommended that SafeConfigurablePofContext is not used in production, typically because Java serialization is generally inferior to POF serialization when looking at performance and serialized size, and SafeConfigurablePofContext does not force you to do the right thing, and finally because Java serialization is not platform-independent whereas POF is.
Best regards,
Rob -
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. -
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 -
HP LJ8000n unable to obtain IP address
We have an old LaserJet 8000n that is unable to obtain an IP address. It has been working for the last 10 or so years. In the last two weeks or so, the printer is unable to get an IP address. I did a cold reset and nothing happens. The printer is setup to use DHCP to obtain IP address. I did also tried putting the IP address in manually but that does not work either. Below is the JetDirect configuration page printout.
Any help/suggestion is much appreciated.This seems to be a commercial product. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
You can find the Commercial Laserjet board here:
http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
Error in a page with a master-detail:Unable to resolve a Validator instance
Hi all,
I am using Jdeveloper 11.1.1.2
I have a page with a master table and a detail table.
When I try to select a row in the some tables (master or detail), I have this error:
<AbstractValidatorTag><createValidator> Unable to resolve a Validator instance using either validatorId ' or binding #{row.bindings.IdLocazione.validator}.
<RegistrationConfigurator><handleError> Server Exception during PPR, #1
javax.servlet.ServletException: Unable to resolve a Validator instance using either validatorId '' or binding '#{row.bindings.IdLocazione.validator}'.
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Any suggestions?
Thanks
Andrea
Edited by: Andrea9 on 17-feb-2010 00:45I am using ADF, I can reproduce in a testcase, but I need time.
If you want, I can cut and paste the jspx page.
However, I have a panelStretchLayout: on top facet I have the master table, while in the center facet I have the detail table.
I have a query component to filtering data of the master table.
I have this problem doing this:
1) create a new record on master table.
2) create some records on detail table (sons of the record of the master table just created).
3) clicking on "find" of the query component.
I have tried to do a master-detail with the HR connection using Departments table (master) and Employee (detail). When I try to delete a departments, it does not work, because I have to delete the employees first, while in my case I want to delete the master and the detail in cascade.
Thanks
Edited by: Andrea9 on 17-feb-2010 08:25 -
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
Maybe you are looking for
-
how do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full.. HELP!
-
Hello People! Earlier in the week I created PHP photo/image upload form so clients will be able to upload to my site, it worked very well uploading image to designated directory to the C:/path/ but there is more that I would like to do with the form,
-
Tab name change in Puchase Order
Hi, We have added some fields to Purchase Order Customer Sub screen. This added a new tab called "Customer Data" to the transaction. Now I want to change this tab name to something else. Please let me know how can I do that. There is a similar thread
-
Audiobooks willnot play after updating to 8.1
After last update to 8.1.3 my IPod touch audiobooks will display then automatically go back one screen. If I click on playlist full of audiobooks it scrolls through all then goes back to list screen.
-
Dan Tull - Awesome Adobe Customer Service
We all take a swipe when customer service anywhere is poor, so I just wanted to highlight the outstanding customer service that Dan Tull at Adobe is putting into people who are having database upgrading issues with LR 1.1. I had a double problem, bot