Incompatibility between 1.4.1 and 1.4.2

We have been developing under JDK1.4.1 for some time, and now need to move to JDK1.4.2, but have run into a problem when attempting to run under 1.4.2
1) code compiled under 1.4.1 does not run under 1.4.2
2) code that compiled and ran under 1.4.1, when compiled with 1.4.2 does not run under 1.4.2.
3) code compiled under 1.4.1 ran correctly under 1.4.1 on both unix and windows
4) attempting to run under 1.4.2 fails on both unix and windows
I have isolated the problem down to a simple test where a client sends a login request to a server:
a) under 1.4.1 the client sends the login request and the server receives it
b) under 1.4.2, the client should send the login request, but the server never receives the request
The server creates a ServerSocket and calls accept on a seperate thread waiting for accept to complete, which it does in both 1.4.1 and 1.4.2
The client sits in a wait loop waiting to be interrupted:
in 1.4.1 it does get interrupted (this.wait() is interrupted and catch clause catches InterruptedException)
in 1.4.2 it does NOT get interrupted (this.wait() hangs indefinitely)
synchronized(this) {
while (((ClientSocketConnection)getConnection()).isClosed()) {
try {
getTracer().message(this, "start", "Wait until notified of start");
this.wait();
} catch (InterruptedException e) {}
getTracer().message(this, "start", "Lets check if we are connected");
if (((ClientSocketConnection)getConnection()).isClosed())
throw new ProtocolException("Could not connect "+connectionId+". Check configuration");
Ok, the details are a bit sketchy, but I wondered if anyone has had anything similar / can shed any light / can point me in the right direction
After a bit more digging around, I find that the actual code line that is hanging is in another class, and is the API 'register' call on java.nio.channels.SocketChannel class
The code is attempting to set the channel associated with the socket connection to be read/writable and makes the call
socketChannel.register(selector, SelectionKey.OP_WRITE | SelectionKey.OP_READ, socketConnection);
- where
socketChannel is a java.nio.channels.SocketChannel
selector is a java.nio.channels.Selector
socketConnection is our own class representing the socket connection
This call completes and returns in 1.4.1, but hangs in 1.4.2
Anyone got any ideas or run into something similar
Thanks

Just some remarks.
Might need to undo the synchronized before the wait.
You might have a channel involved: see javadoc on isBlocking and blockingLock.

Similar Messages

  • Is there any incompatibility between Labview 8.5 and Traditional DAQ?

    Hi,  I`m using a DAQPad 6020E and the Labview 8.5 Daq assistant don`t detecte my DAQ when a try to create a new task (to create a new virtual chanel). But MAX detect the DaqPad. So, is ther any incompatibility between Labview 8.5 and traditional Daq? Do you know how can I resolve this?
    Thanks.

    First, you posted to the wrong board. Measure is an old add-on for Excel.
    Second, there is no incompatibility between LabVIEW 8.5 and tradtional DAQ. There is an incompatibility between traditional DAQ and DAQmx which is what the DAQ Assistant uses. Make sure that you install DAQmx if your device is supported by it. Otherwise, you will not be able to use the DAQ Assistant.

  • Incompatibility between 10.6.3 and copying video with keynote

    it exists an incompatibility between 10.6.3 and copying video with keynote on MacBook Air first generation.
    copying video is OK with videoprojectors
    the screen of MBA is unreadable during diaporama
    With many viseoprojectors
    then >escape to stop the diaporama, but screen always unreadable.
    change the resolution is necessary to resolve.
    this problem is reproductive
    zap PRAM (and VRAM) > no change
    rebuild autorisations > no change
    take off preferences > no change
    reinstallation 10.6.3 > no change
    reinstallation Keynote 09 > no change
    Re-intallation 10.6
    no problem under 10.6
    your opinion?

    No problem with update:
    10.6 > 10.6.2
    and others updates one to one (printers, airport, java, safari...)
    Only with 10.6.3
    Best regards.

  • Incompatibility between JDK 1.4 and Windows XP Fax and Picture Viewer

    I have noticed an incompatibility between JPG files that are output from Windows XP Fax and Picture Viewer and read in by JDK 1.4 (or 1.4.1). In particular, when an image is transfered from a digital camera to a Windows XP machine, then rotated and saved in the Windows XP Fax and Picture Viewer, the resulting image file appears with corrupted colors when read and saved by the ImageIO class in JDK 1.4.
    Here is my code:
         import java.awt.image.BufferedImage;
         import javax.imageio.ImageIO;
         BufferedImage buffImg = ImageIO.read (new File ("in.jpg"));
         ImageIO.write (buffImg, "jpg", new File ("out.jpg"));
    I have also output the file with graphics format PNG and seen similar apparent corruption of colors.
    This is an image that was loaded onto Windows XP from a digital camera then rotated 90 degrees and saved with the Windows XP Fax and Picture Viewer:
    http://www.adigitalsolution.net/pics/verticalOrig.jpg
    Here is the same image read and written by JDK 1.4 ImageIO.read() and ImageIO.write():
    http://www.adigitalsolution.net/pics/verticalJavaOut.jpg
    Note that the colors appear corrupted in the above image.
    This is an image copied directly from a Sony Cybershot DSC - P71 digital camera:
    http://www.adigitalsolution.net/pics/horizontalOrig.jpg
    Here is the same image read and written by JDK 1.4 ImageIO.read() and ImageIO.write():
    http://www.adigitalsolution.net/pics/horizontalJavaOut.jpg
    It appears fine (brilliant tropical colors).
    Note that both images contain the "EXIF" header, which is the JPEG-like format used by many digital cameras. Some may say that the JDK 1.4 spec does not support EXIF, but the image not touched by Windows XP was read successfully. And other image editing programs read in both successfully, such as PaintshopPro and the Mozilla 1.0 web browser. But there is a specific incompatibility with JDK 1.4.
    I have reproduced this problem on Windows NT 4 and Red Hat Linux 7.3 using an image file that was saved on Windows XP.
    Here is a warning from Nikon about the behavior of Windows XP Fax and Picture Viewer:
    http://www.dpreview.com/news/0112/01121402nikonxpwarnings.asp
    Does anybody know a workaround?

    This is scary and explains why some of my Exif headers are trashed.
    I would guess the problem has something to do with XP not writing the file back out 100% true to the JPEG spec.
    Really annoying that they do this. They think they can just hack up and change standards that are not their own. Take their FTP client in Windows XP. Talk about a broken client.
    My suggestion is to dis-associate jpegs with XP's image and fax viewer. Instead associate them with Mozilla.

  • Contact card format incompatibility between Outlook for Mac and Mac contacts

    Seems that Mac Office 2011 Outlook contacts no longer directly sync with iPhone, I use a manual process of dragging the vcf file from my Outlook contacts list to a desktop folder and then dragging the contact from that folder to my Mac Contacts file. Even though Mac contacts file accepts the file, sometimes information is missing and the contact data won't go to the icloud and thence post to my iPhone. It's as if the .vcf format from Outlook isn't a match for the .vcf file format that Mac Contacts expects. Many times I have to manually copy the contact data from the outlook contact into a new contact file in Mac Contacts to get that contact to sync across iCloud to my iPhone. Can anyone tell me what the problem might be?

    Hello,
    Open both in Text Wrangler, 2nd line should show version, are they the same?
    What are the differences beyond there?
    Do some Outlook entries have some separators in the entry, like : or ; that may be throwing off the fields?

  • MOVED: Incompatibility between nVidia based motherboard and ATI based graphics?

    This topic has been moved to Off-Topic Technical.
    https://forum-en.msi.com/index.php?topic=125552.0

    Sounds to me you run short on IRQ's .
    Make sure to "Load Optimized Defaults" in mobo BIOS so set IOAPIC=Enabled and MPS version = 1.4 . Then reinstall OS.
    If not this is done it's a no go.

  • MOVED: Incompatibility between MSI K8NGM-V and DDR400mhz

    This topic has been moved to AMD64 nVidia Based board.
    https://forum-en.msi.com/index.php?topic=92845.0

    MSI K8NGM-V is not a Via board so please do not continue the topic there. I will move it...
    Second; If you have one Dimm that is DDR400 and another that is DDR333 then both Dimms will run at the slowest common speed which in this case is DDR333. You really should not max RAM anyways.
    Just a point of info... The MB is not a problem for memory timings anyways. The memory controller is not on the MB in a K8 based system. It is inside of the CPU and you have to conform to the CPU's RAM controller for what you may or may not use for RAM. There are many levels of memory controllers built into the various K8 CPU's so you should get familiar with what your CPU that you have will and won't do for RAM. That will help answer some of your questions.

  • Any news on a fix for incompatibility between non-apple docks and ios 7?

    Neither Bose nor Sony dock will play music after "upgrading" to ios 7. I've seen many complaints on these forums but haven't heard any sort of response from Apple. None of the "fixes" have worked for me. Any news about a patch? Thanks.

    Here's what M-Audio's support sent me today:
    The iControl Protocol (the protocol by which the iControl Control Surface communicates with Garage Band and Logic) was created by Apple, and the iControl Control Surface was designed by M-Audio to Apple s specifications. The iControl has no drivers to install and is class compliant.
    It has happened over the course of Garage Band and Logic development that some updates (both major and incremental) of these applications have had the side effect of changing the way certain features of iControl interact with the Apple software.
    Since the iControl was built to Apple s original specifications, and since the device uses no drivers (therefore no M-Audio drivers to update), there is no way for M-Audio to address these issues directly. Any fixes for these issues would have to come in the form of updates to Garage Band or Logic.
    That obviously doesn't keep them from marketing and selling it ...

  • Incompatibility between Audigy SE onboard and Inspire T7900 7.

    Hello?I have bought the Creative Inspire T7900 7. speakers. I have a motherboard MSI K8N Diamon Plus with Audigy SE on board?My side satellites don't work !!!?I mention that:- I have the latest audio XP drivers for my on board audio- the cables are in the right positions- the soft settings are put on 7.- the CMSS is on- in my motherboard help book I saw a drawing (schematics) where for an 8 channel sound (7.) you have to have 4?jacks which?will be connected to?the audio board- the cable from Creative, which connects the sub (amplif) with the PC, has only 3?jacks?for the PC end
    ?Please help me!?Thank youMessage Edited by dragossalvetiu on 07-3-200708: PM
    Message Edited by dragossalvetiu on 07-3-200708:2 PM

    Disconnect the grey audio cable from the speaker subwoofer and grab a piece of 3.5mm minijack stereo cable. Connect one end of the stereo cable to the audio port on the speaker that you have just disconnected and the other end to your onboard audio side audio jack.
    Jason

  • Incompatibility between Diamond Plus and EVGA 7900GT series?

    Hello again!
    I began to wonder if there might be a problem with my video card. I am almost sure that MSI with nForce4 doesn't make a good team with EVGA 7900 GT CO SC.
    I know that the SuperClocked model has problems (mine has also), but the problem is this one: my 3dmark06 scores are in the 3800..4700 range. It's just random. I always ran the tests in the same conditions (stopped antivirus, etc. and all other background/real time processes that could be stopped).
    I saying that this is an incompatibility because I know another person that has a MSI nForce4 board (not my model) and a SuperClocked EVGA 7900GT and he experiences the same problems.
    I'm sure that this is not an OS/drivers related problems. I carefully installed all "things".
    If you have any sugestions please shoot...
    I guess I should be thinking about changing my video card, because I like too much the mobo.
    The guy that helped me OC my rig, measured the Vcore and it was exactly 1,399 V. And it stayed that way. The multimeter was a brand one, so I trust his measurements. He told me that this is the most stable Vcore that he has seen in his life. Even DFI doesn't have such a stable Vcore. And he also compared the measurements with the BIOS settings, and he said that the mobo is over-volting. For having a 1,4 measured Vcore, I had to se 1,35V  in BIOS.
    If you had seen this problems before, please input here.
    As you already know, your help is greatly appreciated.
    Thank you!

    Yes, I tried to run the tests without OC and the results remained unchanged for the shaders.
    I'm 90% sure that this is an incompatibility issue because I had tried today my video card in two other computers and it ran smoothly. It even supported 568/1840 (550/1580 are the stock freqs, as you already know). Those computers were having Asus A8NE and DFI Ultra-D mobos.
    Sooo... this is an incompatibility between MSI with nForce4 and EVGA 7900 series.
    I generalize because I know another guy with another mobo from MSI with nForce4 SLI (the simple SLI, not X16 like Diamond Plus) which preferred to change his EVGA video card with a Leadtek.
    Don't believe me? No problem, it's your money and your time.
    But... If you want no headackes, don't mix MSI with nForce4 and EVGA 7900 series.
    Btw, the guy with the DFI board that I was writing about earlier, was the technician that is working at the store from where I bought the EVGA.
    Boy... poor little man... you should have seen his face when  I told him about the problems with the video card... When no problems were found after testing it, you should have seen my face... Boy... I was so ashamed...
    All in all, it would be a great thing if MSI would launch more often BIOSes for their/our mobos... Preferably stable BIOSes, where you don't see things "dissapearing". I paid 240$ for this mobo in my country...
    Bas, don't get me wrong. I love this mobo and I would not change it for anything else, but I feel that it's true potential is not fully used; like a car equiped with a powerfull engine, but because of a poor designed ECU, it doesn't put all its horses on the ground.
    I repeat, I am not arguing with any one, I had just written my wishes.
    Cheers!

  • Compatibility issues between solaris 10 patches and Weblogic server 9.2

    Is there any documentation about possible incompatibility between certain solaris patches and Weblogic server?

    Hi,
    Can you post the output of below commands from your OS?
    uname -a
    getconf LONG_BIT
    Do you want to download and install 64-bit WLS 9.2 on your OS?
    - - Tarun

  • Incompatibility between iTunes 11.1.3 and Apple TV?

    Up until a few days ago, our 3rd generation Apple TV, purchased in August 2013, permitted home sharing with our iTunes music library without any problem. After having gone through every troubleshooting suggestion, we can no longer access the iTunes library. We can still view movies, movie trailers, YouTube, Smithsonian, Vimeo, etc. Even though home sharing is set to "on" for both iTunes and ATV, the iTunes music library refuses to open. This 3rd generation ATV is connected with an eithernet cable, a connection I assumed would guarantee fault-free operation.
    Our older ATV is 2nd generation and its connection is wireless. Thus far this older ATV has no problem gaining access to our iTunes music library.
    Is there an incompatibility between iTunes 11.1.3 (8) and the 3rd generation Apple TV that could be causing this trouble?

    No, there is no compatibility issue.
    There is a network issue causing problems.  Most AirPlay issues boils down to a networking issue, especially when one ATV connects and the other does not.

  • About incompatibility between Solaris 10 and Solaris 8

    Dear all
    I am investigating about incompatibility between Solaris 10 and Solaris 8.
    But I can't find incompatibility information (I can find some compatibility imformation).
    Please tell me about that if you know.
    Any suggestions would be appreciated.
    Thanks

    Programs running on Solaris 8 should run on Solaris 10, but programs that run on Solaris 10 won't necessarily run on Solaris 8.
    Solaris is always forward-compatible.
    .7/M.

  • Severe Incompatibility between Mac Pro 2012 power supply and Tripp Lite 2400 watt Line Conditioner [switching transformer].

    Severe Incompatibility between Mac Pro 2012 power supply and Tripp Lite LC2400 [switching transformer].
    The Mac Pro will not power on when connected to the Tripp Lite LC2400. The Power Supply makes continuous clicking noises and repeatedly resets the Mac Pro every 3 seconds.
    The same Mac Pro connected to an outlet with no Tripp Lite starts up with no problem.

    Hi,
    I've the same notebook. I've not had any hardlocks so far, but I've not seen so much flash movies yet. Anyway, I just tried closing running youtube-video tab on Kde4 + enabled desktop effects -> Everything's fine.
    Anyway, perhaps we can collect some issues and solutions in this thread. Here are problems, that I encounter:
    - restart does not work
    - errors during boot:
    [ 2.399277] pnp 00:0b: [irq 23]
    [ 2.399308] pnp 00:0b: Plug and Play ACPI device, IDs SMO8800 (active)
    [ 2.932179] pnp 00:0c: can't evaluate _CRS: 12311
    [ 14.616662] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07
    [ 14.616771] iTCO_wdt: Found a Cougar Point TCO device (Version=2, TCOBASE=0x0460)
    [ 14.616792] iTCO_wdt: cannot register miscdev on minor=130 (err=-16)
    [ 14.616904] iTCO_wdt: probe of iTCO_wdt failed with error -16
    [ 9.262898] sdhci-pci 0000:0b:00.1: SDHCI controller found [1217:8321] (rev 5)
    [ 9.262920] sdhci-pci 0000:0b:00.1: PCI INT B -> GSI 18 (level, low) -> IRQ 18
    [ 9.262966] sdhci-pci 0000:0b:00.1: Invalid iomem size. You may experience problems.
    [ 9.263176] sdhci-pci 0000:0b:00.1: setting latency timer to 64
    Issued solved:
    - in order to make nvidia graphics working you have to disable Optimius in BIOS.
    - Battery not recognized -- fixed after recend updates
    - grub2 does not work. As soon as grub2 loads, the laptop reboots. -> stick to grub1  --  works now (either I did sth wrong the first time or a new version of grub2 fixes this issue)
    - in order to make the touchpad work properly install psmouse-elantech from AUR
       update: this is only a half-solution. vertical scrolling on the right edge works but graphical tools which rely on x11-input-synpatics still don't work. However, everything works fine with kernel 3.3. Once this in the main arch repos you won't need psmouse-elantech anymore.
    Last edited by knue (2012-03-06 23:26:26)

  • Possible consolidation incompatability between Vista and OSX ?

    I want to use the same library with my iTunes sessions in Vista and OSX.
    The library is located on an external HD.
    iTunes is configured on both platforms to keep music organized. I used the consolidate feature to initially move the music from the OSX partition to the external HD. No problem there.
    But then when I pointed my Vista session of iTunes to the new library, it wanted to organize the music again. Assuming it would not do much since I had just consolidated from the OSX side, I allowed it to proceed. Now most of the music on the OSX session has exclamation points, indicating that the music had been moved and the pointers are lost.
    Is there an incompatibility between consolidation methodologies between OSX and Vista versions of iTunes? Is it not possible for me to have iTunes from differences operating systems manage the same library?
    I appreciate any help with this...

    dbustani wrote:
    So if I turn off "keep organized", how do I in fact keep things organized as I rip CD's from both platforms?
    When you rip a CD, iTunes will put the tracks in proper "organized" (Artist/Album) location. However, the second iTunes will not know it is there. You can either (a) add the new files manually to the second iTunes, via File > Add Folder to Library, or (b) run a 3rd party folder-watching program such as iTunes Folder Watch that will add them automatically as they appear. Disclaimer: I have not personally used that program, so read up and make sure you are happy with it.

Maybe you are looking for

  • A/P Invoice Error

    Hi All When you add an A/P Invoice document the following message appears why? "This entry already exists in the following tables (PCH1) (ODBC-2035)" Thanks SV Reddy

  • OEDQ - IndividualMatch WebService Testing

    Hi, I would like to test OEDQ IndividualMatch web service using Web Service Tester. I have created 2 records and provided similar value. I got result back saying "No Records in Result". Please help me to test this functionality. EDQ Version : 9.0.8 E

  • How do you center text vertically?

    i've looked through everything and i cant seem to figure it out. please help

  • HT1695 I NEED SOME HELP CONNECTING TO MY NEW IPAD

    yes i need some help to set my new ipad can u plz help

  • I need help, motherboard and RAM

    Tomorrow morning I have to buy all the parts, and only left me two. My options were: Deluxe Asus P9X79-WS, Asus X79 Rampage or ASRock Fatal1ty Champion,Gigabyte  Ga-X79s- UP5 Any other options? Hare 3930k OC without touching the voltage. In thinking