Inter Character Timeout for SocketChannel

Hi,
I am using java.nio to implement the HSMS communication protocols which use TCP/IP link.
In HSMS there is a requirement to implement the Inter Character Timeout. Means, the time delay between the reciept of two consecutive bytes on the TCP link has to be within some limit.
1. Is there any parameter to be set to specify this timeout value ?
2. how to capture an timeout error in this regard.
thanks in advace
Amit

That's just up to how often you can call the read() method. If there is data already arrived the read will return immediately, otherwise it will wait for up to the timeout and return with whatever data arrives next, which will probably be a single IP packet, or, if you're lucky, a single complete TCP segment. If you process that data and get back to calling the read method within the inter-character timeout period, just subtract your processing latency from the next read timeout. If you can't process the data quickly enough, you don't really have a reason to care about the inter-character timeout, and even if you do there is no solution available other than reducing your processing latency. This is the only data timeout available in TCP/IP.

Similar Messages

  • Timeout for content after installation

    Hi all!
    Running w2000, 9i DB and 9ias, I finally managed to install the portal. Took a while.
    ( used the step-by-step guide ). But now after the installation, I get the following errors when opening the /pls/portal30 homepage.
    Portal Community Portlet Timed Out
    Error: Timeout for content=15032
    Error: Timeout for content=15032
    Error: Timeout for content=15032
    Error: Timeout for content=15482
    Upon clicking the Login link, I get the following error:
    You cannot login because there is no configuration information stored in the enabler configuration table. (WWC-41439)
    I have tried to change the JServ settings to solve the timeout problem, but it doesn't help.
    my current zone.properties settings are:
    init.timeout=240000
    servlet.page.initArgs=stall=60
    servlet.page.initArgs=requesttime=240
    Have anyone seen this before?
    all help greatly appreciated.
    JServ log output are appended below.
    regards
    Rune Engseth
    [28/05/2002 14:17:37:108 CEST] page/DEBUG: active=34 Starting servlet, millis=1022588257108
    [28/05/2002 14:17:37:108 CEST] page/DEBUG: active=34 Starting Retrieval of Meta-Data time=1022588257108
    [28/05/2002 14:17:37:108 CEST] page/DEBUG: active=34 mTimeOut=10000000 for page
    [28/05/2002 14:17:37:108 CEST] page/DEBUG: active=26 username is null
    [28/05/2002 14:17:37:108 CEST] page/DEBUG: active=26 content-fetcher7 starting on page
    [28/05/2002 14:17:37:199 CEST] page/DEBUG: active=26 Query String=_mode=3
    [28/05/2002 14:17:54:504 CEST] page/DEBUG: active=34 After connecting to Page Meta, millis=17396
    [28/05/2002 14:17:54:754 CEST] page/DEBUG: active=26 content-fetcher7 Finished working on page, size=null, millis=17555, id=null
    [28/05/2002 14:17:54:754 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher7
    [28/05/2002 14:17:54:754 CEST] page/DEBUG: active=34 Finishing servlet, millis=17646
    [28/05/2002 14:17:55:005 CEST] page/DEBUG: active=34 Starting servlet, millis=1022588275005
    [28/05/2002 14:17:55:005 CEST] page/DEBUG: active=34 Starting Retrieval of Meta-Data time=1022588275005
    [28/05/2002 14:17:55:005 CEST] page/DEBUG: active=34 mTimeOut=10000000 for page
    [28/05/2002 14:17:55:005 CEST] page/DEBUG: active=26 username is null
    [28/05/2002 14:17:55:005 CEST] page/DEBUG: active=26 content-fetcher6 starting on page
    [28/05/2002 14:17:55:005 CEST] page/DEBUG: active=26 Query String=_mode=3
    [28/05/2002 14:17:55:095 CEST] page/DEBUG: active=26 Computed character set from response "x-oracle/portal-page; charset=UTF-8" as "UTF-8"
    [28/05/2002 14:17:55:095 CEST] page/DEBUG: active=26 content-fetcher6 Before reading the data stream page, millis=90
    [28/05/2002 14:17:55:105 CEST] page/DEBUG: active=26 content-fetcher6 xxx Characters=3522 page, millis=100
    [28/05/2002 14:17:55:105 CEST] page/DEBUG: active=34 After connecting to Page Meta, millis=100
    [28/05/2002 14:17:55:105 CEST] page/DEBUG: active=34 Processing data 3.0.8
    [28/05/2002 14:17:55:105 CEST] page/DEBUG: active=34 Computed character set from response "x-oracle/portal-page; charset=UTF-8" as "UTF-8"
    [28/05/2002 14:17:55:105 CEST] page/DEBUG: active=34 x-oracle-portal-expires header derives to: Wed, 29 May 2002 21:37:55 GMT
    [28/05/2002 14:17:55:105 CEST] page/DEBUG: active=34 setting up cache output stream subID is 1
    [28/05/2002 14:17:55:185 CEST] page/DEBUG: active=26 content-fetcher6 xxx Characters=5000 page, millis=180
    [28/05/2002 14:17:55:195 CEST] page/DEBUG: active=26 content-fetcher6 xxx Characters=3924 page, millis=190
    [28/05/2002 14:17:55:195 CEST] page/DEBUG: active=34 Starting a Page
    [28/05/2002 14:17:55:195 CEST] page/DEBUG: active=26 content-fetcher6 Finished working on page, size=12446, millis=190, id=null
    [28/05/2002 14:17:55:195 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher6
    [28/05/2002 14:17:55:195 CEST] page/DEBUG: active=34 timeout =15
    [28/05/2002 14:17:55:195 CEST] page/DEBUG: active=34 mTimeOut=15000 for 11
    [28/05/2002 14:17:55:195 CEST] page/DEBUG: active=34 Adding portlet to queue 11
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 http://bekk-RuneE.BEKK.INT:80//pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 timeout =15
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 mTimeOut=15000 for 12
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 Adding portlet to queue 12
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 http://bekk-RuneE.BEKK.INT:80//pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 timeout =15
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 mTimeOut=15000 for 13
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 Adding portlet to queue 13
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 http://bekk-RuneE.BEKK.INT:80//pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 timeout =15
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 mTimeOut=15000 for 14
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 Adding portlet to queue 14
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 http://bekk-RuneE.BEKK.INT:80//pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 timeout =15
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 mTimeOut=15000 for 16
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 Adding portlet to queue 16
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 http://bekk-RuneE.BEKK.INT:80//pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 timeout =15
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 mTimeOut=15000 for 17
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 Adding portlet to queue 17
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 http://bekk-RuneE.BEKK.INT:80//pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 timeout =15
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 mTimeOut=15000 for 18
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 Adding portlet to queue 18
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=34 http://bekk-RuneE.BEKK.INT:80//pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:17:55:205 CEST] page/DEBUG: active=26 username is PUBLIC
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=26 content-fetcher5 starting on 11
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=26 Query String=_portlet_id=1&_provider_id=807692&_node_id=80769&_reference_path=11_FAVORITES_807692&_language=us&_mode=1&_back_page_url=null&_page_url=http%3A%2F%2Fbekk-RuneE.BEKK.INT%2Fservlet%2Fpage%3F_pageid%3D1%2C11%26_dad%3Dportal30%26_schema%3DPORTAL30&_has_title_region=1&_has_border=0&_page_type=PORTLETS
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=27 username is PUBLIC
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=27 content-fetcher4 starting on 12
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=27 Query String=_portlet_id=2&_provider_id=807696&_node_id=80769&_reference_path=12_COMPORTLET_TECHNEWS_807696&_language=us&_mode=1&_back_page_url=null&_page_url=http%3A%2F%2Fbekk-RuneE.BEKK.INT%2Fservlet%2Fpage%3F_pageid%3D1%2C11%26_dad%3Dportal30%26_schema%3DPORTAL30&_has_title_region=1&_has_border=0&_page_type=PORTLETS
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=28 username is PUBLIC
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=28 content-fetcher3 starting on 13
    [28/05/2002 14:17:55:215 CEST] page/DEBUG: active=28 Query String=_portlet_id=2&_provider_id=807692&_node_id=80769&_reference_path=13_RECENTOBJECTS_807692&_language=us&_mode=1&_back_page_url=null&_page_url=http%3A%2F%2Fbekk-RuneE.BEKK.INT%2Fservlet%2Fpage%3F_pageid%3D1%2C11%26_dad%3Dportal30%26_schema%3DPORTAL30&_has_title_region=1&_has_border=0&_page_type=PORTLETS
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=29 username is PUBLIC
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=29 content-fetcher2 starting on 14
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=29 Query String=_portlet_id=1&_provider_id=807693&_node_id=80769&_reference_path=14_FOREIGNAPPS_807693&_language=us&_mode=1&_back_page_url=null&_page_url=http%3A%2F%2Fbekk-RuneE.BEKK.INT%2Fservlet%2Fpage%3F_pageid%3D1%2C11%26_dad%3Dportal30%26_schema%3DPORTAL30&_has_title_region=1&_has_border=0&_page_type=PORTLETS
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=30 username is PUBLIC
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=30 content-fetcher1 starting on 16
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=30 Query String=_portlet_id=16&_provider_id=807692&_node_id=80769&_reference_path=16_CREATE+PAGES_807692&_language=us&_mode=1&_back_page_url=null&_page_url=http%3A%2F%2Fbekk-RuneE.BEKK.INT%2Fservlet%2Fpage%3F_pageid%3D1%2C11%26_dad%3Dportal30%26_schema%3DPORTAL30&_has_title_region=1&_has_border=0&_page_type=PORTLETS
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=31 username is PUBLIC
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=31 content-fetcher0 starting on 17
    [28/05/2002 14:17:55:225 CEST] page/DEBUG: active=31 Query String=_portlet_id=3&_provider_id=807697&_node_id=80769&_reference_path=17_CREATESITES_807697&_language=us&_mode=1&_back_page_url=null&_page_url=http%3A%2F%2Fbekk-RuneE.BEKK.INT%2Fservlet%2Fpage%3F_pageid%3D1%2C11%26_dad%3Dportal30%26_schema%3DPORTAL30&_has_title_region=1&_has_border=0&_page_type=PORTLETS
    [28/05/2002 14:17:55:235 CEST] page/DEBUG: active=32 content-fetcher24Closing cached HTTP connection, host/port changed
    [28/05/2002 14:17:55:235 CEST] page/DEBUG: active=32 username is PUBLIC
    [28/05/2002 14:17:55:235 CEST] page/DEBUG: active=32 content-fetcher24 starting on 18
    [28/05/2002 14:17:55:235 CEST] page/DEBUG: active=32 Query String=_portlet_id=10&_provider_id=807692&_node_id=80769&_reference_path=18_CREATEOBJECTS_807692&_language=us&_mode=1&_back_page_url=null&_page_url=http%3A%2F%2Fbekk-RuneE.BEKK.INT%2Fservlet%2Fpage%3F_pageid%3D1%2C11%26_dad%3Dportal30%26_schema%3DPORTAL30&_has_title_region=1&_has_border=0&_page_type=PORTLETS
    [28/05/2002 14:17:55:806 CEST] page/DEBUG: active=26 Computed character set from response "text/html; charset=UTF-8" as "UTF-8"
    [28/05/2002 14:17:55:806 CEST] page/DEBUG: active=26 content-fetcher5 Before reading the data stream 11, millis=591
    [28/05/2002 14:17:55:806 CEST] page/DEBUG: active=26 content-fetcher5 xxx Characters=1150 11, millis=591
    [28/05/2002 14:17:55:806 CEST] page/DEBUG: active=26 content-fetcher5 Finished working on 11, size=1150, millis=591, id=null
    [28/05/2002 14:17:55:806 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher5
    [28/05/2002 14:17:55:806 CEST] page/DEBUG: active=34 Writing portlet to browser 11
    [28/05/2002 14:17:55:806 CEST] page/DEBUG: active=34 Done Writing 11
    [28/05/2002 14:17:58:269 CEST] page/DEBUG: active=26 Computed character set from response "text/html; charset=UTF-8" as "UTF-8"
    [28/05/2002 14:17:58:269 CEST] page/DEBUG: active=26 content-fetcher24 Before reading the data stream 18, millis=3034
    [28/05/2002 14:17:58:269 CEST] page/DEBUG: active=26 content-fetcher24 xxx Characters=2 18, millis=3034
    [28/05/2002 14:17:58:269 CEST] page/DEBUG: active=26 content-fetcher24 Finished working on 18, size=2, millis=3034, id=null
    [28/05/2002 14:17:58:269 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher24
    [28/05/2002 14:18:10:247 CEST] page/JNI: Exception when trying to connect in 1.
    [28/05/2002 14:18:10:247 CEST] page/DEBUG: active=26 Timeout occurred, label=13 url=http://bekk-RuneE.BEKK.INT/pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:18:10:247 CEST] page/DEBUG: active=26 ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher3
    [28/05/2002 14:18:10:247 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher3
    [28/05/2002 14:18:10:247 CEST] page/JNI: Exception when trying to connect in 1.
    [28/05/2002 14:18:10:247 CEST] page/DEBUG: active=26 Timeout occurred, label=12 url=http://bekk-RuneE.BEKK.INT/pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:18:10:247 CEST] page/DEBUG: active=26 ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher4
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher4
    [28/05/2002 14:18:10:257 CEST] page/JNI: Exception when trying to connect in 1.
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=26 Timeout occurred, label=16 url=http://bekk-RuneE.BEKK.INT/pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=26 ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher1
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher1
    [28/05/2002 14:18:10:257 CEST] page/JNI: Exception when trying to connect in 1.
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=26 Timeout occurred, label=14 url=http://bekk-RuneE.BEKK.INT/pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=26 ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher2
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher2
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=34 Writing portlet to browser 12
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=34 Done Writing 12
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=34 Writing portlet to browser 13
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=34 Done Writing 13
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=34 Writing portlet to browser 14
    [28/05/2002 14:18:10:257 CEST] page/DEBUG: active=34 Done Writing 14
    [28/05/2002 14:18:10:267 CEST] page/DEBUG: active=34 Writing portlet to browser 16
    [28/05/2002 14:18:10:267 CEST] page/DEBUG: active=34 Done Writing 16
    [28/05/2002 14:18:10:707 CEST] page/JNI: Exception when trying to connect in 1.
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=26 Timeout occurred, label=17 url=http://bekk-RuneE.BEKK.INT/pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=26 ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher0
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=26 ContentFetcher ready=content-fetcher0
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=34 Writing portlet to browser 17
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=34 Done Writing 17
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=34 Writing portlet to browser 18
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=34 Done Writing 18
    [28/05/2002 14:18:10:707 CEST] page/DEBUG: active=34 Finishing servlet, millis=15702

    I've had the same problem. You can solve it by modifying the timeout-period for the provider. Surf to the portal-homepage- administration- edit provider.

  • Setting timeout for all the web test scripts in the solution

    Hello,
    I have around 16 web test scripts (using VSTS 2010 ultimate version) in my project (in a solution). By default the timeout set for each request is 60 sec. I need to increase the timeout to 180 sec. Currently, I am clicking on each request and modifying
    the timeout parameter from the Properties window.
    Is there any common setting for timeout available which would be acting across all the scripts?
    Thanks.

    Hello,
    We only can set Timeouts for a separate request in Visual Studio Web Test. There is no way to set Timeout for all requests in VS IDE. But you can write you own logic code using
    Timeout Property in a web test plugin to set Timeout for all requests in a web test.
    About how to write a web test plugin, please see:
    How to: Create a Web Performance Test Plug-In
    Best regards,
    Amanda Zhu <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • Set a timeout for "read from text file"

    I Need to read from a text file on a remote pc and use the read from text file function to do this. It wotks but sometimes this pc is down causing long wait times in my vi.
    Is there a way to set a timeout for the read from text file function, or is there an other solution?
    Thank you

    You could check that the path is valid first before you attempt to read the file.  hen put the file read in a True-False case structure based on the results of the check.  You can use the function "Check if File or Folder Exists"  It checks whether a file or folder exists on disk at a specified path. This VI works with standard files and folders as well as files in LLB files.   The function is found in the File I/O --> Advanced File Functions palette.
    Tom

  • While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra positi

    While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra position and also pdf generated from this word file also contains the same.

  • Timeout for content

    Hello
    9iAS with Portal 9.0.2 in Sun Solaris
    I am working with Oracle Reports Builder and Oracle Portal.
    I've saved my reports with JSP extension.
    So, I've made some portlets with these reports into PEOPLE_APP db provider.
    Now, when I run my pages with these portlets, some times (most of times) the following error appears instead of the report:
    Timeout for content=[any_number]
    I've already researched in OTN and Metalink forums, I've changed my zone.properties and http.conf files, but it didn't resolve my problem.
    So, what else I need to do in order to solve my problem? Any other ideas?
    Thanks.
    P.S: We've sent lots of questions with no satisfactory response from Oracle.
    We've noticed that Oracle provided extremely poor support.
    Maybe this isn't a good solution. Maybe there isn't a solution, at least in this way.
    Take a look in some fragments of messages, found in OTN and Metalink forums:
    "I've increased the timeout but that doesn't help.
    It's also very strange that after rebooting the server in Portal 3.0.8/ias1.0.2.1 my pages appeared in 10-20 seconds and now in Portal 3.0.9/ias1.0.2.2 it takes two to four minutes. And this slow performance is only while retrieving the page for the first time. The second time I retrieve a page it's there in a few seconds.
    So, I do not think it has anything to do with the provider's timeout...."
    "But maybe it's the Portal-schema itself which causes this problem. I heard someone saying that he missed indexes after a Portal-upgrade --> maybe this is my problem too, although i didn't have any error-messages in the upgrade-logfiles...."
    "Unfortunately we did not yet solve these timeout problems. Oracle is currently studying several logfiles and traces.
    At first we thought that we had the timeout problems only after starting up the server. But now we noticed that the timeouts are repeated after 5 to 7 days. For some reason it looks as if Portal is refreshing the cache at that moment, but we can not find anywhere a refreshperiod of 120 hours or so..."
    "Having wrestled with these Timeout errors for months with no satisfactory response from Oracle, I came across someone's solution yesterday and, for me, it worked immediately. Please keep in mind before doing this that it is in direct opposition to what the new "Troubleshooting Issues in Oracle9iAS Portal Architecture and Performance (3.0.9.8.2)" whitepaper states....."
    "After many many performance problems and timeouts issues which Oracle provided extremely poor support we finally learned that all of our problems where related to the same things - Oracle has not tuned this product before shipping it. Numerous little bugs and coding errors were a small part of the fixes. The real problem is that all the indexes have subscriber id as the first column which is always set to one and is not used in the majority of querys which makes these indexes useless for performance... (http://metalink.oracle.com/metalink/plsql/ml2_gui.startup)"
    "Sr. Oracle how long do I need to wait for real solutions? (http://metalink.oracle.com/metalink/plsql/ml2_gui.startup)"

    You must have registered some provider for your portlets. Go to adminstration screens of portal. Goto edit provider from there and increase the portlet timeout.
    Also change the time out value in your provider.xml for the corresponding JSPs.

  • Timeouts for Portlets

    I get timeouts for some of my portlets on a Page that I have
    built. I want to know whether increasing the Provider timeout
    will stop this problem and where does it get its default seeting
    from. If it is hard coded does it override the settings from
    zone.properties file.

    thanks candance...but I hardly believe that this is the only spot, since I am getting this weird "timeout for content", do you know what's up with that?

  • Timeout for  "new BufferedReader (new InputStreamReader (System.in));"

    BufferedReader in = new BufferedReader (new InputStreamReader (System.in));
    String message = in.readLine();  The above code waits infinitely until the user enter the data from the command line and presses enter key.
    The following code can provide a timeout to the above waiting (it works fine).
    But is there a SIMPLER WAY to provide timeout for above waiting, something like setSoTimeout(int milliseconds) method in DatagramSocket, Socket and ServerSocket classes*?*
    http://www.coderanch.com/t/232213/threads/java/implement-timeout-threads
    =>
    import java.util.Timer;  
    import java.util.TimerTask;  
    import java.io.*; 
    public class test{  
    private String str = "";  
         TimerTask task = new TimerTask(){  
                 public void run(){  
              if( str.equals("") ){  
                   System.out.println( "you input nothing. exit..." );  
                   System.exit( 0 );  
         public void getInput() throws Exception{  
              Timer timer = new Timer();  
              timer.schedule( task, 10*1000 );  
              System.out.println( "Input a string within 10 seconds: " );  
              BufferedReader in = new BufferedReader(  
                   new InputStreamReader( System.in ) );  
              str = in.readLine();  
              timer.cancel();  
              System.out.println( "you have entered: "+ str );   
         public static void main( String[] args ){  
              try{  
                   (new test()).getInput();
              }catch( Exception e ){  
                   System.out.println( e );  
              System.out.println( "main exit..." );  
    }

    No. System.in doesn't have a timeout API. Sockets do.

  • Error while creating inter-company invoice  for stock transport

    Hi ,
    I am facing following errors while creating inter-company invoice for STO order.
    We have scenario where standard PO is created in  company code A  & then replenishment delivery is created in company code B.While raising inter-company invoice to company code A, we are facing problem.
    In replenishment delivery we have 10 line items. But  when we try to do inter company invoice through VF01/VF04 we get following log
    XXXXXXXXXX(delivery Number) 000000 Customer XXXXX: Customer master table KNVV is missing (VF-022)
    XXXXXXXXXX (delivery Number)000010 The bill-to party could not be determined (VF-047)
    XXXXXXXXXX (delivery Number)000010 The payer could not be determined (VF-048)
    With this first line item from delivery is not flows to invoice & if we saves this invoice then it is get saved with account determination error as some of the data does not comes into invoice header like account assignment group for customer, Payment term, destination country,region, tax classification for customer etc. That means invoice gets created without first line item from delivery with account determination error & so,no accounting document gets generated.
    I checked customer master for all SP,SH,BP,PY they are correctly maintained.This was working fine few months back, but not working now.
    If anybody had come across such kind of scenario, your valuable inputs will be highly appreciated.
    Thanks & kind regards,
    Ganesh Palatshaha

    Hello
    Kindly check the sales area of customer involved, whether the customer maintain with sales area for STO.
    If that is note the case the refer following link:
    - Error VF 047 & 048 while creating Inter company billing
    Regards
    JP

  • Setting timeout for SOAP requests in a webservice client

    I am trying to set the timeout for a synchronous SOAP request sent to a Web Service deployed on weblogic 8.1 SP2. I tried setting timeout thru bindinginfo setTimeout() and also javax.xml.rpc.Stub _setProperty(). Both of them seem to be not working. I set the value to as low as 1 sec but i still donot get a timeout. Other properties/method from these two classes work fine though (like endpointaddress property in javax.xml.rpc.Stub and setVerbose flag to true in BindingInfo).
    Can someone please help.
    Thanks in Advance
    srini

    Our application calls the webservice provided by another company over the internet using the ssl. We use the wsdl url of the webservice on the destination while creating the port. If the destination is not available statement which creates the port blocks for around 4 minutes.
    I think the first network call gets the wsdl from the remote server. Thus we encounter delays before getting the stub created. How can I timeout such a calls.
    try {
    port = (new ServiceName_Impl(remoteWsdlURL)).getServiceNameSoap();
    } catch (IOException e) {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Why is the character style for hyperlinks not displaying correctly in design mode/viewing/output?

    I am using RH9 and generating WebHelp, and I needed to globally bump up the font size of just my hyperlinked text. I went into my Style Sheet > Character tab, changed the font size of the various character settings for hyperlinks, and clicked Apply and then OK. Normally, this would change all of my hyperlink text font sizes immediately across all of my topics. However, this time, it made no changes to any existing hyperlinked text, and it only affected new hyperlinks that I subsequently added. For the existing hyperlinks, I can only manually change the font size of the each hyperlink one at a time, but that's crazy (there's 100's in this help).
    I can successfully change other characters styles and paragraph styles. This issue only affects the hyperlink character styles. It also shows up in all RH modes - Design mode, viewing, and in the final output.
    Is this an indication of a corrupted style sheet or some other combination of events that I have yet to discover?

    Hi,
    You probably have inline styling in your project overwriting the font size of your style sheet. How are you changing the font size of the individual hyperlinks?
    There is a workaround for inline styling: Open your CSS in notepad and add !important after the font-size:
    font-size: 4pt !important;
    Note that this is a workaround, not a solution. As a solutions you can remove all the style attributes from your hyperlinks to force them to take the CSS styling again.
    Greet,
    Willam

  • How does one install non-English character sets for use with the "find" function in Acrabat Pro 11?

    I have pdf files in European languages and want to be able to enter non-English characters in the "find" function. How does one install other character sets for use with Acrobat Pro XI?

    Have you tried applying the update by going to Help>Updates within Photoshop Lightroom?  The update should be using the same licensing?  Did you perhaps customize the installation location?  Finally which operating system are you using?

  • JCO Timeout for SAP Business Connector 4.7

    Environment :
      Windows 2000, SAP Business Connector (BC) 4.7
    General Description :
      SAP BC is used to invoke BAPI's in the SAP R/3 system.
    Issue :
      Some BAPI's are taking some time to return response depending on user load. Need to provide a timeout for RFC calls invoked by SAP BC using JCO.
      Following is the entry in the rfc trace log file when BC starts up ...
    000000  -
      2005-05-12 11:07:20 EDT
    000001  [B2B-SAP.0011.0001] [JNI-LAYER] RFC.nativeSetTraceLevel()                with rc = RFC_OK   leave, [SUCCESS]
    000002  [B2B-SAP.0002.0022] Log level set to 10
    000003  [B2B-SAP.0002.0025] Registered SAP package trace with core trace
    000004  [B2B-SAP.0002.0014] Starting SAP services
    000005  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.setProperty(jco.jdsr.comp_name, SAP BC server0023 5555)
    000006  [B2B-SAP.0003.0001] Loading native libraries
    000007  [B2B-SAP.0003.0002] JCO version: 2.1.4 (2004-10-20) sapjcorfc 2.1.4 (2004-10-20)
    000008  [B2B-SAP.0003.0004] jRFCLibrary info: 2.1.4 (2004-10-20)(C:\sapbc47\Server\packages\SAP\code\libs\sapjcorfc.dll)
    000009  [B2B-SAP.0003.0003] RfcLibrary version:
    This RFC library belongs to the SAP R/3 Release *** 640,0,41  *** MT-SL
    Versions of SAP internal libraries:
      dptr:    2
      ni  :   37
      cpic:    3
      rfc :    3
    00000A  [B2B-SAP.0011.0001] MiddlewareRFC.setProperty(jco.middleware.wait_for_request_time, 1)
    00000B  [B2B-SAP.0002.0016] Loaded SAP server configurations
    00000C  [B2B-SAP.0002.0015] SAP services started
    00000D  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
    00000E  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setTrace(true), current state false
    00000F  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
    000010  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setMaxWaitTime(30000)
    000011  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setConnectionTimeout(600000)
    000012  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setTimeoutCheckPeriod(30000) on pool SERVER-300&USER_RFC&300&EN
    000013  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.PoolManager.addPool:
          name = SERVER-300&USER_RFC&300&EN,
          connection = USER_RFC|300|EN|AS=[11.12.7.296|00|]G0|,
          pool_size = 10,
          max_wait_time = 30000,
          pooled_connection_timeout = 600000,
          timeout_check_period = 30000
    000014  [B2B-SAP.0005.0003] Pool changed: SERVER-300&USER_RFC&300&EN containing 0 connection(s)
    007E72  [B2B-SAP.0006.0001] Executing invoke for ZBAPI_TEST_Service on SERVER-300
    007E73  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.execute (ZBAPI_TEST_Service) on handle [2]
    Questions :
       1) Is there a SAP BC configuration parameter for RFC execution timeout ??
       2) Any other way of enforcing the RFC time out ??
       3) If there is a way to set timeout on JCO.Client.execute method ??
    I really appreciate your help !!

    I have tried changes the connection timeout value but if doesnot affect the time RFC. Following is from SAP BC adapter  guide ..
    Delay (minutes) until an unused connection to a SAP
    System is timed out (default: 5)
    I think I need similar setting as that for RFC connection !!

  • Set request timeout for distributed cache

    Hi,
    Coherence provides 3 parameters we can tune for the distributed cache
    tangosol.coherence.distributed.request.timeout      The default client request timeout for distributed cache services
    tangosol.coherence.distributed.task.timeout      The default server execution timeout for distributed cache services
    tangosol.coherence.distributed.task.hung      the default time before a thread is reported as hung by distributed cache services
    It seems these timeout values are used for both system activities (node discovery, data re-balance etc.) and user activities (get, put). We would like to set the request timeout for get/put. But a low threshold like 10 ms sometimes causes the system activities to fail. Is there a way for us to separately set the timeout values? Or even is it possible to setup timeout on individual calls (like get(key, timeout))?
    -thanks

    Hi,
    not necessarily for get and put methods, but for queries, entry-processor and entry-aggregator and invocable agent sending, you can make the sent filter or aggregator or entry-processor or agent implement PriorityTask, which allows you to make QoS expectations known to Coherence. Most or all stock aggregators and entry-processors implement PriorityTask, if I correctly remember.
    For more info, look at the documentation of PriorityTask.
    Best regards,
    Robert

Maybe you are looking for

  • Output error on different reports

    Hello friends, I'm facing problem in report output on different requests. The requests are being completed successfully but when I click on view output it either tries to open a new webpage which get vanished without showing any output, shows xml cod

  • PDF to spool to run program in background

    Hi Experts, i have created a custom program by copying FP_TEST_00 and gave nodialog mode for out parameters which will supress the prompt for printer and that i can run it in background. i just want the data to written to spool. call function 'FP_JOB

  • Problems with sent items

    Hi, I have just purchased a Macbook pro and cannot get the sent items to display on my ipad or iphone. Likewise sent items on ipad and iphone do not appear on my Mac.  Any ideas please??

  • Saving Workspaces in Illustrator CS5

    I am currently running Mac OS 10.6.3 and Illustrator CS5. Every time I change the workspace and save it, it is nowhere to be found let alone loaded. Any solutions?

  • My photoshop cs6 seems to be running very slow lately--not sure why? [was:question-please help]

    My photoshop cs6 seems to be running very slow lately--not sure why?