EJB Timer stops when database connection lost

G'day.
We use EJB Timers quite successfully in stateless session beans under Sun Java System Application Server 8.1 on Windows Server 2003.
We start and stop the timers for specific session beans using public intefaces on their respective beans. This works fine.
The problem we have is when the JDBC connection used by the EJBTimer service is dropped, such as when the remote database / machine falls over or (probably) when the network is lost. All the timers stop working at this point.
The timers do not restart when the database connection is restored either, despite the entries still being in the ejb__timers__tbl table.
If we stop and start the application server instance then they do restart.
We've looked at the setup of the timers but this seems to be pretty straightforward with no options that seem to influence this.
We've tried altering the JDBC connection validation settings but this doesn't seem to have made any difference.
Anyone have any ideas?
Robski!

There are no special options to handle this case in the current timer service implementation. Please file an issue describing the scenario here :
https://glassfish.dev.java.net/servlets/ProjectIssues
--ken                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • FIM 2010 Sync Error : stopped-database-connection-lost

    Hello everyone,
    a weird thing just happened to me,
    i'm synchronizing my MA and suddently i get the "stopped-database-connection-lost" error
    i have 5 Galsync MAs working perfectly and this sixth one just failing ... (since like today)
    which makes me wonder what is happening ... ?
    any ideas ?
    thanks !
    Hitch Bardawil

    Hitch,
    Look in the event log on the FIM Sync Server and on the SQL Server.
    This error occurs when FIM can't contact the SQL Server that hosts the FIMSynchronizationService database.
    Does this happen every time the sixth MA is run? What if you run them in a different order (might help us distinguish between a resource issue and something specific to that MA)?
    Here are a few related threads:
    http://social.technet.microsoft.com/Forums/en-US/65920fc0-a9ac-4a87-892f-338a6884cbd5/action?threadDisplayName=fim-ma-run-profile-stuck-with-stoppeddatabaseconnectionlost
    http://social.technet.microsoft.com/Forums/en-US/39129eac-09d3-48ff-83f9-ecb4ae2424b6/action?threadDisplayName=sharepoint-profile-synch-stoppeddatabaseconnectionlost
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • For some time now, when I connect my iPod to my PC, I'm told my iPod cannot be synced to iTunes because (the file cannot be found).  What gives?

    For some time now, when I connect my iPod to my PC, I'm told my iPod cannot be synced to iTunes because (the file cannot be found).  What gives?

    Sounds like the file yo are trying to sync to the iPod is corrupted.
    Try syncing only one item that plays in iTunes on the computer.
    Also see the following since when you downgrade iTunes you have to reset your iTunes library since the older version can't read the updated version of the library.

  • Time stops when the phone is off.

    Greetings!
    Got myself in a terrible situation here: after installing and removing 'Switch Off' program my e61's internal timer stops when the phone is off. I mean, if I switch it off at 23.00 and switch it back on at 08.00, the time will still be 23.00. That's a total disaster I have here and I tried to reset the phone and uninstall everything but nothing happened- still the same problem. Any ideas?
    Thank you.

    Hello LindaHarp,
    It sounds like you are listening to iTunes Radio and it stops shortly after you start listening. I recommend starting by signing out of your iTunes account in Settings > iTunes & App Stores. Then close all the running apps on the device:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that and restart the phone and test the issue by signing back in to your account, and testing again:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • I have uninstalled and reinstalled iTunes multiple times.  When I connect my iPod Classic I get the following message:  The software for this iPod is not installed correctly.  Please reinstall iTunes to install the required software.  Any ideas?

    I have uninstalled and reinstalled iTunes multiple times.  When I connect my iPod Classic I get the following message:  The software for this iPod is not installed correctly.  Please reinstall iTunes to install the required software.  Any ideas?

    Assuming you have windows, try uninstalling iTunes and all of its components as by following this guide exactly: Windows XP or Windows Vista/7, then reinstall iTunes.  You must follow this guide exactly or it will not be successful.  Note: uninstalling iTunes will only remove the application; it will not touch your iTunes library or data.

  • Oracle XML vaidation causes database connection lost.

    Schema document:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xsd:annotation>
              <xsd:documentation xml:lang="en">
              </xsd:documentation>
         </xsd:annotation>
         <xsd:element name="BDDString" type="xsd:string"/>
    </xsd:schema>
    XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <BDDString><Path>USA</Path></BDDString>
    Result http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx validation:
    Validation error:
    <?xml version="1.0" encoding="UTF-8"?>
    <BDDString
    Error at (2,14): The element 'BDDString' has invalid child element 'Path'. An error occurred at , (2, 14).
    Error at (2,14): The 'Path' element is not declared. An error occurred at , (2, 14).
    <Path>USA</Path></BDDString>ORACLE validation:
    Declare
         xmlObj XMLType;
    begin
         xmlObj := XMLType('<?xml version="1.0" encoding="UTF-8"?><BDDString><Path>USA</Path></BDDString>',
         'cb78db306e061027a7c4b02b1a84d6fb');
         XMLType.schemavalidate(xmlObj);
    end;
    Result: Oracle XML vaidation causes database connection lost!
    *** SCRIPT START : Session:M1GLOBAL_DEV15@MATRIX(5) 3-&#1084;&#1072;&#1088;-2005 14:05:41 ***
    Start SQL Editor Execution ...
    Processing ...
    xmlObj := XMLType('<?xml version="1.0" encoding="UTF-8"?>
    ORA-03113: end-of-file on communication channel
    *** SCRIPT END : Session:M1GLOBAL_DEV15@MATRIX(5) 3-&#1084;&#1072;&#1088;-2005 14:08:02 ***
    End SQL Editor Execution
    Task "SQL Editor Execution": Operation aborted
    SQL Editor Execution terminated with errors
    Task "SQL Editor Execution" in DoTerminate(): Session Manager: No connection to M1GLOBAL_DEV15@MATRIX
    Help!
    Question:
         1)Why Oracle validation incorrectly works?
         2)How it to correct?

    Hi,
    1- what is the Reports version being used?
    2- What is the error you are getting?
    3- Have you tried to enable reports trace and see what is happening in trace file?
    Thanks, Roberto

  • When wireless connection lost during surfing, firefox will not access the internet after connection is restored.

    While surfing the net on my laptop (windows vista home premium, all updates current), if the wireless internet connection is lost while a page is loading, firefox will NOT connect to any websites at all when the connection is restored. Also, if I try to shut down firefox, it will appear to close, but if I try to re-start it again, it will tell me "firefox is already running", even though it's not. I try to go to windows file manager and shut down firefox.exe manually, but even with that it will not shut down, it's like it's stuck in some sort of "loop". The only way to recocile it is to completely re-boot the system, which takes forever, because firefox.exe doesn't want to shut down even in re-boot.
    == This happened ==
    Every time Firefox opened
    == Always with firefox. And firefox is up to date ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)

    No it does not work, uninstalled both McAfee and Firefox and only reinstalled Firefox alone, still did not work. I have now both reinstalled and am still unable to connect

  • Database Connection Lost Error

    Hi,
    MyScenario is :
    We send a query to database A collect resultset in java mapping and transform it to three more Select queries and send them to Database B So two chanels are there:
    Sender JDBC channel, Receiver JDBC Channel.
    Now the Output of Database B is converted to IDOC and sent to R/3 System.
    This is working fine, but sometime it stuck at Database B saying error "connection Lost". And works fine afterwards.But in that case we miss the records which could not be processed.
    What can be the reason for this ? Please suggest the solution at teh earliest. Can overloading be the reason for losing connection. Please suggest...
    Thanks & Regards,
    Priyanka

    Hi Priyanka,
    You have to close the connection afte accessing the JDBC  "A".
    So that it could be accesed by others.
    Try to implement the suggetion given by sarvesh.
    If it still does not work then i would say you go for JDBC look ups.
    It will improve the performance as well.
    Thanks
    Sunil Singh

  • Database connection lost during running report

    Hello Experts, Our environment is WINDOWS2008 SERVER / ORACLE 10G / ORACLE REPORTS.
    The problem we are facing is , while running one of the particular reports which runs oracle reports , connection to database server gets lost. Acturally the form is printing a
    bar code label, this is performed by running oracle reports runtime 10g. I dont know what is the reason the database connectivity gets lost from reports runtime engine. But the form runtime engine working fine without any database connectivity issue. Kinldy help me to resolve this issue. thanks

    Please, close this thread and open a new one in the correct forum.
    Reports

  • Database connection lost during report

    Hello Experts, Our environment is WINDOWS2008 SERVER / ORACLE 10G / ORACLE REPORTS.
    The problem we are facing is , while running one of the particular reports which runs oracle reports , connection to database server gets lost. Acturally the form is printing a
    bar code label, this is performed by running oracle reports runtime 10g. I dont know what is the reason the database connectivity gets lost from reports runtime engine. But the form runtime engine working fine without any database connectivity issue. Kinldy help me to resolve this issue. thanks

    Hi,
    1- what is the Reports version being used?
    2- What is the error you are getting?
    3- Have you tried to enable reports trace and see what is happening in trace file?
    Thanks, Roberto

  • Email stops when I connect to Desktop Manager

    I got a new 8520 recently and on Monday. Hooked it up to my PC and transferred all my Address Book Contacts & Calendar to the phone using Desktop Manager.
    Next day I got the activation code from my company and put it in and hey presto I was getting emails. Next day I connected it back up to my PC to make some changes to my Calendar and after that the emails stopped.
    I had to get a new activation code and it was back online however the day after that after I connected again to Desktop Manager it stopped receiving emails again. Back receiving emails again after getting another activation code.
    Speaking to others in my company who have BB, they have said their contacts & calendar automatically update on the phone when they change it on their PC but it doesn't happen on mine.
    Any ideas to help me out? Where am I going wrong?
    After the first time I got the activation code and connected to the PC, it wouldn't sync the Address Book Contacts as it said it was set up for wireless synchronisation but I never set that up?

    Hello!
    By "Activation Code", are you referring to Blackberry Enterprise Service (BES)? If so, you need to go see your BES admins for assistance as they control everything. Further, if you are on BES, there is no need to synchronize any of your Outlook data via the Desktop Software -- with BES, all of that synchronizes Over The Air (OTA)...that is one of the key benefits of BES. For me, the only use I have for the Desktop Software is to backup/restore my BB and update the installed applications...no data regarding Outlook needs to be reconciled via the Desktop Software.
    On the other hand, if your configuration is not BES, then please clarify just what it is as I can't tell from what you've described so far.
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Why it takes long time to establish Database Connection ???

    Can any one please have a look on the following code snippet and show me which mistake I'm doing so it take long time to connect to DB(more than 5 minutes !!!!)
    Thanx in advance ...
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Class.forName("oracle.jdbc.driver.OracleDriver");
    String dbString2 = "jdbc:oracle:thin:@" + "127.0.0.1" + ":" + "1521" + ":" + "nat";
    aCon = DriverManager.getConnection(dbString2, "scott", "tiger");
    stmt = aCon.createStatement();
    System.out.println("Connection to DB Established");
    catch (ClassNotFoundException cnfe)
    System.out.println("Class not found:");
    cnfe.printStackTrace();
    catch (SQLException sqle)
    System.out.println("SQL Exception: " + sqle.toString());
    sqle.printStackTrace();

    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Why do you need this if you are going to Oracle. Try
    removing this. It might be trying things out with the
    old driver and then moving to the new driver. This has nothing to do with it. (And it doesn't "try things out")
    >
    Also check your machines. They might be slow. There is
    no reason, it should take more than few hundred
    milliseconds to connect to a database on localhost as
    your case is.Possible reasons...
    - Network traffic
    - Faulty router/gateway
    - Busy server
    - Faulty network card (either end)
    - Conflict with another box

  • R GUI stops when I connect using ore.connect

    Hi,
    I am trying to connect to Oracle R Enterprise from R GUI windows 7 64 bit. I have ORE Package installed and loaded already. I am using R 2.15.3 version which is compatible with Oracle R Enterprise 1.3.1. Can you please tell me why R GUI stops as soon as I run ore.connect command in R?
    ore.connect(user="aquserE",sid="XXX",host="192.168.10.8",password="YYY",port=1521,all=TRUE)
    Regards-
    Ashish

    Hi Shery,
    Greeting. Thanks for your quick response to the query from Ashish.
    Further to the query raised by Ashish would like to give you more details on this issue.
    I have Oracle 11g Database Server Enterprise Edition running on 32 Bit Architecture.  (Installed in Windows Server 2008 OS.)
    I have downloaded ORE Server, Client and Supporting Packages from "http://www.oracle.com/technetwork/database/options/advanced-analytics/r-enterprise/ore-downloads-1502823.html".
    Server                                    :  http://download.oracle.com/otn/nt/ore/1.3/ore-server-win-x86_64-1.3.1.zip
    Client                                     :  http://download.oracle.com/otn/nt/ore/1.3/ore-client-win-x86_64-1.3.1.zip
    Supporting Package              :  http://download.oracle.com/otn/nt/ore/1.3/ore-supporting-win-x86_64-1.3.1.zip
    ORE Installation, Demo user creation done as per the Installation and Administration Guide. (ORE Version Installed is 1.3.1).
    R Version Installed is 2.15.3 in Windows 7 Machine. Using 64 Bit R GUI and Loaded all the packages of Client and Supporting Packages.
    In R GUI I started with library(ORE). This got loaded successfully. While I try to connect using ore.connect command RGUI stop working (Crashed) and terminated. I could not find any error information.
    Only a popu is coming as "R for Windows GUI front-end has stopped working".  Sent a Mail with few screen shots of RGUI 64 Bit as well as 32 Bit attached  to '[email protected]' with Copy to "'[email protected]'".
    Then I tried to use R GUI of 32 Bit edition, I could not Load Package "ROracle" & "OREdm".  Getting below Error:
    > library(ORE)
    Loading required package: OREbase
    Attaching package: ‘OREbase’
    The following object(s) are masked from ‘package:base’:
    cbind, data.frame, eval, interaction, order, paste, pmax, pmin, rbind, table
    Loading required package: OREstats
    Loading required package: MASS
    Loading required package: OREgraphics
    Loading required package: OREeda
    Loading required package: OREdm
    Loading required package: lattice
    Error in library.dynam(lib, package, package.lib) :
    DLL ‘ROracle’ not found: maybe not installed for this architecture?
    Error: package ‘OREdm’ could not be loaded
    Request you kindly guide us to get an appropriate solution to resolve this issue.
    Thanks and Regards,
    Janaki Raman
    "True progress quietly and persistently moves along without notice"
    Advanced Analytics,
    Business Consulting Group,
    ITC Infotech India Limited
    18, Banaswadi Main Road, Pulikeshi Nagar  Bangalore - 18 , INDIA.
    Desk: #91-80-22989946  |  Mob: #91-9916411195

  • How to make the SLA time stop when the status of SR is set to Customer Action?

    Dear All,
    When a Service Request is created, the agent take over this SR and then set the status to Customer Action. I know the CRM 7.03 has the ability to exclude the Cumtomer Action time out form the Response time of SLA. However, I don`t know how to set it up. Could somebody help to give me some information about this?
    I noticed that in SLA, there is a Work duration(SRQ_WORK_DUR) and a Total Duration(SRQ_TOT_DUR), which Duration is used to affect the traffic light of SLA MPT time?
    Thank you in advance.
    BR,
    Elvis

    Hi,
    in fact you can only trace duration of Customer Action status lifetime - this you can do by
    SPRO -> ... -> Define Settings for Durations.
    and SPRO -> ... -> Date Management to create this new duration and add to SR dates profile.
    So then in Dates tab of Service Request you will have new duration called eg. Customer Action.
    If you would like to additionally exclude it from Due Date, so you should then add this status lifetime to Due Date - then Due Date would be pushed to the future (eg. Customer Action status took 3 hours, so after changing status to other one you can write down this time to duration, and then add to Due Date).
    For that you need to have a development - eg. using CRM BT Events, or in WebUI layer.
    BR
    Radek

  • My Iphone 5 hang many times. When I connected with itune and restore setting, my phone just start from the activation. But I can't continue the installation. It shows that can't activate right now.

    I had problems with my iphone 5. After hanging many times, I connected with itunes and restored the settings. But it didn't work. And my phone is now starting with "Hello" to newly activate. Again, it could not proceed but saying "cannot activate now".. please help me how to do. Thank you very much.

    you will need to do a hard wipe or remember the password hard wipe can be found on youtube how to. but this will erase all data

Maybe you are looking for