SocketTimeoutException prblem - please advise
Hi all,
I'm performing an RMI call to the server in order to perform a task which is time consuming.
After exactly 3 minutes, the client crashes with the following exception:
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.audioCodes.ems.server.framework.DispatcherImpl_Stub.sendRequest(DispatcherImpl_Stub.java:126)
at com.audioCodes.ems.server.framework.emsCli.EmsCli.performManualBackup(EmsCli.java:321)
at com.audioCodes.ems.server.framework.emsCli.EmsCli.main(EmsCli.java:267)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:284)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:319)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:677)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at java.io.DataInputStream.readByte(DataInputStream.java:241)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189)
... 4 more
I tried to set both sun.rmi.transport.connectionTimeout and sun.rmi.transport.handshakeTimeout to much longer timeout but it didn't work.
What could be the problem? Which timeout does it refer to?
Java concurrency and threading models are so good and easy to use. I am just wondering why you don't use them to implement your own timeout.
In my design, I use the SwingWorker to fire a call with any timeout I want. I poll its status and if it expires, I completely abandon the call and start over. The call would eventually expire and the resources get garbage collected. And hopefully, the sockets/connections are cleaned up properly (that would be a different subject.). If the call is completed properly within the timeout I set, the SwingWorker will update the GUI or whatever objects.
Similar Messages
-
Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
== This happened ==
Every time Firefox opened
== I tried to update firefox add-ons ==
== User Agent ==
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7Try a new profile. See [[Recovering important data from an old profile]]
-
Link to A folder View in a PDF Portfolio - feature no longer working - please advise
Hi, I am no longer able to link to a Folder View of a PDF Portfolio:
Within a PDF portfolio i need to link from a PDF to a folder view in the Portfolio. I am using Link Action - Go to Page View.
This used to work for me - very important feature that no longer works. Please advise a workaround.
Steps:
1. Start a PDF Portfolio that contains files and folders
2. Open a PDF in the Portfolio
3. in the opened PDF click Add or Edit Link
4. Define a link area and set it to Go To A Page Vies
5. In the past i have been able to target a Folder View in the Portfolio - ie. direct a user not to a file, but instead to a folder view that contains relevant files. I would do this by setting the Target Page View to my desired folder view
6. This used to work in bringing a user to the folder view i specify. Now it does nothing. If i go back to the PDF and EDIT the Link i see this. File: Parent Document Page 1. This in fact does nothing.
Please advise, am i doing this wrong, it used to work. I have tried several workarounds, with no luck.
thanks!
Alejandro Collados-Nunez
Graphic Designer | Art Director
| e: [email protected]
| w: www.1lb.caThere's an extension or two, or a combination of extensions which seem to be causing that in Firefox 6.0.2. One that has been mentioned is TabMix Plus.
http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
You need to figure out what is causing it, and disable that extension/s until they are fixed by their developer. -
Just curious...about two weeks ago I was able to print my ical calendar in month view. For some reason, "month view" is no longer an option in print mode. The only two options I have are day or list. Not sure how to print in month view now or retreive that back. Please advise : )
Be sure Safari does not have the Block Pop-Up Windows preference set.
Where I work now there are several unencrypted VLANs that require authentication, and Safari promptly pops up a window for me to register every time. -
I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file. I have run a number of searches and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps. The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members. I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?My apologies Eadeszoo I believe our support agents are unavailable on January 1.
Are you able to copy the contents of the DVD to your computer? Are you receiving any particular error messages when you are trying to install? Finally which operating system are you using? -
My wife and I both have iCloud accounts and would like to share photo's etc. Can any one please advise if this is possible and how to do it?
I have a Macbook-pro and Ipad, my wife has a much loved ipad.It's all described in iCloud Help here: http://help.apple.com/icloud/#mmc0cd7e99
-
Dear All,
I am a newbie to MAC world. Being an ex-PC guy, I am used to CDs and traditional software. I want to buy Aperture as my main photo editing software. I have been using DXO and Photoshop in the past. I downloaded Apeture trial version and I am comfortable with it. If I were to buy it, should I buy an app or traditional software CD. I edit approx. 4-5 pictures a day, just for personal use though. Please advise.
Regards,
Gurpreet.That's a function of your Credit Card not of the Software
But you're right, I was vague. Whether you buy from the App Store or the Disk makes no difference to the functionality of the software. It's the same.
Regards
TD -
i accidentally uploaded songs from cds to the wrong itunes library. i would like to move those songs to the regular itunes library that i use to purchase and download music, since my ipod cant sync to both libraries. how can i do this? please advise? thank you.
See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
https://discussions.apple.com/thread/2452022?start=0&tstart=0
B-rock -
Hp eprint home&biz app cannot find my hp officejet 100 mobile printer please advise?
I own a vizio tablet and a HP Officejet 100 mobile printer! I downloaded your Hp eprint home&biz app so I could print from my tablet and the download went will, I also registered via email. I went to print a form and your app could not locate my printer? Please advise,
ChuckHi Chuck,
HP ePrint Home & Biz only provide print capabilities over wired or wireless (802.11) network connection, Bluetooth connection is not supported as well the specific model is not supported by the app.
Can I print from the HP ePrint mobile app using USB or Bluetooth?
No. You can only print directly to supported HP printers on a local wireless network.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01923321&lc=en&cc=us&dlc=en&product=5076465#N85
Regards,
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
My friend sends me photos from his iPad 2 via email. However, when they arrive in my inbox on my iPad 2, the photos do not show up. I receive 20-some characters. Please advise as to the problem.
Try sending them via the Messages app as opposed to E-mail.
E-mail shouldn't normally be a problem, but Messages will do as a soloution.
To do so:
. You need iOS 5
1. Go to your Photo Gallery
2. Open up the album/ images you want to send
3. Press the share button (top right hand corner)
4. Select 'Send as Message' (not e- mail)
5. Select your friends Apple ID from your address book for his iPad
6. Voila!
- it's something along those lines...... my iPad is downstairs atm, but the actual way of doing it will be similar...... ! -
Could someone please advise on my current problem? Apparantly I can no longer download tones to my phone or account to be used as such since the tones are being downloaded as songs that cannot be transferred or placed in the tones area for the phone or in iTunes. Prior to the last update, this was always an option. I have also noticed that the Ringtones and Alert Tones are not showing up in my recent purchases as well to allow for me to place them back on my phone and there for require for them to be purchased again... Any help would be greatly appreciated!
I've discovered that all tones purchased will be downloaded as ringtones, BUT they can be utilized as tones and assigned as alert tones on the iPhone...
-
I want to purchase a month of cellular service for my IPAD2. When I use my ITunes password, it states that I have the wrong password but does not offer a way to reset my password. Please advise.
Read through this link and maybe you'll see something that will help you:
http://www.tech-recipes.com/rx/5827/ipad-3g-activating-purchasing-att-cellular-d ata-for-the-ipad-3gwifi/ -
I am trying to download adobe reader for my macbook air but it keeps stopping at 44%. I have downloaded the latest updates for my mac and retried numerous times. Please advise. Thank you
As posted about a dozen times every day, try the offline installer from http://get.adobe.com/reader/enterprise/
-
Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.
Thanks for your advise.
However, I missed to mention that we have two set of users One is for Finished Goods and another for Spares.
Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
Further, I tried to test one scenario through Processing Constraints but it did not work.
Application
OM
Validation Type
Entity
Temp
Short Name
TBL
Validation Semantics
Created By
Equal To
User(Myself)
Processing Cosntraint
Application
OM
Entity
Order Header
Constraint
Operation
User Action
Create
Not Allowed
Conditions
Group
Scope
Validation Entity
Record Set
Validation Template
101
Any
Order Header
Order
Above Created
Please advise. -
Hello,
I'm having problems on the Lightroom CC App,as it seem's that when I open the Develop heading at the top of the screen,there is message that comes,which says this section is disabled and I need to renew my membership.My membership is up to date regarding payments etc.I use the student/ teacher version of the CC as I'm a student.Can anybody please advise what the problems seem's to be and what can i do to access the develop and other facilities on Lightroom?
Many Thank's
J:)
Ps Is this a common problem on the Student/teaching version of CC?This is an indication that Lightroom is not connected to your subscription. Verify that your are logged into the Creative Cloud desktop app, or try logging out and back in again to refresh your subscription information: Sign out, Sign in | Creative Cloud Desktop app.
Also, verify that your student subscription is still current and active.
Maybe you are looking for
-
Why becomes the *.desktop installed but the *.xpm not in my PKGBUILD?
Hi, I'm a bit confused. I created a desktop and xpm file for vidalia. Here's the PKGBUILD: pkgname=vidalia pkgver=0.1.10 pkgrel=3 pkgdesc="Controller GUI for Tor" url="http://vidalia-project.net" arch=('i686' 'x86_64') license="GPL" depends=('qt>=4.2
-
Accidentally erased my "Recently Added" folder
How do I get this folder back? Its one of the preset folders with the purple icons in iTunes. I had tried to clear the folder, and it deleted it. Also, how do you clear the songs from the folder? Thanks.
-
How to share an Apple USB Superdrive?
Can I connect the Superdrive to a Time Capsule and share it just like a printer or harddrive?
-
Any way to increase font size in RoboHelp UI?
Hi. Is there any way to increase the font size of the text in the RoboHelp (11) UI itself, that is, for example, the items that appear in the Project manager, Topic List, Single Source Layouts, and other panels? I have my monitor set to optimal resol
-
Sync not working with iTunes since new update 11.1.1.11
I'm not sure what Apple are playing at, Since the new update I have not been able to sync anything to my iPhone 4. I tried every single thing I could think of and also been reading on the various discussion boards. Also has anyone else noticed that t