Dashboard cursor cache query statement
hi,
i would like to ask if there is a way to get the query statement that was executed in getting the dashboard result. i'm thinking if it is possible to get this programmatically, like using a session variable.
basically, i would like to replicate the data in the dashboard, and i would like to use the query statement (by another application) to be executed via obiee web service.
thanks.
I think you are addressing a common problem in datawarehouses... there are staging tables, some times empty, some times with millions of rows... so, maybe the statistics are not reallistic... What is the result of the following query:
select num_rows, last_analyzed from dba_tables where table_name = '<your_table>';
If this is the problem, you should to consider one of the following strategies:
1) Analize the table when is "full" and assure that never runs an analize table (or a gather_schema_stats) over this table. This strategy works fine if all days the table is populated with similar data... but maybe you need to change a gather_schema_stats job schedule... you should be aware of when and how the statistics are updated
2) Populate the table, then run a gather_table_stats over the table, wait for the completion of the gathertable_stats_, and finally trigger the 6am process... maybe you need to schedule the process before 6am because the statistics gather process
I hope this helps
Regards,
Alfonso
Similar Messages
-
When I create a sql tuning set, the OEM gives me the option to use the cursor cache. I am trying to figure out what views oracle joins to get the sql statements and them to specific schemas. I know about v$sql.
Hi,
Checks from V$SQLAREA
- Pavan Kumar N -
10.1.3.3.2
Can its below save in a table or where logs are saved file?
it needing for history information.
http://localhost:9704/analytics/saw.dll?Sessions
[SESSION]
User ID Host Address Session ID Browser Info Logged On Last Access
[CURSOR CACHE]
D User Refs Status Time Action Last Accessed Statement Information
Thanks.
in advance.Will Usage Tracking help you?
You will find it in the Documentation: Oracle® Business Intelligence Server Administration Guide: Chapter 10 Administering the Oracle BI Server Query Environment.
Regards,
Stefan Hess
http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31770.pdf -
ORA-02103: PCC: inconsistent cursor cache
I have been hit by one error ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref). it occur when user execute thousand of update statement in one go. I have place commit after 50 records. But problem is still there. It shutdown the oracle. I have to again startup oracle database. I’m running query from Toad. Server machine remotely connected with Toad using TNS. Why this error occur or plz guide what is the best way to update records. I have also used parallel Hint. Committing after 50 record reduce error occurrence but problem not solve completely
As per ora description:
Error: SQL 2103
Text: Inconsistent cursor cache (out-of-range CUC ref)
Cause: The precompiler generates a unit cursor entry (UCE) array. An element
in this array corresponds to an entry in the cursor cache (CUC). While
doing a consistency check on the cursor cache, SQLLIB found that the
UCE array contains an ordinal value that is either too large or less
than zero. This happens only if your program runs out of memory.
Action: Allocate more memory to your user session, then rerun the program. If
the error persists, call customer support for assistance.
How user is connected dedicated or shared? How much memory is used during update? Is it enough?
Is parameter open_cursors high enough?
And as You can see from error description - call Oracle support. Raise SR to Oracle - they will investigate and ask dump files and look through them and propose a solution. -
Cursor cache - Time. what is this time
Administration -> manage session -> Cursor cache - > Time.
I have a question about this time?
I ran a report and viewed its log through(Administration -> manage session -> Cursor cache-> View Log) . This report had no previous cache entries, because I cleared them all.
The time shown for this report under (Administration -> manage session -> Cursor cache - > Time) says 18 seconds.
I am sure when I clicked on the tab that has this report it took less than 4 seconds for the page to load with this report on it.
So I wasn't sure what this time actually is? When I look into the log ( for this particular report), one of the line at the end of the log says
[2012-03-09T15:50:04.000+00:00] [OracleBIServerComponent] [TRACE:2] [USER-33] [] [ecid: d01cd216d41a2bc8:bf26dbb:13549056e05:-8000-00000000005b8cad] [tid: 44ded940] [requestid: 7ee0096] [sessionid: 7ee0000] [username: -2327690837] -------------------- Logical Query Summary Stats: Elapsed time 23, Response time 18, Compilation time 1 (seconds) [[
But the report gave back results surely in less than 18 seconds, so what this time indicates?Hi I had this on my bank statement too. I believe TCCP stands for Town Centre Car Parks. I parked near the Royal Armouries for several hours which cost me £10. If it had said carpark on my statement it would have saved me a lot of exploring on google as I, like you had forgotten what the charge was for. Hope this helps.
The carparks run by TCCP are as follows and you may have visited one of them and payed by debit card:
Merrion Centre & First Direct Leeds Arena
Templar Street & Edward Street, Leeds
7 Whitehall Road, Leeds
9 Whitehall Road, Leeds
Clarence Dock, Leeds
1 Port Street, Manchester
33 Tariff Street, Manchester
30 Tariff Street, Manchester
21 Ducie Street, Manchester
75 Dale Street, Manchester -
Dashboard Design Cache Server failed to start after upgrade to BOBJ 4.0 SP09 Patch 3
Hi Friends,
We have upgraded our BOBJ 4.0 server from SP04 Patch 8 to SP09 patch 3.
After upgrade completed "Dashboard Design Cache Server" Failed to start. other servers are running fine.
xccache_<hostname>.DashboardDesignCacheServer_trace.000003.glf Error Log:
|c24257f2-85df-0f2b-efe2-d7cfe59df826|2014 06 19 14:04:21:444|-0400|Information|Information|>=|S| |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200||{|0|1|0|1|-|-|-|-|-|-||||||||||||SessionManagerFactory::createInstance
-:0:-: TraceLog message 1241
|84f9fa46-c9ce-d9c4-fb5b-a08e6b6c1fea|2014 06 19 14:04:21:451|-0400|Debug| |<<| | |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| |0|1|0|1|-|-|-|-|-|-||||||||||com.businessobjects.dsl.commons.platform.OsgiPlatform||using OSGi emulation; cause: java.lang.ClassNotFoundException: org.eclipse.core.runtime.Platform
-:0:-: TraceLog message 1242
|2eb28d2c-acaa-e2ff-26de-0ce297ad41e5|2014 06 19 14:04:21:502|-0400|Debug| |<<| | |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| |0|1|0|1|-|-|-|-|-|-||||||||||com.businessobjects.dsl.commons.platform.OsgiPlatform||adding contributions from "jar:file:/bobje/sap_bobj/enterprise_xi40/java/lib/dsl_engine.jar!/META-INF/DSLContributions/DSLContributions.properties": DSL-Contribution = com.sap.sl.sdk.datasource.strategy.DataSourceStrategyContribution,com.sap.sl.sdk.services.session.BridgeSessionContribution,com.sap.sl.sdk.session.cms.BridgeCmsSessionContribution,com.sap.sl.sdk.session.filesystem.BridgeFileSystemSessionContribution,com.sap.sl.contributions.EPackageContribution,com.businessobjects.dsl.framework.session.SessionContribution,com.sap.sl.core.emf.registry.GeneratedPackageContribution,com.businessobjects.dsl.services.JavaDPContribution,com.businessobjects.dsl.services.repository.RepositoryServicesContribution,com.businessobjects.dsl.services.olap.sapbw.SapBwBrowsingServicesContribution,com.businessobjects.dsl.services.universe.UniverseServicesContribution,com.businessobjects.dsl.services.security.SecurityServicesContribution,com.businessobjects.mds.consumption.ConsumptionContribution,com.businessobjects.mds.consumption.SecurityKeyServiceContribution,com.businessobjects.mds.olap.protocol.bics.BICSClientContribution,com.businessobjects.mds.olap.protocol.ess_japi.EssJapiClientContribution,com.businessobjects.mds.olap.protocol.sapbapi.SapRfcClientContribution,com.businessobjects.mds.olap.protocol.xmla.XMLAClientContribution,com.businessobjects.mds.olap.OlapClientContribution,com.businessobjects.mds.publishing.PublishingContribution,com.businessobjects.mds.repository.cms.CMSSessionContribution,com.businessobjects.mds.repository.filesystem.FSSessionContribution,com.businessobjects.mds.repository.memory.MemorySessionContribution,com.businessobjects.mds.securedconnection.services.SecuredConnectionContribution,com.businessobjects.mds.security.cms.CMSSecurityContribution,com.businessobjects.mds.security.SecurityContribution,com.businessobjects.mds.services.internal.MdsModelContribution,com.sap.sl.edp.dataprovider.bics.BicsDataProviderBuilderContribution,com.sap.sl.edp.dataprovider.olap.OlapDataProviderBuilderContribution,com.sap.sl.edp.dataprovider.relational.RelationalDataProviderBuilderContribution,com.sap.sl.pquery.PQueryServiceContribution
jvm/Bootstrap.cpp:146:-: TraceLog message 1243
|9992bc42-cf8b-51bd-739f-ee471da81b76|2014 06 19 14:04:22:292|-0400|Debug| |<<| | |xccache_halsapad12.DashboardDesignCacheServer|16574|47600550826240|| ||||||||||||||||||||||ras21-core: CBootstrap::getSLUserSecurity starting wait loop[3], timeout[119]
-:0:-: TraceLog message 1244
|762aa011-8afb-af8d-6bd6-a61be1be142d|2014 06 19 14:04:22:399|-0400|Error| |>>| | |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| |0|1|0|1|-|-|-|-|-|-||||||||||com.businessobjects.dsl.commons.platform.OsgiPlatform||java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContribution(OsgiPlatform.java:646)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromProperty(OsgiPlatform.java:622)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromProperties(OsgiPlatform.java:580)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromPropertiesFile(OsgiPlatform.java:326)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsInternal(OsgiPlatform.java:281)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributions(OsgiPlatform.java:239)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.<clinit>(OsgiPlatform.java:109)
at com.businessobjects.dsl.framework.session.SessionContribution.register(SessionContribution.java:71)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.initializeExtensionPoint(SessionManagerFactory.java:377)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.createInstance(SessionManagerFactory.java:340)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.getInstance(SessionManagerFactory.java:205)
at com.businessobjects.ras21.servercore.externalservicessubsystem.UserSecurityCalculator.<clinit>(UserSecurityCalculator.java:38)
at com.businessobjects.ras21.servercore.externalservicessubsystem.SecurityCalculator.<init>(SecurityCalculator.java:89)
at com.businessobjects.ras21.servercore.bridge.servant.SLUserSecurityServant.<init>(SLUserSecurityServant.java:125)
at com.businessobjects.ras21.servercore.bridge.JavaBridgeMain.runServants(JavaBridgeMain.java:224)
at com.businessobjects.ras21.servercore.bridge.JavaBridgeMain.runAdapter(JavaBridgeMain.java:56)
at com.businessobjects.ras21.servercore.servercontainer.ProcChildMain.main(ProcChildMain.java:141)
Caused by: java.lang.NoClassDefFoundError: sun/awt/SunToolkit : cannot initialize class because prior initialization attempt failed
at sun.awt.AppContext$2.run(AppContext.java:237)
at sun.awt.AppContext$2.run(AppContext.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.initMainAppContext(AppContext.java:226)
at sun.awt.AppContext.access$200(AppContext.java:112)
at sun.awt.AppContext$3.run(AppContext.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.getAppContext(AppContext.java:275)
at sun.awt.AppContext$6.getContext(AppContext.java:822)
at sun.misc.SharedSecrets.getJavaAWTAccess(SharedSecrets.java:144)
at java.util.TimeZone.getDefaultInAppContext(TimeZone.java:635)
at java.util.TimeZone.getDefaultRef(TimeZone.java:523)
at java.util.TimeZone.getDefault(TimeZone.java:515)
at java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:598)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:496)
at org.eclipse.emf.ecore.impl.EFactoryImpl$SafeSimpleDateFormat.<init>(EFactoryImpl.java:712)
at org.eclipse.emf.ecore.impl.EFactoryImpl.<clinit>(EFactoryImpl.java:730)
at com.businessobjects.mds.universe.UniverseFactory.<clinit>(UniverseFactory.java:26)
at com.businessobjects.mds.universe.impl.UniversePackageImpl.<init>(UniversePackageImpl.java:106)
at com.businessobjects.mds.universe.impl.UniversePackageImpl.init(UniversePackageImpl.java:142)
at com.businessobjects.mds.universe.UniversePackage.<clinit>(UniversePackage.java:62)
at com.businessobjects.mds.services.internal.MdsModelContribution.register(MdsModelContribution.java:14)
... 21 more
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /bobje/sap_bobj/enterprise_xi40/linux_x64/headless/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1807)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1011)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1922)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1846)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1036)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
at sun.awt.AppContext$2.run(AppContext.java:237)
at sun.awt.AppContext$2.run(AppContext.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.initMainAppContext(AppContext.java:226)
at sun.awt.AppContext.access$200(AppContext.java:112)
at sun.awt.AppContext$3.run(AppContext.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.getAppContext(AppContext.java:275)
at com.sun.jmx.trace.Trace.out(Trace.java:180)
at com.sun.jmx.trace.Trace.isSelected(Trace.java:88)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isTraceOn(DefaultMBeanServerInterceptor.java:1830)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:929)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:916)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer$2.run(JmxMBeanServer.java:1195)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jmx.mbeanserver.JmxMBeanServer.initialize(JmxMBeanServer.java:1193)
at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:225)
at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:170)
at com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServer(JmxMBeanServer.java:1401)
at javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:93)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:311)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:214)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:175)
at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
at com.sap.sup.wily.agent.service.PlatformMBeanPoller.launchPoller(PlatformMBeanPoller.java:73)
at com.sap.sup.wily.agent.service.PlatformMBeanPoller.IAgentService_startService(PlatformMBeanPoller.java:65)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startService(ServiceAdministrator.java:432)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startServiceSafe(ServiceAdministrator.java:446)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.IExecutableItem_execute(ServiceAdministrator.java:310)
at com.wily.util.task.AsynchExecutionQueue$WrapperItem.IExecutableItem_execute(AsynchExecutionQueue.java:414)
at com.wily.util.task.AsynchExecutionQueue.doTask(AsynchExecutionQueue.java:205)
at com.wily.util.task.ATask$CoreTask.run(ATask.java:132)
at java.lang.Thread.run(Thread.java:743)
-:0:-: TraceLog message 1245
|4ab25da4-f37d-97ff-b2ad-a97877076bb3|2014 06 19 14:04:22:399|-0400|Information|Information|>=|S| |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200||}|0|1|0|1|-|-|-|-|-|-||||||||||||SessionManagerFactory::createInstance: 00.957
-:0:-: TraceLog message 1246
|d3abc036-3e0f-728a-7dba-e3b540d39fe6|2014 06 19 14:04:22:451|-0400|Error| |>>| | |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| ||||||||||||||||||||com.businessobjects.ras21.servercore.bridge.JavaBridgeMain||Could not initialize processing subsystem
java.lang.ExceptionInInitializerError
at com.businessobjects.dsl.framework.session.SessionContribution.register(SessionContribution.java:71)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.initializeExtensionPoint(SessionManagerFactory.java:377)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.createInstance(SessionManagerFactory.java:340)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.getInstance(SessionManagerFactory.java:205)
at com.businessobjects.ras21.servercore.externalservicessubsystem.UserSecurityCalculator.<clinit>(UserSecurityCalculator.java:38)
at com.businessobjects.ras21.servercore.externalservicessubsystem.SecurityCalculator.<init>(SecurityCalculator.java:89)
at com.businessobjects.ras21.servercore.bridge.servant.SLUserSecurityServant.<init>(SLUserSecurityServant.java:125)
at com.businessobjects.ras21.servercore.bridge.JavaBridgeMain.runServants(JavaBridgeMain.java:224)
at com.businessobjects.ras21.servercore.bridge.JavaBridgeMain.runAdapter(JavaBridgeMain.java:56)
at com.businessobjects.ras21.servercore.servercontainer.ProcChildMain.main(ProcChildMain.java:141)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributions(OsgiPlatform.java:243)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.<clinit>(OsgiPlatform.java:109)
... 10 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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContribution(OsgiPlatform.java:646)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromProperty(OsgiPlatform.java:622)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromProperties(OsgiPlatform.java:580)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromPropertiesFile(OsgiPlatform.java:326)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsInternal(OsgiPlatform.java:281)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributions(OsgiPlatform.java:239)
... 11 more
Caused by: java.lang.NoClassDefFoundError: sun/awt/SunToolkit : cannot initialize class because prior initialization attempt failed
at sun.awt.AppContext$2.run(AppContext.java:237)
at sun.awt.AppContext$2.run(AppContext.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.initMainAppContext(AppContext.java:226)
at sun.awt.AppContext.access$200(AppContext.java:112)
at sun.awt.AppContext$3.run(AppContext.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.getAppContext(AppContext.java:275)
at sun.awt.AppContext$6.getContext(AppContext.java:822)
at sun.misc.SharedSecrets.getJavaAWTAccess(SharedSecrets.java:144)
at java.util.TimeZone.getDefaultInAppContext(TimeZone.java:635)
at java.util.TimeZone.getDefaultRef(TimeZone.java:523)
at java.util.TimeZone.getDefault(TimeZone.java:515)
at java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:598)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:496)
at org.eclipse.emf.ecore.impl.EFactoryImpl$SafeSimpleDateFormat.<init>(EFactoryImpl.java:712)
at org.eclipse.emf.ecore.impl.EFactoryImpl.<clinit>(EFactoryImpl.java:730)
at com.businessobjects.mds.universe.UniverseFactory.<clinit>(UniverseFactory.java:26)
at com.businessobjects.mds.universe.impl.UniversePackageImpl.<init>(UniversePackageImpl.java:106)
at com.businessobjects.mds.universe.impl.UniversePackageImpl.init(UniversePackageImpl.java:142)
at com.businessobjects.mds.universe.UniversePackage.<clinit>(UniversePackage.java:62)
at com.businessobjects.mds.services.internal.MdsModelContribution.register(MdsModelContribution.java:14)
... 21 more
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /bobje/sap_bobj/enterprise_xi40/linux_x64/headless/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1807)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1011)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1922)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1846)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1036)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
at sun.awt.AppContext$2.run(AppContext.java:237)
at sun.awt.AppContext$2.run(AppContext.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.initMainAppContext(AppContext.java:226)
at sun.awt.AppContext.access$200(AppContext.java:112)
at sun.awt.AppContext$3.run(AppContext.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.getAppContext(AppContext.java:275)
at com.sun.jmx.trace.Trace.out(Trace.java:180)
at com.sun.jmx.trace.Trace.isSelected(Trace.java:88)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isTraceOn(DefaultMBeanServerInterceptor.java:1830)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:929)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:916)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer$2.run(JmxMBeanServer.java:1195)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jmx.mbeanserver.JmxMBeanServer.initialize(JmxMBeanServer.java:1193)
at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:225)
at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:170)
at com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServer(JmxMBeanServer.java:1401)
at javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:93)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:311)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:214)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:175)
at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
at com.sap.sup.wily.agent.service.PlatformMBeanPoller.launchPoller(PlatformMBeanPoller.java:73)
at com.sap.sup.wily.agent.service.PlatformMBeanPoller.IAgentService_startService(PlatformMBeanPoller.java:65)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startService(ServiceAdministrator.java:432)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startServiceSafe(ServiceAdministrator.java:446)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.IExecutableItem_execute(ServiceAdministrator.java:310)
at com.wily.util.task.AsynchExecutionQueue$WrapperItem.IExecutableItem_execute(AsynchExecutionQueue.java:414)
at com.wily.util.task.AsynchExecutionQueue.doTask(AsynchExecutionQueue.java:205)
at com.wily.util.task.ATask$CoreTask.run(ATask.java:132)
at java.lang.Thread.run(Thread.java:743)
-:0:-: TraceLog message 1247
|7fad3c80-8dfb-1944-911f-4d98498f150a|2014 06 19 14:04:22:491|-0400| |Fatal| |F| |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| ||||||||||||||||||||com.businessobjects.ras21.servercore.servercontainer.ProcChildMain||Caught Error at top level
java.lang.ExceptionInInitializerError
at com.businessobjects.dsl.framework.session.SessionContribution.register(SessionContribution.java:71)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.initializeExtensionPoint(SessionManagerFactory.java:377)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.createInstance(SessionManagerFactory.java:340)
at com.businessobjects.dsl.framework.session.SessionManagerFactory.getInstance(SessionManagerFactory.java:205)
at com.businessobjects.ras21.servercore.externalservicessubsystem.UserSecurityCalculator.<clinit>(UserSecurityCalculator.java:38)
at com.businessobjects.ras21.servercore.externalservicessubsystem.SecurityCalculator.<init>(SecurityCalculator.java:89)
at com.businessobjects.ras21.servercore.bridge.servant.SLUserSecurityServant.<init>(SLUserSecurityServant.java:125)
at com.businessobjects.ras21.servercore.bridge.JavaBridgeMain.runServants(JavaBridgeMain.java:224)
at com.businessobjects.ras21.servercore.bridge.JavaBridgeMain.runAdapter(JavaBridgeMain.java:56)
at com.businessobjects.ras21.servercore.servercontainer.ProcChildMain.main(ProcChildMain.java:141)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributions(OsgiPlatform.java:243)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.<clinit>(OsgiPlatform.java:109)
... 10 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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContribution(OsgiPlatform.java:646)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromProperty(OsgiPlatform.java:622)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromProperties(OsgiPlatform.java:580)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsFromPropertiesFile(OsgiPlatform.java:326)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributionsInternal(OsgiPlatform.java:281)
at com.businessobjects.dsl.commons.platform.OsgiPlatform.addContributions(OsgiPlatform.java:239)
... 11 more
Caused by: java.lang.NoClassDefFoundError: sun/awt/SunToolkit : cannot initialize class because prior initialization attempt failed
at sun.awt.AppContext$2.run(AppContext.java:237)
at sun.awt.AppContext$2.run(AppContext.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.initMainAppContext(AppContext.java:226)
at sun.awt.AppContext.access$200(AppContext.java:112)
at sun.awt.AppContext$3.run(AppContext.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.getAppContext(AppContext.java:275)
at sun.awt.AppContext$6.getContext(AppContext.java:822)
at sun.misc.SharedSecrets.getJavaAWTAccess(SharedSecrets.java:144)
at java.util.TimeZone.getDefaultInAppContext(TimeZone.java:635)
at java.util.TimeZone.getDefaultRef(TimeZone.java:523)
at java.util.TimeZone.getDefault(TimeZone.java:515)
at java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:598)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:496)
at org.eclipse.emf.ecore.impl.EFactoryImpl$SafeSimpleDateFormat.<init>(EFactoryImpl.java:712)
at org.eclipse.emf.ecore.impl.EFactoryImpl.<clinit>(EFactoryImpl.java:730)
at com.businessobjects.mds.universe.UniverseFactory.<clinit>(UniverseFactory.java:26)
at com.businessobjects.mds.universe.impl.UniversePackageImpl.<init>(UniversePackageImpl.java:106)
at com.businessobjects.mds.universe.impl.UniversePackageImpl.init(UniversePackageImpl.java:142)
at com.businessobjects.mds.universe.UniversePackage.<clinit>(UniversePackage.java:62)
at com.businessobjects.mds.services.internal.MdsModelContribution.register(MdsModelContribution.java:14)
... 21 more
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /bobje/sap_bobj/enterprise_xi40/linux_x64/headless/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1807)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1011)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1922)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1846)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1036)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
at sun.awt.AppContext$2.run(AppContext.java:237)
at sun.awt.AppContext$2.run(AppContext.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.initMainAppContext(AppContext.java:226)
at sun.awt.AppContext.access$200(AppContext.java:112)
at sun.awt.AppContext$3.run(AppContext.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.AppContext.getAppContext(AppContext.java:275)
at com.sun.jmx.trace.Trace.out(Trace.java:180)
at com.sun.jmx.trace.Trace.isSelected(Trace.java:88)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isTraceOn(DefaultMBeanServerInterceptor.java:1830)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:929)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:916)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer$2.run(JmxMBeanServer.java:1195)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jmx.mbeanserver.JmxMBeanServer.initialize(JmxMBeanServer.java:1193)
at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:225)
at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:170)
at com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServer(JmxMBeanServer.java:1401)
at javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:93)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:311)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:214)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:175)
at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
at com.sap.sup.wily.agent.service.PlatformMBeanPoller.launchPoller(PlatformMBeanPoller.java:73)
at com.sap.sup.wily.agent.service.PlatformMBeanPoller.IAgentService_startService(PlatformMBeanPoller.java:65)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startService(ServiceAdministrator.java:432)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startServiceSafe(ServiceAdministrator.java:446)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.IExecutableItem_execute(ServiceAdministrator.java:310)
at com.wily.util.task.AsynchExecutionQueue$WrapperItem.IExecutableItem_execute(AsynchExecutionQueue.java:414)
at com.wily.util.task.AsynchExecutionQueue.doTask(AsynchExecutionQueue.java:205)
at com.wily.util.task.ATask$CoreTask.run(ATask.java:132)
at java.lang.Thread.run(Thread.java:743)
-:0:-: TraceLog message 1248
|dd2a290d-c8ad-ebea-d1b5-3ebe783e598b|2014 06 19 14:04:22:491|-0400| |Fatal| |F| |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| ||||||||||||||||||||com.businessobjects.ras21.servercore.servercontainer.ProcChildMain||BEGIN TRACING JVM PROPERTIES
java.vendor = <SAP AG>
sun.management.compiler = <HotSpot 64-Bit Tiered Compilers>
os.name = <Linux>
sun.boot.class.path = </bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/sapjvm-alt-rt.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/resources.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/rt.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/sunrsasign.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/jsse.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/jce.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/charsets.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/jfr.jar:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/classes:/bobje/sap_bobj/enterprise_xi40/java/wily/Agent.jar>
ooc.orb.oa.thread_pool = <64>
java.vm.specification.vendor = <Sun Microsystems Inc.>
businessobjects.server.friendlyname = <halsapad12.DashboardDesignCacheServer>
businessobjects.logs.home = </bobje/sap_bobj/logging/>
java.runtime.version = <6.1.055>
com.sap.vm.version = <10>
businessobjects.ns = <hal-sapa-d12.dc.fmcna.com:6400>
com.wily.log4j.defaultInitOverride = <true>
user.name = <cbi>
user.language = <en>
sun.boot.library.path = </bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/amd64>
java.version = <1.6.0_51>
user.timezone = <America/New_York>
java.net.preferIPv4Stack = <false>
sun.arch.data.model = <64>
java.endorsed.dirs = </bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/endorsed>
sun.cpu.isalist = <>
sun.jnu.encoding = <UTF-8>
file.encoding.pkg = <sun.io>
file.separator = </>
java.specification.name = <Java Platform API Specification>
com.wily.introscope.agent.agentName = <xccache_halsapad12.DashboardDesignCacheServer_java>
java.class.version = <50.0>
user.country = <US>
java.home = </bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre>
com.sap.vm.compressedoops = <true>
java.vm.info = <Aug 12 2013 00:30:55 - 61_REL - optU - linux amd64 - 6 - bas2:201693 (mixed mode)>
os.version = <2.6.18-128.el5>
path.separator = <:>
businessobjects.enterprise.orb.threadmodel = <threaded>
java.vm.version = <6.1.055 23.5-b02>
com.sap.vm.type = <opt>
introscope.enterprisemanager.serversockets.reuseaddr = <false>
java.awt.printerjob = <sun.print.PSPrinterJob>
sun.io.unicode.encoding = <UnicodeLittle>
com.sap.vm.codeline = <61_REL>
user.home = </sapmnt/CBP/cbi>
java.specification.vendor = <Sun Microsystems Inc.>
tracelog.logdir = </bobje/sap_bobj/logging/>
java.library.path = </bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/amd64/server:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/amd64:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/../lib/amd64:/bobje/sap_bobj/enterprise_xi40/linux_x64/:/bobje/sap_bobj/enterprise_xi40/linux_x86/:/bobje/sap_bobj/enterprise_xi40/linux_x64/wcs/components/:/bobje/sap_bobj/enterprise_xi40/linux_x64/plugins//auth/secEnterprise:/bobje/sap_bobj/enterprise_xi40/linux_x64/crpe/:/bobje/sap_bobj/enterprise_xi40/linux_x86/crpe/:/bobje/sap_bobj/enterprise_xi40/linux_x86/crpe/mw/:/bobje/sap_bobj/enterprise_xi40/linux_x64/plugins//desktop/CrystalEnterprise.Report:/bobje/sap_bobj/enterprise_xi40/linux_x86/ras:/bobje/sap_bobj/mysql/lib:/bobje/sap_bobj/enterprise_xi40/dataAccess/connectionServer/drivers/lib64:/bobje/perl/lib/5.8.0/i386-linux-thread-multi/CORE:/bobje/sap_bobj/enterprise_xi40/linux_x64//sapjvm/jre/lib/amd64/server:/bobje/sap_bobj/enterprise_xi40/linux_x64//sapjvm/jre/lib/amd64:/bobje/sap_bobj/enterprise_xi40/linux_x86/crpe/mw/lib-i86_linux/X11:/bobje/sap_bobj/enterprise_xi40/linux_x86/crpe/mw//lib-linux:/bobje/sap_bobj/enterprise_xi40/linux_x86/crpe/mw//lib-linux_optimized:/bobje/oracle/CBI/db_home/lib:/home/db2cbi/sqllib/lib64:/home/db2cbi/sqllib/lib32:/bobje/sap_bobj/enterprise_xi40/linux_x86:/sapmnt/CBP/db2cbi/sqllib/lib64:/sapmnt/CBP/db2cbi/sqllib/lib32:/usr/X11R6/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib>
java.vendor.url = <http://www.sap.com/>
businessobjects.enterprise.orb.thread_pool_size = <5>
java.vm.vendor = <SAP AG>
java.runtime.name = <Java(TM) SE Runtime Environment>
java.class.path = <:/bobje/sap_bobj/enterprise_xi40/java/lib//XcelsiusServer.jar:/sapmnt/CBP/db2cbi/sqllib/java/db2jcc_license_cu.jar:/sapmnt/CBP/db2cbi/sqllib/java/db2java.zip:/sapmnt/CBP/db2cbi/sqllib/java/db2jcc.jar:.::/bobje/sap_bobj/enterprise_xi40//java/wily/Agent.jar>
tracelog.jni = <1>
bobj.enterprise.home = </bobje/sap_bobj/enterprise_xi40/>
businessobjects.enterprise.orb.request_timeout = <3600000>
java.vm.specification.name = <Java Virtual Machine Specification>
java.vm.specification.version = <1.0>
sun.cpu.endian = <little>
sun.os.patch.level = <unknown>
java.awt.headless = <true>
java.io.tmpdir = </tmp>
java.vendor.url.bug = <http://service.sap.com/support>
businessobjects.enterprise.orb.client_timeout = <0>
ooc.orb.oa.conc_model = <thread_pool>
os.arch = <amd64>
java.awt.graphicsenv = <sun.awt.X11GraphicsEnvironment>
java.ext.dirs = </bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/ext-sap:/bobje/sap_bobj/enterprise_xi40/linux_x64/sapjvm/jre/lib/ext:/usr/java/packages/lib/ext>
user.dir = </bobje/sap_bobj/enterprise_xi40/linux_x64>
bobj.logging = <true>
line.separator = <
>
java.vm.name = <SAP Java Server VM>
file.encoding = <UTF-8>
tracelog.process = <xccache_halsapad12.DashboardDesignCacheServer_java>
com.sap.vm.profilingserver = <true>
java.specification.version = <1.6>
com.wily.introscope.agentProfile = </bobje/sap_bobj/enterprise_xi40//java/wily/halsapad12.DashboardDesignCacheServer.profile>
END TRACING JVM PROPERTIES
-:0:-: TraceLog message 1249
|a79b935e-9c92-9957-35bf-2c937079beb8|2014 06 19 14:04:22:492|-0400| |Fatal| |F| |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| ||||||||||||||||||||com.businessobjects.ras21.servercore.servercontainer.ProcChildMain||BEGIN TRACING COMMAND LINE
-loggingPath
/bobje/sap_bobj/logging/
-cache
-documentType
CrystalEnterprise.XL.Query
-nops
-restart
-fg
-name
halsapad12.DashboardDesignCacheServer
-pidfile
/bobje/sap_bobj/serverpids/halsapad12_halsapad12.DashboardDesignCacheServer.pid
-ns
hal-sapa-d12.dc.fmcna.com:6400
-procParentIOR
IOR:010000002500000049444c3a4a6176614272696467652f4941646170746572426f6f7473747261703a312e300000000001000000000000005a000000010101ca1a00000068616c2d736170612d6431322e64632e666d636e612e636f6d006cbd10000000000000001c26a353bb16050003000000010000000100000014000000011af5ca010001000000000000010100000000000200
-libraryName
XcelsiusServer
-useSLUS
END TRACING COMMAND LINE
-:0:-: TraceLog message 1250
|088b0565-be95-fe7f-e474-4e3c45773bbc|2014 06 19 14:04:22:492|-0400| |Fatal| |F| |xccache_halsapad12.DashboardDesignCacheServer|16574|1098107200|| ||||||||||||||||||||com.businessobjects.ras21.servercore.servercontainer.ProcChildMain||11 threads are still alive in this JVM
Thread 'Thread[main,5,main]' is still alive
Thread 'Thread[Business Objects - Sessions Clean up,5,main]' is still alive
Thread 'Thread[Thread-2,5,main]' is still alive
Thread 'Thread[Configuration Watch Heartbeat Heartbeat,5,Agent]' is still alive
Thread 'Thread[Remove Metric Data Watch Heartbeat Heartbeat,5,Agent]' is still alive
Thread 'Thread[Agent Heartbeat,5,Agent]' is still alive
Thread 'Thread[Agent Execution,5,Agent]' is still alive
Thread 'Thread[Agent ServerConnection,5,Agent]' is still alive
Thread 'Thread[UnknownHub Hub Transmit 1,5,Agent]' is still alive
Thread 'Thread[UnknownHub Hub Receive 1,5,Agent]' is still alive
Thread 'Thread[PO:client_main Mailman 1,5,Agent]' is still alive
Regards
Kannan KKannan,
the error in your logs like "NoClassDefFoundError" etc. point us towards issues with jar files. either they are missing or not the correct ones.
A general practice in such situation is to
stop all servers except CMS,IFRS,OFRS > repair the base installation
OR
If you have a working environment with the exact same patch, copy the 'lib' folder from "/bobje/sap_bobj/enterprise_xi40/java/" to the non-working server.
PS: please attach the logs to the thread instead of pasting the content.
-Nikhil Nair -
ORA-13773: insufficient privileges to select data from the cursor cache
We are trying to create STS using the below query:
exec sys.dbms_sqltune.create_sqlset(sqlset_name => 'TEST_STS', -
sqlset_owner => 'SCOTT');
The below procedure will load sql starting with 'select /*MY_CRITICAL_SQL*/%' from cursor cache into STS TEST_STS.
DECLARE
stscur dbms_sqltune.sqlset_cursor;
BEGIN
OPEN stscur FOR
SELECT VALUE(P)
FROM TABLE(dbms_sqltune.select_cursor_cache(
'sql_text like ''select /*MY_CRITICAL_SQL*/%''',
null, null, null, null, null, null, 'ALL')) P;
dbms_sqltune.load_sqlset(sqlset_name => 'TEST_STS',
populate_cursor => stscur,
sqlset_owner => 'SCOTT');
END;
We were getting the following error: ORA-13761: invalid filter
After granting the below privileges to the user we are getting the below error:
Err msg:
ERROR at line 1:
ORA-13773: insufficient privileges to select data from the cursor cache
ORA-06512: at "SYS.DBMS_SQLTUNE", line 2957
ORA-06512: at line 10
For SQL Tuning Sets:
GRANT ADMINISTER ANY SQL TUNING SET TO scott;
For Managing SQL Profiles:
GRANT CREATE ANY SQL PROFILE TO scott;
GRANT ALTER ANY SQL PROFILE TO scott;
GRANT DROP ANY SQL PROFILE TO scott;
For SQL Tuning Advisor:
GRANT ADVISOR TO scott;
Others:
GRANT SELECT ON V_$SQL TO SCOTT;
GRANT SELECT ON V_$SQLAREA TO SCOTT;
GRANT SELECT ON V$SQLAREA_PLAN_HASH TO SCOTT;
GRANT SELECT ON V_$SQLSTATS TO SCOTT;
grant select on sys.DBA_HIST_BASELINE to SCOTT;
grant select on sys.DBA_HIST_SQLTEXT to SCOTT;
grant select on sys.DBA_HIST_SQLSTAT to SCOTT;
grant select on sys.DBA_HIST_SQLBIND to SCOTT;
grant select on sys.DBA_HIST_OPTIMIZER_ENV to SCOTT;
grant select on sys.DBA_HIST_SNAPSHOT to SCOTT;
Any info from your end to resolve the issue will be of great help.
ThanksWhat is the alert log reporting. Are you seeing any other errors than these in the alert log too?
-
Administration Tool Cache vs. Cursor Cache
Hi everyone,
Someone asked me what's the difference between the cache in the administration tool ( Manage->Cache) versus cursor cache (Settings -> Administrator -> Manage Sessions), and even though I've cleared them both many-a-time, I still am not sure the difference.
Can someone explain to me the difference between the two?
Thanks!
-JoeHi,
The cache in the administration tool is a file based cache on the OBIEE server which stores the results of database requests. This means that if a user makes a request the OBIEE server first checks the cache to see if the query has already been run and cached, or if a superset of the query has been run and cached (i.e. a less restrictive query that the current query can be satisfied from). If it finds there is a cache entry then it will return the results from here instead of issuing any SQL to the database, thereby speeding up getting the results back to the user.
The cache shown in the cusrsor cache is the cache on the presentation server, this is a cache of the content which is being returned to the user's browser, this means if the user goes back to see results for a query they have already made then the presentation server can just return the same content to them without even having to go to the OBIEE server again at all.
So basically 2 levels of caching, one on the OBIEE server and one on the presentation server.
Regards,
Matt -
Inconsistent cursor cache error still presisting
Hey I have asked this question before but no solution has been provided me. I have been facing a very serious problem. I have oracle 11g on windows 2003 on 64 bit machine. With 2 processor 8GB RAM. Sga/pga automatically features turn on and 6GB assign to memory_max_target, memory_target . My problem is when I run update 600 hundred statements in one go and every update statement update record between 1 to 30000 and after 20 records I use commit. But after 20 to 30 record oracle go down (shutdown) when i check alert log It advise to check Trace file and in trace file I got this error ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref). I turn on my cache sharing to force but no way. Is there any other fast way to update records??
cursor_sharing string force
cursor_space_for_time boolean FALSE
open_cursors integer 300
session_cached_cursors integer 50
my update statement are following
Update jg_6july_dg0 Set Operator_code= '915724' where Operator_code= '015325';
Update jg_6july_dg0 Set Operator_code= '915715' where Operator_code= '015323';
.Update jg_6july_dg0 Set Operator_code= '915712' where Operator_code= '015374';
Cursor Caching I think is not a problem either it is a oracle bug or I’m doing something wrong. I can’t believe that oracle does not have solution for such little problem. My question is why oracle shutdown?? Waiting for you replysir no such error i got nothing. sir proces of rqasing SR is quite cumbersome. i'm stuck where SR first page ask Type of Problem it is hide how i set its value one more strange thing i have change the setting of SGA or PGA now the error in my alter log has been changed i have pasted here some part of alterlog plz check and told me what should i do now.
Checkpoint not complete
Current log# 2 seq# 1844 mem# 0: E:\APP\ADMINISTRATOR\ORADATA\ORCL\ONLINELOG\O1_MF_2_4VH0YMCK_.LOG
Current log# 2 seq# 1844 mem# 1: E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ONLINELOG\O1_MF_2_4VH0YMLC_.LOG
Fri Apr 03 19:15:50 2009
Errors in file e:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_lgwr_5088.trc (incident=164082):
ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by 'inst 1, osid 3604'
Incident details in: e:\app\administrator\diag\rdbms\orcl\orcl\incident\incdir_164082\orcl_lgwr_5088_i164082.trc
Killing enqueue blocker (pid=3604) on resource CF-00000000-00000000
by killing session 545.1
Killing enqueue blocker (pid=3604) on resource CF-00000000-00000000
by terminating the process
LGWR (ospid: 5088): terminating the instance due to error 2103
Fri Apr 03 19:15:51 2009
Errors in file e:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_j000_4256.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
Fri Apr 03 19:15:52 2009
Errors in file e:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_j001_4764.trc:
ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
Instance terminated by LGWR, pid = 5088Fri Apr 03 19:25:08 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =61
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in server-side spfile E:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEORCL.ORA
System parameters with non-default values:
processes = 500
sessions = 555
sga_max_size = 5G
nls_length_semantics = "BYTE"
resource_manager_plan = ""
sga_target = 5G
memory_target = 0
memory_max_target = 7360M
control_files = "E:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROLFILE\O1_MF_4VH0YL9L_.CTL"
control_files = "E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_4VH0YLF0_.CTL"
db_block_size = 16384
compatible = "11.1.0.0.0"
db_files = 7000
db_create_file_dest = "E:\app\Administrator\oradata"
db_recovery_file_dest = "E:\app\Administrator\flash_recovery_area"
db_recovery_file_dest_size= 2G
undo_tablespace = "UNDOTBS1"
undo_retention = 900
sec_case_sensitive_logon = FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=orclXDB)"
audit_file_dest = "E:\APP\ADMINISTRATOR\ADMIN\ORCL\ADUMP"
audit_trail = "DB"
db_name = "orcl"
open_cursors = 300
pga_aggregate_target = 2112M
enable_ddl_logging = FALSE
aq_tm_processes = 0
diagnostic_dest = "E:\APP\ADMINISTRATOR"
Fri Apr 03 19:25:09 2009
PMON started with pid=2, OS id=2752
Fri Apr 03 19:25:09 2009
VKTM started with pid=3, OS id=1252 at elevated priority
VKTM running at (20)ms precision
Fri Apr 03 19:25:09 2009
DIAG started with pid=4, OS id=2596
Fri Apr 03 19:25:09 2009
DBRM started with pid=5, OS id=1436
Fri Apr 03 19:25:09 2009
PSP0 started with pid=6, OS id=5104
Fri Apr 03 19:25:09 2009 -
Obiee 10g - schedule to clear cursor cache
hi, experts, I applied the command line to clear cache.
I found that it only clears cache at bi server level (cache entries in rpd).
it does not clear the cursor cache (those are viewed in Web , Manage Session)
can I set any schedule to clear cursor cache?Hi,
OBIEE Cursor Cache clear from Dashboard Java Script
OBIEE Cursor cache is normally cleared from the Administration - Manage Sessions Screen...
Here is a way that a piece of java can be embedded into a dashboard and call an xframe so you cant see it being called and clear the OBIEE Cursor cache - Presentation cache in effect.
1. Just insert a text box into Dashboard - Tick the "Contains HTML Markup"
2. Paste the script below into the text box
<script language="javascript">
document.write(
"<iframe width=0px height=0px src=" +
document.location.href.match(/^[^?]+/) +
"?ManageSessions" +
document.location.href.match(/&_scid=[^&]+/) +
"&Action=CloseAllCursors&Done=saw.dll%3fSessions',{ensureFreshUrl:true});return false;')></iframe>"
</script>
Voila - when ever you click on the dashboard or refresh it the cursor cache will get cleared.
Please refer the below links for more information on this.
What Is Presentation Services Cache In Fact?
http://prolynxuk.com/blog/?p=496
how to seed n clear cache of obiee
http://obiee101.blogspot.in/2008/03/obiee-manage-cache-part-1.html
How to clear the cache daily automatically
http://obiee10grevisited.blogspot.in/2012/02/cache-in-obiee.html
Award points it is useful.
Thanks,
Satya -
Dashboard to BEx query call run time very slow (7-8 mins)
Hi Guys,
I am currently working on a project where BEx query is being consumed using BICS. The functional team has built a BEx which is being cached in Webi by the BO developer and then that cashed Webi is being used in Dashboard. We have many hierarchies (Fund Center, Profit Center, GL Account etc.) used in the dashboard.
BEx query > WEBi (Cached) > Dashboard
Clicking the main level in hierarchy in dashboard the data comes back in 2-3 secs as the data is cached in Webi
ISSUE: In Dashboard based on where user is on the Fund Center hierarchy there is a button called “Summary Report” on the dashboard which calls the BEx query and that second call takes roughly about 7-8 minutes. How could we reduce the run time of the second query?
The secondary query uses the same data set as the first one but as the data is cached in Webi and it uses Web services to pass data to dashboard, so any call back from dashboard to the cached webi the hierarchy information is lost and thus the secondary query call to BEx query.
Would it be possible to recommend any solution where we could bring the run time of the secondary call to less than a minute?
Thanks,
KeysFirst update to current frontend patch. many correction are included.
Further check these notes: (relavant only if Analyzer is culprit)
1160093: REPAIR MODE - Prog error/performance problems when using large workbooks
1289127: REPAIR MODE - BExAnalyzer: performance issue applying styles in Excel 2007
1293255: REPAIR MODE - BExAnalyzer: crash when repairing workbook with Excel 2007
1150242+1094799: ANA_USE_SIDGRID - Improving performance/memory in the BEx Analyzer
1179647: ANA_USE_TABLE - Performance: Network load in BEx Analyzer
1260213: ANA_USE_OPTIMIZE_STG - Performance problems during workbook opening in Excel 2007
1287179: ANA_SINGLEDPREFRESH - Single Data Provider Refresh
1286653: Performance issues while displaying hierarchy (especially in Excel 2007)
1352375: ANA_USE_SIDGRIDWBUF / ANA_USE_SIDGRIDMASS Performance improvements in a WAN (roundtrip reductions)
1373214: Workbook compression
1392745: ANA_CACHE_WORKBOOK - Workbook caching -
Hi All,
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
I will not be able to share the query due to company policy.
OEM plan showing as Merge cartesain for the query, I know the plan is not correct, as the query has incorrect number of cardinality. I have SQL profile set on this query:
OEM shows as :
Data Source : Cursor Cache
Additional Information : 'SYS_SQL_PROFXXXXXX' (X is some number)
Here is what is happening:
1. The table where the merge join is purged Daily (EOD i.e. 12 AM ), that means it has no rows.
2.Morning around 4 am one process will populate this table, and the same process further uses this table in a query, the query plan has merge Join cartesain (MJC), and it comes out as the number of rows is very less.
3. Next around 6am again that process is triggered, this time it has huge number of rows, and again the query picks up the same MJC plan, and this time query executes for hours, as it has incorrect cardinality. When I again run SQL advisory on this query, it shows up an optimized plan, I kill the process and re-run the process again, and it works fine (query is out within 3 seconds)
Guess it still picks up the previous plan of merge join @6am where the number of rows are less, from the cursor cache, and the OEM also shows data source as Cursor Cache. Can we invalidate the session cache if this is the case.
Please help how can we handle this one?I think you are addressing a common problem in datawarehouses... there are staging tables, some times empty, some times with millions of rows... so, maybe the statistics are not reallistic... What is the result of the following query:
select num_rows, last_analyzed from dba_tables where table_name = '<your_table>';
If this is the problem, you should to consider one of the following strategies:
1) Analize the table when is "full" and assure that never runs an analize table (or a gather_schema_stats) over this table. This strategy works fine if all days the table is populated with similar data... but maybe you need to change a gather_schema_stats job schedule... you should be aware of when and how the statistics are updated
2) Populate the table, then run a gather_table_stats over the table, wait for the completion of the gathertable_stats_, and finally trigger the 6am process... maybe you need to schedule the process before 6am because the statistics gather process
I hope this helps
Regards,
Alfonso -
How to insert a sql query statement in the table
I have a stored procedure which has different insert,update statements on different tables. I am writing a trigger on these tables such that when the record is updated or inserted in these tables a trigger should fire and should write the old value,new value and the query (insert or update) that caused the trigger to fire in the seperate table. Is there any way to find out the exact query statement that fired the trigger?
Rather than inventing your own demi-donkeyed solution I recommend you consider using Oracle's Fine-Grained Auditing which does precisely this.
Cheers, APC -
How to get the SQL Query statement of a Search Form ?
Hi all,
We have a requirement to send the query result of an ADF Search Form into report application (Crystal rpt).
Crystal can accept data source as query statement. SO I think of getting the exact query statement "generated" by the ADF Search form and send it to crystal.
Is this possible ?
Thank you very much,
xtantoTry the various get methods of the viewObject such as getQuery:
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/ -
How to get these Attribute class in Query Statement ?
Hi All,
I have 2 SCCM primary site, the first one is a migrated site from SCCM 2007 to SCCM 2012 SP1 & then upgraded to SCCM 2012 R2, the second one is a newly created SCCM 2012 R2 site.
I was trying to create a collection membership rule using the query statement on the second site & i found there are attribute classes which were missing on this site.
Under query rule /edit query rule in the criteria tab i am trying to define a new criteria with Criteria type : Simple value & then i click the select under "Where" for chossing the attribute class & a value called "Winlogon64"
don't exists there. There are other classes which are missing too.
then i go to my first site & i can see the classes there, collection query rule are also defined using the attribute classes.
Now my questions are :-
1. Does these settings gets migrated from SCCM 2007 to SCCM 2012 on the first site?
2. How can we get this in SCCM 2012 R2 on the second site?
Experts please help.
Thanks,
Pranay.It sounds a lot like you where using an extension on your hardware inventory. Changes to your hardware inventory are not migrated, so you would need to recreate that change in the hardware inventory.
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude
Maybe you are looking for
-
Can't log in with ethernet cable plugged in
I have a whole department that has the same basic image and exact same workstations as other departments but solely has issues logging into their computers after a restart or shutdown. To log back in, they need to unplug their ethernet cables. Otherw
-
What is the best way to extract all my information from my macbook pro?
i wanna extract all my info, put it into an external hard drive and erase it from my mac.
-
CreationComplete event question?
Hi, I develop a application that have many screen and I develop each screen with a flex component (*.mxml page). I use creationComplete event in one screen but the function only execute when I first access the screen. But I need execute the function
-
Hello, i´m using the example-labview-operator-interface with some modifications. One of the changes is that i created a Thread (UserEcentCallback.vi) which reads a value from the StationGlobals and displays it on the OP. This thread is running in a l
-
New itunes doesn't allow me to preview videos?
I haven't been able to preview any videos since my itunes was updated. All I get is a fozen pic. Any ideas?