When all else fails!!

i was gonna write out this big ol'dissertation about my futile attempts to get issues resolved with my shuffle but opted instead to go the short version....
when all else fails, carefully hold the ipod parallel to a desk, counter, or other hard surface and slap it down...hard!!
VOILA!!! It works!! for how long who knows but it sure beats all the headache i was faced to perform trying to get any tech support.
was i wrong?
Dell   Windows XP  
Dell   Windows 98  
Dell   Windows XP  

was i wrong?
I have found that percussive maintenance is sometimes useful as a last resort.
If it worked for you and your iPod is now healthy, then it guess it wasn't wrong.
I don't recommend that everyone try this as it could certainly have disastrous results.

Similar Messages

  • Installing Flash Player When All Else Fails

    Hello! I have tried every tip I could find on the boards an still can't get Flash Player to work with Internet Explorer.  Flash Player is installed but not working.  I have Windows 7, Service Pack 1.  64-bit operating system.  Internet Explorer 10.0.0200.16686, 32 bit.  Flash Player ActiveX Version 11.8.800.174 (32-bit).  I have double checked that Flash Player is enabled in Internet Explorer, that the internet and trusted site settings are set to medium, that Active Filtering is enabled and that ActiveX Filtering is disabled in Internet Explorer.  I also upgraded the Toshiba display driver to 8.15.10.2189. 
    Any help would be greatly appreciated.  Thank you!

    Hi Pat,
    Thank your for your reply.  I am refering to 2 different things.  When clicking, in internet explorer (1) tools, internet options, security, under both internet and trusted sites, custom level, under scripting, active scripting, the dot "enabled" is checked.  (2) under tools, safety, activeX filtering is disabled.  When I click on a video that requires Flash Player I get the following:
    on www.cnn.com front page - a blank video
    on other CNN videos - "This CNN feature is optimized for Adobe Flash Player version 10.1 or higher"
    on www.cbsnews.com - i just get a blank/white square with a small square in the upper left hand corner that has a black box with a white "x" in it.
    on www.youtube.com - I get a message "! You need to upgrade your Adobe Flash Player to watch this video.  Download from Adobe" but then after a second, the video works.
    When I go to control panel, click on flash player, advanced, it says that the "Plug In Version" is not installed.  Not sure if that makes a difference.
    I also checked my control panel, programs and features, and Adobe Flash Player 11 Active X is the only version of Flash Player I have installed.
    Thank you so much!

  • How to solve 'Reading Text Global Resources... Done' hang on loading CS v8.0 when all else fails?

    I have spent a day trying unsuccessfully to load CS version 8.0 in Windows 7, following a crash. The load proceeds until the message:
    'Reading Text Global Resources... Done', and then it hangs.
    I have tried clearing the Prefs files of all files. Didn't work.
    I have tried deleting PS altogether and reinstalling the program from the disk. Didn't work, and the Prefs files are empty now.
    I have tried removing most of my fonts*, and it still hangs. Those not removed were the ones the system would not allow me to move or delete.
    I have tried removing recent plug ins and software updates that might have caused the problem, specifically Adobe Flash and Java. Didn't work.
    What next, any ideas?
    In the panic we all know and love,
    Peter
    *in Program Files\Common Files\Adobe\Fonts or Windows\Fonts, can't remember which - does it matter?

    Hi Cooper,
    If you found any other solution in these days other than the code mentioned above please let me know as i have a similar requirement now.
    As you mentioned "It is not possible to modify variants with values longer than 45 characters",
    So if this is not possible then how can we resolve this issue.
    Thanks in advance.

  • How do I restore my tabs and windows, whether open or closed, when everything else fails?

    This is not so much a question, as an answer that some people desperately need.
    Ever since Version 34, Firefox has done a superb job of restoring the tabs that the user has created, either on restarting Firefox (if that option is chosen) or on request.
    The details of how to restore tabs are covered in Firefox's basic help online, and even how to deal with several crashes in a row (such as in an addon) ruin the normal backup file are also well explained.
    However, today I accidentally pressed Alt+F4 twice on my poorly-designed keyboard and closed my main window, with 93 tabs, and another Firefox window as well. I'm not sure this is exactly what happened, but I lost all 93 of my tabs.
    I read many of the postings in which people give various suggestions, but none worked. Every time I restored a version of the sessionstore.js file I saw the same lonely empty tab. Restoring prefs.js did nothing, and neither did making changes in the internal configuration constants.
    I tried refreshing/resetting Firefox (which preserves bookmarks), but I still couldn't restore the tabs. It was now clear that the problem was in sessionstore.js (and all its backups) for sure.
    I'm writing this for people who must restore their windows or tabs, and don't mind getting technical about it. That was my situation.
    The solution was to realize that the sessionstore.js file contains JSON code, which is an efficient way to represent integers and strings arranged in a tree structure.
    I figured there must be a JSON editor somewhere, and it turns out there is a great one available online, at www.jsoneditoronline.org . It can read a file on your computer, edit it, then save it back on your computer.
    As soon as I viewed sessionstore.js in the editor, it was obvious how easy this was going to be. The top level of the tree is understandable. I simply grabbed the data representing the window with 93 tabs, and dragged it from the list of closed Firefox windows to the list of open windows. This automatically moved the history of each tab, and even the strings entered into forms.
    After copying sessionstore.js back to the Firefox profile, I started Firefox one more time. The playing of Pandora signalled that my tabs were back and functioning once again.
    Now, editing JSON code is not something that everyone is ready for. And your problem might not be reflected in the JSON tree so simply. But, for technical-minded people who don't want to lose their tabs or windows to a mistake or a crash, this technique can be just what's needed when everything else fails.

    That sounds very handy. Nice going. A kind of backup would be to
    create a folder in the Bookmarks Manager, and keep a list of links there.
    Just one note. The sessionstore file shows the last windows / tabs that
    are open. Because the window with the 90 tabs was closed first, then the
    other, that is what caused your issue.
    Please edit the post title by adding '''==Solved==''' to it. Others may think
    you are asking for help, not offering a solution.

  • TS3274 My iPad App Store suddenly all went into the Spanish lanuage when all else and my Setting identifies the language to be English.  I cannot get it back to English.  It appears to be related to an upgrade which is indicatd but I do not know.

    My iPad App Store app suddenly all went into the Spanish language when all else and my Setting identifies my language as English.  I do not know how to get it back to the English language.  It appears to have come with an upgrade as it happened as there was a red circle with "3", but it does not upgrade.  All the icons in the store and the descriptions are in Spanish.

    Change Language
    1. App Store>Featured>Apple ID (at bottom of page)
    2. Tap on Apple ID>View Apple ID
    4. Enter your password
    5. Country/Region>Change Country or Region

  • IMac intel - camera is only able to capture when all else is disconnected

    Hello,
    I recently upgraded to FCS 2 and a new iMac 2.66 intel duo core with 4gb memory.OS 10.5.6. Camera is a Canon GL2. I have connected a 1TB FW800 external MyBook drive. When I start FCP 6.0.5, my external hd disappears, my camera is not recognized. And I get "Unable to initialize video deck".
    In order to capture, I disconnect my 1TB external and am able to capture just fine. Ony problem is while I am capturing, I'd like to use my 1tb external. Any suggestions?
    Thank you in advance. MAria

    Two suggestions,
    1. get another (non Canon) camera
    2. get another computer with the ability to add a second firewire bus. Either a MacPro or MacBookPro.
    Otherwise, the advice you've already been given is your only option.
    x

  • Whats next if all else fails with random shutdowns

    Hi, having random shutdown on battery power on my 'macbook intel 1.83 core duo' no warning of low battery etc always ample battery power available.
    Have installed battery update 1.2 twice
    Have reset the SMC twice to no avail
    Next stop apple repair centre, but what's the most likely outcome has anyone had this issue resolved by repair, and if so, what was the cause.

    I am in the same situation, save that I have not yet tried re-setting the SMC. My MacBook is still under guarantee, but the local Apple shop can suggest nothing more creative than that l leave the notebook with them for a week plus. That is impossible for me -- any more than half a day, and I need to have a stand-by replacement into which I can slot my hard drive, but that is most certainly not on offer. It is the more irritating in that it is now apparent to me that Random Shutdown Syndrome been the subject of complaints literally for years, and comes as no surprise to Apple. I am beginning to wonder whether the AppleCare Protection-Plan was worth what I paid for it.

  • Adobe is giving me the runaround when all i want to do is download the programs i bought several years ago. Anyone else experience this? Contacted support, was told i would get a call back.  Account blocked so I had to create a new one to download trial v

    Adobe is giving me the runaround when all i want to do is download the programs i bought several years ago. Anyone else experience this? Contacted support, was told i would get a call back.  Account blocked so I had to create a new one to download trial versions to compete my work.  So frustrated.

    You will need to have the serial number to activate the products. Please have then handy & also check the compatibility of the operating systems.
    Regards
    Rajshree

  • I tried to create a new google calendar in ical, but they did not show up, I tried this several times. Now when I sync my iPad via iTunes all these failed attempts are showing up under the ical sync list in iTunes, how can i clear them from this list?

    I tried to create a new google calendar in ical, but they did not show up, I tried this several times.
    Now when I sync my iPad via iTunes all these failed attempts are showing up under the ical sync list in iTunes, how can I clear them from this list?

    See https://bugs.downthemall.net/ticket/2147
    Google Search Bug
    Reported by: openid:nathan wride Owned by:
    Priority: major Milestone:
    Component: Polish/Usability Version: 2.0.10
    Keywords: Google search instant save bug Cc:
    Operating System: Windows
    Description
    Hi Guys
    I have found a bug/annoying thing that occurs frequently on google. When searching, DTA trys to download the search...
    I'll try to attach a screenshot.
    Attachments
    [https://bugs.downthemall.net/attachment/ticket/2147/Screenshot.png Screenshot.png] Download (113.0 KB) - added by openid:nathan wride 4 weeks ago.
    The screenshot that shows the bug.

  • File Adapter: Fixed length file read fails when all data not present

    Hi
    We have a BPEL process that reads fixed length data files. It works fine when all the data elements are available in the file but fails with 'rejected:10002' when even a single data is missing.
    How to handle this situation in BPEL file adapter?
    Are we doing something wrong or is this a normal functionality.
    If yes, then is there any work around for this as this is a very usual business condition which may occur, where all data elements are not mandetory.
    fixedLength
    ==========
    2,3,3,2
    Data - Successful
    ============
    1234567890
    2345678901
    3456789012
    Data - Failed
    ===========
    1234567890
    2345678901
    345678901
    Thanks in advance
    Buddhadev

    Hi Naveen,
          Do check the following things,
    >>Note : I have been asked to give the Transport Protocol as "NFS" (Whether this is the problem???) I have summarized the complete details below. Please help me
           1.If your file resides on your local network/local computer give NFS(Network file system). if your file resides on a FTP location give FTP and also give the FTP log on parameters.
    Additional Parameters
    File_MT.fieldFixedLengths 10,10,5
    File_MT.fieldNames VendorNumber,VendorName,City
    File_MT.fieldSeparator
    File_MT..processFieldNames fromConfiguration 
           2.If this structure does not match with the input file structure the file adapter wont pick up the file. So check for the help document provided by SAP in the following path.
    help.sap.com  --> Documentation  --> SAPNetWeaver --> SAPNetWeaver '04 --> English --> process integration --> SAP Exchange Infrastructure --> connectivity --> Adapters --> File Adapter
           Your file contains three records
    V123456789 A123456789 Bosto
    V234567890 B123456789 Atlan
    V334587900 C123456789 Austi
    You have mentioned the fieldSeperator as space but there is no File_MT.endSeparator '/n'  which differentiates between each and every row (record).
            Parameters for Record set Structures mentioned in the sender adapter configuration does not match with the actual file structure .
            Try giving exact structures in the configuration of sender file adapter.
    regards,
    Aravindh.

  • How to 'fail-over' CSS11503-AC when ALL 5 Reals Servers (Services) die

    Hi all,
    Could anyone out there possibly provide an idea/config, of how it is possible to'fail-over' a CSS11503 set-up in Active/Standby mode with "ASR" enabled when:-
    - ALL your real servers(Services) for a particular VIP 'die'/OR nic is faulty.
    - So NOT just 1 of the real servers, but when ALL 5 are not reachable, I need to 'failover'
    My initial thought are to use the "critical reporter" or "critical service" to report back to the 'active' CSS.
    Anyone who has done this scenario before , please advise..
    thanks

    Thanks very much Syed fo rthis.I was thiking that no-one could answer this query.
    After a little tsting, I set the following config in the lab and it works but is different to yours. I cannot seem to configure the servive as "type local". When I input 'type ?; I get options such as nci-direct-return, nci-info-only, proxy-cache, redirect etc...etc..NO 'local'...!!
    Please advise..Thanks in advance
    ************************* INTERFACE ************************* interface 1/1 bridge vlan 800 phy 1Gbits-FD-no-pause
    nterface 1/2
    phy 1Gbits-FD-no-pause
    bridge vlan 20
    nterface Ethernet-Mgmt
    description "Management Interface"
    nterface 2/1
    description "1st ASR Link"
    isc-port-one
    nterface 2/3
    description "2nd ASR Link"
    isc-port-two
    ************************** CIRCUIT ************************** circuit VLAN800
    description "FE_CORE"
    ip address 192.168.83.249 255.255.255.0
    ip virtual-router 1 priority 110
    ip redundant-vip 1 192.168.83.148
    ip redundant-vip 1 192.168.83.158
    ip critical-service 1 DTSFE01
    ip critical-service 1 DTSFE02
    ip critical-service 1 DTSFE03
    ip critical-service 1 DTSFE04
    ip critical-service 1 DTSFE05
    ip critical-reporter 1 Physical_if_DWN
    ip critical-reporter 1 r1
    ircuit VLAN20
    description "LBAL"
    ip address 192.168.20.1 255.255.255.0
    ip virtual-router 2 priority 110
    ip redundant-interface 2 192.168.20.3
    ip critical-service 2 DTSFE01
    ip critical-service 2 DTSFE02
    ip critical-service 2 DTSFE03
    ip critical-service 2 DTSFE04
    ip critical-service 2 DTSFE05
    ip critical-reporter 2 Physical_if_DWN
    ip critical-reporter 2 r1
    ************************** REPORTER **************************
    reporter Physical_if_DWN
    type critical-phy-all-up
    phy 1/1
    phy 1/2
    active
    reporter r1
    type vrid-peering
    vrid 192.168.83.249 1
    vrid 192.168.20.1 2
    active
    ************************** SERVICE **************************
    service FE01
    ip address 192.168.20.183
    keepalive frequency 2
    keepalive retryperiod 2
    keepalive maxfailure 2
    redundant-index 4
    service FE02
    ip address 192.168.20.184
    keepalive frequency 2
    keepalive retryperiod 2
    keepalive maxfailure 2
    redundant-index 5
    service FE03
    ip address 192.168.20.185
    keepalive frequency 2
    keepalive retryperiod 2
    keepalive maxfailure 2
    redundant-index 6
    service FE04
    ip address 192.168.20.186
    keepalive frequency 2
    keepalive retryperiod 2
    keepalive maxfailure 2
    redundant-index 7
    service NWFE02
    ip address 192.168.20.204
    keepalive frequency 2
    keepalive retryperiod 2
    keepalive maxfailure 2
    redundant-index 10
    active
    !*************************** OWNER *************************** owner SERVICES
    content DTS_192.168.83.148_443
    add service DTSFE01
    add service DTSFE02
    add service DTSFE03
    add service DTSFE04
    add service DTSFE05
    vip address 192.168.83.148
    port 443
    protocol tcp
    advanced-balance sticky-srcip
    redundant-index 1
    sticky-inact-timeout 5
    owner NW_SERVICES
    content NWCS_192.168.83.158_443
    add service NWCSFE01
    add service NWCSFE02
    vip address 192.168.83.158
    protocol tcp
    port 443
    sticky-inact-timeout 5
    redundant-index 2
    advanced-balance sticky-srcip
    active

  • 9ias v2 - reports server failed, all else worked, how to fix?

    My install went fine with the one exception of the reports server. It generated an error but all else kept on working.
    A couple of answers if anybody knows though would be great.
    1. How do you install ONLY the reports server.
    2. I can't find the Discoverer Plus or Viewer html start files.
    Could this have been caused by the reports server not installing?
    3. I've installed 9i database v2, 9ias v2, 9ids, etc. Where is the documentation
    to now get Portals up?
    Thx. for the help.

    It looks like the error indeed has to do with the rwaddpag.sql problem.
    Here's the message below:
    ====================================================
    Oracle Home : c:\oracle\ora9ias2
    Deploying Reports for OC4J
    Reports deployment was successful
    Starting file instantiation
    File instantiation succeeded
    Registering Reports as a database provider
    Queue null
    Number of actions : 1
    Done
    Starting Action : SQLPlus
    Command c:\oracle\ora9ias2/bin/sqlplus.exe -s "PORTAL/XXXX@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bigbang.workgroup)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=iasdb.bigbang.workgroup)))" @"c:\oracle\ora9ias2/portal/admin/plsql/wwd/rwaddpag.sql"
    Process destroyed
    Process err
    Process out
    Action queue failedoracle.ifs.utils.common.ProcessDestroyedException
    Error executing : rwaddpag.sql
    Reports registration failed
    Starting EM integration
    EM integration was successful
    Reports Configuration failed
    =====================================================
    The answer is as you suggested in the Reports release notes. However,
    the notes say to "Log on to the Oracle Internet Directory and obtain
    the Oracle9iAS Portal user database password".
    1. What the heck is that and how do I log on to it?
    2. If I 'log on' to it, it'll show the Portal user database password?
    Inquiring minds (mine) want to know!
    Thanks for any assistance.
    Russ I recieved this advice :
    Start up the Oracle Internet Directory administration tool:
    Start > Programs > (9iAS Instance) > Oracle Internet Directory > Oracle Directory Manager
    Log into the oidadmin tool using the OID administrator account
    (cn=orcladmin) for the Infrastructure installation.
    Username: cn=orcladmin
    Password: administrator_password (note this is the one you set during install)
    Server : host running Oracle Internet Directory and port number where
    Oracle Internet Directory is listening (this may be 4032)
    Navigate the administration tool.
    => Entry Management
    => cn=OracleContext
    => cn=Products
    => cn=IAS
    => cn=Infrastructure Databases
    => orclReferenceName=Single Sign-On database SID:Single Sign-On Server
    hostname
    (for example: orclReferenceName=iasdb:infra.acme.com)
    => orclResourceName=PORTAL
    Click the above entry and look for the orclpasswordattribute attribute
    value on the right panel. This value is the Oracle9iAS Portal user
    database password

  • [Java and all else] Requirements tracking, testing, and versioning

    Hello,
    as a semi-experimental subject, I am considering managing requirements and test documents in the same version control system as the code.
    For some reasons, this versioning policy doesn't seem mainstream, so I'd like to have your opinion on that.
    +N.B.: the prefix "java and all else" refers to the fact that I'm using this area to post a message that is related not only to Java but also to other topics (people, processes, tools,...) that help program in Java - so this post is not really off-topic either. For the record, I filed a suggestion to open a dedicated forums to discuss topics like that, although it hasn't received enthusiastic support so far :o(...+
    Here is how I had imagined to proceed:
    - requirements document gets edited and stored as text in the VCS
    - test plan (basically a matrix of which tests cover which requirements) goes into the VCS as well, text or binary
    - test instructions (detailed steps, actions, expected results) are stored as text in the VCS
    - test results - I do'nt know yet, but I planned to store them as text (lists of testId=result) in the VCS (I'm not sure indeed, that those would go into the VCS)
    The advantage of versioning those as text is that all VCS clients support easy-as-a-click history browsing and diff capabilities.
    Diffs and logs are useful to trace when and why a requirement has appeared, evolved, obsolated,... Especially in long-lived systems whose maintenance crew rarely embeds "historical" pioneers who developed the original systems.
    My questions:
    1) Is it good practice to version such docs in the same repository as the code?
    I've never seen this done.
    - In half of the shops I've been these docs are not really versioned (the PM considered it enough that the latest applicable version of the docs was available)
    - The other half has used versioning systems ranging from ad-hoc (shared folder acting as repository of all versions) to "document management systems". I found such tools to be developer-unfriendly (poor diff capability, poor text searching), and developers to be office-document-reluctant (mostly because of the shortcomings of the doc format and doc management systems).
    - The third half <wink to aficionados of French cinema> used dedicated softwares (Test Director, RQM,...) to manage requiremetns, test plans, test cases, test results,... The drawback is that the developers were hardly involved in using such tools, and even when they were, were not trained to use the administrative and metadata capabilities (who modified the test steps, when and why?).
    On the contrary, developers would easily and gladly browse histiry, check diffs, etc... on text documents versioned using their daily-used source control system.
    2) Are there "standard", preferrably text-based, formats, for the documents listed above?
    Each and every organization I've seen had its own format, but most items have equivalents in all organizations, even if disguised under different terminologies. I have no formal education or training in quality assurance, but I guess some ISO or CMM norms define those recurring items, and I expect some abstract XML format might exist
    3) Are there tools already that cover edition and exploitation of such formats, or why not, of the versioning of such formats (naive example, graphing the pass rate of tests over time)?
    A pet project of mine is to develop and open-source some Swing UI to do this, but existing tools would save me the trouble.
    I'm looking forward to reading about your own experience.
    Best regards,
    Jerome.
    Edited by: jduprez on Jun 4, 2010 10:33 PM
    Fixed link.

    I don't have data on comparative bug rates because we did not do studies focused on that. This stuff was mostly driven by convenience #) considerations.
    Subjectively, yes it seemed to have lower bug rate compared to maintaining documents in, say, pdf format (like our doc writers did with User/Dev guides). BTW doc writers are another kind of guys who dislike plain text.
    As for using test results history the way you describe - agree, that makes some sense. Now that you mention it I recall using it myself that way, in one of the projects where testers managed to establish really convenient way to assess test execution history. After I figured how easy it was, I began using it. Quite helpful indeed.
    Regarding "tool or format that mapped tests to specific requirements" in your original post - did you consider Polarion? IIRC it supports mapping requirements to test descriptions. Telelogic DOORS are maybe also capable of that but I am not completely certain.
    #) convenience -- BTW we maintained test descriptions not in plain text but in simple HTML (you know few tags one can use in javadocs). With limited line length, it is almost as VCS friendly as plain text, even with tables:
    <!DOCTYPE "stuff to make HTML validator happy">
    <html><title>test description</title>
    <body>
    <table>
      <tr>
        <td>test id</td>
        <td>synchronized.10988343</td>
      </tr>
      <tr>
        <td>instructions</td>
        <td>
          <ul>
            <li>sacrifice a goat
              <ul><li>under the full moon</li></ul>
            </li>
            <li>twirl counterclockwise
              <ul><li>until you barf</li></ul>
            </li>
        </td>
      </tr>
      <tr>
        <td>pass criteria</td>
        <td>
          <ul>
            <li><b>pass</b> if method is synchronized</li>
            <li><b>fail</b> otherwise</li>
          </ul>
        </td>
      </tr>
      <tr>
        <td>comments</td>
        <td>
           <a href="http://forums.sun.com/thread.jspa?messageID=10988343#10988343">
           click here for details</a>
        </td>
      </tr>
    </table>
    </body>
    </html>
    {code}
    We were also using [HTML validator|http://validator.w3.org/|tool] tool to automatically catch simple syntax mistakes like missing tags.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to  make rman to execute remaining cmds in file when one cmd failed

    Hi All,
    I have couple of commands to execute in a file, meanwhile if one command fails with error then rman terminates and did not executing remaining commands in file. How can I make rman to execute remaining commands even when one command failed with errors.
    Thanks and Regards,
    Sandeep.

    Write a shell script for Linux or batch for Windows. For example;
    ORACLE_HOME=/oracle/ora11g
    ORACLE_SID=TEST
    TMPDIR=/tmp
    TMPLOG=${TMPDIR}/RMANtmplog.$$
    $ORACLE_HOME/bin/rman log=$TMPLOG << EOF1
    connect target /
    run
    crosscheck backup of database ;
    exit
         EOF1
    RESULT=$?
    if [ $RESULT -ne "0" ]; then
    echo "FAILED RMAN crosschek command"
    else
    $ORACLE_HOME/bin/rman log=$TMPLOG << EOF2
    connect target /
    run
    delete noprompt expired backup of database ;
    exit
         EOF2
    fi
    Talip Hakan Ozturk
    http://taliphakanozturken.wordpress.com/

  • [Java and all else] How do you document DB design?

    Hello,
    Although most of the technical choices are explicit in SQL (UniqueKey & ForeignKey constraints, indexes,...), the semantics of the data columns and their constraints seem better served as plain human-readable comments ("ID column: identifies the plane copy; 6 figures are enough as we don't expect to sell more than 1 million planes in a foreseeable future...").
    In my current system, (EJB-based, but the DB schema is not created by the JPA-compliant ORM, but via SQL scripts), I see the following ways to write and maintain this documentation:
    - SQL comments in the schema creation and patch scripts
    - Javadoc comments in the Java source of the Entity classes.
    - UML notes in UML diagrams(1)
    - external "Architecture and design" document.
    All 4 of them are used, sometimes inconsistently, for various parts of the design choices; I mean, the docs do not contradict themselves (not yet, but it's a mere question of time), but some tables are commented in SQL scripts, others are in design docs, and the details for some columns are in entity javadocs. Although each developer may find it handier to "write" the doc via his preferred medium, it becomes increasingly difficult to "maintain" theoverall documentation.
    Our current situation is that most of the project team members are Java developers, so it would probably be better accepted and served if we standardized that we document DB tables and columns in Java source, but I am worried that:
    - someone else pouring over our DB (ex: DBA helping us to optimize things, or other team developping a data-mining tool to leverage the historical data in DB) may not be as comfortable with Java
    - this may not cover all design choices of the DB schema:
    - - - - first, although that is the case currently, in the future there might not be a 100% 1-1 mapping between e.g. each entity class and a DB table. Maybe some columns will not need to be mapped anymore,...
    - - - - second, I fear some DB constructs are not amenable to Java counterparts; no accurate idea there, I'm not an SQL nor JPA expert, but I presume Indexes, table partitioning, tablespaces, for example (yes, the DBMS is Oracle :o) are not taken into account in JPA mapping.
    And if we document those choices at the SQL level (my preferred idea so far), this will gradually make the javadocs in the entities obsolete, or removed altogether, and that will make future maintenance of the Java source risky.
    How do you document your DB design in general?
    Do you have specific advices for my case?
    Thanks in advance,
    J.
    (1) Just for the record, here are a few posts that refer to modelling the DB in UML:
    [A post on this forum highlighting that UML 1.4 standardizes a notation for RDB modelling|http://forums.sun.com/thread.jspa?messageID=1383724#1383724]
    [A DB modelling tutorial|http://www.tomjewett.com/dbdesign/dbdesign.php] (not sure whether it leverages the standard mentioned above :o)
    P.S.: "Java and all else" as in, damn, I'd love to use the familiar JDC forums and people to discuss not only Java-related issues, but also [all other things that surround Java|http://forums.sun.com/thread.jspa?threadID=5422264&tstart=0] (other technologies, processes, people) and enable to make workable systems out of Java code.

    jduprez wrote:
    Thank you again.
    A couple more questions:
    2. Table, and proc dictionary maintained as one or more text files. Those files and schema are all in source control.Do you mean, a proprietary text format (a la tabledesign.txt), or +.sql+ source files? Again, you seem to suggest the scehma info is present in two locations.I didn't say two locations unless you meant files. Then yes.Yes I meant two files. I trust the team to get the doc file lagging a few revisions behind the SQL file, and to correct that I would have to include one more step in the review process (e.g. "review CM actions to check that the doc file is updated consistently with the SQL source").
    The tool I wrote would throw errors if the comment file didn't match the schema. And if comments were not provided. That of course doesn't stop someone from documenting a table with "a table".
    You can of course keep the addtional info as special comments in the SQL, but when I did this, and even in retrospect, it seems better and perhaps easier to keep them seperate. I have done special comments in SQL before and it seems a bit of a kluge but you do have the single source. But in that case I was the only one maintaining it too.What do you mean by "special"?For code generation I have a schema file with the following (pseudo sql.)
        create mytable
           mytable_id int,
           column_foo varchar(10);
           column_fum varchar(20)
            -- Query: for_a_query (column_foo, column_fum)
        )The generator consumes the schema and generates the standard CRUD which would include a query based on the primary key.
    The above comment is used to provide an additional query where the proc is named 'for_a_query' (munged with table name) and takes two parameters (column_foo, column_fum) whose type/name matches those of the table.
    If we don't try to generate a browseable HTML out of the schema (although the idea is appealing, I don't have the resource to make such a tool), do you see anything kludgy in maintaining SQL comments interpersed within DDL code?
    Of course that is doable.

Maybe you are looking for

  • IPod not recognised by any program on my computer or 'my computer' itself

    I have at 30GB iPod Photo and have tried everything to get my computer to recognise it. Like another discussion I read, I have uninstalled and reinstalled both iTunes and iPod updater. I have had my iPod restored factory settings at the apple store,

  • A question about ascii nulls in filenames.

    This code : public class FileTest {     public static void testFile(File f){         try{             System.out.println("testFile: exists[" + f.exists() + "] " +                     "canonical[" + f.getCanonicalPath() + "] " +                     "f

  • Extremely dissapointed with SGSIII

    So I really thought this phone would be a killer device! I had the HTC EVO 4G for the last 2 years on Sprint and was looking forward to the LTE speeds on Verizons network. Sprint coverage was OK, I thought Verizon would be much better, especially at

  • Transports Best Parctices

    Hi Gurus, I am using SAP Enterprise 4.7 and we still use SAP Infosets and Queries (believe or not!). For certain reason, which I don't like, we are creating infosets and queries directly into the productive client.  I explained my boss that we should

  • ITunes USED to removed played podcast episodes automatically!  No more :(

    I sync iTunes with my iPod Touch (most people do!) and the podcasts used to automatically remove themselves from the iPod during a sync with iTunes when I had played them. Now they stay there until I manually delete the files off iTunes. (Even if I d