RuntimeException in OnMessage() does not roll back

          Hello All, I have a transacted queue, the consumer is a java application. I configured
          an error queue for that queue. If I rollback manually in OnMessage(), the rolled
          back messages go into the error queue. However, if I have a RuntimeException,
          the last message (which has caused the exception) remains in the main queue pending
          and does not go into the error queue. I thought a RuntimeException causes a rollback().
          I use WLS 8.1. Any idea?
          Zoltan
          

Hi Zoltan,
          A runtime causes a rollback in an MDB, per the J2EE
          spec, but a runtime exception does NOT cause a rollback
          on a regular async client. The JMS specification is ambiguous
          on the latter - thus the difference.
          Instead, the message is
          redelivered once, and then, if it fails again,
          the message is no longer delivered
          and is implicitly committed on the next call
          to session.commit(). In your
          case, I highly recommend explicitly forcing the rollback.
          Tom
          Zoltan Pinter wrote:
          > Hello All, I have a transacted queue, the consumer is a java application. I configured
          > an error queue for that queue. If I rollback manually in OnMessage(), the rolled
          > back messages go into the error queue. However, if I have a RuntimeException,
          > the last message (which has caused the exception) remains in the main queue pending
          > and does not go into the error queue. I thought a RuntimeException causes a rollback().
          > I use WLS 8.1. Any idea?
          >
          > Zoltan
          

