HTTP Jar Download Read Timeout
For some reason I've been having a hard time finding the setting which controls the read timeout for JAR downloads. At the moment it looks like it will never timeout such that if I am about to download a jar and the server goes down, the read will never timeout.
TIA
Yeah, jar downloading will use URLConnection and HTTP by default. What is not clear to me is if you can set the read timeout value in 1.4.2 and if my presumption is correct that if one does not set a read timeout value that a client could hang on a read indefinitely. I don't have the source to any concrete subclass of HttpUrlConnection that has a settable read timeout value.
Similar Messages
-
I need to set the timeout in the client deployed in weblogic 8.1 when making a call to a webservice.
I have tried the following code:
((ManagePrepaidCardRegistrationPort_Stub) managePrepaidCardRegistrationPort)._setProperty("weblogic.wsee.transport.read.timeout","10");
and get the following error:
java.lang.UnsupportedOperationException: unknow property:weblogic.wsee.transport.read.timeout
at weblogic.webservice.core.rpc.StubImpl._setProperty(StubImpl.java:146)
How do I do set the timeout property in the client deployed on weblogic 8.1 sp4 when making a call to a webservice?
I would appreciate any pointers?
Cheers
CharlieHi,
WLS 10.3 documentation
=======================
http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webserv_ref/anttasks.html
<taskdef name="clientgen"
classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
once you generate client stubs you can use below options
The below options are for timeout only for JAX-RPC Webservice clients generated from clientgen:
import javax.xml.rpc.Stub;
((Stub)port)._setProperty(weblogic.wsee.transport.connection.timeout,2);
((Stub)port)._setProperty(weblogic.wsee.transport.read.timeoutt,2);
how are you running your client what are jar files are there in the classpath when running the client
http://docs.oracle.com/cd/E13222_01/wls/docs103/webserv/client.html#standalone_invoke
Regards,
Sunil P -
Jar download not working over dial up
Hey,
Our webstart application works just fine while connected to the lan at work. The various jars required by the application are downloaded without any problems.
However, when I try to access the same application over dial up (I have tried netzero and aol), the jar download fails in a rather weird fashion.
On clicking on the link for the application, the main jar e.g. main-application.jar downloads just fine, but the next jar in line fails with the following message
Unable to load resource: https://server.com:443/application/lib/axis.jar
Exception
JNLPException[category: Download Error : Exception: java.net.SocketException: Unexpected end of file from server : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)
Now, when i click on the application launch again, it proceeds to download the next jar e.g axis.jar in this case without a problem, but it will fail on the next jar
snippet from my jnlp file
<jar href="application.jar"/>
<jar href="lib/axis.jar"/>
<jar href="lib/castor-0.9.5.2-xml.jar"/>
<jar href="lib/commons-beanutils-1.5.jar"/>
<jar href="lib/commons-collections-2.1.jar"/>
Note : All of this works fine when im not using dial up to connect.
Does anyone have any ideas ?
Any help is greatly appreciatedpboeykens,
It may definitely be something with my network and/or firewall configuration. I'm just not sure where to look yet.
I have tried modifying apache settings to no avail.
I've tried turning KeepAlives off, changing the keep alive timeout and the max number of keep alives allowed on apache, but none of these setting changes had any effect on the jar download.
If you have any suggestions for what I might look at as far as my firewall settings, then I can take that to my security department.
My next step is to try and enable the debug logging with webstart to maybe get a better idea of why it thinks that no jar is available.
Thanks -
Read Timeout is not working with business service in OSB 11.6
HI All,
We have set below configuration in "Http Transport Configuration" of a business service.
Read Timeout- 8
Connection Timeout - 8
Authentication - None
Proxy Serve
Follow HTTP redirects - Disable
Use Chunked Streaming Mode - Enable
Even though backend is taking more than the configured value in Read Timeout but timeout is not happening in OSB, Connection time out also not worked, when we tested with wrong backend URL.
Any help for this configuration would appreciated.
Thanks,.Hi,
Have you invoked any Services before calling the Business Service.
If Yes, then the problem with the Invoked service.In this scenario even if you set the time out period it will not work..
If No, your request payload is high
Regards,
Kiran -
adobe reader download problem on mac. when i try to download reader it says i need adobe air. when i try to download adobe air it says it's no longer available or supported. i deleted the old air because i got a message saying i needed to delete it. what should i do? my operating system is Mac 10.7.5
You don't need Adobe AIR to download or install Adobe Reader.
Try downloading the offline installer from http://get.adobe.com/reader/enterprise/ -
I am getting an error message when I go to open a PDF file on my MAC that says "Before viewing PDF documents in this browser you must launch Adobe Reader and accept the end user agreement. I have already downloaded Reader many times and followed all of the troubleshooting options. I have matched up my software, which is the latest version and checked to make sure my internet security is enabling java script. I don't know what to do. Please help.
Chrome uses it's own pdf viewer. That's why you don't get the message.
If you are still having the problem on a Mac try:
Make sure your files are not hidden : http://osxdaily.com/2009/02/25/show-hidden-files-in-os-x/
Quit Safari and Adobe Reader if running.
Go to HD/<Users>/<user name>/Library/Preferences/ delete com.adobe.Reader.plist
Launch Adobe Reader from /Applications/
You should be prompted to accept EULA.
If on a Windows machine, do what Bernd described above. Launch Adobe Reader on it's own, not by double clicking a pdf or a link in a browser. -
I have a timeout question about RT FIFO Read in Producer/Consumer system. Here is the scenario.
Producer writes data to RT FIFO via RT FIFO Write;
Consumer read data from RT FIFO via RT FIFO Read with timeout 100ms;
If RT FIFO is empty, returns 100ms timeout and stops Producer and Consumer.
If RT FIFO is not empty, process the data from FIFO and continue Producer/Consumer.
As I understand, RT FIFO empty means 100ms timeout. But the 100ms timeout condition does not behave properly as expected.
Am I understanding the FIFO Read timeout correctly?
Thanks!MileP,
I find the best way to learn about Real-Time FIFOs is to run some examples of them, check these out and let me know what you think:
https://decibel.ni.com/content/docs/DOC-2303
https://decibel.ni.com/content/docs/DOC-9893
http://zone.ni.com/devzone/cda/tut/p/id/3934
I hope this helps get you going
Sam S
Applications Engineer
National Instruments -
Downloaded Reader, it does not open PDF document
Downloaded Reader, icon in tray, icon is in desktop. Program does not open a PDF. What is a cure?
You need to use the iOS method of getting a PDF file into Reader. Read this document for help:
http://forums.adobe.com/docs/DOC-2532 -
OSB Business Service is not timing out on Connection/Read timeout
I have a weird problem with my business service in OSB. I have set the read timeout value as 1 sec and Connection timeout value as 1 sec. The response from backend is taking more than 2 seconds or even 3 seconds but still my business service is not timing out..! My service is still listening to the response from backend even if it comes after 3 seconds. I expect it to timeout after 2 seconds. Any ideas?
Business Service Configurations:
Service Type: Any type
Protocol: http
Retry count : 0
Retry Application Errors: No
Read Timeout: 0
Connection Timeout: 0
HTTP Request Method: POST
Result Caching: No
Let me know if you need any more information. Thanks in Advance.
Regards
KaleemAbhishekJ wrote:
Maximum possible successful response time of the service will be less than Read TO + Connection TO.
Alas, this is not true.
Maximum possible response time is infinity.
There are two reasons for that.
1. Read timeout is not counted as time from the successful connection establishing to the current moment. It is measured as time from the last received byte to now. Imagine a backend service that sends a single byte in a data packet every 500ms. Despite you have read timeout set to 1, the receiving of 3K message will take 25 minutes, and yet your Biz service will not timeout.
2. In HTTPS, handshake is handled by a separate library which has its own quirks. Specifically, if the key exchange is broken at particular point of handshake, the library re-establishes the connection and does it few times; in my experiements, the largest I could delay the eventual fault was about 3 minutes.
Having said that, in the OP message the configuration is Read=0, Connect=0, so I wonder why the timeout is expected. -
When downloading Reader 8.0 a message SGC15.exe
When I download Reader 8.0 there is a message from McAfee that there is a trojan horse SGC15.exe with is blocked by McAfee.
Why ????? this message from the Adobe site.It may be a false report, this happens all the time with anti-virus.
So long as people report this sort of thing to the anti-virus maker it
is usually sorted out quickly. Start by updating the Mcafee stuff.
This was seen at least six months ago, so it should be sorted by now.
If that doesn't help, double check that you are on the real Adobe
site, not an imposter trying to deliver bad software (this can
happen). Go to http://www.adobe.com/acrobat/readstep.html to download.
If that still doesn't help either
(a) contact McAfee for help or
(b) temporarily switch it off to get Reader loaded.
Aandi Inston -
read-timeout-seconds not working
(WL 5.1, SP 11)
Hi all,
I'm playing around with Read-Only entity beans, and I get a problem
with the read-timeout-seconds property. I've set my
weblogic-ejb-jar.xml like this:
<ejb-name>product.entity</ejb-name>
<caching-descriptor>
<max-beans-in-cache>1000</max-beans-in-cache>
<cache-strategy>Read-Only</cache-strategy>
<read-timeout-seconds>60</read-timeout-seconds>
</caching-descriptor>
The first call to the EJB caches the database record, and subsequent
calls use the cache. My problem: Even if I delete the database record
directly (I know, I shouldn't do that... but like I said, I'm playing
around here... ;)) and wait for more than 60 seconds, the next call to
the bean still returns the same cached entry.
I tried with <idle-timeout-seconds> set to 60, and it doesn't work
neither.
I've seen in previous messages that this problem (or similar) was
fixed in SP4, but I use SP11, so it shouldn't be the problem.
Thanks for your help!
PhilHi,
Have you invoked any Services before calling the Business Service.
If Yes, then the problem with the Invoked service.In this scenario even if you set the time out period it will not work..
If No, your request payload is high
Regards,
Kiran -
I could not download Reader 11 en.
I could no download Reader 11 en. During downloading, error was happend and message was " Setup has detected that you already have a more functional product installed. Setup will now terminate.
You can try using this tool to remove all traces of previous versions of Reader:
http://labs.adobe.com/downloads/acrobatcleaner.html
Then, download the full offline Reader installer from
http://get.adobe.com/reader/enterprise/
and run it immediately after restarting your computer. -
Cannot download Reader 9.4
Hi
Just purchased a new HP 200-5120uk, with Windows 7 and Norton Internet Security
Cannot download reader 9.4 -download hangs at 31.7%
Tried switching off antivirus but no help
Any ideas?Have you tried downloading the executable directly from:
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.4.0/en_US/AdbeR dr940_en_US.exe -
Unable to Download Reader - Web Site Problem
I cannot download Reader due to a serious Adobe Web Site problem.
When I go to -
http://www.adobe.com/uk/
and select "download reader" - I get sent to
http://get.adobe.com/uk/reader/
I then click on "install now" - and I get sent to
http://www.adobe.com/uk/
AND SO IT GOES ON AND ON IN CIRCLES.
I require the circle breaking so I can download a copy of the Reader software.
Message was edited by: wychegnomeI have run Regedit and found two instances of z:rc204D Content\iPad Media\Pictures in keys My Pictures
These were in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Explorer\Shell Folders
and
HKEY_CURRENT_USER\Software\Microsoft\Windows\Explorer\User Shell Folders
Redirecting these to the default MY PICTURES on the c: drive has allowed the installer to run and almost complete the process to the point of installing the files and putting an icon on the desktop.
It now whinges with Error 1923. Service Acrobat Update Service (AdobeARMService) could not be installed. Verify that you have sufficient privileges to install system services.
I am the only user of the computer and DO have full privileges. I get the same response when I run the installer program as An Administrator.
What else does it require to allow it to install properly? -
Cannot Download Reader 9 - IE 7 Shuts Down
Running Vista (ugh). Everytime I try and download Reader 9 - IE7 shuts down - no message other than IE is closing down. Tried downloading from cnet and the official adobe site. Tried turning off firewall, antivirus, etc. No difference. Don't have any problems downloading any other software from different sites. Is there any place to download an earlier version of adobe reader that will work? Thanks...Michelle
A simple file download should not shut down your browser; if it does, I would suspect some malware infection. Sorry, this forum is not the right place to give you advice on how to handle this.
Try downloading the installer from http://download.adobe.com/pub/adobe/reader/win/9.x/9.0/enu/AdbeRdr90_en_US.exe
Maybe you are looking for
-
Need help connecting my macbook pro to my tv!
I want to hook up my macbook pro to my tv so i bought the mini display port to HDMI adapter and an hdmi cord but when i plug it in my computer is using the TV as a dual screen. Does anyone know how to fix this? is there an option to turn off the dual
-
Can't wirelessly connect HP c7280 for home wireless network using A.express
Hey there, I'm hoping someone can help me. I recently purchased a HP C7280 multifunction printer and have had a wired connection with my new iMac. I'd like to connect wireless and am having extraordinary difficulty. I'm using the latest leopard updat
-
BO XI 3.1 SP2 error while installing in Windows 2008 ENT Server 32 Bit
Hi We have windows 2008 enterprise edition 32 Bit SP2 , While installing BO 3.1 SP2 we are getting the following error. "Some files could not be created. Please close all applications, reboot Windows and restart this installation." 1.we do have eno
-
Create new repository in db 11.1.0.7.3
Hi I am trying to use RepManager from a Grid Control v10.2.0.5 (fully patched) home to create a new Grid Control repository within a Database v11.1.0.7.3 (fully patched) and it falls over stating the following error on screen: Repository Creation fai
-
Anyone know how to transfer Nokia N8 message to No...
I got my Nokia N8, but all the message I sync into the Nokia Suite. However, I going to buy a Nokia's Windows Phone, how can I transfer all the message to Windows phone from the Nokia Suite? Solved! Go to Solution.