Oracle DMS metrics
1. Are the CPU usage metrics ,that are available via the Enterprise Manager Console, exposed via the DMS servlet? or can it be interpreted using some existing DMS metric?
2. Is there a DMS table where I can see the heap memory usage for an oracleas instance(the one that we specify via the -Xms and -Xmx java options).
I had a look at the JVM table where the JVM stats for the various OC4J instances are listed. Here the values for the freeMemory and totalMemory are quite small like 4MB. Are these values for the entire OC4J instance or for a particular process.
Thanks,
Jagannath
When I refresh the page after this exception, the content is displayed correctly. When I make new request on this page, I get new Illegal state exception, after the refresh the content is displayed correctly again ...
Similar Messages
-
Guys,
This might not be the right forum for this thread but given the high volume i am sure someone would have a suggestion relating to the problem i am facing,
So basically i am struggling with enabling oracle built-in Dynamic monitoring system (DMS) metrics. As per the "OAS performance guide" setting up the system property of "-Doracle.dms.sensors=none|normal|heavy|all" (the default is normal) in data element under start-parameters should do the job, but i dont see any metric files getting created anywhere..is there anything i am missing ?
Any suggestions/comments as to what i could be doing wrong...
I am trying to use oracle build in implementation DMSMetricCollector to load balance between oc4j instances in a cluster using mod_oc4j...and thats why i came to the need of enabling the DMS Metrics..Thanks for the follow-up Steve,
Actually i did look at the monitoring tools. Now given that i would want to see the metrics in a clustered environment, Aggrespy wouldn't work as in the documentation which states "AggreSpy does not work as expected when using Oracle Application Server Clusters. When using a cluster, the Oracle HTTP Server mod_oc4j component load balances OC4J requests across Oracle Application Server instances. In this case, AggreSpy may report results for systems that are not the localhost (127.0.0.1).".
As for the dmstool (suggested for clustered environment), though it certainly looks handy but i was wondering if oracle provides a gui app/tool (like Aggrespy) where you get to see the entire metrics consolidated. ??
With dmstool it seems like, i would have to always follow two steps to reach the metrics value, 1) use dms-tool -list to location the actual reference or path (whatever u call it) like this
dmstool -list | grep /WEBs/processRequest.time
and based on the value returned u provide the exact reference i.e.
dmstool /eng-machine/OC4J:12502:6100/oc4j/default/WEBs/processRequest.time
pretty much 2 steps to drill down the actual metric value.. -
What are the DMS metrics related to Open/Total JDBC Connections?
Hi,
We need to monitor that state of the JDBC Connection Pool (Available conns, Max conns, etc.) by reading DMS, however we are struggling to find which is the right DMS metric associated to it?
We tried the table modplsql_DatabaseConnectionPool however it seems to be never loaded.
Thanks in advance!
CRFrances,
For example, use "min-connections" to specify how
many connections to pre-populate in the pool.Since when does "min-connections" pre-populate the pool?
According to my observations, there are no database connections established when OC4J starts up. Connections are only created when necessary. As a matter of fact, I still haven't seen anything in the behaviour of OC4J to indicate that it doesn't totally ignore the "min-connections" attribute.
[I have, on the other hand, seen that "max-connections" is taken into account by OC4J.]
Good Luck,
Avi. -
Where can i find dms metrics stored in the server?
hi,
where will be the dms metrics be stored inside the server.how does a spy retrives those data metrics.
This is very important.if anyone can answer it will be of great
help to us.
thank youHi Atul,
In /opt/sap/SAPBusinessOne, i only saw the following folders
INE-HANA:/opt/sap/SAPBusinessOne # ll
total 28
-rw-r--r-- 1 b1service0 b1service0 1531 Jul 10 22:19 .installer.properties
drwxr-xr-x 8 b1service0 b1service0 4096 Jul 10 22:29 AnalyticsPlatform
drwxr-xr-x 7 b1service0 b1service0 4096 Jul 10 23:08 Common
drwxr-xr-x 9 b1service0 b1service0 4096 Jun 26 23:02 ServerTools
drwxr-xr-x 3 b1service0 b1service0 4096 Jul 10 22:25 home
lrwxrwxrwx 1 b1service0 b1service0 43 Jul 10 22:25 jre -> /opt/sap/SAPBusinessOne/Common/sapjvm_7/jre
drwxr-xr-x 2 b1service0 b1service0 4096 Jul 10 22:45 logs
-rwxr-xr-x 1 b1service0 b1service0 3734 Jul 10 22:25 uninstall.bin
None of them contain B1_SHF
Any other suggestions?
Thanks,
Taw-Fey, Tan -
I downloaded Oracle SQL Developer 1.5 for Windows from the Oracle website and installed it on my computer. This zip file includes the JDK1.5.0_06. Then I ran Help | Check For Updates. This installed JTDS JDBC Driver 11.1.1.5304 and MySQL JDBC Driver 11.1.1.5304. I am trying to create a new database connection. Below are my settings.
Connection Name = TEST
Username = <the schema name>
Password = <the password>
Save Password = unchecked
Role = default
Connection Type = TNS
OS Authentication = unchecked
Proxy Connection = unchecked
Network Alias = <alias from tnsnames.ora>
When I click the [Connect] button I get the following message:
Status : Failure - Test failed: Missing class: oracle.dms.instrument.ExecutionContextForJDBCDependent class: oracle.jdbc.driver.Physica...
Any help on resolving this would be greatly appreciated.
Thank you.Thanks also!!!
NB ... path for sql dev must be one's own local path ... I copied from this OTN board ... and ... it didn't work.
When I went to try again, step by step, from a DOS prompt, I realized ... duh ... the path ...
But it is odd ... it wants its own JDBC class stuff ... why can't it find it when you put it on a short cut with a "start in" directory as itself?
Sometimes I hate computers ...
(I upgraded because my older version "just refused" to run one day ... had been meaning to try newer version) -
How can I get oracle.dms.* API Javadoc
Hi, every Oracle system expert,
I am going to developing a servlet to get the all the performance matrics from the AggreSpy(a per-packeged servlet in Oracle9iAS).
Is any one know how can I get oracle.dms.* package, How can get dms API.
dms - dynamic monitoring service is a monitoring framwork of the Oracle9iAS.
I have search everywhere on the Oracle web site, still cannot found. but I haven't install Oracle9iAS yet.
Does it should be somewhere in the Oracle_home/lib
Thanks in advance!
ElyEly,\\why don't you ask this question in one of the Oracle Application Server forums ?
Frank -
Hi,
I have a basic maven application created using oracle WebLogic Maven Plugin. Application uses UCP and I am logging UCP connection details in the application. Application is deployed to wls 12.1.3 ( JDK jdk1.8.0_45 ) and it gives java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole when accessed.
I have dms.jar in maven pom dependency ( added to local mvn repo manually ) and I verified that dms.jar is present in WEB-INF\lib in the application war and dms.jar contains DMSConsole class file under oracle/dms/console folder. I am using spring beans to initialize UCP logging. This appliation works in Tomcat 7.5. It gives error in wls 12.1.3 and 12.1.1 . Please advice on how to debug/ resolve...
bean for logging
<bean id="conpoolmgr"
class="oracle.ucp.admin.UniversalConnectionPoolManagerImpl"
factory-method="getUniversalConnectionPoolManager"
p:logLevel="FINEST" />
Logs:
[ServletContext@131823626[app:basicWebapp module:basicWebapp.war path:null spec-version:3.0], request: weblogic.servlet.internal.ServletRequestImpl@6ba61b7a[
GET /basicWebapp/welcome.html HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://xxx.xxx.xxx.xxx:7001/basicWebapp/
Connection: keep-alive
]] Root cause of ServletException.
java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:571)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:488)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:501)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:474)
at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:534)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:677)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:621)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:591)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1397)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:434)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:404)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:82)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.test.springapp.HelloWorld.helloWorld(HelloWorld.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused By: java.lang.ClassNotFoundException: oracle.dms.console.DMSConsole
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:571)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:488)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:501)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:474)
at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:534)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:677)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:621)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:591)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1397)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:434)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:404)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:82)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.test.springapp.HelloWorld.helloWorld(HelloWorld.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Thanks
SandeepVerified WebLogic Classloading using CAT '( wls-cat app ) and found oracle.dms.console.DMSConsole was loaded from web-inf jar and ucp classes were loaded from jar from weblogic, used below entry in weblogic.xml to load everything from web-inf to resolve the issue
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
Thanks
Sandeep -
Oracle/dms/instrument/ExecutionContextForJDBC error
Hi All,
I'm trying to setup a project to connect to an oracle db to log into using a schema
and am getting the following error when trying to log into the database:-
java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
The stack trace for this says as folows:-
java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:322)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
at oracle.toplink.workbench.mappingsmodel.db.MWDatabase.login(MWDatabase.java:611)
at oracle.toplink.workbench.mappingsplugin.ui.db.LogInAction.execute(LogInAction.java:47)
at oracle.toplink.workbench.framework.action.AbstractFrameworkAction.execute(AbstractFrameworkAction.java:149)
at oracle.toplink.workbench.framework.action.AbstractFrameworkAction.actionPerformed(AbstractFrameworkAction.java:134)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
The setenv.bat has the following variables set:-
set DRIVER_CLASSPATH=C:\Jdeveloper\oc4j\jdbc\lib\ojdbc14dms.jar;C:\Jdeveloper\oc4j\jdbc\lib\ocrs12.jar;C:\Jdeveloper\oc4j\jdbc\lib\orai18n.jar;C:\Jdeveloper\jdbc\lib\ojdbc14.jar;
set JAVA_HOME=C:\Jdeveloper\jdk
Please could somebody help me with this error?
Thanks.Got this problem fixed. Forgot to include dms.jar in the DRIVER_CLASSPATH environment variable in the setenv.cmd file of top link
So changed it to include the dms.jar file as follows:-
set DRIVER_CLASSPATH=C:\Jdeveloper\oc4j\jdbc\lib\ojdbc14dms.jar;C:\Jdeveloper\oc4j\jdbc\lib\ocrs12.jar;C:\Jdeveloper\oc4j\jdbc\lib\orai18n.jar;C:\Jdeveloper\jdbc\lib\ojdbc14.jar;C:\Jdeveloper\oc4j\lib\dms.jar;
and the toplink seemed to connect to the db.
Thanks. -
How to monitor DMS metrics in EM?
How to monitor DMS metrics (in particular ADF-related metrics) in EM? It looks like they are supposed to be available in EM (FMW control), but I can't find them anywhere.
When I research with DB02 transaction code in BW, I encountered following tables having lot of log , please some body can help me, how to delete the following log data?
ARFCSDATA ARFC Call Data (Callers)
BALDAT Application Log: Log data
BSRWBSTORE Storage for binary large objects (Excel) -
Oracle SLA Metrics and System Level Metrics Best Practices
I hope this is the right forum...
Hey everyone,
This is what I am looking for. We have several SLA's setup and we have defined many Business Metrics and we are trying to map them to System level metrics. One key area for us is Oracle. I was wondering is there is a best practice guide out there for SLA's when dealing with Oracle or even better, System Level Metric best practices.
Any help would be ideal please.Hi
Can you also include the following in the FAQ?
1) ODP.NET if installed prior to this beta version - what is the best practice ? De-install it prior to getting this installed etc ..
2) As multiple Oracle home's have become the NORM these days - this being a Client only should probably be non-intrusive and non-invasive.. Hope that is getting addressed.
3) Is this a pre-cursor to the future happenings like some of the App-Server evolving to support .NET natively and so on??
4) Where is BPEL in this scheme of things? Is that getting added to this also so that Eclipse and .NET VS 2003 developers can use some common Webservice framework??
Regards
Sundar
It was interesting to see options for changing the spelling of Webservice [ the first one was WEBSTER].. -
Oracle 10g - Metric Calculations
I am trying to support a query that creates a report(hourly) to be used in Excel and some of the stats may be incorrect.A user is prompted to enter a start date from when to begin searching for records.The goal is to generate measurements on a process. The process begins when a customer has added his email to our website. Then he is sent an email for verification.However,problems sending the email may occur indicated by the TRANS_STATUS codes. DATE_EMAIL_ADDED is when the customer fills out our website and submits his email. DATE_EMAIL_SENT is when the email was validated and the time the notification was sent. The dates are timestamps. Also, I would like some thoughts on the calculations to make sure they are correct. Any suggestions on optimizing this query or a different approach to the solution is appreciated.
-- DDL for Table TRANS_DTL
{code
CREATE TABLE "TRANS_DTL"
( "TRANS_ID" NUMBER(22,0),
"TRANS_TYPE" VARCHAR2(5),
"START_TIME" DATE,
"END_TIME" DATE,
"TRANS_STATUS" VARCHAR2(3)
code}
-- DDL for Table EMAILINGS
{code
CREATE TABLE "EMAILINGS"
("ATTEMPTS_MADE" NUMBER,
"DATE_EMAIL_SENT" DATE,
"DATE_EMAIL_ADDED" DATE
select
A.DATE_EMAIL_ADDED,
A.NUM_EMAIL,
A.EMAIL_TYPE,
A.AVG_TIME_TO_EMAIL,
A.FIRST_ATTEMPT_RATIO,
B.TOT_TXNS,
B.TXN_Success_Rate,
B.TXN_API_Exception_Rate,
B.TXN_System_Exception_Rate,
B.AVG_Duration
FROM
(select TO_DATE(to_char(DATE_EMAIL_ADDED,'MM/DD/YYYY HH24'),'MM/DD/YYYY HH24') DATE_EMAIL_ADDED,
w.email_type EMAIL_TYPE,
count(*) NUM_EMAIL,
avg((DATE_EMAIL_SENT - DATE_EMAIL_ADDED) * 1440) AVG_TIME_TO_EMAIL,
sum(case when ATTEMPTS_MADE = 1 then 1 else 0 end) / count(*) first_attempt_ratio
from EMAILINGS W
where DATE_EMAIL_ADDED >= to_date('&date','MM/DD/YYYY')
group by TO_DATE(to_char(DATE_EMAIL_ADDED,'MM/DD/YYYY HH24'),'MM/DD/YYYY HH24')
,w.email_type
) A,
(select
Start_Date,
count(*) TOT_TXNS,
sum(case when TRANS_STATUS = '000' then 1 else 0 end) / count(*) TXN_Success_Rate,
sum(case when TRANS_STATUS = '997' then 1 else 0 end) / count(*) TXN_API_Exception_Rate,
sum(case when TRANS_STATUS = '999' then 1 else 0 end) / count(*) TXN_System_Exception_Rate,
avg(elapsed_seconds) AVG_Duration
from (
select
to_date(to_char(Start_Time, 'MM/DD/YYYY HH24'),'MM/DD/YYYY HH24') Start_Date,
TRANS_STATUS,
trunc(to_number(substr((a.End_Time-a.Start_Time),1,instr(a.End_Time-a.Start_Time,' ')))) *86400 +
substr((a.End_Time-a.Start_Time),instr((a.End_Time-a.Start_Time),' ')+1,2)*3600 +
substr((a.End_Time-a.Start_Time),instr((a.End_Time-a.Start_Time),' ')+4,2)*60 +
substr((a.End_Time-a.Start_Time),instr((a.End_Time-a.Start_Time),' ')+7,2) +
substr((a.End_Time-a.Start_Time),instr((a.End_Time-a.Start_Time),' ')+10,6)*0.000001 elapsed_seconds
from TRANS_DTL a
where
TRANS_TYPE = 'ESP'
and Start_Time >= to_date('&date','MM/DD/YYYY')
and end_time is not NULL
group by Start_Date) B
where A.DATE_EMAIL_ADDED = B.START_DATE
order by B.START_DATE;
DATE_EMAIL_ADDED NUM_EMAIL EMAIL_TYPE AVG_TIME_TO_EMAIL FIRST_ATTEMPT_RATIO TOT_TXNS TXN_SUCCESS_RATE TXN_API_EXCEPTION_RATE TXN_SYSTEM_EXCEPTION_RATE AVG_DURATION(sec)
1/10/2011 116 WE 5.59 99.14 127 89.76% 10.24% 0.00% 9.31
code}Nicosa wrote:
No, it uses curly brackets, like that {noformat}{noformat}.No, it can be both. either {noformat}{noformat} before and after the code OR {noformat}[code]{noformat} before and {noformat}[/code]{noformat} after. -
af:attribute Illegal state exception on tomcat
I am getting Illegal state exception, when I use <af:attribute> referencing a row variable in treeTable :
java.lang.IllegalStateException
com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:382)
com.sun.faces.context.FacesContextImpl.getApplication(FacesContextImpl.java:120)
oracle.adfinternal.view.faces.taglib.AttributeTag.doStartTag(AttributeTag.java:94)
org.apache.jsp.ObjectList2_jspx._jspx_meth_af_attribute_0(ObjectList2_jspx.java:767)
org.apache.jsp.ObjectList2_jspx._jspx_meth_af_commandLink_4(ObjectList2_jspx.java:749)
org.apache.jsp.ObjectList2_jspx._jspx_meth_af_column_3(ObjectList2_jspx.java:543)
org.apache.jsp.ObjectList2_jspx._jspx_meth_af_treeTable_0(ObjectList2_jspx.java:232)
org.apache.jsp.ObjectList2_jspx._jspx_meth_af_form_0(ObjectList2_jspx.java:206)
org.apache.jsp.ObjectList2_jspx._jspx_meth_afh_body_0(ObjectList2_jspx.java:188)
org.apache.jsp.ObjectList2_jspx._jspx_meth_afh_html_0(ObjectList2_jspx.java:152)
org.apache.jsp.ObjectList2_jspx._jspx_meth_f_view_0(ObjectList2_jspx.java:126)
org.apache.jsp.ObjectList2_jspx._jspService(ObjectList2_jspx.java:97)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:134)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:266)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:164)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
oracle.adfinternal.view.faces.webapp.FacesFilter.doFilter(FacesFilter.java:89)
If I use f:attribute, there is no exception, but also the attribute is not created. If I use f:attribute or af:atribute with a string value, it works OK.
Here is my page:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:afh="http://xmlns.oracle.com/adf/faces/EA14/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/EA14" >
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
<afh:html>
<afh:head title="Main">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1250"></meta>
</afh:head>
<afh:body>
<af:form>
<af:treeTable var="row" value="#{s.userObjectTreeModel}">
<f:facet name="nodeStamp">
<af:column>
<f:facet name="header">
<af:outputText value="User Objects" />
</f:facet>
<af:outputText value="#{row.item.userObjectName}" />
</af:column>
</f:facet>
<af:column>
<f:facet name="header">
<af:outputText value="Type" />
</f:facet>
<af:outputText value="Micromart" rendered="#{row.item.micromart}" />
<af:outputText value="Group" rendered="#{row.item.userGroup}" />
<af:outputText value="Object" rendered="#{row.item.userObject}" />
</af:column>
<af:column>
<f:facet name="header">
<af:outputText value="Status" />
</f:facet>
<af:outputText value="#{row.item.status}" />
</af:column>
<af:column>
<f:facet name="header">
<af:outputText value="Actions" />
</f:facet>
<af:commandLink text="Edit" actionListener="#{s.selectUserObject}"
rendered="#{row.item.userObject}">
<af:attribute name="item" value="#{row.item.userObjectName}" />
</af:commandLink>
</af:column>
</af:treeTable>
</af:form>
</afh:body>
</afh:html>
</f:view>
</jsp:root>
and here is server.xml :
<?xml version = '1.0' encoding = 'ISO-8859-1'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<!-- Faces API parameter -->
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
<!--param-value>server</param-value-->
</context-param>
<!-- ADF Faces by default uses an optimized client-side state saving
mechanism. To disable that, uncomment the following -->
<!--context-param>
<param-name>oracle.adf.view.faces.CLIENT_STATE_METHOD</param-name>
<param-value>all</param-value>
</context-param-->
<!-- Whether or not to turn on Oracle DMS metrics -->
<!-- set to "true" to enable DMS metrics in an OC4J environment. -->
<!-- Then you can go to
http://<hostname>:<port>/<context-root>/servlet/Spy -->
<context-param>
<param-name>oracle.adf.view.faces.ENABLE_DMS_METRICS</param-name>
<param-value>false</param-value>
</context-param>
<!-- Faces Filter -->
<filter>
<filter-name>faces</filter-name>
<filter-class>oracle.adfinternal.view.faces.webapp.FacesFilter</filter-class>
<init-param>
<param-name>faces-servlet-url-pattern</param-name>
<param-value>/faces/*</param-value>
</init-param>
</filter>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<!-- Faces Filter Mappings -->
<filter-mapping>
<filter-name>faces</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>facesS</servlet-name>
</filter-mapping>
<!-- Faces Servlet -->
<servlet>
<servlet-name>facesS</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<!-- On some version of OC4J, the following is needed when using jsf 1.0 -->
<!--servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
<init-param>
<param-name>tags_reuse_default</param-name>
<param-value>none</param-value>
</init-param>
</servlet-->
<!-- Faces Servlet Mappings -->
<servlet-mapping>
<servlet-name>facesS</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<!-- Welcome Files -->
<welcome-file-list>
<welcome-file>index.jspx</welcome-file>
</welcome-file-list>
<!-- ADF Faces Tag Library -->
<taglib>
<taglib-uri>http://xmlns.oracle.com/adf/faces/EA14</taglib-uri>
<taglib-location>/WEB-INF/af.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://xmlns.oracle.com/adf/faces/EA14/html</taglib-uri>
<taglib-location>/WEB-INF/afh.tld</taglib-location>
</taglib>
<!-- Faces Core Tag Library -->
<taglib>
<taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
<taglib-location>/WEB-INF/jsf_core.tld</taglib-location>
</taglib>
<!-- Faces Html Basic Tag Library -->
<taglib>
<taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
<taglib-location>/WEB-INF/html_basic.tld</taglib-location>
</taglib>
<!-- Survey Demo (Custom) Tag Library -->
<taglib>
<taglib-uri>http://xmlns.oracle.com/adf/faces/EA14/demo</taglib-uri>
<taglib-location>/WEB-INF/survey.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://xmlns.oracle.com/adffacesdemo</taglib-uri>
<taglib-location>/WEB-INF/uixdemo.tld</taglib-location>
</taglib>
</web-app>
I use Tomcat 5.0.18 (embeded in Eclipse for web) and ADF Faces ea14 (with ea13 was the same problem.)
Thanks for any hints...When I refresh the page after this exception, the content is displayed correctly. When I make new request on this page, I get new Illegal state exception, after the refresh the content is displayed correctly again ...
-
Hi all,
I'm trying to load dbws-callout-utility in a oracle9i Enterprise Edition Realease 9.2.0.5.0 data base.
To do that, I've follow these instructions "http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm" step by step:
- I've set shared_pool_size to 96M (then, even to 150M) in my spfile.
- I've set java_pool_size to 80M in my spfile.
- I've tested this changes were well done.
- Then, I've download oc4j_extended 10.1.2 version, as said the link.
- manual says that I must load this jar files:
jssl-1_2.jar, soap.jar, dms.jar, servlet.jar, ejb.jar, mail.jar
- I've could to load these jars without any error using these commands:
cd $ORACLE_HOME/lib
dropjava -u wsuser/pass mail.jar
dropjava -u wsuser/pass activation.jar
cd $ORACLE_HOME/oc4j_extended/j2ee/home/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass ejb.jar
cd $ORACLE_HOME/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass activation.jar
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass mail.jar
cd ${ORACLE_HOME}/oc4j_extended/j2ee/home/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass servlet.jar
cd ${ORACLE_HOME}/jlib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass jssl-1_2.jar
but when I try to load dms.jar with this command:
cd ${ORACLE_HOME}/oc4j_extended/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass dms.jar
loadjava's process hangs just compiling (resolving) this class: "oracle/dms/address/Optic", so I've got to kill process.
Then, I try to load dms.jar with the same command but without "-resolve" option. This way, I've been able to load all class from
this jar including the named before "oracle/dms/address/Optic". Then I compile all java class by hand except "oracle/dms/address/Optic"
because everytime I try to compile (-resolve) this class, it hangs. So this is my first question: why?.
As I've could to load almost all java class, I said, I'm going to try to load last jar: soap.jar
cd ${ORACLE_HOME}/oc4j_extended/soap/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass soap.jar
but when this command finish, it shows me these errors:
errors : class org/apache/soap/messaging/Message
ORA-29534: el objeto WSUSER.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
synonym : org/apache/soap/messaging/Message
The following operations failed
class oracle/soap/client/ProviderManagerClient: resolution
class oracle/soap/client/ServiceManagerClient: resolution
class oracle/soap/server/http/SOAPServlet: resolution
class oracle/soap/providers/JavaProvider: resolution
class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
class oracle/soap/providers/sp/SpProvider: resolution
class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
class org/apache/soap/rpc/Call: resolution
class org/apache/soap/rpc/RPCMessage: resolution
class org/apache/soap/rpc/Response: resolution
class org/apache/soap/messaging/Message: resolution
exiting : Failures occurred during processing
but this has no sense, because this class oracle/soap/transport/http/OracleSOAPHTTPConnection do exists in the jar file and it can be loaded.
so I don't understand..... I try to load class by class to see dependencies or whatever using this command:
I choose this class to begin:
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass org/apache/soap/rpc/Call.class
it shows me:
creating : class org/apache/soap/rpc/Call
loading : class org/apache/soap/rpc/Call
granting : execute on class org/apache/soap/rpc/Call to PUBLIC
resolving: class org/apache/soap/rpc/Call
errors : class org/apache/soap/rpc/Call
ORA-29534: el objeto WSARR.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
synonym : org/apache/soap/rpc/Call
The following operations failed
class org/apache/soap/rpc/Call: resolution
exiting : Failures occurred during processing
so I try to load the class which it had could not find:
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsarr/wsarr oracle/soap/transport/http/OracleSOAPHTTPConnection.class
it shows me:
creating : class oracle/soap/transport/http/OracleSOAPHTTPConnection
loading : class oracle/soap/transport/http/OracleSOAPHTTPConnection
granting : execute on class oracle/soap/transport/http/OracleSOAPHTTPConnection to PUBLIC
resolving: class oracle/soap/transport/http/OracleSOAPHTTPConnection
errors : class oracle/soap/transport/http/OracleSOAPHTTPConnection
ORA-29545: clase especificada incorrectamente: at offset 445 of oracle.soap.transport.http.OracleSOAPHTTPConnection.getHTTPConnection expecting a class-oracle.security.ssl.OracleSSLCredential but encountered a class-oracle.security.ssl.OracleSSLCredential.
synonym : oracle/soap/transport/http/OracleSOAPHTTPConnection
The following operations failed
class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
exiting : Failures occurred during processing
o_o ...... but this could be endless!!!!!
Is there someone in this planet who had could to load this jars files without errors?????? :´(
Please, I need help!!!! it's urgent!
Thanks in advance!
MaríaThe error messages you are getting means that the JAR you loaded into the database is invalid.
ORA-29534: referenced object string.string could not be resolved
Cause: Name resolution determined that the indicated object is referenced but could not be resolved.
Action: Correct name resolver or address resolution problems in the referenced class, or correct compilation problems in its source.
Oracle extracts all classes from the jar file by the time you load the jar file and processes each class individually. I suggest you to run this query against the user_objects or dba_objects view to determine the status of your classes
select DBMS_JAVA.LONGNAME(OBJECT_NAME) as OBJECT_NAME
,STATUS
from USER_OBJECTS
where OBJECT_TYPE like 'JAVA%'
On the other hand, I see you are at 9.2.0.5.0, in order for you to avoid hitting known bugs, I suggest you to apply, if possible, the latest 9.2.0.8.0 + July CPU patch
~ Madrid -
"DMS-Startup" NoClassDefFoundError: oracle/dfw/impl/common/TempFileManager
We have setup cluster for 11g PS4 stack including SOA, WC, ECM, OIM.
M1 -->AdminServer, soa-server1,osb_server1,.....ucm_server1.
M2-> soa_server2,osb_server2,......ucm_server2.
When we try to start soa_server2 we are getting this following error due to which soa-infra of soa_server2 is not getting activated.
NOTE : soa_seever1 is up and running fine with out any issue.
h1*Environment details*
SYSTEM :
[oracle@QANees bin]$ uname -a
Linux QANees 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
OS :
[oracle@QANees bin]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
SOA:
[oracle@QANees bin]$ ./soaversion.sh
INFO: Detected a WebLogic Installation.
Oracle SOA Server version 11.1.1.5.0
Build: 0
Build time: Mon Apr 18 18:05:14 PDT 2011
Build type: release
Source tag: PCBPEL_11.1.1.5.0_GENERIC_110418.1550.0174
Oracle BAM Source Tag:ORABAM_11.1.1.5.0_GENERIC_110330.1900
Oracle BPM Source Tag: PCBPEL_11.1.1.5.0_GENERIC_110418.1550.0174
Oracle Implementation-Version: Oracle Middleware 11.1.1 (ASKERNEL_11.1.1.5.0_
GENERIC_110418.2020, ADMINSERVER_11.1.1.5.0_GENERIC_110322.2200, J2EE
_11.1.1.5.0_GENERIC_110329.0915, JDEVADF_11.1.1.5.0_GENERIC_110409.00
25.6013, TOPLINK_11.1.1.5.0_GENERIC_110305.0900, ENTSEC_11.1.1.5.0_GE
NERIC_110326.1205, FMWCONFIG_11.1.1.4.0_GENERIC_RELEASE)
DB:
[oracle@DBNees ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jul 28 15:05:21 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Error Log:
Jul 28, 2011 9:02:37 PM oracle.core.ojdl.logging.LogUtil log
WARNING: unable to read logging configuration from file '/orainstall/FMW_HOME/user_projects/domains/cls_domain/config/fmwconfig/servers/soa_server2/logging.xml'; exception: oracle.core.ojdl.logging.LoggingConfigurationException: ODL-52049: cannot create instance of class 'oracle.dfw.incident.IncidentDetectionLogFilter': java.lang.ExceptionInInitializerError
oracle.core.ojdl.logging.LoggingConfigurationException: ODL-52049: cannot create instance of class 'oracle.dfw.incident.IncidentDetectionLogFilter': java.lang.ExceptionInInitializerError
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.getInstance(LoggingConfigurationImpl.java:651)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.access$000(LoggingConfigurationImpl.java:104)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl$HandlerState.initHandler(LoggingConfigurationImpl.java:1083)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.configure(LoggingConfigurationImpl.java:281)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.configure(LoggingConfigurationImpl.java:253)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.<init>(LoggingConfigurationImpl.java:161)
at oracle.core.ojdl.logging.config.ServerLoggingConfiguration.<init>(ServerLoggingConfiguration.java:65)
at oracle.core.ojdl.logging.config.ServerLoggingConfiguration.readConfiguration(ServerLoggingConfiguration.java:110)
at oracle.core.ojdl.weblogic.ODLConfiguration.main(ODLConfiguration.java:136)
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 weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeMain(ClassDeploymentManager.java:362)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:273)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:246)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsBeforeAppDeployments(ClassDeploymentManager.java:149)
at weblogic.management.deploy.classdeployment.ClassDeploymentService.start(ClassDeploymentService.java:21)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.ExceptionInInitializerError
at oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:120)
at oracle.dfw.framework.DiagnosticsFramework.initializeProvider(DiagnosticsFramework.java:98)
at oracle.dfw.framework.DiagnosticsFramework.<init>(DiagnosticsFramework.java:53)
at oracle.dfw.incident.IncidentDetectionLogFilter.<init>(IncidentDetectionLogFilter.java:62)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.getInstance(LoggingConfigurationImpl.java:649)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.access$000(LoggingConfigurationImpl.java:104)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl$HandlerState.initHandler(LoggingConfigurationImpl.java:1083)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.configure(LoggingConfigurationImpl.java:281)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.configure(LoggingConfigurationImpl.java:253)
at oracle.core.ojdl.logging.impl.LoggingConfigurationImpl.<init>(LoggingConfigurationImpl.java:160)
at oracle.core.ojdl.logging.config.ServerLoggingConfiguration.<init>(ServerLoggingConfiguration.java:64)
at oracle.core.ojdl.logging.config.ServerLoggingConfiguration.readConfiguration(ServerLoggingConfiguration.java:110)
at oracle.core.ojdl.weblogic.ODLConfiguration.main(ODLConfiguration.java:136)
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 weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeMain(ClassDeploymentManager.java:362)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:272)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:207)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsBeforeAppDeployments(ClassDeploymentManager.java:149)
at weblogic.management.deploy.classdeployment.ClassDeploymentService.start(ClassDeploymentService.java:20)
... 3 more
Caused by: java.lang.NullPointerException
at oracle.dfw.impl.common.TempFileManager.recursiveDelete(TempFileManager.java:91)
at oracle.dfw.impl.common.TempFileManager.<clinit>(TempFileManager.java:261)
... 35 more
Jul 28, 2011 9:02:37 PM oracle.core.ojdl.logging.LogUtil log
WARNING: unable to register log dump; exception: java.lang.reflect.InvocationTargetException
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 oracle.core.ojdl.weblogic.ODLConfiguration.main(ODLConfiguration.java:153)
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 weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeMain(ClassDeploymentManager.java:362)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:272)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:207)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsBeforeAppDeployments(ClassDeploymentManager.java:149)
at weblogic.management.deploy.classdeployment.ClassDeploymentService.start(ClassDeploymentService.java:20)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NoClassDefFoundError: oracle/dfw/impl/common/TempFileManager
at oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:120)
at oracle.dfw.framework.DiagnosticsFramework.initializeProvider(DiagnosticsFramework.java:98)
at oracle.dfw.framework.DiagnosticsFramework.<init>(DiagnosticsFramework.java:53)
at oracle.as.management.logging.tools.LogDump.init(LogDump.java:82)
at oracle.as.management.logging.tools.LogDump.init(LogDump.java:72)
... 21 more
<Jul 28, 2011 9:02:39 PM IST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "DMS-Startup", java.lang.NoClassDefFoundError: oracle/dfw/impl/common/TempFileManager
java.lang.NoClassDefFoundError: oracle/dfw/impl/common/TempFileManager
at oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:120)
at oracle.dfw.framework.DiagnosticsFramework.initializeProvider(DiagnosticsFramework.java:98)
at oracle.dfw.framework.DiagnosticsFramework.<init>(DiagnosticsFramework.java:53)
at oracle.dms.wls.DMSStartup.start(DMSStartup.java:212)
at oracle.dms.wls.DMSStartup.startUp(DMSStartup.java:118)
Truncated. see log file for complete stacktrace
>
<Jul 28, 2011 9:02:41 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Jul 28, 2011 9:02:41 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Jul 28, 2011 9:02:42 PM oracle.as.jmx.framework.LoggerHelper log
WARNING: Error during preRegister for MBean oracle.dfw:name=Streamer,type=oracle.dfw.jmx.Streaming
java.lang.RuntimeException: java.lang.NoClassDefFoundError: oracle/dfw/impl/common/TempFileManager
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:663)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:611)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)This is the solution:
1. Stop managed server and admin server
2. check that you have write+read+execute permissions on /var/tmp/ directory
3. Clean /var/tmp/ directory
4. Go to <Your_domain> --> servers --> <Admin_server>
5 Delete tmp folder
6. start Admin server
7. Check the AdminServer-diagnostic.log file, if error is still there please upload the admin server logs for further reviewing.
8. If issue is gone, then try to start soa managed server using the command prompt (please do not use the weblogic console to start it)
ese fue el Workaround
Worked for my -
Configuring DMS (Dynamic Monitoring Service) on Oracle 9 IAS
I have 9ias configured for DMS monitoring, at least I thought I did. I can get DMS metrics via DMSTOOL on the local box for all tables but when I attempt to access remotely I get "FLEXMON Error: Detected Invalid Tablename JVM" and JVM is available on the localhost. All applicable configuration members have been updated using "Allow from localhost remotehost remotehost..etc.
Thankssomeone from the HTTP server group will answer your question, drop me an email if there is no reply within 2 days.
Regards,
--Tao
Maybe you are looking for
-
[Solved] Suspend to Disk: systemd-hibernate.service Fails
Howdy-ha, folks. I know this looks pretty mundane, but for the life of me I can't get hibernation to work. Each time I run systemctl hibernate the screen will go blank as though preparing to suspend, then come back on; journalctl shows the same err
-
I am a newbie and I have come across a problem which I cannot seem to rectify, when trying to use the quick mask tool and select the paintbrush it does not work, i.e no mask is created, can anyone help
-
Hi team, I have a requirement in SRM 7.02. We are creating contracts and replicating to ECC system via idocs only. In SRM we are using only Strategic sourcing and contracts only. I just wanted to know , suppose contract is created in SRM system an
-
Installation of solaros 10 struck at ENTER prompt
I am installing solaris 10 5/08 on x86 based SUN FIRE 4450 machine. It gives initial screens Configuring devices. "1. Solaris Interactive (default) 2. Custom JumpStart 3. Solaris Interactive Text (Desktop session) 4. Solaris Interactive Text (console
-
Direct & Indirect Breakup after allocation to COPA
Dear All We have an issue with COPA allocations. Allocations happen in two steps. 1. Allocation of indirect cost centers such as head office costs to actual cost centers(branches) 2. Allocation of costs in the real cost center(Branch) to COPA produ