otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Database Administration Database installation, creation, administration and related topics.

Tags: , , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 13th, 2007, 22:25
Junior Member
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ajoybasu is on a distinguished road
Exclamation Exceptions during Purge

Hi

When i do a Data purge (Configuration and Administration) in OTM 5.0 i sometimes get the below errors and all the records do not get deleted. The errors are :

1. CAUGHT THE FOLLOWING EXCEPTION WHILE PROCESSING TRANSACTION: glog.util.exception.RemoteExceptionWrapper
Write_Record_Failure (cachedUser=SPLD/HP.ADMIN/null/ADMIN, class=class glog.ejb.shipment.ejb_ShipmentStop_l4lf06_Impl, currentUserName=SPLD/HP.ADMIN, primaryContext=SPLD.TESTORDSHIP004 2, vpdUser=SPLD/HP.ADMIN/SPLD/HP.ADMIN/ADMIN)
Unable to update {0=null} {1=null} to the database. Either the record has been removed by another user or you do not have rights to edit it.


2.Read_Record_Failure (cachedUser=SPLD.ADMIN/null/ADMIN, class=class glog.ejb.order.ejb_OrderRelease_ddh9qc_Impl, currentUserName=SPLD.ADMIN, primaryContext=SPL/HP.0026088LC-001, vpdUser=SPLD.ADMIN/SPLD.ADMIN/ADMIN) Unable to read {0=null} {1=null} from the database. Either the record has been removed by another user or you do not have rights to view it.

3.You must withdraw the active tender on shipment SPLUAT.M_10300000773719_RA before it can be deleted.

4. Cannot delete the S_EQUIPMENT record. A INVOICE_EQUIPMENT_DETAIL record references it in its [S_EQUIPMENT_GID] column.

Can you please tell me what are the reasons for the above errors and what settings i need to do , so that i do not get the above exceptions.



Regards
Ajoy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old October 15th, 2007, 02:53
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 816
Blog Entries: 7
Thanks: 53
Thanked 199 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Exceptions during Purge

Ajoy,

The first and second errors appear to be VPD related, meaning that the user doesn't appear to have privileges to modify or delete some records. The third error is common with the purge scripts - which don't automatically resolve data dependency issues such as the outstanding tender. The fourth error is also fairly common.

There are some very experienced OTM DB experts on the forums who have developed their own data purge scripts, based on the initial scripts provided by G-Log / Oracle. Unfortunately, these provided scripts are not what I'd consider fully-functional and need to be adjusted towards your needs. If others are willing to share, perhaps we can develop a more functional set of data purge scripts for the community.

Can anyone offer more detailed advice?

Thanks,
Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] tranmission purge errors sloppypoet Database Administration 2 July 23rd, 2007 17:22



All times are GMT. The time now is 06:45.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37