Wait for method that doesn't return

Hi,
I have a static method consisting of a few lines of code that create a response to the caller of the method.
My problem is that the method doesn't always use the same amount of time to execute. I don't ever want to keep the caller of the method waiting for more than a specified amount of time e.g. 30 seconds. If it hasn't returned after that I want to abort and return controll to the caller.
What's the best way to solve that problem?
I've been thinking about starting a Thread in the method and execute the code there. That way, if the Thread hasn't finished executing after 30 sec I can kill it and return controll to the caller. But I'm not sure how that will work since the method is static. I have little experiense working with threads and no experiense working with threads in a static method.
There are no static class variables involved. Two arguments are passed to the method, one URL and one String and it returns a String.
Any id�as or suggestions?
Kind regards,
Mattias

The method run in Worker looks like this:
public void run() {
  try {
      HttpURLConnection connection = HTTPSclient.getConnection(url, authorization);
      // Other configuration
      connection.setRequestMethod( "GET" );
      connection.setRequestProperty( "Content-Type", "text/xml" );
      connection.setUseCaches( false );
      //Get the response from the server and write it to a String
      BufferedReader br = new BufferedReader( new InputStreamReader( connection.getInputStream() ) );
      String tempLine;
      String str = "";
      while( ( tempLine = br.readLine() ) != null ) {
        str += tempLine + "\n";
      result = URLDecoder.decode( str, "UTF-8" );
    } catch (IOException e) {
        System.err.println("caught");
        exception = e;
}The static method getConnection looks like this:
HttpsURLConnection getConnection(URL url, String authorization) throws IOException  {
  // first ensure that at the very least a secure protocol has been specified.
  HttpsURLConnection connection;
  String protocol = url.getProtocol();
  if (!"https".equals(protocol)) {
    throw new IOException("The URL for the server must use the HTTPS protocol.");
  // This HostnameVerifier is used to bypass SSL verification.
  HostnameVerifier hv = new HostnameVerifier() {
    public boolean verify(String urlHostName, SSLSession session) {
      return true;
  HttpsURLConnection.setDefaultHostnameVerifier(hv);
  // Configure our connection to use the basic authentication details provided by the user
  connection = (HttpsURLConnection) url.openConnection();
  // Configure our connection to use the basic authentication details provided by the user
  if(authorization != null) {
    String auth = (new BASE64Encoder()).encode(authorization.getBytes());     
    connection.setRequestProperty("Authorization", "Basic ".concat(String.valueOf(auth)));
  return connection;
}And it is this call that blocks:
BufferedReader br = new BufferedReader( new InputStreamReader( connection.getInputStream() ) );There is ( as far as I can see ) no support for setting timeouts in HttpsURLConnection or its super class URLConnection. In version 1.5 this support seem to exist but unfortunately I'm still forced to use version 1.4.2 :(
Any suggestions on how to break this block on connection.getInputSTream()?

Similar Messages

  • Select for update that doesn't return any rows

    Are there any odd side-effects that may occur if a select for update that returns no results is never committed? I wouldn't think there are, but I'm not sure if there would be some kind of overhead or unforeseen consequences. This isn't a terribly important question, but it's come up in some coding I've done and I've not been able to find any documentation addressing it.

    A select for update only locks rows that meet the predicate specified in the where clause. So, if the query returns no rows, no rows are locked.
    session1> SELECT * FROM t;
            ID DESCR
             1 Un
             5 One
             2 THIS IS WA
    session1> SELECT * FROM t
      2  WHERE id = 11 FOR UPDATE;
    no rows selectedA second session can update rows in the table
    session2> UPDATE t
      2  SET descr = 'One'
      3  WHERE id = 1;
    1 row updated.John
    Edited by: John Spencer on Jan 7, 2009 1:36 PM
    I just realized that, although you can do updates on the table after the select fo update that returns no rows, you cannot do DDL operations liike a truncate. Unless the session that does the select for update either ends the transaction (i.e. commit or rollback) or ends the session DDL operations will fail.

  • Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road.

    Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road while driving. For that reason, I'm also not interested in adding in headphones or additional devices that have the desired button functions. Going both forward and back would be great but I would be pleased just to have a "sight-free" way to go forward.
    I've seen some mention here and there about ways to maybe change it so the volume buttons change tracks and holding the volume buttons changes the volume... but I don't know what's involved in that or if its even possible/recommended for a new 5th gen iPod. I think its a great device but its sadly lacking in music oriented functions and features... which is disappointing since music is why most people would bother getting one instead of some other "iDevice" :/

    Given that you cannot do what you have asked for, perhaps you simply need to find another solution to your root problem.
    Presumably, you want to skip to the next track because you don't want to hear the current one, and that is because...
    You don't like it.
    You've heard it recently and don't want to hear it now.
    Simply don't want to hear it at this time.
    For problem number 1. Don't put it on the iPod in the first place. (I know, obvious answer!)
    For problem number 2. How about playing from a Smart Playlist (initially created in your iTunes Library) which has only songs you've not played recently?
    For problem number 3. Hhhmmm! Create alternative Playlists for use in the car.
    As for going back to the start of the "now playing" track.... Well, if your Playlist has only songs that you really, really want to hear, then you'll be looking forward to that rather go back to the beginning of the current song.
    I'm not trying to be prescriptive, just giving you food for thought.
    (They are all cheaper options than buying a car which can control the iPod from the steering wheel.)

  • I got a $50 iTunes gift card for Christmas that doesn't seem to work. Everytime I enter the code, a box pops up that "Code entered is not valid". Please help me?

    I got a $50 iTunes gift card for Christmas that doesn't seem to work. Everytime I enter the code, a box pops up that "Code entered is not valid". Please help me?

    iTunes Store: Invalid, inactive, or illegible codes

  • Is there a way to end a method that has no return type?

    Without using an exception, as they are costly I am told, and without using may if then statements, is it possible to end a method if some criteria isn't met.
    example.
    public void doThis(){
      // the method relies on the state of some
      // other things.
      if(!someBoolean) endHere
      // then following is the rest of the method.
      // I'd like to be able to do this so that the "meat"
      // of the method is located under the conditions
      // that must be met.
    }... Any thoughts?
    Thank You

    No need to hide or commit ritual suicide, the "void" keyword could lead you to think that your method can't use the return statement. At least you wrote code to investigate and didn't spend 10 or 20 posts asking for verification. Be aware, some folk will tell you that there should be only one exit point from the method, often this is true. In large methods you can get lost in the execution path if there are multiple exit points. I think it's a judgement call.
    As for returning a bogus boolean, but, from a design point of view, if your method really doesn't have anything to return to its caller then the signature should reflect that with a return type of void (I know you are suggesting returning the bogus boolean for a different reason, and you've abandoned the idea anyway, I'm just being pedantic here)(indulge me). Returning a bogus boolean makes the class method more difficult to understand from a design and JavaDoc point of view because I, as the user of your method, will see it returing a boolean and expect to be able to use that value, and it might color my view of what the method does.
    Lee

  • Fix for data that isn't returned in responseXML field

    I have a problem where I have a very simple JSP that returns
    me back a list of URLs that are modified to use the correct path
    for where my application is running. This JSP doesn't return as a
    text/xml MIME type, so XMLHttpRequest is returning the data in the
    responseText field, no the responseXML field. Spry doesn't handle
    it, but the fix is simple.
    In
    Spry.Data.XMLDataSet.LoadManager.CachedRequest.prototype.loadDataCallback,
    I add this code:
    if (!xmlDoc && req.xhRequest.responseText)
    xmlDoc =
    Spry.Utils.stringToXMLDoc(req.xhRequest.responseText);
    right above:
    this.doc = xmlDoc;
    this.state =
    Spry.Data.XMLDataSet.LoadManager.CachedRequest.LOAD_SUCCESSFUL;
    This will check to see if the data could be in the
    responseText field, and setup things appropriately.
    I did figure out how to change my JSP so it returns, but the
    above still could possibly useful, so I post it here.
    -d

    Thanks for posting the workaround doug!
    I was actually thinking of modifying the XMLDataSet so that
    callers could get a hook when cases like this came up so they could
    either flag an error if it was unexpected, or if they knew that
    this non text/xml mime-type was really an XML format, go ahead and
    parse the doc like you did in your case.
    Another thing I was thinking of doing was splitting out some
    of the XMLDataSet code into a class that it could derive from so
    folks that wanted support for other HTTP based protocols had a
    starting point which had most of the functionality they needed.
    --== Kin ==--

  • How do I get my laptop fixed after 6 weeks of waiting for parts that work??

    I've been waiting 6 weeks for my laptop to be repaired...this time. The first time it was a week and the problem was not solved. I have a Macbook Pro that started randomly rebooting. It kept getting worse and worse until it wouldn't even complete a boot up, it just went into a cycle of reboots until it finalyy ended with a kernal error. They replaced my AirPort card which didn't solve the problem. My authorized service provider received replacement parts twice, and both times the parts were faulty so they are STILL waiting. I took matters into my own hands, which meant 2 1/2 hours on hold, no that is not a typo, I waited on hold for two and one-half hours with Apple. I spoke to a human twice, and each time asked for a supervisor or manager who could make a decision and solve my problem, but please don't put me back into the hold queue. After nicely saying they would not, they of course did put me into the hold queue...twice. I just want my computer back!!! The Apple commercials say "they just work", but they don't. If this was a pc, I could drive to my local Best Buy and purchase any replacement part, install it myself in an hour or two, then get back to doing what I need to do, but not with an Apple!!!! Thank goodness I purchsed the Apple Care or I would really be toast. From what I've read on the boards, this is a well known, common problem, so why isn't Apple doing everything possible to keep from ticking off so many people?
    I just got off the phone with someone at Apple, after a total of 3.5 hours on the phone, and of couse he has to call people to find out what to do, so it is STILL going to be a couple of days, both of which he will be out of the office so someone else will take care of contacting the powers-that-be. So my question is, what can I do to escalate this matter besides hiring an attorney? Is there some magical department I can call or some supreme being I can email to get some help before I lose faith in all things Apple???? I'm afraid at this point I've had to tell people who ask me how I like my MAC that I would never in a million years purchase one again because the survice is so incredibly horrible and way too traumatic. Who at Apple can I complaign to and have it mean somethings?
    Thanks for any suggestions you can offer...

    I had a similar waiting time when I sent my iMac G5 in to a Service Provider to get the optical drive fixed. It has to do with - the part takes so much time to get to the Service Provider then if its faulty, they have to resend for a new one. From my experience I would be calling the Service Provider and keeping up on them and the progress. If you need to, ask them how to speed things up. My Service Provider told me to phone Apple to give authority to speed up the shipping to 2-day instead of a week (it is something only the user can ask Apple for) or to ask them to loan me another computer till they get it fixed if it is going to take a lot longer. I called Apple, the lady at Apple put me on hold and gave me to her supervisor who then got the Service Provider on the phone to verify and then told me the part would be there within 2-3 days. It came and was finished, but it took a month before I became wise that nothing was happening at the Service Provider's end "We are waiting for the part" they kept telling me, but they just forgot to order the second one. I found all this out from Apple. There was nothing shipping to the Service Provider at the time nor had there been a second order for the part. The Service Provider did not even tell Apple the first one was faulty. It is called miscommunication and it happens from time to time.
    I would make sure you tell Apple how long your computer has been in the shop and always sound professional and polite to whoever is on the other end and ask for that shipping speed up. Phone your Service Provider first to get the proper name that it is called!
    It sounds like you got a lemon being taken care of by a Service Provider which automatically takes longer because of shipping. If it is not fixed when you get it back phone Apple first. Hope this helps you.

  • How can I get Firefox version 5? I use an application for banking that doesn't work with version 6 yet.

    I am using an application for banking with Bank of America that doesn't work with Firefox 6 so I need to install Firefox 5 until Bank of America can update their app to work with Firefox 6. Can you tell me how to find the download for Firefox 5?
    Thank you

    I have an old iPhoto version and it still works with Mavericks, the version before yours, that is puzzling.

  • TS1398 Network asking for username that doesn't exist

    I'm trying to use a coffee house wifi with my new iPad 4 mini.  It's asking for a username that doesn't exist. Thoughts?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • Migration Option for Devices that Doesn't Meet Requirements

    We have a Family MobileMe Pack and have an iMac with Snow Leopard. When I chose to move 2 accounts that the iMac uses to iCloud, I selected the option to "keep using your email after MobileMe ends" so that these accounts will still work on Mail for the iMac.
    When I check the accounts under the Master account, these 2 accounts show (Remove Account) instead of (Migrated to iCloud) as is the case for my kids' accounts.
    Now I'm confused as to whether these 2 accounts are really migrated or not. And I'm not sure I can move the Master account to iCloud before these 2 accounts have been migrated. I've read I cannot manage any of the family accounts anymore once the Master account moves to iCloud. But time is running out.
    So confused. Any assistance is appreciated. Thanks.

    If you have a Family Pack, each sub-account and the master account can be regarded as individual and separate for the purposes of the exercise. In each case all you have to do is go to http://me.com/move and follow the instructions, and it doesn't matter what order you do it in. Because of confusingly worded instructions from Apple some people have got the impression they have to cancel the sub-accounts first: do not do this.
    If you migrate the master account first the others will continue to run: obviously what was the master account will not have any control over them nor be able to administer or delete them in the event it wanted to. If you migrate a sub-account while the master account is still running you can't create a new sub-account to fill the gap. Aliases will be maintained but unlike in the MobileMe Family Pack you cannot convert an alias to a full iCloud account.
    Apple have provided a facility for MobileMe users whose computers don't meet the requirements to migrate their email only to iCloud. If you choose this option only your email will be migrated to iCloud. It's not entirely clear whether this takes place immediately or waits until July 1, but you can easily check by seeing whether your email is available at http://me.com or athttp://icloud.com - if the latter, the migration has taken place (give it time to take effect before checking).
    On July 1 all other data on MobileMe will be deleted, but your email will be accessible at http://icloud.com.
    Though Apple have not included this information, you will be able to set mail up manually to access your iCloud email by following the instructions on these pages:
    Entering iCloud email settings manually in Snow Leopard or Leopard
    Entering iCloud email settings manually in Tiger
    Apple have not stated what will happen if you do not follow this process. It seems safe to assume that in that case your emails will be deleted and you will lose the account.

  • 5 days waiting for technician who doesn't show on time

    I have had no dial tone for 5 days.  On day one I set up for a technician to come out which I couldn't get an appointment for 5 days later.  I set the time frame up for 8am to 12pm on a Saturday.  I wasn't too happy about having to get up early on a Satruday but if it meant my phone would get fixed I figured it was worth it.  So today, Saturday, the day the techinician was suppose to arrive between 8am and 12pm, didn't show.  When I checked with Verizon they said it would be between 1pm and 2pm.  2pm came and went, no technician.  Then was told by 3pm, that came and went; no techinican.  Now they 4pm.  Seriously, it is Saturday.  Do you think I have nother better to do all day then to sit around and wait when I could be running errands?  Why don't you just say we will get there whenever we feel like and you will just have to sit there and wait on us.

    File a complaint with the FCC.  That's what I am about to do. 

  • Prompting password for account that doesn't exist...

    Hi guys! My Mail doesn't prompt for passwords whenever I check for my Mail from other providers (Gmail, Yahoo! Mail, etc.). However, my Mail thinks that I have a MobileMe mail account, which I do not. Thus, it always prompts me for a password to that non-existent me.com account. This is pretty annoying. Does anybody know what's going on? Thanks!

    Check your smtp servers, it's likely to be there
    Mail/Preferences/Accounts/Outgoing Mail Server (SMTP)/Edit SMTP Server List
    Message was edited by: Csound1

  • How can I actually reach someone on the phone to prove that I have an Applecare plan? I am tired of being on hold for hours and waiting for calls that do not come.

    Case number: 28****598
         Last year, I had problems with my phone and they said I did not ahve the applecare plan. I finally proved that I did; and the worker promised it was in the system. This year, I have been put on hold (once for an hour only to be told that it was not office hours by a recording), numerous times because the regular phone people cannot do anything about the Applecare plan even if I have it in my hand. I can give all the information you need. I made an appointment last night and they called in the middle of the night, wihch is perhaps my fault due to a time difference, but on the phone today I booked one appropriately for tonight and thye did not call. My phone is broken and I feel as though Apple's quality in customer service simply isn't what I would expect. This process should not be stressful or as lenghty as it is.
    <Edited by Host>

    Call Apple Customer Relations - 1800-767-2775
    WARNING:  DUE TO SECURITY REASONS, PLEASE DO NOT POST YOUR COMPUTER'S SERIAL NUMBER AND/OR CASE NUMBER ON THESE MESSAGE BOARDS.

  • JBO-28102 A request was timed out while waiting for a resource to be return

    Hello
    We need desparate help in solving our Problem. Please take some time to provide your valuable inputs.
    Our Application is based on ADF Framework(Jdeveloper 11g) model layer is Web Services(PL/SQL Based) and View Object , View layer is JSF.
    The Application is in Production running on unbreakable Linux (JRockit 64-bit JVM) for 5 months.
    Initially we had memoy issues now that is solved by upgrading from 32 bit Jvm - 64 bit Jvm.
    For past two months we are getting JBO error(JBO-28102) , even though the documentation tells to increase the number of connections to Appmodule , we dont see the internal_connections to go more than 5 connections.
    Here is the Parameters we use in our App Module configuration:
    -Djbo.pers.max.active.nodes="-1"
    -Djbo.ampool.maxinactiveage="0"
    -Djbo.ampool.maxpoolsize="50" -Djbo.ampool.maxavailablesize="10" -Djbo.ampool.initpoolsize="0"
    -Djbo.ampool.minavailablesize="10" -Djbo.ampool.monitorsleepinterval="30000"
    -Djbo.txn_seq_inc="1"
    -Djbo.server.internal_connection="jdbc:oracle:thin:xxxx/xxxx@xxx:xx:xxxx"
    -Djbo.ampool.dynamicjdbccredentials="false" -Djbo.ampool.isuseexclusive="false"
    -Djbo.ampool.resetnontransactionalstate="false"
    -Thanks

    Hello Steve,
    We have 4 production servers. The average number of request per hour is 14,254 (3.94 per sec) for today.
    All the AM's jbo.ampool.maxpoolsize is set in the bc4j.xcfg config file. Is it possible if some of the AM is missing in the definition?
    Printed the BC4j Conf file:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.0" xmlns="http://xmlns.oracle.com/bc4j/configuration">
    <AppModuleConfigBag ApplicationName="model.AppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AppModuleLocal" ApplicationName="model.AppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="ViewObjAppModuleLocal" ApplicationName="model.ViewObjAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.ViewObjAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AppModuleShared" ApplicationName="model.AppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000" jbo.ampool.resetnontransactionalstate="false"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="ViewObjAppModuleShared" ApplicationName="model.ViewObjAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.ViewObjAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig name="AppModuleLocal" ApplicationName="model.AppModule" DeployPlatform="LOCAL" JDBCName="dbconnectionobject" jbo.project="model.Model">
    <Security AppModuleJndiName="model.AppModule"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.CORRAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="CORRAppModuleLocal" ApplicationName="model.CORRAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.CORRAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="CORRAppModuleShared" ApplicationName="model.CORRAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.CORRAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.TXNAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="TXNAppModuleLocal" ApplicationName="model.TXNAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.TXNAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="TXNAppModuleShared" ApplicationName="model.TXNAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000" jbo.ampool.resetnontransactionalstate="false"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.TXNAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.AWDAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AWDAppModuleLocal" ApplicationName="model.AWDAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AWDAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="AWDAppModuleShared" ApplicationName="model.AWDAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AWDAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.AwdTyAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AwdTyAppModuleLocal" ApplicationName="model.AwdTyAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdTyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AwdTyAppModuleShared" ApplicationName="model.AwdTyAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdTyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.AwdMbrHstryTrackAppModule">
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="AwdMbrHstryTrackAppModuleLocal" ApplicationName="model.AwdMbrHstryTrackAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdMbrHstryTrackAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="AwdMbrHstryTrackAppModuleShared" ApplicationName="model.AwdMbrHstryTrackAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdMbrHstryTrackAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.PointAdjstAwaitApprvAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="PointAdjstAwaitApprvAppModuleLocal" ApplicationName="model.PointAdjstAwaitApprvAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.PointAdjstAwaitApprvAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="PointAdjstAwaitApprvAppModuleShared" ApplicationName="model.PointAdjstAwaitApprvAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.PointAdjstAwaitApprvAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.ViewObjAppModule"/>
    <AppModuleConfigBag ApplicationName="model.DeliquencyAppModule">
    <AppModuleConfig DeployPlatform="LOCAL" jbo.pers.max.active.nodes="-1" jbo.project="model.Model" name="DeliquencyAppModuleLocal" ApplicationName="model.DeliquencyAppModule">
    <AM-Pooling jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.maxpoolsize="1500"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.DeliquencyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig DeployPlatform="LOCAL" jbo.pers.max.active.nodes="-1" jbo.project="model.Model" name="DeliquencyAppModuleShared" ApplicationName="model.DeliquencyAppModule">
    <AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.resetnontransactionalstate="false"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.DeliquencyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>
    Thanks
    Priya

  • IPhone music volume dropping or attenuating for notification but doesn't return to previous volume

    When playing music and videos on my iPhone, the sound drops for notification sounds such as emails etc.. but after the notification sound has played the volume does't return to the previous volume, it goes up again but its quieter than before. If I then turn the volume up I will reach the maximum without achieving the previous level. I've been having this issue since upgrading my iPhone 5s to IOS 8 on release day. My phone is always kept up to date so i'm currently running 8.1.2.
    I have this same issue when listening through headphones and blue-tooth. My colleague has an iPhone 6 and is having the same issue.
    I've discovered a way to get the volume back up, get another notification, I've emailed myself a few times recently just so I can hear my music in my car (pulling over legally!) without turning the volume right up and hoping nobody emails me and ruins my ears and speakers with one spam email.

    I have the iPhone 6 and having the same problem. It can really hurt your eardrums when the sound goes back to normal!!!!

Maybe you are looking for