Help for "Invalid Object Count"
Hi
I got a Schema in my Database, i added a couple of tables with a script, dropped them again and did so 3 times because of some errors. Now i get the Error "Owner's Invalid Object Count" in the Category "Invalid Objects by Schema" and Oracle Enterprise Manager says i have invalid objects in my schema. How can i clean the schema and delete those invalid objects? i can't seen them in my tables, views or synonyms.
greets
May be some script error
u should drop old table
then create new table.
ok
good luck
Similar Messages
-
Metric=Owner's Invalid Object Count
I have configured the Metric=Owner's Invalid Object Count and defined Warning & Critical Values.
I receive mails only for the SYS Owned Objects and not for other objects !!!!
Thank YouIs there no SQL Statment in the Repository to check an hole agent again ?
Example: You installed an new Application and want to check 4 Metrics (Like >>is SYS loggon or invalid objects , Tablespaces full > 95 % ) and so on..sql statement is there You can check this logon by on database
So i have to edit all Metrics checked them and edit them back ???
I think the Enterprise Manager need an Full Refresh like this one...
Or an Button to select metrics you want to check and execute them (One >>Database or select multiple)Can you explore this in detail -
Need shell Script for Invalid object
Hi All,
Can anyone post me a script for checking the invalid objects in 10g/11g database.
The should should check for invalid objects,recompile and sent the email .I could think fo something like below(And applicable to multiple SID's running on the server) and i tested it it works(bash shell script)
Assumptions:
You have environmental file to set ORACLE_HOME ORACLE_SID
say in this example
/oracle/env
ls -ltr
env_ORCL.sh
env_TEST.sh
env_HR.sh
You also have uuencode rpm installed to use along with mailx command(or else get it installed not big deal). uuencode is required
to send as mail attachment
1)I have kept SID list in file (/oracle/INVALID directory for eg)
cat SID.lst
ORCL
TEST
HR
If you have lot of SID's you can populate the file using ( ps -ef|grep -i pmon | grep -v grep | awk '{print$9}' | sed 's/ora_pmon_//g' > SID.lst)
2) Here are the list of SQL's(/oracle/INVALID directory
cat invalid_pre.sql (For listing invalid objects per instance)
set echo off
set heading off
set time off
set timing off
spool invalid.log append
break on instance_name
select instance_name , a.*
from (select owner,count(*) from dba_objects where status='INVALID' group by owner) a, v$instance;
spool off
exit;
cat invalid_compile.sql--to recompile invalid objects
set echo off
set termout off
set feedback off
@?/rdbms/admin/utlrp.sql 4; (Note you change degree 4 or 8 accordingly)
exit;
cat invalid_post.sql--to list post recompilation
set echo off
set heading off
set time off
set timing off
spool invalid_post.log append
break on instance_name
select instance_name , a.*
from (select owner,count(*) from dba_objects where status='INVALID' group by owner) a, v$instance;
spool off
exit;
3)here is the shell script
cat invalid.sh
for i in `cat SID11g.lst`
do
cd /oracle/env/
source env_$i.sh
cd /oracle/INVALID
sqlplus "/as sysdba" @invalid_pre.sql
sqlplus "/as sysdba" @invalid_compile.sql
sqlplus "/as sysdba" @invalid_post.sql
done
uuencode invalid.log invalid.log | mailx -s "Invalid" <your mail id>
uuencode invalid_post.log invalid_post.log | mailx -s "Invalid" <your mail id>
4) Finally run the shell script, hopefully you should receive email :-)
I have tested it on bash
./invalid.sh
Once tested you can schedule it in cron
Edited by: vreddy on Jul 19, 2012 9:57 AM -
Need help for finding objects impacted by size change for an infoobject
hi all,
need help for finding objects impacted by size change
for xxx infoobject, due to some requirements, the size to be changed from
char(4) to char(10), in the source database tables as well as adjustment
to be done in BI side.
this infoobject xxx is nav attribute of YYY as well as for WWW
infoobjects. and xxx is loaded from infopkg for www infoobject load.
now that i have to prepare an impact analysis doc for BI side.
pls help me with what all could be impacted and what to be done as a
solution to implement the size change.
FYI:
where used list for xxx infoobject - relveals these object types :
infocubes,
infosources,
tranfer rules,
DSO.
attribute of characteristic,
nav attribute,
ref infoobject,
in queries,
in variablesHi Swetha,
You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
How to adjust tables :
Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
How to collect the changes in TR:
You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
Hope it helps!
Regards,
Pavan -
EM alerts :Owner's Invalid Object Count/ 79 object(s) are invalid
Invalid Objects by Schema /Owner's Invalid Object Count/ 79 object(s) are invalid in the SSTTSYS schema.
I am working on db ware house environment & get this alert log.
Can any body guide how i can solve this problem.
Either i should delete these objects or rebuild it ?
Or any other suggestions...May be some script error
u should drop old table
then create new table.
ok
good luck -
Newbie - Need help for making object selections in InDesign CS2
I am an old PageMaker user and am having difficulty getting indd to make multiple object selections. Is there someone out there who would be willing to do a private discussion so that I can make progress? So far, I have been unable to select multiple objects to copy or move. I do not understand how indd works.
Thanks for any assistanceThere are basically two ways to select multiple objects, as explained above. Either "marquee" using the selection tool (black arrow) by holding down the mouse button as you drag throught them (same as Pagemaker, except everything you touch will be selected rather than having to completely surround it), or to hold Shift as you click multiple objects, also the same as Pagemaker.
If this isn't working for you, there may be something else happening. First, are you using the Selection tool? The white arrow is the Direct Selection tool which is used to select the content of a frame, the frame path for editing, or any node on any other path for editing. The only time the Direct Select tool will select an entire object is if it is part of a group.
Next, is the object locked in some way? Pehaps the entire layer is locked, or the object is locked individually. I find it easiest to identify locked objects by opeing the Layers panel in CS5 or CS5.5, it's less easy in earlier versions which don't have the expanded Illustrator-style layers panel. In earlier versions, though, you should be able to select an individually locked object, but not one on a locked layer, though you will not be able to move it. In CS5/5.5 there is a preference for whether you can select locked objects, and it is off by default, which in my opinion is a poor choice if you work with legacy files or templates where things are locked to prevent shifting.
Perhaps these unselectable objects are on a master page. Since CS4 objects on a master page have displayed a dotted edge when frame edges are showing. It's possiple to confuse this with the slightly heavier dashed line used to denote the bounding box of a group until you get used to it. Unlike Pagemaker, if you need to select a master object, it can be overridden onto the document page by holding Cmd (Ctrl) + Shift and clciking on it.
The last possibility is there is actually something wrong with your installation of ID. If you run Windows 7 or Vista it could be a problem with large fonts (see http://kb2.adobe.com/cps/403/kb403039.html). Otherwise it's most likely corrupt preferences and you should read Replace Your Preferences
It would help us help you if you tell us your OS and the version of ID you are using. -
Design help for six object motion
Im looking for someone who can maybe help me design a little
flash recorder and player for 6 objectst that can be intially
dragged around and then eventually their recorded motion be
replayed back. Here are some of the specifications;
so there will be 6 objects on the screen, each object can
either move on its own or together. one of the objects will always
move attached to another object. I guess the best way to visualize
this is to say look at a football game with 5 player and a ball.
Each player can either move, or stay in position while another
player is moving. Someone will always have the ball.
I know for a fact that there will be a fair amount of
actionscript involved, but didnt know if someone can direct me on
the best way to do this. I was going to store the motion of each
"object" into an array. The recorder will allow the user to move
the objects around the screen to program the motion. I guess im
trying to figure out what the best way to allow the user to define
paths of two different objects...i guess move one and then the
other, but attach it to the same sequence. And then, also how to
make the ball object move with the player object.
I think ive given a pretty good description here, if anyone
has anything similar to share, please feel free to do so.
Thanksone good way to work with beans is using beans to access the data base, that is, they represent your business objects and having a session bean to access them and hide the entity beans to the client. your session bean will return to the client an object containing the data from the entity bean but not the been itself as it would mean having a lot of remote accesses.
u can have a look on the internet about the MVC pattern if u want to do your application separating your model from the view. -
Flash and acton script 2.0 help for color object
hi i m new in flash i have to work a project for a paint compeny i have 3 wall (side and left and ciling )just like a room and i have a color palet e which
contain buttons now the problem is that i have to change wall color by cling in every wall mens if i click on left side wall the color sould be change to color palate button wich i clicked before clik on wall button
plz get reply with full concept and theory asction script2.0
thanks
prakashyou're almost done.
you only need to put the code that's in your bottom screenshot in a function body and call that function at the end of the submitWords() function. i'm assuming bodyCopyText is already on-screen or you would trigger a compiler error. -
Value help for business object attribute
Hi Experts,
Can some one give me the link to How to Guide: Framework Enhancements cookbook please?
regards,
Muralidhar Prasad.ChatnaHi,
This problem can be solved by creating a BO method that makes a call to CRM_ORDER_MAINTAIN.
Using this FM change the value of the attribute and save the same using CRM_ORDER_SAVE. -
Daily activity help for script... and investgating some issue
hi
i am new to apps.i fil i need some script to solve some daily activity issues and solving some issue.
can anyone help me or list of issue(s).I know it may different from site to site but i want very common list.so that issues could be resolved quickly.
regardshsawwan wrote:
Hi,
invalid object lists and number.Query dba_objects for invalid objects and compile it either manually or via adadmin.yes. i know but i need to schedule this with scripts so that it will compile jar files,invld obj etc.
>
failing patches.Check the patch log file.
diagonostics failed patches.Check the patch log file as well as the workers log file.where is the worker logfile?
>
backup of archivelog and database.Test the backup periodically.how?
>
gathering statistics for apps and dadatabase users.Schedule "Gather Schema Statistics" concurrent program on regular basis.option is dbms_job right?
>
specific concurrent manager/log lists for specific requests.Check the CM log file along with the failed request log file.i notice FND<sum number>.log usually created for this but for specific log file is needed to query from db.for this reason i want to use some scripts.
>
shrinking apps tablespaces to utilise the spaces and enhancing the performance of apps.Shrinking tablespaces does not enhance performance.
may not enhance performance but may enhance the disk space.
See (Note: 122669.1 - How to Perform a Health Check on the Database).
monitoring alerts.
monitoring forms and report and generating trace files.You can do from OAM.
monitoring triggers Write an alert to notify you in case the status of the triggers changed.
startup total apps and shutdowns total apps (this actually sysadmins of clients want)Usually, we review the startup/shutdown scripts log files.
total cloning process within a night.You will have to review the log files.
Thanks,
Hussein -
Filter Criteria in Value Help for InfoObject
Hi,
Is it possible to remove the value from Filter Criteria. When I use F4 for a Field (in Screen) , its showing a poup window (Value Help for Info Object) with some personal values. When I click "More Values" option its showing the General Value List, where I can see the Filter Criteria. When I click "Show Filter Criteria", its showing the Criteria with a Value (This value is coming from the field(Screen) from where I am coming). is it possible to avoid of passing value from my screen field to Filter Criteria ?
Thanks
SrinivasMurugan,
I really hope that the moderator do not remove my points for this!
WebDynpro ABAP Select-Options and OVS Help.
How to Achieve OVS Search Help in Select Option in Web Dynpro ABAP
How to Use OVS Help For Multiple Input Fields in Select-Options.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/707f0d73-94f0-2d10-97a2-a3776e2118d8?QuickLink=index&…
Using Select Options in a Web Dynpro(ABAP) Application
Regards,
Ashvin -
Extended Events exceptions: Invalid object name '#x'
We have recently begun using Extended Events in SQL Server 2012. I noticed something that I don't understand and haven't found an explanation for. There seem to be a lot of exceptions logged for "Invalid object name '#x'", where #x is any temp
table name. This includes ones like "Invalid object name '#tmp_sp_help_category'", which is not even a table in our code.
This does not seem to happen consistently, but I have repro'd it several times. Each time there is no error shown in Management Studio. It happens on alters of stored procedures that use temp tables as well as when they are run. It happens even for a script
as simple as the one below, which logs an exception saying "Invalid object name '#x'" and indicating that it has a severity of 16.
Has anyone run across this? I am guessing these are not exceptions that should actually be logged, but then again there might be times when a temp table really is missing, so we can't just ignore them all.
Thanks,
Ron Rice
create table #x(x1 int)
select * from #x
Ron RiceThe #tmp_sp_help_category table is associated with SSMS Activity Monitor:
http://blogs.msdn.com/b/grahamk/archive/2009/10/20/troubleshooting-sql-server-management-studio-with-sql-profiler-and-debugging-tools-part-1.aspx
You may consider to report at Connect:
https://connect.microsoft.com/SQLServer
I am moving it to Tools.
Kalman Toth Database & OLAP Architect
SELECT Video Tutorials 4 Hours
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Table creation Error "Ref Count for this object is higher than 0"
Hi All
I have a problem in creation of table using SDK on a button event. I have a procedure to create tables and fields. If I call this procedure on a menu Event than it works fine but If I call this procedure on a button event than It gives error "Ref count for this object is higher than 0" . I know this error occur When an object does not release after creating a table. but this error occur at when first table is created. My code it given below. plz see and give me your valuable suggestions.
Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
Try
oUserTablesMD = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUserTablesMD.TableName = "AM_OBIN"
oUserTablesMD.TableDescription = "PutAway Table"
oUserTablesMD.TableType = BoUTBTableType.bott_Document
lRetCode = oUserTablesMD.Add
'// check for errors in the process
If lRetCode <> 0 Then
B1Connections.diCompany.GetLastError(lRetCode, sErrMsg)
MsgBox(sErrMsg)
Else
B1Connections.theAppl.StatusBar.SetText("Table: " & oUserTablesMD.TableName & " was added successfully", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success)
End If
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
oUserTablesMD = Nothing
GC.Collect()
oUserTablesMD = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUserTablesMD.TableName = "AM_BIN1"
oUserTablesMD.TableDescription = "PutAway Upper Grid"
oUserTablesMD.TableType = BoUTBTableType.bott_DocumentLines
lRetCode = oUserTablesMD.Add
'// check for errors in the process
If lRetCode <> 0 Then
If lRetCode = -1 Then
Else
B1Connections.diCompany.GetLastError(lRetCode, sErrMsg)
MsgBox(sErrMsg)
End If
Else
B1Connections.theAppl.StatusBar.SetText("Table: " & oUserTablesMD.TableName & " was added successfully", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success)
End If
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
oUserTablesMD = Nothing
GC.Collect()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Thanks
Regards
GorgeHi Gorge,
The "Ref count error..." usually occurs in case of Meta Data objects not being properly cleared. And yes, you have got the error in the right place, generally while creating tables / fields / UDOs. For this, you just need to clear the Meta Data object (At times even DI objects like Record Set) once they are used.
Eg: Release these objects in the below way in a Finally Block.
System.Runtime.InteropServices.Marshal.ReleaseComObject(oRecordSet);
Hope this helps.
Regards,
Satish -
Any help for array question
Hello to All:
I want to tally or count some of the elements that I have in array but not sure how.
I have for example: int myArray[] = {90,93,80,81,71,72,73,74};My objective is to tally all of the 90's, tally all of the 80's and tally all of the 70's.
So, the result that I want to have would look something like the following:
System.out.println ("The total tally number of 90's is " 2 );
System.out.println ("The total tally number of 80's is " 2 );
System.out.println ("The total tally number of 70's is " 4 );I do not want to add these numbers, just want to count them.
Also I want to use a "forloop" to achieve the result intead of just declaring it at 2 or 4 etc..
Any help Thankyou[u]First , This is not exactly what I have to
do for homework. There is a lot more, a lot more
involved with the program that I am working on.
Second, this is an example, an example, an
example of something that I need to achieve.
Third, you are asking for a code, to me that
sounds as if your asking for homework. Fourth,
I did not ask for any rude comments. Fith, in
the future please do not reply to my messages at ALL
if you can not help!!!!
Sixth, We did not ask for lazy goofs to post here.
Seventh, In the future please do not post here. Take a hike - there's the virtual door. -
PDF Exception: Invalid object for the XFA entry in the forms dictionary
Hi,
We have an online adobe interactive form, via webdynpro, which saves OK, but occassionaly when a form is loaded again the form appears blank and the below error is returned by the ADS. I've searched but cannot find any definitive answer to this issue:
Processing exception during a "GetData" operation.#Request start time:Tue Jan 11 14:08:47 GMT 2011#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da##Exception Stack Trace:#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da###at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)###at com.adobe.ads.operation.GetData.execute(Unknown Source)###at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)###atcom.adobe.ads.request.Request.processOperations(Unknown Source)###at com.adobe.ads.request.Request.process(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)###at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)###at sun.reflect.GeneratedMethodAccessor1814.invoke(Unknown Source)###at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)###at java.lang.reflect.Method.invoke(Method.java:324)###at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)###at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)###atSoapServlet.doPost(SoapServlet.java:51)##at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)###at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)###at com.sap.engine.services.http
server.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)###atcom.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnali er.java:364)###at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)###atcom.sap.engine.services.httpserver.server.Reques
Analizer.handle(RequestAnalizer.java:265)###at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)###at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)###at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)###at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)###at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)###at java.security.AccessController.doPrivileged(Native Method)###at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)###at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)##Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: Invalid object for the XFA entry in the forms dictionary.###at com.adobe.internal.pdftoolkit.services.xfa.impl.PDFFormSupport.exportXFAData(Unknown Source)###at com.adobe.internal.pdftoolkit.services.xfa.XFAService.exportDataset(Unknown Source)###... 32 more##
Please help!
Edited by: Kevin Alcock on Jan 11, 2011 2:20 PMHi Otto,
We have had the form working and in most instances the form can be updated multiple times without issue. However, occassionally a form is created OK but the next time it is launched it is blank (the data is visible when the PDF is downloaded to the desktop)
Do you think this issue could be to do with the form layout/XML...I changed the form template 2 days ago as I suspected this issue could be realted to incorrect field bindings but we have had the error on a form created after the change was made.
Many Thanks,
Kevin
Edited by: Kevin Alcock on Jan 13, 2011 1:10 PM
Maybe you are looking for
-
Updateable recordset from a stored procedure
I would like to retrieve an updateable recordset from a stored procedure using the oracle 9.2.0.2.0 oledb provider I am using the sample code/tables provided from Oracle. Does anyone have an example or has actually created an updatedable recordset fr
-
Need help connecting guitar, a/i, speaker together.
I'm new to this forum, and sure this has been covered, but i couldn't find what i'm trying to do. I want to connect my guitar to garageband, then output it live to either my stereo. I have an airport express connected to stereo if that helps me or no
-
Which mac is really good for hdv working process and render??
I'll work my hdv native workflow soon and I'm really very interesting on how to get the most of Mac product,s but I'm still asking me what is the minimun of features do I need on a MAc to process without any disturb or overload and render my video in
-
In the past few days I have been getting the following popup when I use firefox as my browser: Exc in ev handl: Error: Bad NPObject as private data! I assume it came from your latest update. I have windows vista with a 64 bit processor, and I am usin
-
Please discuss known performance issues with enqueue or dequeue of queustion in Oracle 9i and 10G versions? any knowsn bug numbers, patch nubmers etc