Recovery from firmware issue - New Symptom

Like many others before me, I trashed my iMac with the OS X cd. I am Really Close to being able to recover it but I now have a symptom that I have not seen mentioned by anyone else.
I can boot from the 9.2 cd (without video) and then get the video back by using the sleep/wake trick. However, if my internal hard drive is plugged in, I get a watch cursor that never goes away so I am unable to go any further. If the internal hard drive is disconnected, it wakes up normally and is functional.
It will not boot from the internal drive. I hear the drive rattle momentarily and that is all. Of course, without video I cannot discern the problem.
I took the drive out and put it into an external USB enclosure, booted from CD, plugged in the external drive, initialized it, and installed OS 9.2 on it. I tried to boot the system from the USB drive but it would not. I then put the drive back into the iMac and tried again. It still would not boot from the internal drive and, when booting from CD, will not recover from the watch cursor if the drive is plugged in.
Unfortunately, this iMac has no external VGA adaptor so I am stuck with working blind. Any suggestions, anyone?

No; the firmware is still a problem. It will remain so until I can get 9.2 to boot from a writable medium.
I had another thought, though: This machine was running 8.6 up until I ruined it with the OS X cd. I noticed that the 9.2 cd contains some required firmware updates of its own. Perhaps if I start again with the 8.6 cd, I will be able to install it to, and boot from the internal drive. If so, maybe I can install the 9.2 firmware updates, then install 9.2, etc. etc.
Now, if I can just find that old 8.6 cd...

