View and terminate sessions in CDOT
Trying to run the following command in CDOT 8.2.2 and getting the error message below NETAPP-01: qos statistics workload characteristics show -refresh-display true
Error: command failed: This command is being run in five other sessions, the maximum that is supported. Terminate the command in one of those
sessions or wait and try again later. I am not aware of anyone else logged using this command and would like to be able to list and close these sessions thta I believe may be hung. Anyone able to help with that?
Thanks for the reply, here is the output of the command. NETAPP01: job show
Owning
Job ID Name Vserver Node State
1 Certificate Expiry Check
NETAPP01
- Queued
Description: Certificate Expiry Check
2 SnapMirror Service Job
NETAPP01
NETAPPNode1
Dormant
Description: SnapMirror Service Job
5 Vol Reaper NETAPP01
- Queued
Description: Vol Reaper Job
7 CLUSTER BACKUP AUTO 8hour
NETAPP01
- Queued
Description: Cluster Backup Job
8 CLUSTER BACKUP AUTO daily
NETAPP01
- Queued
Description: Cluster Backup Job
Owning
Job ID Name Vserver Node State
9 CLUSTER BACKUP AUTO weekly
NETAPP01
- Queued
Description: Cluster Backup Job
34 Network Consistency Diagnostic - weekly
NETAPP01
NETAPPNode1
Queued
Description: Network Consistency Checker
58 SnapMirror Service Job
NETAPP01
NETAPPNode2
Dormant
Description: SnapMirror Service Job
60 Network Consistency Diagnostic - weekly
NETAPP01
NETAPPNode2
Queued
Description: Network Consistency Checker
Owning
Job ID Name Vserver Node State
1005 Peer Manager for cluster b8d5e180-db85-11e3-aefc-123478563412
NETAPP01
- Queued
Description: Cluster Peer Manager Job for cluster b8d5e180-db85-11e3-aefc-123478563412
1887 SnapMirrorDaemon_6_2147484681
NETAPP01
NETAPPNode1
Dormant
Description: Snapmirror Daemon for 6_2147484681
1888 SnapMirrorDaemon_8_2147484695
NETAPP01
NETAPPNode1
Dormant
Description: Snapmirror Daemon for 8_2147484695
1889 SnapMirrorDaemon_3_2147484675
NETAPP01
NETAPPNode1
Dormant
Description: Snapmirror Daemon for 3_2147484675
Owning
Job ID Name Vserver Node State
1890 SnapMirrorDaemon_5_2147484679
NETAPP01
NETAPPNode1
Dormant
Description: Snapmirror Daemon for 5_2147484679
2387 Consolidation Job gs-cifs-prd01
NETAPPNode1
Running
Description: Audit Consolidation monitoring Job
15 entries were displayed. Can't see anything obvious.
Similar Messages
-
Create view and alter Session gets 0RA-01031
I can't create a view after using ALTER SESSION set current_schema without using an explicit schema. I get ORA-01031. Is this a known bug? Here are the details:
1. Log on as SYSTEM
2. ALTER SESSION set current_schema=FRED;
3. CREATE VIEW vFoo as select * from Foo; -- ORA-01031: insufficient privileges
4. CREATE VIEW FRED.vFoo as select * from Foo; -- this works!
I've read where some privileges need to be granted directly. In fact, if Fred grants select privilege on Foo to SYSTEM, the statement in #3 above works. However, something doesn't seem right because why does #4 succeed without the GRANT?
In case you're wondering why I don't just use #4 above, which does work, it's because I've got a script that will be run by customers to create tables, views, etc. in an arbitrary schema and the schema is associated with a user with limited permissions. Hence, the use of the ALTER SESSION.See, You looged as SYSTEM (Scheme = SYSTEM)
Now you alter your session to another schema FRED.
Now if you want to access SCHEMA of FRED, You need to connect first.
SQL > connect user/password@host
Then
SQL > CREATE VIEW vFoo as select * from Foo;
View created. -
JBO error when terminate session
Hi,
I ran into the following error when I tried terminate session when user logs out. You help would be appreciated.
Here is the code of the backing bean
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpSession session = (HttpSession)ectx.getSession(false);
session.invalidate();
return "success";
Here is the error I received.
500 Internal Server Error
javax.faces.FacesException: #{plLogout.logoutButton_action}: javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78) at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196) at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)Caused by: javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72) ... 24 moreCaused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null at oracle.jbo.JboException.<init>(JboException.java:346) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:76) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:43) at oracle.adf.model.BindingContext.get(BindingContext.java:491) at oracle.adf.model.binding.DCBindingContainer.release(DCBindingContainer.java:1910) at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1551) at oracle.adf.model.bc4j.DCJboDataControl.release(DCJboDataControl.java:471) at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1482) at oracle.adf.model.BindingContext.release(BindingContext.java:284) at oracle.adf.model.servlet.HttpBindingContext.valueUnbound(HttpBindingContext.java:36) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindHttpSession.destroy(EvermindHttpSession.java:458) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:400) at PLS.view.backing.security.PLLogout.logoutButton_action(PLLogout.java:26) 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:585) at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126) ... 25 more
Regards,bonnietang,
Use the [ code ] and [ /code ] tags (without the spaces) to format your stack trace. That way, it is easier to follow (at least for me).
I assume that this line of your code, is causing the error:
session.invalidate();Correct?
I see you are using OC4J 10.1.3. Then perhaps the OC4J or the Oracle Application Server - General may be more appropriate for your message. However, since you are also using ADF, then perhaps the JDeveloper and ADF is also appropriate.
Good Luck,
Avi. -
Can not query from v$instance and v$session from within Pro*C program
Hi there,
We have Oracle 10.2.0.1 enterprise edition running on Linux (Red Hat 4 ES)
Our Pro*C developer tries to query the version from v$instance view and is getting errors when compiling his Pro*C programs.
The related Oracle user account has the SELECT ANY DICTIONARY privilege, so if he tries from the sqlplus, he has no problem querying the v$instance or v$session views. His problem is when he is trying to compile his Pro*C program against the very same Oracle account.
Any help/input is greatly appreciated.
R/ Zafer
Here are the errors he is getting:
Pro*C/C++: Release 10.2.0.1.0 - Production on Thu Jun 24 12:54:04 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from:
/home/oracle/product/10.2.0/Linux6
4/precomp/admin/pcscfg.cfg
Error at line 150, column 4 in file ../database.pc
EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
...1
PLS-S-00201, identifier 'V$INSTANCE' must be declared
Error at line 150, column 4 in file ../database.pc
EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
...1
PLS-S-00000, SQL Statement ignored
Semantic error at line 150, column 4, file ../database.pc:
EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
...1
PCC-S-02346, PL/SQL found semantic errorsI issued FULL DB EXPORT / IMPORT privilege to the related Oracle user account and it works now.
-
Problem with Frameset and page session
All,
I am having a problem with Framesets and page session attributes. I
have a client who's application uses a three frame frameset. They
have a requirement on several pages that when a button is pushed two
different pages load into the right and left frames. The way they
are accomplishing this is that on the pages were this is required,
they are adding target="_top" to the form declaration in their JSP.
Then they store the page names they want to display in session,
forward the request to the frameset, the frameset then determines
which pages to display based on the session variables. This works
exactly how they want it to.
Here is our problem. We need to store some information in page
session attributes. We have tried to get a handle to the desired
view bean and call the setPageSessionAttribute method. However,
since we are forwarding to the frame and the frame handles displaying
the desired JSP, that view bean we had the handle to is not the one
that is created to hand the display of the JSP.
The next thing I tried was to use the request object. In the
handleBtnRequest method, I set an attribute in the request object. I
then query the request object in the beginDisplay event of the view
bean. When the frame is reset the request object does not contain
the attribute that I have set. I'm confused by this because I
thought the request object would be available to me throughout the
life of the request.
Given the above information, does anyone have any suggestions? Also,
am I going about this in the wrong manner.
The client had been storing this information in user session, which
seemed to work. However, since the data being stored dealt
specifically with data for the requested page, we felt that storing
it as page session was more appropriate.
Thanks,The script on your page web page has some obvious bugs.. Best
fix those
first before looking to blame Flash.
Jeckyl -
Storing XML using XSU, object VIEW and INSTEAD OF trigger
Here is the point:
I've got 2 tables which are linked:
CREATE TABLE dept (
deptno NUMBER PRIMARY KEY,
deptname VARCHAR2(20)
CREATE TABLE emp (
empno NUMBER PRIMARY KEY,
empname VARCHAR2(20),
deptno NUMBER REFERENCES dept(deptno)
I've got the following message, which I want to insert in the tables using XSU (I already have a PL/SQL stored procedure which work perfectly for insertion into 1 table, using DBMS_XMLSave.insertXML or xmlgen.insertXML):
<DEPT>
<DEPTNO>10</DEPTNO>
<DEPTNAME>IT</DEPTNAME>
<EMP>
<EMPNO>1</EMPNO>
<EMPNAME>John</EMPNAME>
</EMP>
<EMP>
<EMPNO>1</EMPNO>
<EMPNAME>Phil</EMPNAME>
</EMP>
</DEPT>
So I've created the following object:
CREATE TYPE emp_t AS OBJECT
empno NUMBER,
empname VARCHAR2(20)
CREATE TYPE emplist_t AS TABLE OF emp_t;
CREATE TYPE dept_t AS OBJECT
deptno NUMBER,
deptname VARCHAR2(20),
emplist emplist_t
Now I understand that I should create an object VIEW and an INSTEAD OF trigger (That's what I read many times),
but I don't know how to structure the view and the trigger.
Could you help? (Example of a similar context, piece of code)
Thanks a lot
MarionHi John,
I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
Many thanks,
Dave
London -
Join v$sql and v$session
Hi All,
I want following columns from both v$sql(last_active_time) and v$session(username,status ,program)
Cud anyone guide me how to what is the sql that joins both views so that i get above column info ?
Thanks a lotsybrand_b wrote:
Yep but that is a 9i response and it won't work, IIRC, in 10g and higher.
Sybrand,
Why it won't work in 10g or higher?
SQL> /
Enter value for sid: 138
old 6: and ses.sid=&&sid
new 6: and ses.sid=138
SQL_TEXT
select /*+ ORDERED USE_NL(st) */ sql_text from v$session ses,
v$sqltext st where st.address = ses.sql_address and
st.hash_value=ses.sql_hash_value and ses.sid=138 order by pie
ce
SQL> l
1 select /*+ ORDERED USE_NL(st) */ sql_text
2 from v$session ses,
3 v$sqltext st
4 where st.address = ses.sql_address
5 and st.hash_value=ses.sql_hash_value
6 and ses.sid=&&sid
7* order by piece
SQL> select * from V$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL>Regards
Aman.... -
GV$SESSION and V$SESSION | Find who is connecting
Any one please brief what is the diff b/w
GV$SESSION and V$SESSION
and what is the use os both...
Can we find the user who is connecting to the oracle server using gv$session view.
Oracle Version is 9i R2
OS is Solaris 9You can find the users connecting to each node if you query the v$session. You must be aware of the node you are connecting when issuing this query because the information is exclusive from the node you are connected to.
If you query the gv$session the information gathered is the same, but as you can see it reports information from all RAC participant users.
If you take a look at the dynamic views, you will find a lot of gv$ views, those are global views that can be seen from whichever instance you are connected to and it will report information about all the instances in a single query. As you can see the gv$ views include an INST_ID (instance ID) column, which declares the number of instance the information comes from.
~ Madrid
http://hrivera99.blogspot.com -
Copy Session function in 4.6C (To view another users session).
Hi All,
I recall in version 4.0 of R3 an option called copy session which allowed you to view another users session. This option seems to have been taken away in newer version.
Does anyone know of another way of interactively looking at another users session,
Kind regards,
James Mandikos.Hi James,
Sometime back I have invested a lot of time and effort trying to do exactly what you're now up to !!
Unfortunately, I have not been able to do it. I have done a lot of debugging and tried to do that in some way or the other, but in vain. The reason, if I remember correctly, is that the code responsible for that action is not even there in the higher releases. That is presumably for reasons of security.
Regards,
Anand Mandalika. -
Hi All,
In the AM Console, under the "Current Sessions" screen, I used to be able to simply check any user's session and terminate it.
However, as of late (i might have unknowingly changed some parameter), if I check any user and try to end his/her session, the system takes about 1-2 mins and then throws the following error "Error Deleting Session for user xyz"
Can somebody please explain what this issue could be related to?
Any help would be appreciated.
.Saahildo you have too many sessions? like more than 120
if so tune this limit from session service -
Diffrance between saved views and workbooks
Hello Friends,
Good Morning ..
Could any one please tell me what is the diff between saved view and Workbooks. .?
It will be nice help for me.
Thanks .Hi Jain,
Do not know if your question is already answered. Let me give you my thoughts on this subject ... start with what is a query.
A query definition is saved on the server. Never anywhere else.
Although people say a workbook contains a query (or several queries); it does not. It contains a reference to a query. The workbook can be saved on the server; or anywhere else that you might save an Excel workbook.
What happens if someone changes the query definition on the server? Answer: the next time you refresh the query in the Excel workbook, the new query definition replaces the old query definition in the workbook. Maybe. It depends on what change was made.
For example, if someone added a Condition to the query definition, the workbook will be virtually invisible to this. The Condition is available; but, is not implemented in the workbook. (Until the user of the workbook manually adds the view of the Condition and then activates it.)
For example, if someone changed the definition of a KF in the query definition, the revised KF will show up in place of the old KF in the workbook.
But ... if, for example, someone deleted the old KF and added a new KF, we get a different story. Now the old KF no longer appears (it does not exist); but, the new KF does not appear (it was not marked to be visible in the workbook).
About workbooks as views ... OK, a workbook may very well have a certain "view" of the query (drilldown, filters, et cetera). And, if the workbook is saved to the server in a Role where everyone can access it, this is good. But, if the workbook is saved to one's favorites, then this "view" is only accessible to that individual. Which may be good. Or may not.
A "saved view", on the other hand is stored on the server. So, it is available to all.
If you navigate in a workbook you can back up. You can back up, though, only as far as you navigated in the current session. You cannot back up to where you were in the middle of last week's session. Unless you saved that navigation state as a "saved view". Then, you can jump to that view at any time.
The downside of saved views is that they are easy for anyone to set up and difficult for most to delete.
- Pete -
Is there a way to view and print a single month.....
without the partial previous and partial following months?
I'd like be able to view and print, for example, just August, without seeing the last few days of July and the first few days of September.
Thanks.Yes, people I work with use it, assistants fill the fields out for me. As far as I know there is no "Print Browser" option. Some folks have assistants copy and paste the info into text, csv or xml files. Since everthing has gone to meta tags, this approach is going the way of the electric spoon or feeding mayonnaise to Tuna.
Peace & Covering Fire,
B.S. -
What is the diffrence between SAP View and CAD View ?
What is the diffrence between SAP View and CAD View ?
What is the main purpose of SAP View
and
What is the main purpose of CAD View
On SAP help i found
SAP View is used for :The SAP view displays the SAP structure (document-based structure) for the active CAD object, or another document info record (header document), with a single-level or multilevel document structure in a tree structure. You can variably configure the fields using the layout editor.
CAD View is used for :The CAD view displays the document-based structure of the currently active CAD object, such as the structure of an assembly. The CAD system determines the complete (multilevel) structure and copies it either completely or in stages to the SAP system, in accordance with the default explosion level.
BUT I did not understand it well
Can someone explain this with an example
THanks
RajHello Raj,
SAP View can be further described as the view that is based on what is existing already in the SAP system. This view is generally used by SAP purchasing, MM people etc
CAD view is nothing but the replication of the model tree view in the SAP system. This is used by the design engineer and this view replicates only the parts that are actively displayed on the CAD tool window.
hope this helps. Let me know if you have further questions else please close the message.
regards
N K -
I was trying to turn off some of the unused toolbars on Firefox on my husband's Windows laptop. I mistakenly unchecked the menu tool bar under "view" and "toolbars" Now I can't figure out how to get it back.
If the menu bar is hidden then press F10 or hold down the Alt key, that should make the "Menu Bar" appear
Go to "View > Toolbars" and check-mark "Menu Bar" with a click if you want to make that permanent
See [[Menu bar is missing]]) -
I have some loops from acid 5 which I have dragged in a folder to the loop browser. Some of them retain the folder name in the View: and some don't. I have also had some that seem to go in but I can't find them. If I try to add them again, I get a msg that they are already there. Where should I look?
It may be best to recreate the folder and the smart playlists from scratch.
tt2
Maybe you are looking for
-
Planned delivery cost posting in MIRO through IDOC_INPUT_INVOIC_MRM
Hi Experts I came to know from the OSS Note 119092 that the planned delivery costs can not be posted for logistics(MM) incoming invoice throgh inbounf Function Module IDOC_INPUT_INVOIC_MRM. I just want to know whether this problem is rectified in ECC
-
hi friends. how to create a bdc for va01... i need step by step procedure. please help me...
-
Hi guys! Does anyone know if there's a packshot generator plugin/add on available for InDesign? Or is this something for Adobes dev team? I'm thinking this shouldn't be impossible to do, since InDesign knows how many pages my magazine/book contains,
-
Anyone has experience using 9i data guard for standby database??
I'll be appreciate if you let me know how you set it up, thanks...
-
Bootcamp Windows 7 Disappeared after partition resize
Hello guys, I have a Mid 2013 Macbook Pro 15 and just recently I installed windows 7 using Bootcamp. After a few days I decided to resize my Windows partition. So, I used Disk Utility to shrink my OSX partition. Then I restarted my laptop in Windows