ADF 11.1.1.2 Application Timeout with Active DB Connection

Hi all,
just a query really; are we able to set a timeout for an ADF application that has an application module and an active database connection for an extended period of time, such as 10 hours?
We have previously changed the value in the applications web.xml file to the correct value (600) but when we come to test the app after waiting about 5-6 hours, the application whirls away and throws an error:
JBO-30019: An unavailable cookie state is detected while attempting to use a cookie from the application SJFG..., session 109imtacg62_...
Is there another setting we have to apply to Weblogic to increase the cookie state timeout?
Regards
Jason

Hi Mehabub:
I had the same problem and solved it by checking the Secure Admin Enabled check box and writing the full computer name (domain included) in the Configuration tab of the Server Connection Properties dialog in JDeveloper.
Hope this helps! Good luck!

Similar Messages

  • When trying to use my banking apps I get the error "Network Required  This application requires an active Internet Connection.  Please try again"

    When trying to use my banking apps I get the error "Network Required  This application requires an active Internet Connection.  Please try again".  This happens with two different apps from two different banks.  One of them works occasionally and have not figured out why.  I have cell signal and I am on a strong WiFi network.  Same thing happens when I turn off the WiFi too.    I have tried uninstalling and re-installing the app with no improvement.   I can't seem to find any setting that would cause this.   Does anyone have any suggestions?  

    I can access the internet just fine in the browser and i can use any other app i have.
    Sent from my Verizon Wireless 4G LTE DROID

  • Why handle count keeps increasing with active database connection?

    Hi,
    I have an application in which windows handle count keeps increasing..I did not find any reason why this is happening? could you please help me out? below is the code:
    I have also tried to close the database connection but not work.
    using System;
    using System.IO;
    using System.Data.Common;
    using System.Windows.Forms;
    using System.Threading;
    using System.Configuration;
    using System.Data;
    using System.Data.SqlClient;
    namespace SampleAppWithDbConnection
        class Program
            private static SqlConnection _oCon = null;
            public static SqlConnection oCon
                get
                    if (_oCon == null)
                        _oCon = new SqlConnection();
                    return _oCon;
                set
                    _oCon = value;
            public static int gIntervalo = 1000;
            [STAThread]
            public static void Main(string[] args)
                var gStrCon = ConfigurationManager.ConnectionStrings["Sql-ConnString-Token"].ToString();
                fConectaBase(oCon, gStrCon);
                fProcessa();
            private static void fProcessa()
                try
                    do
                        Thread.Sleep(gIntervalo);
                    while (true);
                catch (Exception)
            internal static bool fConectaBase(SqlConnection pCon, string pConnectionString = "")
                if (pCon.State != ConnectionState.Closed)
                    pCon.Close();
                pCon.ConnectionString = (pConnectionString == "") ? pCon.ConnectionString : pConnectionString;
                pCon.Open();
                return true;

    Hello Pramod,
    >>I have an application in which windows handle count keeps increasing
    If the windows handle(I assume you mean the object handles in Taks Manager bar) keeps increasing, it should means that the project keeps allocating new objects and does not close/dispose them. I notice that you are using ADO.NET API, I am wondering how you
    manage these connections, do you close/dispose the connection immediately after using them? If not, please do it and it is recommended.
    Please check if you call method to close/dispose connections in a finalize method, if so, this is not recommended since in a finalize method, these connections object would still keep alive and does not return to the connection pool, and for new connection
    request, application might increase more connection number to meet the request.
    You could make a test to call GC.Collect() to test if there is a memory leak, if it has, you could check this
    article, or it could be also a handle leak, this
    blog might be helpful for it.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • JavaMail application hanged with no error throwed at Transport.send

    JavaMail application hanged with no error throwed at Transport.send,even though I set the timeout property
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Authenticator;
    import javax.mail.Message;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.internet.MimeUtility;
    public class tt {
         static Properties props=null;
         static boolean needAuth=true;
         static MailAuthenticator authenticator = null;
         static String host="host";
         static String account="account";
         static String password="pwd";
         static String sender="sender";
          * @param args
          * @throws Exception
         public static void main(String[] args) throws Exception{
               if (props == null) {
                     props = new Properties();
                     props.put("mail.smtp.host", host);
                     props.put("mail.smtp.timeout      ", "1000");
                     props.put("mail.smtp.connectiontimeout      ", "1000");
    //                 props.put("mail.debug", "true");
                     props.put("mail.smtp.auth", String.valueOf(needAuth));
                     authenticator = new MailAuthenticator(account, password);
                 MailData mailData = new MailData();
                 mailData.setSubject("altireport mail configuration");
                 mailData.setContent("mail server has been configured successfully.");
                 mailData.setRecipients(new String[]{"[email protected]"});
                 final Session session = Session.getInstance(props, authenticator);
                 final MimeMessage msg = new MimeMessage(session);
                 InternetAddress from = new InternetAddress(sender);
                 msg.setFrom(from);
                 //        msg.setSender(from);
                final InternetAddress[] addressTo = new InternetAddress[mailData.getRecipients().length];
                 for (int i = 0; i < mailData.getRecipients().length; i++) {
                     addressTo[i] = new InternetAddress(mailData.getRecipients());
         msg.addRecipients(Message.RecipientType.TO, addressTo);
         //msg.setSubject(mailData.getSubject());
         msg.setSubject(MimeUtility.encodeText(mailData.getSubject(), "UTF-8", "B"));
         MimeBodyPart bodyPart1 = new MimeBodyPart();
         bodyPart1.setContent(mailData.getContent(), "text/plain; charset=UTF-8");
         MimeMultipart multipart = new MimeMultipart();
         multipart.addBodyPart(bodyPart1);
         msg.setContent(multipart);
         msg.setSentDate(new Date());
    //     msg.saveChanges();
         for(int i=0;i<10;i++){
              new Thread(new Runnable(){
                             public void run() {
                             try {
                                  System.out.println("send...");                                   
                                  Transport.send(msg);
                                  } catch (Exception e) {
                                       e.printStackTrace(System.out);
                        System.out.println("end!");
              }).start();
    class MailData {
    private String[] recipients = null;
    private String subject = null;
    private String content = null;
    private String attachment = null;
    private String attachmentName = null;
    * @return the attachment
    public String getAttachment() {
    return attachment;
    * @param attachment the attachment to set
    public void setAttachment(String attachment) {
    this.attachment = attachment;
    * @return the content
    public String getContent() {
    return content;
    * @param content the content to set
    public void setContent(String content) {
    this.content = content;
    * @return the recipients
    public String[] getRecipients() {
    return recipients;
    * @param recipients the recipients to set
    public void setRecipients(String[] recipients) {
    this.recipients = recipients;
    * @return the subject
    public String getSubject() {
    return subject;
    * @param subject the subject to set
    public void setSubject(String subject) {
    this.subject = subject;
    * @return the attachmentName
    public String getAttachmentName()
    return attachmentName;
    * @param attachmentName the attachmentName to set
    public void setAttachmentName(String attachmentName)
    this.attachmentName = attachmentName;
    class MailAuthenticator extends Authenticator {
    private PasswordAuthentication authentication;
    public MailAuthenticator(String account, String password) {
    authentication = new PasswordAuthentication(account, password);
    protected PasswordAuthentication getPasswordAuthentication() {
    return authentication;
    I have tried use session to get a SMTPTransport instance to use sendMessage ,but still have the same problem.No exception ,No error.
    This problem doesn't appear always. It appears sometimes.
    I hope get help for someone who has the solution for this problem.
    Thanks in advanced.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Ok, I think I see the problem:
         props.put("mail.smtp.timeout      ", "1000");
         props.put("mail.smtp.connectiontimeout      ", "1000");
    Why do you have spaces at the end of the property names?
    Those spaces are not being ignored, which means you've
    set the wrong properties.

  • How to move ADF HumanTask (ADF Project) from One BPM Application to ANother

    Good DAy!
    Problem
    We've created huge Project on ADF with difficult form and now we have to create the same (95%) form in another BPM Application
    Is it possible to migrate ADF Project from one BPM Application to Another???

    Hi,
    You can deploy the ADF Project as an ADF Library Jar file and reuse the taskflow from that jar file in another BPM Application.

  • Error after deploying a JSP Application developed with jdeveloper

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through the oracle http server included in
    Oracle Enterpride Edition 8.1.7
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Of course I know ,this file should be deployed as well. I have done this.
    Any ideas what's wrong ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    Yep, I had the same problem deploying from JDeveloper 9.3.1, followed:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
    and it works! thanks for the clue! (now I only have to find out what ADF is now!)
    Carlos.

  • How to avoid the page timeout with the HP Color LaserJet Enterprise CP4025?

    We are using a DOS application developed with DB4 and running always on the same XP workstation. One month ago we changed our previous HP color printer (was broken) buying a newest CP4025. With the previous HP color printer, and also with another printer we have (HP Color LaserJet CP2025), our application works very well. But using the CP4025 now we have a problem.
    When our application prints in PCL mode, sends the first part of job, then the application perform some calculation tasks with the database and sends the final part after about 30 seconds. We don't know why, but the CP4025 seems to have a timeout after about 15 seconds that cause closing the printing job with a sort of end of page, printing wrongly a half page, and after a new page with the second half of the real single page.
    Why the CP4025 have a so short timeout? Our previous HP and also the CP2025 works well with our application, without perform any kind of short timeout. 
    Anybody knows how is it possible to avoid this timeout with the CP4025?

    In theory PCL5 jobs should only be terminated and forced to finish printing via either an IO timeout, the network connection being closed, or an end of job command in PCL5. 
    You can check/change the default IO timeout value through the front screen. You'll find it by navigating to Configure Device->I/O->I/O Timeout. I would recommend making sure it is set to something around 120 seconds. 
    Do you know whether the application itself is generating the PCL5 job, or whether it is going through a print driver to generate the job? 
    I work for HP

  • How to create ADF BC components like EO from  "View with INSTEAD OF trigger

    I have a "View with INSTEAD OF trigger" on a external schema. is it possible to create ADF EO on top of this view in my local schema?. If possible, then is it possible to insert/update that external table using ADF standard data controls and Application module?. I'm trying to see if it's possible with standard ADF controls without calling pl/sql API to insert/update that external table. any ideas are appreciated.
    Regards,
    Surya

    http://stegemanoracle.wordpress.com/2006/03/15/using-updatable-views-with-adf/

  • How to create Application Workspace with Jdeveloper 10g 1.3.2?

    Following the instructions in "Developing and Using ADF Faces Skins", I am trying to create an Application Workspace.
    The instruction says: "In JDeveloper, create a new Application workspace and name it - ADFFaces_skin_sample"
    I can not find the way to create Application workspace with Jdeveloper 10g 1.3.2.
    Because when I click FILE==>New I got "New Gallery--Application" in left, in right only got "Application, Empty project, File, Java Class, Java Interface". There is no "workspace" item.
    I try to use Jdeveloper 10g 1.3.1, got same result.
    I found other ADF Skin training samples. All of them asked to create Application Workspace. But the Jdeveloper version used by all those samples were earlier than 10g 10.1.3.2
    Please let know how to create "Application Workspace"?

    What used to be "Application Workspace" in 10.1.2 is "Application" in 10.1.3.2

  • Which adf runtime library version for application server version

    After sifting thru this forum and some documentation, I was left a little confused about installing ADF Runtime libraries to the application server we're deploying our ADF applications to. I wanted to get a definitive answer to a couple questions:
    1) We're using Oracle Application Server 10.1.3.2.0. We've been deploying our 10.1.3.3 ADF applications to this application server. If we migrate our 10.1.3.3 ADF application to 10.1.3.4, do we need to install the ADF Runtime libraries (from jdev 10.1.3.4) to the application server before deploying/running our 10.1.3.4 version of the application on that server? If yes, do we need to uninstall the 'old' ADF Runtime libraries first?
    2) How can we tell what jars make up the ADF Runtime libraries?
    Thanks for any help you can give. James.

    You always need to have a version match between the ADF libraries on your server and the ADF libraries you develop with.
    So if you are developing with JDev 10.1.3.4 you need to install the ADF 10.1.3.4 libraries on your server.
    You can do this with the ADF Runtime installer or directly from within JDeveloper's tools menu.
    You don't need to uninstall the ADF libraries - they'll be overwritten.
    The list of jar files is in the ADF Developer Guide:
    http://download.oracle.com/docs/html/B25947_01/deployment_topics012.htm#CIHJFAIA

  • ADF 10.1.3.5 application on Fusion Middleware 11.1.2.1

    Hi,
    We are trying to migrate ADF 10.1.3.2 application to 10.1.3.5 and deploy on Fusion Middleware 11.1.2.1.
    Steps followed –
    1. Created a domain for ADF 10.1.3.5 applications
    2. Applied ADF 10.1.3.5 runtime to the domain
    3. Migrated ADF 10.1.3.2 application to 10.1.3.5 and deployed on the admin server
    Application deployment is successful and the search screen is up. When we do search the results are not showing up in the adf table but are in the exported excel (functionality in the application) generated based on the same VO. Is this a known issue? or are we miss something?
    Please advice, your help is greatly appreciated.
    Thank you,
    Siva

    Hi,
    there is no Oracle 11.1.2.1 Fusion Middleware. There is a patch for 10.3.5 WLS to make it work with JDeveloper 11g R2 applications, but there is no 11g R2 FMW. In your case you should deploy your application to WLS 10.3.5 and see if it works there. If you want to run your application on WLS upgraded to 11g R2 then please migrate your application as we don't support the deployment you are trying.
    Frank

  • Connection timeout with DB2 source

    Hi all,
    looking for any similar experience... I've a scenario, started with StartScen.sh command, that imports data from a DB2 mainframe database and do some transformation.
    Sometimes, when data to import is huge, even if all ELT transformations goes ok the whole scenario fails. Debugging it I've seen that failure is due to a timeout got from DB2 connection. I've found that ODI works in this way:
    1. Opens connection to DB2
    2. Loads needed datas
    3. Peforms transformations
    4. Closes connection
    Since step 3 takes long time DB2 connection time out and of course when you close the connection you get an error about socket already closed from remote side. TCPDump has showed that no keepalive packets are sent from client to server.
    I've opened an SR to Oracle and they told me that there's no way to force closing connection before perform transformation. Also Oracle relays problem to a possibile missing keepalive function in DB2 JDBC driver. Oracle suggests to change the scenario adding a step to load data from DB2 to a local table and then another step to perform transformation starting from this local table. This is not applicable as many scenarios have to be change in a production environment.
    Does anyone has already dealt with a similar problem?
    Thanks
    Stefano
    http://www.stefanocislaghi.eu/

    Hi,
    TIMEOUT parameter "Oracle Data Integrator Timeout" has been increases but this is not working. This parameter is for the connection with ODI repository database and not for the application database. Is there any separated arameter/setting to control the conncection timeout against warehouse database where data gets loaded.
    Thanks & Regards
    Rishi

  • Runtime application profile with JDev

    Hi,
    I want to examine the runtime behavior of a quite large web application developed with JDev10g using ADF with JSF and Toplink over an Oracle DB. I am thinking about using JProfiler but would like to know if Oracle has any recommended way (software, plugins, etc.) to go about it.
    Any input is appreciated, thanks.
    Jose Lopes

    The information on these features is mostly in the online help.
    for example the HTTP Monitor
    and profile
    You can also find several blog entries about these if you google for specific profilers.

  • APEX application problem with Apple's Safari browser

    Hello Everyone,
    I'm working on Apple Safari (version 4.0.5) with Oracle APEX 4.0, the APEX development environment is working fine, but when we try to run our application, after login, while switching tabs, our application hangs with the following URI in the browser
    xxx.xxx.x.xxx/apex/wwv_flow.accept
    and page is rendered blank, even the page source view is blank.
    Our page also carry some JQuery related code functionality, along with regular HTML and Stylesheet.
    No idea what is causing this behavior?
    Our application is running smooth with browsers like IE, FF, Opera.
    Sample applications provided in-bundled with APEX 4.0, are running good on Safari as well.
    So kindly suggest, what could be the possible reason behind this?
    Regards,
    Krishna

    Hi Patrick,
    Yes, I'm using my own custom made theme also involved JQuery javascripts & functionality on apex pages.
    I'm using Safari 4.0.5, didnt checked with the latest version yet.
    Yes I've tried it on Google Chrome, its working fine, except with the already know issue, that on each page's post-back, chrome prompts for the XDB Username and Password, which is also a very major issue with my application.
    I've gone through various threads from OTN to look out for the possible fix to this issue, but not helpful so far. Have tried few alternatives suggested on OTN, after which landed up in more complex issues causing my application to prompt XDB credentials on all the browsers. Now some how have brought the application back to the previous state, with the help of OTN indeed. Presently my application execute fine with IE, FF & Opera, except Safari & Chrome (XDB credentials prompt).
    It would be really not an easy task for me to replicate the same scenario on apex.oracle.com, because it involves various database tables too.
    I'm wondering, you asked me the 'theme' subject for the issue, kindly would you please educate me more, how themes can cause an improper functionality on Safari and not in rest of the browsers?
    Thank you so much Patrick, I'm partially relieved knowing that you responded me. Great pleasure learning from you.
    Regards,
    Krishna

  • TS3274 its almost 10 months,i purchased ipad2 32 3g wifi.itinially i got problem with applications shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs freq

    its almost 10 months,i purchased ipad2 32 3G wifi.itinially i got problem with applications and safari shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs frequently.plz advise.

    If you have followed the standard Apple troubleshooting processes (see user guide )
    probably a trip to the local Apple Store Genius bar is called for before warranty runs out
    Assuming the iPad has been released in your Country if not you may have to take it to a
    neighbouring Country where it is available
    This page will tell you ,via the drop down menu Countries that can support iPad
    http://support.apple.com/kb/index?page=servicefaq&geo=United_Kingdom&product=ipa d

Maybe you are looking for

  • The Difference between "Cell Data" and "Dimension Data"?

    What is the difference between the tab "Cell Data" and "Dimension Data" in SSAS?

  • Database Performace Is Very Poor On IBM AIX Compared To Windows NT

    Hi, Recently we have migrated Our Oracle 10g DataBase from Windows NT to IBM AIX Box. Unfortunately, the Database Performance is gone down when compared to Windows NT environment. Since been a week we are working to pick the problem. We have altered

  • SSRS 2008 Matrix - Column Data Incorrect

    I am trying to convert an old local Crystal Report. Basically, for a given order, there are multiple line items. The report needs to show Order and Vendor in the left two columns, then a variable number of columns (that fit on a page) to display the

  • Can't print from other network computers

    Windows 7 HP Photosmart C4650 Installed on main computer and everything is great! Added the printer to the other computers in the home network, 1 wired and 2 laptops wireless, all running Windows 7. went through the properties and shared the printer,

  • Migrating Regular Expression from apache to Java1.4

    Did any one out there migrate from apache regular expressions to the new Java regular expressions? Are the two compatible? How much work is it to do this? What are the pitfalls? Are there any resources on this topic? Thanks,