Similar Messages

  • Pdf file recovery from over written new save as file

    I over wrote a file  and need to recover the original file that was over written with "save as".

    This is the time to use your backups.

  • Quality of new build of HP Pavilion 23xi / firmware issue?

    Hi. I bough one HP Pavilion 23xi one year ago and I was very impressed with the image quality. So I bought one recently, but I noticed a difference between them: when viewed from above or side, this latest one has light leaks and a not-so-uniform display of colors, which get washed out more quickly when viewed from other angles. This does not happen with the first one, and it's independant of operating system (tried on Windows 8.1 64bit and OSX Yosemite.
    Is it a build quality or firmware issue?
    Firmware of monitor 1: RIM111 / 2013
    Firmware of monitor 2: RIM232 / 2014
    Also the OSD is different between monitors - how can I update firmware RIM111 to RIM232 ?
    Thank you.

    Hello @bmoreira,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how the quality of your new monitor shows light leaks and not-so-uniform display of colors from different viewing angles. I would be happy to assist you in this matter!
    I am providing you with some steps you can try below:
    Step 1. Unplug the power cord from the back of the monitor and the wall
    Step 2. Hold the power button down for at least one minute
    Step 3. Plug the power cord back into the monitor and then into the wall outlet
    Step 4. Press the Menu button on the monitor
    Step 5. Navigate to the Factory Reset option and select it
    Step 6. Try a different cable connecting your monitor to your computer
    If the above steps did not resolve your issue you can try the monitor on a computer or other device to see if the issue persists. Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Thank you for posting on the HP Forums. Have a great day!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Beige G3 boot from **** problem; open firmware issues; bad motherboard?

    Dear all,
    I'm having huge boot/startup problems with my beige G3 that had been happily running OSX 10.3.9, but for purposes of this discussion we can (mostly) revert to OS 9. Originally, the machine was a G3 @300; was upgraded more than a year ago to a ZIF G4 @500.
    To make a long story short, it won't boot from any hard drives, will not boot from any OS X CD, and will only occasionally boot from a 9.x startup CD (whether Apple or Norton Utilities). I think it's an open firmware issue, possibly caused by a bad motherboard (rev. 2).
    All this started happening after I used techtool pro, but I think that's coincidence (even though I acknowledge that, for cops and computer users, there are no coincidences.) Also, as discussed below, I'm having the same problems with an HD that wasn't even in the computer when all these things began.
    Here are some of the things I've done.
    --repeatedly reset PRAM, both with key combinations and removing battery. The only time it will boot from a 9.x CD is after resetting PRAM.
    --removed all add-on PCI cards.
    --removed additional VRAM
    --removed all memory cards and tried replacing one at a time.
    --disconnected both existing hard drives and replaced with an older OS 9.x hard drive (approx 60 mb) that I'd used before. Also tried different ribbon cables.
    --unplugged floppy drive
    --disconnected PCI ATA disk controller that I'd been using for running a large (1.8 gb) hard drive.
    --regarding open firmware: readenv usually shows totally normal default AND installed settings. Using reset-all works fine -- at least it makes the machine reboot, but doesn't solve the problem. reset-nvram does NOT work -- says it's an "unknown word."
    --using startup keys like holding down the option key, or shift key, or X key or cmd-option plus two others I can't remember, has no effect. Again, after I've tried any kind of reboot, the ONLY way to get the C-key at startup to boot the CD is by resetting the pram (key combination). Otherwise, the usual result of these experiments is a dark screen on startup -- nothing at all (and the LCD monitor tells me "no input.")
    --regarding OSX: sometimes (and I emphasize sometimes) I can get the machine to start booting from an OSX 10.2 CD, but it won't complete the process. Sometimes I get a "prohibited" (as in no-parking, no-smoking) icon; sometimes it will start booting (grey screen, OS X Apple icon), then crash (horizontal grey and white jagged bars); sometimes it will show the OS 9 start icon (the tiny smiling Mac SE), but not boot at all.
    --when I get the mac successfully booted with an OS 9.x CD (again, this works sometimes, but not always), the old hard drive with two partitions does show on the desktop and can be accessed. Using either disk repair or Norton Utilities shows the 9.2 system partition on the hard drive to be fine. But if I go to the startup disk control panel, confidently set the 9.2 partition as my startup disk, then reboot, there's no change. It won't boot and I'm back at square one.
    --even when I do get successfully booted with 9.x, the machine will still occasionally crash for no reason -- ie when I'm moving a Window.
    --the only thing I haven't done is slowed down the processor. It's a ZIF G4 bought more than a year ago from XLR8 your Mac. I'm running at the default 500 mhz, and it's never given me any trouble.
    So I think it's a bad motherboard or ROM. Thoughts?
    Thanks.

    The beige Mac is now operating happily again. My original tentative diagnosis remains the same (although still tentative): corrupted PRAM from bad battery, compounded by bad cables that wrote corrupted data to hard drives, and also (possibly) allowing Tech Tool Pro (a utility that I now regard with deep suspicion) to create a "virtual" startup partition.
    A few things I've learned along the way that hopefully may be useful:
    --remember that the Ex Post Facto utility can be used to help OS X startup, not just installation. This applies to hard drives, emergency CDs, installation CDs, etc. If you can boot into any working hard drive partition (OS 9 or a backup OS 10), then run Ex Post Facto (same program runs on either OS 9 or X -- don't ask me how) and tell it what system you want to start up from. Also, the utility has sometimes told me that the startup extensions on the disc that I wanted to boot up from were bad, and offered to fix them (which works).
    --at least on my Mac (beige, v. 2 motherboard), resetting the CUDA button, resetting the PRAM, resetting Open Firmware and "draining" the memory by unplugging the computer and disconnecting the battery for several hours ALL DO DIFFERENT THINGS.
    Specifically, if I'm having trouble booting (from a hard drive or a CD), the FIRST thing I do is restart and resetting the PRAM on the fly -- holding down command, option, P and R at startup, and waiting for the chimes (preferably at least 3-4 times).
    If I do that and DON'T hear the chimes, that's my cue for my SECOND action -- restarting into open firmware (command, option O and F keys on startup). That should bring up the black text on white background open firmware screen. View other posts or apple support for details, but if you do PRINTENV and see a bunch of weird gibberish after the default/installed lists, you know that it was messed up and you need to clear it through reset nvram and reset all commands. Be aware some of these commands do or do not work depending upon what version of Open Firmware you have.
    After I've rebooted with Open Firmware, then on restart I should be able to reset the PRAM on the fly. If that works, then either let the machine run and see what happens, or hold down the C command and see if it will boot from the CD
    Usually, if I've fixed everything as above, the machine will boot into whatever version of OS 9 it finds on a hard drive. That's fine with me -- at that point, use Ex Post Facto to reboot into your OS X. (Before I forget: I used the shareware startup CD creator program BootCD to make an emergency boot CD based on OS 10.2.8 (which theoretically will support a beige mac in native fashion) and Disk Warrior, the god of disk repair utilities. Even though the CD should boot just by holding down the C key on startup, it doesn't -- but if I use Ex Post Facto to boot it, no problems (although the process is very slow -- be patient). Then I can fix almost anything using Disk Warrior.)
    If none of the above works, then I'll try resetting the CUDA (on my beige minitower, it's a very small black button inconveniently located between a PCI slot and the side of the computer housing). Hold it down for 15 seconds. That should REALLY clear the PRAM. I know this does something different from the previous steps because this is the only action (except the battery disconnect -- next) that clears the date and time from the memory.
    If all else fails, I will unplug the computer and disconnect the battery, then push the CUDA button for 15 seconds and let the machine sit overnight.
    One final finding -- I thought I'd fixed everything, but both my hard drives suddenly quit working, I discovered that during all this repeated connect/disconnect of things, one of the male pins inside one of the connectors on my Acard ATA PCI card had broken off. Not good. Fortunately, the card had a second connector, which works fine. And I did some extensive shaking of the computer to make sure (I hope) that the broken pin hadn't landed on a circuit board.
    All this took more than two weeks, and the advice of this board was much appreciated. Now I'm on to my next adventure -- trying to figure out why a combo Firewire/USB PCI card won't mount an external drive on Firewire, but will on USB. I've tried two cards with same result -- but a Firewire-only card works just fine.)
    Regards to all,
    Graham

  • Happy on Leopard, hangs on sleep with Tiger: Firmware issue?

    I have an early 2005 G5 dual 2.0 that I bought new. It has 2.5GB of RAM and two drives: a 1TB and a just-recently-reinstalled original 160 GB drive.
    I've updated it through the years and recently it's been running Leopard 10.5.8 on the 1TB drive.
    I've just replaced it with a Mac Pro as my main machine, and wanted to set up the G5 to run Classic apps, so installed the original 160GB drive, wiped it clean with Drive Genius, and did an erase and install from my original 10.4 CD, followed by a bunch of Software Update runs to get it to 10.4.11.
    Trouble is, when booted in 10.4.11, every time it sleeps, the fans go into high gear and the system hangs, so I have to press the power button to shut it down.
    I cleaned off the disk and reinstalled.
    I zapped the PRAM/NVRAM.
    I booted in Open Firmware and did a reset.
    I disconnected the 10.5 disk.
    I ran Apple Hardware Test.
    I disconnected all cables and pressed the PMU/SMU reset button.
    Had a very nervous day when reconnecting the power cord gave me a solid power LED and a non-operational power button, until I got brave and reset the PMU again with the power cord plugged in (against Apple advice, but some folks said it worked). That got me booted again.
    Ran through several cycles of circle-with-bar gray screen boots, hang with loud fan boots, safe boots, etc.
    None of these steps indicated anything unusual or stopped the loud fan/dark screen/hang under 10.4.11.
    I'm now at the point where the machine boots fine, sleeps fine, and is generally happy as a clam when booted on my tried-and-true 10.5.8 disk, but does the loud fan/dark screen/hang when booted under 10.4.11, most consistently around sleep time, but sometimes just trying to boot.
    Other possible useful debugging info:
    Right now, the only things plugged in are Ethernet, Apple Keyboard, Apple Mighty Mouse, and VGA monitor with DVI adapter.
    Internal speaker no longer works, but headphone jack does.
    I did try during this process to get my old Thrustmaster ADB joystick running via a Griffin iMate, but those experiments are on hold until I get the base system stable.
    Most posts about similar behaviors (for example, http://discussions.apple.com/thread.jspa?threadID=2444469&start=0&tstart=0) point to a hardware issue, but that doesn't make sense to me because there aren't any issues under 10.5.8.
    My current thinking is that it may possibly be a firmware issue, that I have a version installed that requires 10.5.x and is not compatible with 10.4.x. System Profiler lists
    Boot ROM Version: 5.2.4f1
    However, I can't find much info about this version.
    Even if I found a 10.4-friendly Firmware Update, I'm not sure the machine would let me install an older version.
    So, does my thinking seem sound, or are there other avenues I should pursue?

    No PCI cards other than stock video card.
    No 3rd party kexts running. Just a fresh install of 10.4, then everything Software Update fed me to get to 10.4.11.
    Safe boot does not change the behavior.
    I ran several more experiments and have some more results to share.
    Booting from the Tiger disk reliably caused the machine to become unresponsive when going into sleep mode, after which the fans would go to full speed after a couple of minutes. Occasionally, upon power down and power up, I'd get the gray screen with the circle/slash graphic. Powering down and powering up would then result in a successful reboot.
    Booting from the Leopard disk would not cause the machine to hang when going in to sleep. However, I did notice that the machine wasn't really sleeping, either. The screen would blank, but I never heard hard disks park (the option to "put hard disks to sleep when possible" is checked in the Energy Saver System Preference), and the case fans continued spinning at low (normal) speed. Wake up took no time at all and made no sound except from the monitor. It may not be sleeping, but at least it's not crashing, either.
    Perhaps there really is a hardware issue, and Leopard is handling it more gracefully than Tiger. Unfortunately, Apple Hardware Test isn't finding it, and I see nothing indicated in the logs.
    It's less than ideal, but unless I find a solution, I may just put the machine in never sleep mode to keep it from crashing.

  • Backup/Recovery from web application

    Hello guys,
    I am using Oracle 9i as DB and Oracle 9iAS for web application server. I want to provide Backup and Recovery functionality to the user via web. I don't know any thing in this regard.
    Is it possible that we can take backup and recovery from web application?
    Is there any alternative for this function.
    any other comments will be appreciated.
    Thank you,
    Jawed Nazar Ali

    Read this article in order to get an idea about Java Stored Procedures.
    Oracle Developer JAVA STORED PROCEDURES
    Simplify with Java Stored Procedures
    By Kuassi Mensah
    Use Java stored procedures to bridge SQL, XML, Java, and J2EE and Web Services.
    Stored procedures allow a clean separation of persistence logic that runs in the database tier from business logic that runs in the middle tier. This separation reduces overall application complexity and increases reuse, security, performance, and scalability.
    A major obstacle, however, for widespread adoption of stored procedures is the set of various proprietary, database-dependent implementation languages that different database vendors use. The use of Java-based stored procedures fixes this concern. Oracle has implemented ANSI standards that specify the ability to invoke static Java methods from SQL as procedures or functions. This implementation is called simply "Java stored procedures."
    In this article, you will learn how Java stored procedures help simplify and increase the performance of your business logic and extend database functionality. I'll show how Oracle enables the use of Java stored procedures within the database. I'll also look at how Java stored procedures access data, and show how to create a basic Java stored procedure.
    PL/SQL or Java
    When you think of Oracle stored procedures, you probably think of PL/SQL. Oracle, however, has provided Java support in the database since Oracle8i, to offer an open and portable alternative to PL/SQL for stored procedures. I can hear the $64,000 question: "How do I choose between PL/SQL and Java? Should I forget all the things I've been told about PL/SQL and move on to the greener Java pastures?"
    Both languages are suitable for database programming, and each has its strengths and weaknesses. In deciding which language to use, here's a general rule of thumb:
    Use PL/SQL for database-centric logic that requires seamless integration with SQL and therefore complete access to database objects, types, and features.
    Use Java as an open alternative to PL/SQL for database independence, but also for integrating and bridging the worlds of SQL, XML, J2EE, and Web services.
    OracleJVM Lets You Run Java within the Database
    Since Oracle8i, Release 1 (Oracle 8.1.5), Oracle has offered a tightly integrated Java virtual machine (JVM) that supports Oracle's database session architecture. Any database session may activate a virtually dedicated JVM during the first Java code invocation; subsequent users then benefit from this already Java-enabled session. In reality, all sessions share the same JVM code and statics—only private states are kept and garbage collected in an individual session space, to provide Java sessions the same session isolation and data integrity capabilities as SQL operations. There is no need for a separate Java-enabled process for data integrity. This session-based architecture provides a small memory footprint and gives OracleJVM the same linear SMP scalability as the Oracle database.
    Creating Java Stored Procedures
    There are a few steps involved in turning a Java method into a Java stored procedure. These include loading the Java class into the database using the loadjava utility, and publishing the Java methods using a call specification (Call Spec) to map Java methods, parameter types, and return types to their SQL counterparts. The following section shows how to do this.
    I'll use a simple Hello class, with one method, Hello.world(), that returns the string "Hello world":
    public class Hello
    public static String world ()
    return "Hello world";
    The Loadjava Utility
    Loadjava is a utility for loading Java source files, Java class files, and Java resource files; verifying bytecodes; and deploying Java classes and JAR files into the database. It is invoked either from the command line or through the loadjava() method contained within the DBMS_JAVA class. To load our Hello.class example, type:
    loadjava -user scott/tiger Hello.class
    As of Oracle9i Release 2, loadjava allows you to automatically publish Java classes as stored procedures by creating the corresponding Call Specs for methods contained in the processed classes. Oracle provides Oracle9i JDeveloper for developing, testing, debugging, and deploying Java stored procedures.
    The Resolver Spec
    The JDK-based JVM looks for and resolves class references within the directories listed in the CLASSPATH. Because Oracle database classes live in the database schema, the OracleJVM uses a database resolver to look for and resolve class references through the schemas listed in the Resolver Spec. Unlike the CLASSPATH, which applies to all classes, the Resolver Spec is applied on a per-class basis. The default resolver looks for classes first in the schema in which the class is loaded and then for classes with public synonyms.
    loadjava -resolve <myclass>
    You may need to specify different resolvers, and you can force resolution to occur when you use loadjava, to determine at deployment time any problems that may occur later at runtime.
    loadjava -resolve -resolver "((* SCOTT) (foo/bar/* OTHERS)
    (* PUBLIC))"
    Call Spec and Stored Procedures Invocation
    To invoke a Java method from SQL (as well as from PL/SQL and JDBC), you must first publish the public static method through a Call Spec, which defines for SQL the arguments the method takes and the SQL types it returns.
    In our example, we'll use SQL*Plus to connect to the database and define a top-level Call Spec for Hello.world():
    SQL> connect scott/tiger
    SQL> create or replace function helloworld return
    VARCHAR2 as language java name 'Hello.world () return
    java.lang.String';
    Function created.
    You can then invoke the Java stored procedure as shown below:
    SQL> variable myString varchar2[20];
    SQL> call helloworld() into :myString;
    Call completed.
    SQL> print myString;
    MYSTRING
    Hello world
    Java stored procedures are callable, through their Call Spec, from SQL DML statements (INSERT, UPDATE, DELETE, SELECT, CALL, EXPLAIN PLAN, LOCK TABLE, and MERGE), PL/SQL blocks, subprograms, and packages, as well as database triggers. The beauty of Call Spec is that stored procedure implementations can change over time from PL/SQL to Java or vice versa, transparently to the requesters.
    Call Spec abstracts the call interface from the implementation language (PL/SQL or Java) and therefore enables sharing business logic between legacy applications and newer Java/J2EE-based applications. At times, however, when invoking a database-resident Java class from a Java client, you may not want to go through the PL/SQL wrapper. In a future release, Oracle plans to provide a mechanism that will allow developers to bypass the Call Spec.
    Advanced Data-Access Control
    Java stored procedures can be used to control and restrict access to Oracle data by allowing users to manipulate the data only through stored procedures that execute under their invoker's privileges while denying access to the table itself. For example, you can disable updates during certain hours or give managers the ability to query salary data but not update it, or log all access and notify a security service.
    Sharing Data Logic Between Legacy and J2EE Applications
    Because legacy applications and J2EE applications both invoke stored procedures through the Call Spec, the same data logic can be shared between J2EE and non-J2EE worlds. Thanks to Call Spec, this data logic can be shared regardless of the implementation language used (whether PL/SQL or Java).
    Autogeneration of Primary Keys for BMP Entity Beans
    When using BMP for EJB entity beans, a bean instance can be uniquely identified by the auto-generated primary key associated with the newly inserted data as a return value for ejbCreate(). You can retrieve this value within ejbCreate() in one database operation by using a stored procedure that inserts the corresponding data and retrieves or computes the primary key. Alternatively, you could insert the data and retrieve the corresponding key (or ROWID) in one SQL statement, using the RETURN_GENERATED_KEYS feature in JDBC 3.0. However, the stored procedure approach is more portable across JDBC driver versions and databases.
    You can implement this pattern with these three steps:
    Create the Java stored procedure, defining a public static Java method insertAccount() within a public GenPK class. This method will insert data, compute a unique key (by passing out a sequence number), and return the computed key as primary key.
    Define the Call Spec.
    CREATE OR REPLACE PROCEDURE insertAccount(owner IN
    varchar, bal IN number, newid OUT number)
    AS LANGUAGE JAVA NAME 'GenPK.insertAccount(
    java.lang.String [])';
    Invoke the stored procedure within ejbCreate().
    Public AccountPK ejbCreate(String ownerName, int balance) throws CreateException
    try {
    CallableStatement call = conn.prepareCall{
    "{call insertAccount(?, ?, ?)}"};          
    return new AccountPK(accountID);
    Custom Primary Key Finders for CMP Entity Beans
    Finder methods are used for retrieving existing EJB entity bean instances. Primary key finders allow you to retrieve a uniquely identified EJB instance. For CMP entity beans, the EJB container automatically generates the primary key finder findByPrimaryKey() method, based on declarative description. In some situations, however, you might need more control; for example, you may need a specialized finder such as findByStoredProcKey(). In these situations, you can use Java stored procedures in conjunction with an object relational framework (such as Oracle9i Application Server [Oracle9iAS] TopLink) to implement a custom primary key finder method. After you define the EJB finder as a REDIRECT or NAMED finder, TopLink will generate the SQL query for retrieving the bean instance.
    Data-Driven EJB Invocation
    In a data-driven architecture, business logic invocation can be triggered as a result of database operations (such as inserts, updates, or deletes). A Java stored procedure implementing the data logic can be declared as a database trigger to invoke EJBs running in a middle-tier J2EE application server. You can make EJB calls by using either standard remote method invocation (RMI) over Interoperable Inter-ORB Protocol (IIOP), using a J2EE 1.3 compatible server, or RMI over a vendor-specific transport protocol (such as ORMI with Oracle9iAS/OC4J or RMI over T3 with BEA WebLogic). Each application server vendor has its own optimized protocol while providing RMI over IIOP for interoperability. Oracle9iAS supports both RMI calls over IIOP and ORMI protocols.
    Data-Driven Messaging
    Oracle9i Database embeds Advanced Queuing (AQ), which is an integrated, persistent, reliable, secure, scalable, and transactional message-queuing framework. Oracle exposes AQ features to Java developers through the standard Java Messaging System (JMS) API. Java stored procedures can invoke AQ operations through the JMS interface to allow fast, intra-session, scalable, data-driven messaging.
    Java stored procedures can use JMS to invoke AQ operations. You can implement this pattern in four steps:
    Create and start the JMS Queue (to do so, embed the following operations within a SQL script):
    execute dbms_aqadm.create_queue_table(queue_table =>
    'queue1', queue_payload_type =>
    'SYS.AQ$_JMS_TEXT_MESSAGE', comment => 'a test queue',
    multiple_consumers => false, compatible => '8.1.0');
    execute dbms_aqadm.create_queue( queue_name => 'queue1',
    queue_table => 'queue1' );
    execute dbms_aqadm.start_queue(queue_name => 'queue1');
    Create the Java stored procedure (a code snippet is shown):
    public static void runTest(String msgBody)
    try
    // get database connection
    ora_drv = new OracleDriver();
    db_conn = ora_drv.defaultConnection();
    // setup sender (cf online code sample)
    // create message
    s_msg = s_session.createTextMessage(msgBody);
    // send message
    sender.send(s_msg);
    s_session.commit();
    // receive message
    r_msg = (TextMessage) receiver.receive();
    r_session.commit();
    // output message text
    String body = r_msg.getText();
    System.out.println("message was '"+body+"'");
    Create the Call Spec:
    create or replace procedure jmsproc (t1 IN VARCHAR)
    as language java name 'jmsSample.main (java.lang.String[])';
    Invoke the stored procedure:
    call jmsproc('hello');
    Database-Assisted Web Publishing (Cache Invalidation)
    One of the common issues application architects must face is how to cache database information reliably to increase overall system performance. JCACHE is an upcoming standard specification (JSR 107) that addresses this problem. It specifies an approach for temporary, in-memory caching of Java objects, including object creation, shared access, spooling, invalidation, and consistency across JVMs. It can be used to cache read-mostly data such as product catalogs and price lists within JSP. Using JCACHE, most queries will have response times an order of magnitude faster because of cached data (in-house testing showed response times about 15 times faster).
    In order to track all the changes to the origin data and refresh the cached data, a Java stored procedure is attached to a table as a trigger. Any change to this table will result in the automatic invocation of this stored procedure, which in turn will call out a defined JSP to invalidate the JCACHE object that maps its state to the database table. Upon invalidation, the very next query will force the cache to be refreshed from the database. Next Steps
    READ MORE about Java Stored Procedures
    This article is adapted from the white paper "Unleash the Power of Java Stored Procedures." You can find the white paper at:
    /tech/java/java_db/pdf/
    OW_30820_JAVA_STORED_PROC_paper.PDF
    New PL/SQL features in Oracle9i Database, Release 2
    /tech/pl_sql/pdf/
    Paper_30720_Doc.pdf
    Resolver Spec
    /docs/products/oracle9i/
    doc_library/release2/java.920/a96659.pdf
    OracleJVM and Java 2 Security
    /docs/products/oracle9i/
    doc_library/release2/java.920/a96656.pdf
    DOWNLOAD Code
    Exercise code examples from this article:
    /sample_code/tech/
    java/jsp/Oracle9iJSPSamples.html
    LEARN about stored procedures as Web services
    /tech/webservices
    Extending Database Functionality
    One of the great things about running Java code directly in the database is the ability to implement new functionality by simply loading the code or library and using the Call Spec to make the entry points (public static methods) available to SQL, PL/SQL, Java, J2EE, and non-Java APIs. Oracle9i Database customers can easily extend database functionality. Oracle itself leverages this capability for new utilities and packages such as the XML Developer Kits (XDKs).
    Bridging SQL, PL/SQL, Java, J2EE, .NET, and XML
    The Oracle XDK is written in Java and exposes its public methods as Java stored procedures, extending the database's XML programmability. SQL, PL/SQL, Java, J2EE, and non-Java (.NET) business logic all have access to the XML parser, the XSLT processor, the XPath engine, and XML SQL Utility (XSU).
    The XML parser is accessible through the xmlparser and xmldom packages. XSU is a Java utility that generates an XML document from SQL queries or a JDBC ResultSet, and writes data from an XML document into a database table or view. Using XSU, XML output can be produced as Text, DOM trees, or DTDs. XSU is exposed to PL/SQL through the dbms_xmlquery and dbms_xmlsave packages.
    Conclusion
    The integration of the Oracle database with a Java VM enables the creation of portable, powerful, database-independent data logic and persistence logic. The loose coupling of business logic that runs in the middle tier with data logic that runs in the database tier improves application scalability, performance, flexibility, and maintenance.
    Kuassi Mensah ([email protected]) is a product manager in the Server Technologies division at Oracle.
    http://otn.oracle.com/oramag/oracle/03-jan/o13java.html
    Joel Pérez

  • Windows Server 2012 - Backup failing with Exchange - The application will not be available for recovery from this backup. the consistency check failed

    Hi
    We have a Windows 2012 server with Exchange 2013, all is working fine except now i am getting issues with the backup.
    'Exchange - The application will not be available for recovery from this backup. the consistency check failed for the component Microsoft Exchange Server'
    I have checked the database all is fine, i have created a new db and move all mailbox;s over and then removed the old db, i have enabled circular logging and then disabled it, it seems no matter what i do i cannot get a full backup!
    i did have to restore the server once and the backups still worked for about 4 days after that and then stopped, i have also tried to remove and re add the backup role!
    i am stumped, any advice would be great!

    Hi
    Ok, i created a test db and tried to back it up right away, it failed, i did not add any mailbox's to it either. i got quite a few events in the windows logs, as well as the same event above i got the following:
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database 4843b37c-7b3c-42b2-8b57-1393615c2c15.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261645</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>4843b37c-7b3c-42b2-8b57-1393615c2c15</Data>
      </EventData>
    </Event>
    AND
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database db5826f3-1029-4219-ad80-441a0e94537a.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261646</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>db5826f3-1029-4219-ad80-441a0e94537a</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2034
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    The Microsoft Exchange Replication service VSS Writer (Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9) failed with error FFFFFFFC when processing the backup completion event.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="49156">2034</EventID>
        <Level>2</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261649</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>FFFFFFFC</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        SPP
    Date:          21/01/2013 10:16:30
    Event ID:      16389
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Writer Microsoft Exchange Writer experienced retryable error during shadow copy creation. Retrying...  More info: .
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SPP" />
        <EventID Qualifiers="0">16389</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261650</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft Exchange Writer</Data>
        <Data>
        </Data>
        <Data>The writer experienced a transient error.  If the backup process is retried, the error may not reoccur. (0x800423F3)</Data>
        <Data>
        </Data>
        <Binary>00000000A5120000981200000000000042BEB7C511CAC619E59C92030000000000000000</Binary>
      </EventData>
    </Event>

  • How can I fix repetitive 'fontd' crashes after recovery from time machine backup?

    After recovery from time machine backup (Disk Utility told me to reformat my internal hard drive) i got annoying repetitive prompts from crashing 'fontd'. How can I fix it? Anyone suffering from the same disease?

    Back up all data.
    Launch the Font Book application and validate all fonts. You must select the fonts in order to validate them. See the built-in help and this support article for instructions. If Font Book finds any issues, resolve them, then boot in safe mode to rebuild the font caches. Boot again as usual and test.
    Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. In that case, ask for instructions.

  • Waking from sleep issues

    Hi, I have a 17" G-5 i-sight imac, running os 10.4.8, and have been having wake from sleep issues similar to what others have posted. These first showed up in late August. About 25 % of the time, when waking the computer from sleep the screen remains black, and after about 10 seconds the fan starts running at full speed, The only way to stop this is to hold in the power key until the computer shuts down, and then restart. What's interesting is that this only seems to happen using my apple wireless keyboard and mouse; when using a usb keyboard and mouse there is no problem. Could this be a bluetooth-related problem? The bluetooth settings are all correct (allow bluetooth device to wake computer, etc). The apple care guy basically said he didn't know how to help me, and it's driving me crazy! The only wired keyboard/mouse I have is from my 233 bondi blue imac, so just using that to avoid the problem is not a good option. Please help!
    Jerry

    If your Mac happily goes to sleep but won't wake up--Hold down the power switch to force-reboot your machine and get it running again.
    Don't worry-your Mac isn't narcoleptic. Its Open Firmware system or NVRAM (nonvolatile RAM) is likely corrupt, and your Mac can't remember how to wake up.
    Restart your Mac and immediately hold down the Command-Option-O-F key combo until you see a somewhat intimidating command-line display that ends with the Open Fimware prompt. Type the following line:
    reset-nvram
    press the return key on your keyboard
    set-defaults
    press return
    reset-all
    press return
    Your Mac will reboot. Once it's running, put it back to sleep to test. If the problem recurs your Energy Saver preferences may be the culprit. Delete the com.apple.PowerManagement.plist file (go to Finder/Hard drive/Library/Preferences/SystemConfiguration)--don't worry, your Mac will regenerate a new one--and then restart to see if that rights the wrong.
    Still didn't work? Might be time to call AppleCare or see an Apple Genius or a technician.
    Cheers!
    DALE

  • Firmware Issues / BUG Report for WRT54GS v1.1

    Hi all,
    Router = WRT54GS (version 1.1 as printed on the bottom of the router)
    My current firmware (most up to date) = v 4.71.4
    I have found a few issues when using the following:
    QoS related issues:
    When using QoS, if users wish to disble it tempermentally (or change any other option), then re-enable it, any wireless device cannot access the LAN or WAN. This is regardless of static or DHCP IP. In order to fix this the user must reset the wireless security after re-enabling the QoS (disable the wireless security, save settings, set the security options again, and save settings)
    If a user changes the routers IP to something other than the default when using QoS wireless devices are unable to connect using either static or dynamic IP.
    Other issues I have encountered: 
    When setting wireless security up I chose WPA2-Personal (TKIP+AES). I also use MAC filter as well and only allow those that I specify to connect to the router. This works no problem. My problem is that if I disable SSID broadcasting my wireless devices will not connect regardless of static or dynamic IP. I have made sure there is sufficient strengh of the network (by sitting only a few feet from the router with my laptop to test this).
    How do I report these issues? Will they be addressed in the next future release of firmware?
    Thanks,
    Pete

    Hi, just to let you know. Reset, then re-configured and it is still having the issues as I have posted above. So deffiantly a router firmware issue I would say.
    New Firmware version upgraded to: v4.70.8
    Pete
    Message Edited by aniceguy on 05-01-2009 01:58 AM

  • Someone to confirm Drobo firmware issue?

    The other day, I was using Lr to move a folder from an internal work drive to my external 4-bay FW800 Drobo storage device. There were many files within the folders and was taking a while so I plugged in a card reader to import new files. Both devices were on my FW800 bus on my new Mac Pro. Seems normal, but the Drobo reset itself when I added the Lexar card reader and CF card. I've gone back and forth with Drobo for months now and today, they concluded, "don't do that" and implied that it's my computer having the issues while disregarding my claim that it can be reproduced on all 3 of my Mac workstations in my office.
    Does anybody else have a 4-bay FW800 Drobo that can get it to fail when:
    1) Drobo is in the middle of a FW800 transfer (a simple large file copy/paste is sufficient)
    2) Add another FW800 device to the bus
    **This isn't a Lightroom issue, but I appreciate anybody that can help as I use the Drobo with Lightroom**

    Thanks for your comments. It's tempting to do what you did and just resort to lower performance in trade for stability, but it's hard to do because of the money paid for performance AND stability. And, as well, time is money.
    Drobo has most recently advised me: "don't do that" which isn't a suggestion that sits well with me. For a device that's magically 'plug-in-and-forget', it's been a non-stop stress situation and time suck for me the entire year+ I've owned it. They did replace the unit because a firewire port failed, but the new unit still has this disconnect issue like the previous. I've confirmed for them that the issue happens on multiple workstations so it's either a fundamental OS issue or more likely a Drobo programming issue. You've now confirmed that it happens on Win7 so that rules out the OS.
    Most other reputable companies won't put their customers through the diagnostics hell I've been through with their tech support and numerous trouble tickets. They've been nice all along, but mostly dismissive, contradictory and forgetful about what I've done to prove their product isn't working. The most recent troubleshooting tip was "don't do that". This is the same day Apple says "send back your computer and we'll send you a new one overnight". That's customer service that cares.
    I'd expect Data Robotics, by now, to say something like: "it looks like you have uncovered a firmware issue. Our newer products do not have the same issue. We will be sending you an upgraded product to remedy this issue." Instead, they say "sorry, don't do that."

  • The wake from sleep issues

    My problems have been a couple of freezes, one boot from sleep, but a UPS overload almost every time I wake up the machine. APC RS1500, nothing connected but the late 2008 Mac Pro and the monitor. Never happens on a cold boot. I figure this has to be just another wake from sleep issue. Among us on this forum we have tried everything but burning incense and waving chicken feet, to no avail. Surely people at Apple are using this computer too and are aware of our problem. After all, it is a pretty obvious problem. My plan is to keep the faith but not hold my breath. Meanwhile, if any of us actually comes up with a solution, I would be very glad to hear it.

    My new MacPro 8-core 2.8GHz (early 2008),
    running 10.5.2 with all available updates,
    every time restarts when coming back from sleep.
    AppleCare Second-Level-Support knows about the problem,
    as you can "read beetween the lines", when you talk to them,
    but is not allowed to admit it,
    because otherwise, thousands of MacPro customers
    would be eligible to return their Mac to Apple ...
    My advice for the time beeing:
    Don't send your MacPro to sleep!
    Wait for a firmware-upgrade that will solve the issue.
    BUT - call AppleCare (and your dealer) OFTEN,
    so that they FEEL the pressure of unsatisfied customers!!!
    But also, don't waste your time (and theirs),
    doing what they want you to do with your machine,
    to solve the problem,
    because this is only said to calm you down!!!
    Wait for the firmware-upgrade!

  • HT201210 iphone 5 is stuck in recovery mode after downloading new apple software, does anyone know how to fix this ?

    My iphone 5 is stuck in recovery mode after downloading new apple software, does anyone know how to fix this I keep getting error message 3014 ?

    i dont know but you went through all of this
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. FollowiTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • IPod touch 2nd gen restored 3 times in a week - hardware or firmware issue?

    I have a 2nd gen 32 gig ipod touch that I purchased just before christmas. Everything has been just great until this past week. It has crashed hard..3 times now. I get the apple logo and it won't boot any further.
    Each time has been random, crashed once while watching a movie, once in safari and once while playing a game.
    I've just restored it, again. Anyone have any ideas? Firmware issue? Or hardware issue? Is there any way for me to roll back to a previous firmware?
    Is anyone else having the same problem?
    Any thoughts would be appreciated. I'd hate to have to send it back to Apple.
    Thanks in advance!

    OK now I get it.
    You're going to have to do a full restore to factory settings and begin adding the music, video and apps back one category at a time.
    Don't get in a rush, you need to know where/when the problem starts.
    If every thing's fine for the week with music and video but crashes the day after you install "that app." then you'll know.
    Also some apps have caused trouble in the past but you'll have to list them for anyone else to tell.
    Just a note of warning : you may have a music or video file as the problem but you may also have a "quantity" problem.
    The first will be fixable with a new file, from Apple(iTunes) if it's not something you created, so you'll need to have at least a rough idea of what was on your computer when the crashes started.
    Make notes if you have to!
    If the crashes continue then it's the Apple store, it could still be hardware or some program corruption, but at least you'll have eliminated a few contenders.

  • Itunes not seeing music and media on my iphone after transfer from XP to new Windows7  PC

    Can someone please help me out here?  I don't know if I missed a step or need to do something else... I will be as detailed as I can without being too long-winded.  I have an old netbook running XP and got a new laptop and want to move over all my media and sync and use the new laptop.  I spent a lot of time reading about how to do this and here are the steps I took:
    1) Did a final backup/sync on old PC.
    2) Enabled home sharing on old PC.
    3) Installed itunes on new PC and hooked up iphone to authorize phone.
    4) Enabled home sharing on new PC and moved over all media (took FOREVER to complete this).
    5) Transferred purchases from iphone onto new PC.
    6) Exported playlists from old PC and then imported them to new PC
    7) Did a backup of phone on new PC and then tried to set up itunes to sync as it did on my old phone.
    8) Click sync and after checking for files to sync... Itunes says there is not enough space on my iphone to complete.
    In Itunes on the new PC, I can see my iphone and my library matches when I click on the Itunes music library from the old PC.  However, when I click on music under my iphone, it only sees a single album that I recently purchased and also doesn't recognize any other media (movies, tv shows, tones) except for podcasts.
    What is strange is that when I click on my iphone in Itunes... the status bar matches exactly what is on the phone in terms of audio, movies, etc with 6.2Gb of free space.  To further troubleshoot, I tried to copy over the itunes music library (xml file) from the old PC to the new PC with the same results.  I also did a shift start of itunes to choose the itunes library, still same result (didn't expect that to change).  I also uninstalled Itunes and reinstalled with the same results. 
    The music library paths are different on my old PC and my new PC not only because of path differences from XP to Windows7, but also because when I moved over the media from my old PC to new PC using home sharing... Itunes put media under the Itunes folder where I had it under a different folder on my old PC. 
    I'm afraid of doing a restore on the new PC since I have a feeling the backup might not work.  I could always go back and do a restore again on the old PC if it doesn't, but that means I would be back to the point I am currently at after waiting multiple hours of doing backup and restores. 
    What am I missing here?  Any suggestions are greatly appreciated!

    so i went ahead and did a restore from the new PC and then a restore from backup.  looks like that fixed everything... a few playlists were messed up and so far as i can tell, maybe just a few minor issues.

Maybe you are looking for

  • Portal Password Reset Application In webdynpro for ABAP

    Hello Friends, I am new to WDA . I want to create a Password Reset application in WDA like this [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0c09b9d-52e0-2d10-3981-86bfa8e19dc3?quicklink=index&overridelayout=true] Can someone

  • How to create index

    In sql*plus i do as follows: sql>create table xmltable(id number primary key,xml_text varchar2(2000)); sql>insert into xmltable values(1,'c:\temp\a1.xml'); sql>insert into xmltable values(2,'c:\temp\a2.xml'); sql>insert into xmltable values(3,'c:\tem

  • Back can will not work

    I have wiped my phone and closed all apps and the cam will not work it is just showing a black screen but the forint once is ok is there anything I can do or should I contact Vodafone ? I have the iPhone 5 in black

  • Kona capture card interlacing issues

    Anyone have interlacing issues when capturing with a AJA Kona card. I see small horizontal lines when pausing the action and when there's alot of movement (hand waving, mouth moving etc).

  • Unable to view lync history in my outlook folder

    Hi, My chat history can be seen in lync chats but when i click on the button 'View more in outlook' i get error like below. Any tips on how to solve this ? Lync UCMAPI is connected to Outlook, but one or more folders are not updating. OK    Thanks, T