Similar Messages

  • Statement in Transaction Does Not Roll Back

    I have a group of MySQL statements in a method of a Java application.
    I include an SQL error in the last statement to test the rollback of the transaction.
    All the statements roll back, EXCEPT for the one detailed below.
    The MySQL table:
         CREATE TABLE Counter (
              number INT( 4 ) NOT NULL DEFAULT 0,
              account_id VARCHAR( 12 ) NOT NULL PRIMARY KEY
         ) ENGINE = InnoDB;I have run the staement as a PreparedStatement and a Statement:
    PreparedStatement:
         String updateCounterStr =
              " UPDATE Counter " +
                   " SET number = number + 1 " +
                   " WHERE account_id = ? "
         updateCounter = con.prepareStatement ( updateCounterStr );
              updateCounter.setString( 1, accountID );
              int uc = updateCounter.executeUpdate();     Statement:               
         Statement updateCounterStatement = con.createStatement();
              int updatecounter = updateCounterStatement.executeUpdate(
                   "UPDATE Counter SET number = number + 1 " +
                   "WHERE account_id = \'" + accountID + "\'"
              con.setAutoCommit( true );     //     ------------------------------------ Transaction ENDS
              updateCounterStatement.close();
    //               updateCounter.close();
              ... several more
              con.close();
         } catch(SQLException ex) {
              System.err.println("SQLException: " + ex.getMessage());
              if (con != null) {
                   try {
                        System.err.print("Transaction is being ");
                        System.err.println("rolled back");
                        con.rollback();     //     < ------------------------------------ con.rollback() HERE
                   } catch(SQLException excep) {
                        System.err.print("SQLException: ");
                        System.err.println(excep.getMessage());
    }     //     ---------------------------------------- END the methodIn both cases Counter is incremented, but does NOT roll back.
    The other statements in the transaction do roll back,
    I am using:
    mysql Ver 14.12 Distrib 5.0.18, for apple-darwin8.2.0 (powerpc) using readline 5.0
    on Mac OS X 10.4.x
    I would greatly appreciate a solution to this problem.
    Many thanks in advance

    I think autocommit is true by default. Also, it looks like your'e setting it to true, and then executing more SQL.
    Explicitly set it to false, and DON'T set it back to trueif there's any chance you're going to want to rollback after that.

  • Toplink 9.0.4.8 and JTS on OAS 10.1.2.0.0 and 10.1.2.0.2 not rolling back t

    Toplink 9.0.4.8 and JTS not rolling back transaction
    Hi
    Scenario:
    I have a session bean (EJB1) calling a session bean (EJB2).
    When an EJB1 is called, EJB1 persists data on to Table1 in database.
    And EJB1 makes multiple calls to EJB2 to create entries in three different tables. Trans-attribute is set as required on both EJBS.
    Problem:
    EJB1 gets a Runtime Exception while inserting the data into TABLE1 (ORA-12899: value too large for column), EJB1 transaction is rollback, but all other transactions related to EJB2 are getting committed. I assume that they should roll back too.
    Also, I did JAD on external transaction controller and listener and noticed that there is a transaction associated to each call. Meaning EJB1 had Transaction T1 and EJB2 had T2, T3, and T4 for the subsequent calls. When EJB1 is getting runtime exception in the method beforeCompletion(), the it calls rollbackGlobalTransaction() which is calling T1.setRollbackonly(). But not on on T2, T3, and T4 rollback
    Am I missing anything?
    Please help me
    Here are my configuration details:
    The datasource configuration:
    <data-source name="myTxDataSource"
    class="com.evermind.sql.OrionCMTDataSource"
    location="jdbc/myTxDataSourceCoreDS"
    xa-location="jdbc/xa/myTxDataSourceXADS"
    ejb-location="jdbc/myTxDataSourceDS"
    pooled-location="jdbc/myTxDataSourcePooledDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="duser"
    password="d123"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"
    />
    Sessions.xml
    <login>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
    <datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
    <user-name>duser</user-name>
    <encryption-class-name>oracle.toplink.internal.security.JCEEncryptor</encryption-class-name>
    <encrypted-password>22F7AFE6F6B9672435537CE1189E123DD62D1A19DF561D1E</encrypted-password>
    <uses-native-sequencing>true</uses-native-sequencing>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    </login>
    <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
    Toplink Helper class that is used by both EJB's
    This one uses SessionBroker. here is how it is initialized:
    SessionManager manager = SessionManager.getManager();
    sessionBroker = (SessionBroker) manager.getSession(xmlLoader,
    sessionBrokerName, this.getClass().getClassLoader());
    Oracle9iJTSExternalTransactionController extController = new Oracle9iJTSExternalTransactionController();
    sessionBroker.setExternalTransactionController(extController);
    It has common following commong methods:
    public UnitOfWork getUnitOfWork() {
    UnitOfWork uow = sessionBroker.getActiveUnitOfWork();
    return uow;
    public Object create(Object o)
    UnitOfWork uow = getUnitOfWork();
    uow.registerNewObject(o);
    // added so that the assigned sequence number will be available before the commit happens
    uow.assignSequenceNumber(o);
    return o;
    }

    Doug, Andrei and others
    I found the problem. I have a Delegate that provides access to all EJBS. This delegate is used by both the webtier and middle tier.It is written in a generic fashion so that the web server and middle tier does not have to be co-located in one container. getInitialContext() which is implemented as follows:
    private static Context getInitialContext() throws NamingException
    // Get InitialContext for Embedded OC4J.
    // The embedded server must be running for lookups to succeed.
    // actual code reads from the external parameters
    String contextFactory = "com.evermind.server.rmi.RMIInitialContextFactory";
    String principal = "admin";
    String passwd = "admin123";
    String providerURL = "ormi://localhost:3201/shc";
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, contextFactory);
    env.put(Context.SECURITY_PRINCIPAL, principal);
    env.put(Context.SECURITY_CREDENTIALS, passwd);
    env.put(Context.PROVIDER_URL, providerURL);
    env.put("dedicated.rmicontext","true");
    return new InitialContext(env);
    When the EJB1 tries to look up for EJB2, container thinks that the call is from outside the container and it is starting a new transaction.
    When I changed the EJB1 to look up EJB2 to get the context as shown below,every thing seems to rolling back.
    private static Context getInitialContext() throws NamingException
    return new InitialContext();
    Thanks again for pointing me in the right direction.
    I will post the same message in other threads.
    Raju

  • Container transaction NOT rolled back after a long period of time.

    Hi, I am using Weblogic 6.1SP5 on RedHat 7.1 and I have seen an unexpected
              behaviour with an MDB and I would like to know if there is any circumstance
              in which a transaction is not rolled back automatically by the container
              after the transaction timeout specified on MDB descriptor expired.
              The fact is I have seen a thread locked for 3 entire days without any
              exception being raised (the trans timeout was set to 900 seconds for
              debugging porpouses)
              Sadly I didn't thought on issuing a ps -ax and a netstat -np in order to see
              if there was any connection active for any of the JVM threads.
              As an aside note I had to throw a kill -9 to Weblogic's JVM in order to
              completely stop it because using the standard "stopWeblogic.sh" script it
              got stalled.
              The only unusual thing that I can think of the MDB is doing is opening a
              connection against a remote system via a socket.
              My question is. Is it possible that a thread locked on I/O (in this case a
              socket) to be out of control in terms of throwing at it a "Transaction
              rolled back exception"?
              I have modified my code in order to set SO_TIMEOUT on the socket just in
              case the other peer hangs and never returns control. But I would like to
              know the problem could be there.
              I know for sure that at the time the thread stalled the other peer died
              (exceptions on other MDBs trying to connect to remote system) but I expected
              a "socket exception" to be thrown by the O.S. to the stalled thread instead
              of having the thread waiting forever on that "open" socket.
              Thanks in advance.
              Ignacio.
              

    While a tramsaction may be rolled back at the transaction timeout,
              the thread is not stopped. The actual exception won't occur until
              the MDB completes. If the MDB doesn't complete (as in this case),
              you won't get the exception.
              "Ignacio G. Dupont" <[email protected]> wrote in message news:[email protected]...
              > Hi, I am using Weblogic 6.1SP5 on RedHat 7.1 and I have seen an unexpected
              > behaviour with an MDB and I would like to know if there is any circumstance
              > in which a transaction is not rolled back automatically by the container
              > after the transaction timeout specified on MDB descriptor expired.
              >
              > The fact is I have seen a thread locked for 3 entire days without any
              > exception being raised (the trans timeout was set to 900 seconds for
              > debugging porpouses)
              >
              > Sadly I didn't thought on issuing a ps -ax and a netstat -np in order to see
              > if there was any connection active for any of the JVM threads.
              >
              > As an aside note I had to throw a kill -9 to Weblogic's JVM in order to
              > completely stop it because using the standard "stopWeblogic.sh" script it
              > got stalled.
              >
              > The only unusual thing that I can think of the MDB is doing is opening a
              > connection against a remote system via a socket.
              >
              > My question is. Is it possible that a thread locked on I/O (in this case a
              > socket) to be out of control in terms of throwing at it a "Transaction
              > rolled back exception"?
              >
              > I have modified my code in order to set SO_TIMEOUT on the socket just in
              > case the other peer hangs and never returns control. But I would like to
              > know the problem could be there.
              >
              > I know for sure that at the time the thread stalled the other peer died
              > (exceptions on other MDBs trying to connect to remote system) but I expected
              > a "socket exception" to be thrown by the O.S. to the stalled thread instead
              > of having the thread waiting forever on that "open" socket.
              >
              > Thanks in advance.
              >
              > Ignacio.
              >
              >
              

  • Transaction not rolling back in stateless session bean

              Hi,
              I am facing a problem...
              I have one stateless session bean which does multiple updates in SYBASE database.I
              am using non-transactional datasource. Bean calls a method of data access obejct
              whcih internally calls more than one one mehtod to update different tables.If
              any of update fails then I am explicitly thorwing EJBException. Still it is not
              rolling back.
              I have one more application where similar situation is there but only difference
              is that there we have Entity bean and updates are being done through store method.
              In that case with same datasource it is rolling back perfectly.
              I have tried with transactional datasource as well but it didn't work.Then I tried
              to put setAutoCommit(false) in my connection class which gives me connection.But
              then it is not allowing me to enter into my application.
              In deployment descriptor for both the beans transaction attribute is required
              for all methods.
              Regards.
              Rahul.
              

              Hi,
              I am facing a problem...
              I have one stateless session bean which does multiple updates in SYBASE database.I
              am using non-transactional datasource. Bean calls a method of data access obejct
              whcih internally calls more than one one mehtod to update different tables.If
              any of update fails then I am explicitly thorwing EJBException. Still it is not
              rolling back.
              I have one more application where similar situation is there but only difference
              is that there we have Entity bean and updates are being done through store method.
              In that case with same datasource it is rolling back perfectly.
              I have tried with transactional datasource as well but it didn't work.Then I tried
              to put setAutoCommit(false) in my connection class which gives me connection.But
              then it is not allowing me to enter into my application.
              In deployment descriptor for both the beans transaction attribute is required
              for all methods.
              Regards.
              Rahul.
              

  • Rebel XS does not turn back on.

    My wife has a Canon Rebvel XS, and after it is turned off it will not turn back on until the battery is removed for a short time and then replacew..  If it goes into auto-power off mode it does not turn back on until the battery is removed and then put back in.  We have replaced the battery and the same issue occurs.  i have turned off the auto-power mode so it stays on continuosly and so far have not had any issues as long as the camera stays powered on.  The camera is about 3 years old  and looks like it is at 9699 on the file numbering though it may be at 19k since we aren't sure if it rolled over the counter.
    Aside from this it appears to be running fine.  She has also gotten occasionall Err 99.

    Hi Jpatten,
    Since this happens consistently and you're receiving the "Err 99" error message, unfortunately, your wife's camera will require repair to correct this issue.  You may click here for service options:
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • My ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix

    my ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix, other than take it to apple.
    thanks!

    The wish list only works on apps you have to pay for. To get it tap the icon of the app you want to save. After it opens at the upper right corner is a box with a arrow. Tap that then tap add to wish list list in the box that opens.

  • Toplink 9.0.4.8 and JTS on OAS 10.1.2.0.0 and 10.1.2.0.2 not rolling back

    Re-Posting message with more information.
    Toplink 9.0.4.8 and JTS not rolling back transaction
    Hi
    Scenario:
    I have a session bean (EJB1) calling a session bean (EJB2).
    When an EJB1 is called, EJB1 persists data on to Table1 in database.
    And EJB1 makes multiple calls to EJB2 to create entries in three different tables. Trans-attribute is set as required on both EJBS.
    Problem:
    EJB1 gets a Runtime Exception while inserting the data into TABLE1 (ORA-12899: value too large for column), EJB1 transaction is rollback, but all other transactions related to EJB2 are getting committed. I assume that they should roll back too.
    Also, I did JAD on external transaction controller and listener and noticed that there is a transaction associated to each call. Meaning EJB1 had Transaction T1 and EJB2 had T2, T3, and T4 for the subsequent calls. When EJB1 is getting runtime exception in the method beforeCompletion(), the it calls rollbackGlobalTransaction() which is calling T1.setRollbackonly(). But not on on T2, T3, and T4 rollback
    Am I missing anything?
    Please help me
    Here are my configuration details:
    The datasource configuration:
    <data-source name="myTxDataSource"
    class="com.evermind.sql.OrionCMTDataSource"
    location="jdbc/myTxDataSourceCoreDS"
    xa-location="jdbc/xa/myTxDataSourceXADS"
    ejb-location="jdbc/myTxDataSourceDS"
    pooled-location="jdbc/myTxDataSourcePooledDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="duser"
    password="d123"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"
    />
    Sessions.xml
    <login>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
    <datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
    <user-name>duser</user-name>
    <encryption-class-name>oracle.toplink.internal.security.JCEEncryptor</encryption-class-name>
    <encrypted-password>22F7AFE6F6B9672435537CE1189E123DD62D1A19DF561D1E</encrypted-password>
    <uses-native-sequencing>true</uses-native-sequencing>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    </login>
    <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
    Toplink Helper class that is used by both EJB's
    This one uses SessionBroker. here is how it is initialized:
    SessionManager manager = SessionManager.getManager();
    sessionBroker = (SessionBroker) manager.getSession(xmlLoader,
    sessionBrokerName, this.getClass().getClassLoader());
    Oracle9iJTSExternalTransactionController extController = new Oracle9iJTSExternalTransactionController();
    sessionBroker.setExternalTransactionController(extController);
    It has common following commong methods:
    public UnitOfWork getUnitOfWork() {
    UnitOfWork uow = sessionBroker.getActiveUnitOfWork();
    return uow;
    public Object create(Object o)
    UnitOfWork uow = getUnitOfWork();
    uow.registerNewObject(o);
    // added so that the assigned sequence number will be available before the commit happens
    uow.assignSequenceNumber(o);
    return o;
    }

    A couple of this appear different in your sessions.xml. To do what you want you need to configure TopLink to:
    1. Use an external XT controller - requires flag to be set and controller provided
    2. Use the OC4J data source - requires flag to be set and data source name provided
    I notice that your sessions.xml has both a data source name as well as a direct connection URL.
    Here is a sample that shows the proper settings for the external TX and data source usage:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink Sessions 9.0.4//EN" "sessions_9_0_4.dtd">
    <toplink-configuration>
       <session>
          <name>default</name>
          <project-xml>META-INF/tlMap1.xml</project-xml>
          <session-type>
             <server-session/>
          </session-type>
          <login>
             <datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
             <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
             <uses-external-connection-pool>true</uses-external-connection-pool>
             <uses-external-transaction-controller>true</uses-external-transaction-controller>
          </login>
          <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
          <enable-logging>true</enable-logging>
          <logging-options>
             <print-thread>false</print-thread>
             <print-date>false</print-date>
          </logging-options>
       </session>
    </toplink-configuration>Doug

  • Lightroom 5 file edited in photoshop cc 2014 does not appear back next to original after save. Is anyone else having this issue? If so what is the fix.  The edited image appears back in lightroom in a new folder.

    Lightroom 5 file edited in photoshop cc 2014 does not appear back next to original after save. Is anyone else having this issue? If so what is the fix.  The edited image appears back in lightroom in a new folder.

    I'm performing a normal "Save", not "Save As". Work flow I'm using is as follows:  Select photo in Lightroom 5.7 >" Edit In" Photoshop CC 2014 > (after working on photo is PS) > Save > close PS. Photo returns to Lightroom 5.7 in a new folder rather than next to the original. Prior to purchasing the monthly plan and upgrading to PS CC 2014, I performed this same work flow using Lightroom 5.6 and Photoshop CS6 without any issues.
    Just for fun... I attempted to move the edited file back into the original folder. I received a prompt that said the file already existed in the original folder, however I can't see it except the new folder that LR created. I tried several different sort orders, etc without any success.
    *** Follow up: Was unable to resolve the issue using Photoshop CC 2014. Uninstalled PS CC 2014 and went back to using Photoshop CS6. Return trips from LR 5.7 to Photoshop is now performing as it should: returning edited photo back to the original folder in LR 5 and placing next to the original image.
    Should anyone have a suggestion on getting Photoshop CC 2014 to do the same, I would love to be educated.
    Thanks for the help, dj_paige.

  • Mercedes User interface does not revert back after a call

    I had my iPhone 4 paired to my Mercedes and was happily using the bluetooth connectivity for making and receiving calls .
    But lately when I make a call by dialing from my phone and then disconnecting the call using the car control, the car screen does not revert back to what it was and it remains in the phone mode.
    This does not happen when I pick up a call using the car control.
    Any idea as to why this might be happening .

    Uninstall then reinstall RNR.  RNR does not like to be cancelled via task manager.... this creates a mess.
    Reinstall may also fix your issue with productivity center.. 

  • MBP does not come back after hybernation

    Hello everyone,
    I am enjoying my MBP except for one problem. It does not come back after it hybernates sometimes.
    I hit a key, hear the superdrive do it's "thing" and then after much waiting (approximately over 10 minutes) no picture or video on the screen!
    I can tell that it's still powered on because it's plugged in and when I hit the Caps Lock key it lights on and off.
    The only way that I can get it out of this state is to hold down the power button, unplug the power cord, take the battery out, hold in the power button for 4 seconds, reinsert the battery and power back on.
    I have to then cycle the power back off because the first time it does not come back but I just get the blank white boot screen and no 'apple'.
    When I turn it back on the second time, it boots up.
    Anyone else have a problem with this?
    Thanks for listening!
    Mark

    Hello Gweedo!
    Yeah I have the same issue and am up to date. Apparently this is a pretty huge problem with the Macbook Pro since the last Graphics update after updating to 10.5.2.
    http://discussions.apple.com/thread.jspa?threadID=1394449
    I have been perusing through that topic and hopefully they will come up with a fix for this.
    The only work-a-round that I have found (but haven't tested extensively yet) is to disconnect to the wireless, turn off blue tooth, disconnect my external monitor and then go into sleep mode. Then it always comes back. But if I leave it connected to the wireless, bluetooth, and external monitor - it's a crap shoot as to weather or not it will come back up.
    This is pretty frustrating because half of using a laptop is being able to hybernate and sleep properly.
    I even have the 'smartsleep' installed.
    Thanks for commenting everybody!
    Mark

  • Just upgraded to latest iOS and my iPad does not come back up.  It displays a line to an iTunes logo and then goes off and after some minutes comes back on.  I cannot reset it or anything else.

    Just upgraded to latest iOS and my iPad does not come back up - the following appeared as the first thing after turning back on.  It displays a line from the power/USB connector to an iTunes logo and then goes off and after some minutes comes back on.  I cannot reset it or anything else.  It is completely non-functional.

    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
     Cheers, Tom

  • Full Screen Does Not Come Back After Minimizing Firefox to the Taskbar.

    Full Screen Does Not Come Back After Minimizing Firefox to the Taskbar.
    I work in full screen almost exclusively ... the toolbar and the URL are still displayed while in full screen.
    Before this version (30.0), when I minimized Firefox to the taskbar so that I could go to the desktop or to Windows Explorer, when I finished what I was doing and re-selected Firefox it would go back to full screen. Now, it does not go back to full screen. I can still see the taskbar. I have to press [f11] two more times to get back to full screen.
    I have tried with and without addons enabled. Same behavior. I have reset Firefox ... same behavior.
    I'm using Firefox 30.0 and Windows 7 (64 bit).
    Thanks.

    Hi moose53,
    Just tested it with a Logitech keyboard and you are right, what you are describing is not expected behavior. I see you do not have any add ons, however does this also reproduce in Safe Mode? [[Troubleshoot Firefox issues using Safe Mode]]
    If yes, try a new profile [[Use the Profile Manager to create and remove Firefox profiles]]

  • Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Hello QuinnDev,
    Thank you for posting in the Apple Support Communities.  It sounds like you are trying to use your MacBook Pro with a Thunderbolt Display in closed clamshell mode (MacBook Pro closed), but sometimes the display doesn't stay on.  I found an article that talks about closed clamshell mode.  You would have to fulfill the following requirements to use your display this way:
    Requirements for closed display mode:
    Power adapter
    External keyboard, mouse, or trackpad
    External display
    You can find all the steps and the full article here:
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display
    http://support.apple.com/kb/HT3131
    I hope this helps!
    All the best,
    Sheila M.

  • Host Command does not come back

    Hi,
    I have treid to export schema by pressing a button, (form designed in Form10gR2 and excute via Application Server R2. )
    For this I have applied one by one these syntaxes
    1) host ( 'cmd /C start "" "'|| exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    2) host ( 'cmd /C exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    3) client_host('exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    4) WEBUTIL_HOST.NONBLOCKING('exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    When my client/ user executes the command, session goes hang and application screen does not come back. If I execute the exp command directly from the Application Server Command Prompt then exp works.
    Please help me, what is the syntax to get the dump wihtout hanging the session.
    Database 11g Linux
    Application Server 10R2 Window2003.
    Developer 10gR2.
    Client Windows , Explorer, FireFox etc.
    Regards.
    Priya.

    Hi Priya,
    It is always a better practice to call a batch file using the host command instead of hardcoding the command inside form. Which would help you to modify the batch file for any changes, without re-compiling the forms.
    In this case, create a batch script, which would set the ORACLE_HOME etc (to make sure the exp command is recognized, you need to add the DB ORACLE_HOME/bin to the PATH), and then call the command to export. You can also parameterize the batch script and pass the parameters from form, separated by space.
    -Arun

Maybe you are looking for

  • Questions about SES

    1. How many files SES can crawl? About 500,000 ??? 2. What are the System Requirements? 3. Can SES crawl Lotus Notes Data? 4. What file types can be crawled? How many different?! 5. Free or costs for using SES in enterprises? THX

  • Warning on close of main-portal window.

    Please, do someone give me a hint how to fire a pop-up window to request the user if he realy wants to close the window (in fact the application) BEFORE the window is realy closed. So, the user can cancel this close. I am talking about the 'close' bu

  • How to print "- ve" sign infront of a number during calculation

    Hi all right now i am getting the values in the output like this 1.95 - but i have to get that as - 1.95 instead, how do we get that. my calculation is  *wa_menge * - 1*  in the code

  • Send tcode ale and idoc required

    Hi , Plz any body can send me all tcode used in ale and idoc Message was edited by:         anil kumar

  • Looking for a Third Party document editor

    I am running a Palm IIIxe with Palm OS 3.5 on a Vista 32 bit laptop with Palm Desktop 7.2 with HOTSYNCSTETUP patch.  I am looking for a document editor that I can use so that I can create text documents and import them into my wordprocessor after syn