SDK 3.2 emulator and socket problem

Hi, all
I use syntax
javax.microedition.io.Connector.open("socket://host:port")
to create socket connection
and it works fine until sdk 3.2, in the new emulator i get exception:
java.io.IOException: IOError in socket::open = 11004\n
- com.sun.midp.io.j2me.socket.Protocol.open0(), bci=0
- com.sun.midp.io.j2me.socket.Protocol.connect(), bci=184
- com.sun.midp.io.j2me.socket.Protocol.open(), bci=216
- com.sun.midp.io.j2me.socket.Protocol.openPrim(), bci=4
- javax.microedition.io.Connector.open(), bci=47
- javax.microedition.io.Connector.open(), bci=3
- javax.microedition.io.Connector.open(), bci=2
i think it can be problem in
..\javame-sdk\3.2\work\JavaMEPhone1\device.properties
in line
runtime.internal.security.domain: maximum
k it makes maximum security, but i tryed to remove this line and wrote minimum, but nothing helps
please, help me to fix it )

Perhaps you should not change the properties file but rather provide the parameter on startup,
also note:
minimum. All permissions are denied to MIDlets in this domain.
maximum. All permissions are granted to MIDlets in this domain. Maximum is the default setting.
emulator.exe -Xdomain:maximum .....
also sheck the port you are trying to access; the port number should be higher than 1024.

Similar Messages

  • WTK and Java Card SDK 2.2.2 emulator( cref ) communication problem.

    Hello everybody
    Just for own interest I was playing with the Java Card SDK 2.2.2 and WTK 2.5.2. But I am getting "Protocol mismatch error" as WTK runs on T=0 and cref runs on T=1. Does anybody have ever faced this problem and how to get rid of it?
    Thanks in advance.
    Shan!!!

    [email protected] wrote:
    Hi friends,
    I am new to Java Card technologies, previously i worked in SCOSTA cards using java application. Now i want to develop java applet and mask into the javacard.
    I tried Java_card_kit-2.2.1 package to build cap file using sample class files based on the specification.
    In command prompt, i configured path and classpath perfectly....
    But when i tried to make cap file by using the following command i am getting error.
    set JC_HOME=C:\java_card_kit-2_2_1
    set JAVA_HOME=C:\j2sdk1.4.2_09
    SET PATH=%JC_HOME%\bin;%PATH%
    SET CLASSPATH=%JC_HOME%\lib\api21.jar;%CLASSPATH%
    converter.bat -out JCA -classdir %JC_HOME%\samples\classes\com\sun\javacard\samples\HelloWorld 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.10I am getting the following error,
    error: invalid AID 1.0.
    Usage:  converter  <options>  package_name  package_aid  major_version.minor_versionSo kindly help me the best way to make cap file.
    regards,
    dhaya.You could try the following:
    converter.bat -classdir %JC_HOME%\samples\classes com.sun.javacard.samples 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.0You only need to specify the base directory for the classes and you need to specify the package separately.
    If you only want to convert to a JCA file you would use the following otherwise all 3 artifacts will be gernerated (CAP, JCA and EXP)
    converter.bat -out JCA -classdir %JC_HOME%\samples\classes com.sun.javacard.samples 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.0I hope this helps.
    Shane

  • Emulator bluetooth connection problem

    Hi! I'm developing a J2ME program with eclipse / WTK 2.5.2 and having problem with connecting two emulators using bluetooth. There is one server and one .client running on two different emulators.
    The problem is client program cannot discover any bluetooth device. Here is the server and client codes:
    public Server()
        try
            LocalDevice local = LocalDevice.getLocalDevice();
            local.setDiscoverable(DiscoveryAgent.GIAC);
            server = (StreamConnectionNotifier)  
                Connector.open("btspp://localhost:"
                    + UUID_STRING + ";name=" + SERVICE_NAME);
            Util.Log("EchoServer() Server connector open!");
        catch (Exception e)
    }after calling Connector.open, I get following warning in console, which i believe is related:
    Warning: Unregistered device: unspecified
    and client code that searches for devices:
    public SearchForDevices(String uuid, String nm)
        UUIDStr = uuid;
        srchServiceName = nm;
        try
            LocalDevice local = LocalDevice.getLocalDevice();
            agent = local.getDiscoveryAgent();
            deviceList = new Vector();
            agent.startInquiry(DiscoveryAgent.GIAC, this); // non-blocking
        catch (Exception e)
    }system never calls deviceDiscovered, but calls inquiryCompleted() with INQUIRY_COMPLETED paramter, so I suppose client program runs fine.
    Bluetooth is enabled at emulator settings..
    any ideas ?
    Edited by: GBerberoglu on Mar 14, 2010 5:31 AM

    so i installed "java me sdk 3.0" with useless netbeans inside and now bluetooth communication works.
    I noticed a background application runs in system tray: java me sdk device manager which i think handles the communication between emulators.
    I use eclipse pulsar with wtk 2.5.2, where is the device manager ?

  • Installing Flex SDK into Flash Builder 4.7 problems

    Hi,
    Im completely new to Flash Builder, today I have installed Flash Builder 4.7 & Flash CS6 from Creative Cloud for my son to start to learn game programming (with my help), I have used simple coding in web design however this terminology is new to me.
    I bought my son the latest 'Foundation Game Design with ActionScript 3.0' book on recommendation but it was written when FB was version 4.5 so im guessing this might be the problem.
    The book is very easy to follow but have hit problems at the beginning of the tutorials, the book talks about Flex SDK but it seems that FB 4.7 uses AIR SDK ?
    So the first project called HelloWorld, we got up to:
    Got an exclamation mark which said
    'The import flash.display.Sprite is not used
    locally'
    Continuing with the rest of the project the exclamation mark disappeared:
    However on selecting run- Debug we got a blank Flash Player window  ('generate HTML wrapper file' was deselected)
    So either we've done something wrong, or the book and FB version are not compatible?
    Any advice would be great!
    Thank you
    Latest ...
    I thought that installing Flex SDK may solve the problem but after following instructions I have the error message, see image below. Really stumped now!

    Sorry, if I went a little overboard. After re-reading your post, perhaps I should back up a little.
    First, there are little things that Flash Builder (FB) will complain about. Having extra import statements in your code doesn't hurt anything. If I'm trying different solutions and then commenting out the code, the import statements will hang around, FB will complain, but just ignore it. If you see a little icon on the left edge of your code editor and its a red circle with an X in it, then that is something that will have to be fixed.
    When you create an app in FB or Flash you can choose to create a web app which means it will run in a browser window. The project can optionally create an HTML wrapper, or web page that will load your app. In Flash Pro you can choose File->Publish Settings and there will be a checkbox on the left to publish a HTML wrapper. In FB, you can right click your project in the Package Explorer, select Properties at the bottom, select the ActionScript Compiler, and down at the bottom there will be a checkbox to create a HTML wrapper.
    If you're just learning Flash Builder, then the FlexSDK 4.6 and the AIR SDK 3.1 that comes with it should be fine. You mentioned Apache SDK and I'd recently been working with that so I ended up getting side-tracked.
    Getting an AIRSDK to work with when build ActionScript projects is easy. Just go to the adobe site, type AIR SDK in the search box, and you should find a page that will let you downloaded the latest version. There's also a page to let you download the latest AIR runtime, and if you were just going to run AIR apps and not build them, then that's all you would need. As a developer you'll want to install the runtime from the downloaded .exe file. With the SDK, after downloading it, installing it is easy. Just create a new folder an unzip the SDK into it, then place it somewhere easy to find. I put all my SDK's in their own directory right off the c: drive. So I have c:\AIRSDK_3.5.0.880 and c:\AIRSDK_3.7.0.1530. I use very descriptive folder names so I always know which SDK's I have to work from.
    To use the SDK in Flash Pro select Help -> Manage AIR SDK, hit the plus button and add the folder you created. Now when you've opened a Flash project, you go to File->Publish Settings and select the combo box at the top, you'll see options like 'AIR 3.7.0.1530 for Android' in the list that reflect the SDK's you've added.
    Generally with FB you'll be using a FlexSDK, or perhaps a FlexSDK overlaid with a newer version of AIRSDK. Overlaid basically means you copied the contents of the AIR SDK into the Flex Folder. The article I mentioned above will give you all the details on creating those. For instance, I downloaded the Apache Flex installer, installed it, then created an empty folder called c:\ApacheFlexSDK_4.9.1, launched the Apache installer, gave it the new empty folder I'd created, selected all the download options, and let it all download. If it launches a popup box or a security warning, you can allow it, and it will continue. Once you have the SDK and you want to use it with a project in FB, just right click the project, select Properties, selected that Compiler tab again, and up in the right corner you'll see 'Manage SDK's...'. Hit that link, add your new SDK to the list and give it a descriptive name, then selected the checkbox beside it to set it up as your default. If you do this, then all your projects set to use the default will automatically switch to it and rebuild. So if you want a project to stay with a specific SDK then select that option in your Compiler tab, and then you could use the combo box to select your new added SDK.
    When I started with FB I think I spent the first 2 days going round and round with project settings and options until I got them all figured out.
    When I develop, I usually have my browser open and I have bookmarks and favorites to let me quickly get to all the pages I use most often. Here are a few of them:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html  <---- The API reference. In the packages window check out 'Top Level' at the top and Language Elements near the bottom. I think I have this page open in one or more tabs almost every day.
    http://www.adobe.com/devnet.html
    http://www.adobe.com/devnet/actionscript/learning.html
    http://help.adobe.com/en_US/as3/learn/index.html
    http://helpx.adobe.com/flash.html
    http://help.adobe.com/en_US/flashbuilder/using/index.html
    Free videos to help you learn Flash Pro:
    http://tv.adobe.com/show/learn-flash-professional-cs6-/
    http://tv.adobe.com/show/learn-flash-professional-cs5/
    And you've already found the forums! But if you don't find an answer here, many times you can find your question already answered on www.stackoverflow.com forums.
    Ok, I think I went a little overboard again.

  • How do you locate a bug WITHOUT the emulator and the console?

    Hi.
    I'm new here and my English is not perfect but I'll try my best to explain my problem.
    I'm trying to port J2ME games to various mobile phone devices. I've no problem fixing bugs on Nokia, Sony Ericsson, or any models that offer an emulator and a console window.
    *** The problem is: In some case, The same build runs fine on Nokia/Sony emulator, but crash/freeze on LG phones.
    (this is just an example, it's not only LG phones that have this problem though)
    I believe it is possible to locate the bug by:
    - use the 'try/catch' block and print the error message using something like
    g.drawString(e.toString(),0,0,0);
    where 'g' and 'e' is a Graphics and Exception objects.
    But I wonder if there's a way to print 'everything that should be printed on the console', on the phones's display. So we don't need to manually put try/catch block.
    ok, to sum up the question.
    Question:
    1. Is there a way to print 'everything that will normally appear on the console', on the phones's screen?
    2. If no, then I'll need to try/catch the problem.
    But how can you use try/catch and "drawString" everywhere in the code?, while the actual drawing will be done only in the "paint()" method?
    I'm thinking of using 'getGraphics().drawString' when using try/catch outside the paint() method. but what's the point if the actual drawing will be done only in paint() method anyway...
    Sorry if it's a stupid question. I just started learning Java programming 3 months ago, let alone J2ME. >_<
    Thank you. =)
    /bow

    Hi Kakyoin,
    What I found was helpfull is creating a method in the MIDlet where you can display messages. For instance:
        public void createFormScreen(Alert alert) {
            // Set up the initial screen for the MIDlet
            Form formScreen = new Form("Your MIDlet name");
            firstScreen.append("Welcome to your MIDlet");
            myChoice = new ChoiceGroup(null, ChoiceGroup.EXCLUSIVE);
            myChoice.append("Your first choice", null);
            myChoice.append("Your second choice", null);
            formScreen .append(myChoice);
            formScreen .addCommand(OKCOMMAND);
            formScreen .addCommand(EXITCOMMAND);
            formScreen .setCommandListener(this);
            theListener = this;
            if (alert == null) {
                 theDisplay.setCurrent(formScreen Screen);
            } else {
                theDisplay.setCurrent(alert, formScreen);
        }So, from your constructor call the createFormScreen method, and your initial screen will be displayed.
    When an allert situation occurs in an object, call createFormScreen in a method like:
         protected void displayMessage(String title, String msg) {
              // Display the error message
              Alert error = new Alert(title, msg, null,
                        AlertType.ERROR);
              error.setTimeout(Alert.FOREVER);
              myMIDlet.createStartScreen(error);
         }Now the error message will be displayed on the screen indefenitaly. Off course your object where the error occurred should have a reference to the MIDlet object. I hope this helps you.
    Maik

  • Ipaq Socket problems

    I'm running into the following problem while running a PersonalJava application on a Compaq ipaq 3600. The Java application tries to open a Socket connection to a server, then close the connection for a number of iterations
    (currently 300). However, when it reaches the iteration in the range of approximately 193-199, it throws a java.net.ConnectionException when it tries to create a new Socket. I am unable to get any Java application
    to create a new Socket after this happens, until I perform a soft reset of the ipaq. This happens every time I run the application. The server I'm currently connecting to is an apache webserver, but I have tried to connect to various servers (different host/port combinations) and the problem always occurs.
    It is occurring on both the Jeode and Sun WinCE PersonalJava beta 1.1 implementation.
    The following source code produces the problem:
    import java.io.*;
    import java.net.*;
    public class SocketTest {
    public static void main(String args[]) {
    Socket s1 = null;
    PrintWriter pw = null;
    try {
    FileOutputStream fos = new FileOutputStream("\\socketoutput.txt");
    pw = new PrintWriter(fos, true);
    } catch (IOException ioe) {
    System.exit(0);
    try {
    for (int i = 1; i < 300; i++) {
    s1 = new Socket("192.168.0.57", 80);
    pw.println("Opened socket " + i);
    pw.println("socket is " + s1.toString());
    s1.close();
    pw.println("closed socket " + i);
    try {
    Thread.sleep(600);
    } catch (Exception e) {
    } catch (Exception e) {
    e.printStackTrace();
    e.printStackTrace(pw);
    if (s1 != null) {
    pw.println("Socket.toString(): " + s1.toString());
    pw.println("Exception message: " + e.getMessage());
    pw.close();
    System.out.println("At end");
    (Apologies for the indentation not appearing in the above code)
    The exception that is thrown when the Socket cannot be created is:
    java.net.ConnectException
         at java.net.PlainSocketImpl.connect (Native Method)
         at java.net.PlainSocketImpl.connect (bytecode 33)
         at java.net.PlainSocketImpl.connect (bytecode 9)
         at java.net.Socket.<init> (bytecode 96)
         at java.net.Socket.<init> (bytecode 9)
         at SocketTest.main (bytecode 15)
    Socket.toString(): Socket[addr=192.168.0.57/192.168.0.57,port=80,localport=1607]
    Exception message: null
    Has anyone else see anything like this? If so, is there a workaround? This is only a test application, the real-life application will involve a number of socket open/close operations during its lifetime, but this problem keeps occurring.
    Any help would be appreciated.
    thanks,
    Derek

    For anyone interested. The solution to this problem is located here.
    http://groups.yahoo.com/group/j2me-cdc/message/57

  • ME SDK 8.0 EA Device Manager - Problems with Serial COM-Connection

    I caught a first glimpse at the new ME SDK 8.0 - so far I have been working only with very old JavaME-Stuff on a Cinterion-TC65i-Chip.
    Want to connect my Raspberry Pi via serial COM-Connection with the SDK-8.0-EA-Device-Manager. (due to security reasons I'm not allowed to connect the Pi via LAN/Wifi)
    But the problem is the ME SDK 8.0 EA Device Manager only offers me COM4 (this is my built-in UMTS-Modem) - even though my target-COM-Device isn't busy at all.
    A serial connection via Putty and USB2Serial-Cabel (FTDDI) works fine and I can get on my Raspberry.
    Is there any reason or restriction I don't know for being unable to use my dedicated COM-Port? Or do I have to make any additional adjustments in hidden SDK-Property-files?
    In my opinion the device manager using COM should offer me the same possibilities as an IP-Connection regarding the target-device (transfering my Jad/jar to the device, installing them and starting them).
    There is something in the SDK-get-Started Docu about "Connecting to a UART Device" I'm not really cotton on . Is this information concerning me even though I'm using a Raspberry PI?
    To put my files manually via USB-Stick or Z-Modem on the PI is a tad of inconvinient.
    Any ideas? Or am I completely off track understanding your SDK-Tooling?
    Thx and best regards

    Hi,
    For the Raspberry Pi, tooling over serial port is not supported. The simplest solution is to use standard IP networking over Ethernet. This can be a direct connection between the PC and the Raspberry Pi, as long as the cable is twisted and the IP addressing is correct (e.g. manual IP addressing or DHCP server on the PC).
    Regarding "Connecting to a UART Device": This is meant for attaching and controlling serial devices from the Raspberry Pi, not for tooling connections between the Raspberry Pi and the PC.
    Hope this helps,
    -- Terrence

  • Share and save problem after latest update

    hello,
    i have share and save problem after latest update - i have installed ps touch on nexus 5 about 2 months ago and until yesterday everything was good but after latest update i can't save and share images in ps touch ( i do reinstall this app  but problem is still  and app doesn't work properly   ) how  can i downgrade to the old version ? Could you fix this problem quickly ?

    i use app which called "aLogcat"
    --------- beginning of /dev/log/main
    I/dalvikvm(24476): Enabling JNI app bug workarounds for target SDK version 11...
    D/dalvikvm(24476): GC_CONCURRENT freed 174K, 2% free 17054K/17264K, paused 2ms+2ms, total 15ms
    W/InputEventReceiver(24476): Attempted to finish an input event but the input event receiver has already been disposed.
    W/InputEventReceiver(24476): Attempted to finish an input event but the input event receiver has already been disposed.
    W/InputEventReceiver(24476): Attempted to finish an input event but the input event receiver has already been disposed.
    --------- beginning of /dev/log/system
    W/ViewRootImpl(24476): Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, id[0]=0, x[0]=38.0, y[0]=-115.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=2, eventTime=27743080, downTime=27743066, deviceId=4, source=0x1002 }
    W/ViewRootImpl(24476): Dropping event due to root view being removed: MotionEvent { action=ACTION_UP, id[0]=0, x[0]=38.0, y[0]=-115.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=27743086, downTime=27743066, deviceId=4, source=0x1002 }
    D/dalvikvm(24476): GC_FOR_ALLOC freed 122K, 1% free 17271K/17428K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 10K, 1% free 17434K/17604K, paused 7ms, total 7ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 65K, 2% free 17690K/17928K, paused 8ms, total 8ms
    I/dalvikvm-heap(24476): Grow heap (frag case) to 17.615MB for 328336-byte allocation
    D/dalvikvm(24476): GC_FOR_ALLOC freed 0K, 2% free 18010K/18252K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 18011K/18252K, paused 9ms, total 9ms
    I/dalvikvm-heap(24476): Grow heap (frag case) to 18.073MB for 479536-byte allocation
    D/dalvikvm(24476): GC_FOR_ALLOC freed 0K, 2% free 18479K/18724K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 2% free 18481K/18724K, paused 2ms+1ms, total 10ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 6ms
    I/dalvikvm-heap(24476): Grow heap (frag case) to 18.532MB for 479536-byte allocation
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 18949K/19196K, paused 9ms, total 9ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 2% free 19418K/19668K, paused 1ms+1ms, total 10ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 7ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 19592K/19844K, paused 8ms, total 8ms
    I/dalvikvm-heap(24476): Grow heap (frag case) to 20.049MB for 933136-byte allocation
    D/dalvikvm(24476): GC_FOR_ALLOC freed 0K, 2% free 20503K/20756K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 2% free 21416K/21668K, paused 1ms+1ms, total 12ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 50K, 2% free 22351K/22580K, paused 7ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 5K, 1% free 23900K/24140K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 1% free 25824K/26084K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 3411K, 14% free 24528K/28204K, paused 12ms, total 13ms
    D/dalvikvm(24476): GC_CONCURRENT freed 2814K, 14% free 24256K/28204K, paused 2ms+1ms, total 11ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 4ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 9266K, 1% free 17270K/17424K, paused 10ms, total 10ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 15K, 1% free 17575K/17748K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 22K, 2% free 17875K/18072K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 1K, 2% free 18195K/18396K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 18517K/18720K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 18838K/19044K, paused 11ms, total 11ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 19159K/19368K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 19480K/19692K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 19974K/20192K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 20616K/20840K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 21431K/21664K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 2% free 22714K/22960K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 182K, 2% free 24004K/24432K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 8478K, 33% free 17593K/26228K, paused 14ms, total 14ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 18K, 32% free 17895K/26228K, paused 12ms, total 12ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 18K, 31% free 18198K/26228K, paused 11ms, total 11ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 1K, 30% free 18519K/26228K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 29% free 18840K/26228K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 26% free 19482K/26228K, paused 2ms+1ms, total 14ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 10ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 23% free 20297K/26228K, paused 2ms+1ms, total 15ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 11ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 19% free 21260K/26228K, paused 10ms, total 10ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 15% free 22543K/26228K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 182K, 9% free 23979K/26228K, paused 21ms, total 22ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 8485K, 33% free 17598K/26132K, paused 13ms, total 14ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 25K, 32% free 17894K/26132K, paused 12ms, total 12ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 12K, 31% free 18204K/26132K, paused 12ms, total 12ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 1K, 30% free 18524K/26132K, paused 12ms, total 12ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 28% free 18845K/26132K, paused 8ms, total 9ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 26% free 19487K/26132K, paused 1ms+0ms, total 9ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 7ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 23% free 20129K/26132K, paused 9ms, total 9ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 20% free 21091K/26132K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 15% free 22375K/26132K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 9K, 9% free 24011K/26132K, paused 14ms, total 14ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 2147K, 10% free 23855K/26456K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_CONCURRENT freed 8776K, 35% free 17337K/26304K, paused 3ms+2ms, total 20ms
    W/InputEventReceiver(24476): Attempted to finish an input event but the input event receiver has already been disposed.
    W/InputEventReceiver(24476): Attempted to finish an input event but the input event receiver has already been disposed.
    W/ViewRootImpl(24476): Dropping event due to root view being removed: MotionEvent { action=ACTION_UP, id[0]=0, x[0]=564.0, y[0]=-50.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=28190972, downTime=28190972, deviceId=4, source=0x1002 }
    D/dalvikvm(24476): GC_CONCURRENT freed 186K, 31% free 17626K/25476K, paused 2ms+1ms, total 12ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 4ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 63K, 30% free 17884K/25476K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 3K, 29% free 18201K/25476K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 27% free 18696K/25476K, paused 2ms+1ms, total 12ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 9ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 25% free 19190K/25476K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 23% free 19831K/25476K, paused 9ms, total 9ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 19% free 20794K/25476K, paused 2ms+0ms, total 12ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 8ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 14% free 22078K/25476K, paused 1ms+2ms, total 14ms
    D/dalvikvm(24476): WAIT_FOR_CONCURRENT_GC blocked 12ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 7% free 23855K/25476K, paused 10ms, total 10ms
    D/dalvikvm(24476): GC_CONCURRENT freed <1K, 6% free 24176K/25476K, paused 2ms+1ms, total 14ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 6440K, 26% free 19562K/26216K, paused 9ms, total 10ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 93K, 23% free 20207K/26216K, paused 10ms, total 10ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed 11K, 21% free 20935K/26216K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 18% free 21673K/26216K, paused 9ms, total 9ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 15% free 22499K/26216K, paused 8ms, total 8ms
    D/dalvikvm(24476): GC_FOR_ALLOC freed <1K, 10% free 23695K/26216K, paused 9ms, total 9ms

  • Decompile applet and proxify all URL and socket connection and recompile

    Hi,
    Please anybody have idea for the below.
    I need to decomple the applet class file to .java file and need to change all URL and Socket connection to proxify all connections from applet. and recompile the sample applet to make ready to load in browser.
    Thi is to load the applet form the web server through one proxy server. In the proxy server side While loading the applet from web server that applet code need to be changed to modify the URL and connections used in that applet to change the further connection from applet through proxyserver.
    Compile and decompile is not a problem that i can use javac and javap respectively.
    But I want to know how to change all URL and connection in applet. is there any easy way to handle this with out changing the applet code.
    can Anybody help me.
    Thanks and Regards,
    Shiban.

    Not sure how you do that:
    Client <----[HTTPS]-----> Secure Gateway <------[HTTP]------->Web servers
    or
    Internet Explorer/Mozilla <----[HTTPS]-----> proxy <------[HTTP]-------> Google
    Is the above correct?
    If so than what are the proxy settings in IE/Moz, I can specify the proxy address in the
    browsers but not the proxy type (SSL).
    When you want to visit a page like google I gues you just type http://www.google.com in
    the browsers address bar. The browser will figure out how to connect to the proxy.
    Java has got the control panel in the general tabl there is a button "network settings...:"
    I have it to "use browser settings" and this works for me.
    All URL and URLConnections work but the sockets don't (maybe put in a bug report)
    for example games.yahoo.com -> card games -> bridge -> create table
    In the trace I can see:
    network: Connecting http://yog70.games.scd.yahoo.com/yog/y/b/us-t1.ldict with proxy=HTTP @ myproxy/00.00.00.00:80
    network: Connecting socket://yog70.games.scd.yahoo.com:11999 with proxy=DIRECT
    The second one fails because port 11999 is not open (what idiot uses an unassigned
    port for a profesional site is beyond me).
    http://www.iana.org/assignments/port-numbers
    #               11968-11999 Unassiged
    Even if the port was open on the proxy you'll notice with proxy=DIRECT that
    "use browser settings" does not work with socket (bug report??).
    Anyway my advice is to open the java console (windows control panel or javacpl.exe in
    the bin dir of java.home) and make sure it is set to "use browser settings"
    Then enable a full trace:
    To turn the full trace on (windows) you can start the java console, to be found here:
    C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
    In the advanced tab you can fill in something for runtime parameters fill in this:
    -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
    if you cannot start the java console check here:
    C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
    I think for linux this is somewhere in youruserdir/java (hidden directory)
    add or change the following line:
    javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
    for 1.5:
    deployment.javapi.jre.1.5.0.args=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
    The trace is here:
    C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
    I think for linux this is somewhere in youruserdir/java (hidden directory)
    Print out the full trace of the exception:
    try{...}catch(Exception e){e.printStackTrace();}
    Then visit the games.yahoo and try to create a new table playing bridge.
    Inspect the trace and see if it works/why it doesn't work.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • [svn] 3336: Fix an AIR drag and drop problem.

    Revision: 3336
    Author: [email protected]
    Date: 2008-09-24 12:24:27 -0700 (Wed, 24 Sep 2008)
    Log Message:
    Fix an AIR drag and drop problem.
    QE: YES
    Doc:
    Checkintests: Yes
    Reviewer: pfarland
    Bugs: SDK-17006
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17006
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/NativeDragManage rImpl.as

    Update 2, if it can help someone:
    Finally I don't manage the drag and drop by myself using
    DragManager.doDrag(...). Why? Because doing so if the user clicks
    on the scrollbars, on the datagrid header or on an empty row, it
    triggers the drag start and that is ugly. By letting Flex managing
    the drag and drop process, this doesn't append. BUT I was unable to
    use a custom proxy image then. Until I found this article:
    http://www.dgrigg.com/post.cfm/11/03/2006/DataGrid-Drag-Image
    The trick is:
    1) save the mouseX and mouseY using the mousedown event.
    2) override dragImage(), as the article says, to create your
    custom proxy, attaching to it a FlexEvent.UPDATE_COMPLETE event,
    saving it to a class variable and returning it.
    3) When you receive the FlexEvent.UPDATE_COMPLETE event, you
    update the proxy position (that is saved in a class variable) using
    the saved mouseX and mouseY and you remove the listener to the
    event:
    When you drop the proxy, you access the dragged items in :
    event.dragSource.dataForFormat("items")
    Hope this helps, I spent lot of time trying to resolve this
    issue! Now it works perfectly! :-)

  • Broadband connection and speed problems

    Hi,
       On Wednesday morning my broadband connection went down and could not reconnect from 600am til 700pm. It did manage to get a connection to stay up at around 900pm, but since then the connection has dropped about four times a day.
    I have checked my equipment, wiring etc, connected directly to the test socket, using  a new ADSL microfilter etc etc. I have also checked for known problems in my area and have done some quiet call tests(17070).
    There are apparently no problems in my area, but a couple of the quiet call tests were crackly.
    Since last night (Friday) at around 900pm the connection has managed to stay up but my connection speeds, both up and down are much much lower than they used to be. 
    Since Wednesday night I have performed some BT speedtests.
    D/L Profile for my line is - 17.64 Mbps, but actual speed currently varies between around 8 and 11 Mbps.
    U/L Profile for my line is - 0.83 Mbps, but speed currenty varies between 0.01 and 0.3 Mbps.
    Before Wednesday, my download speeds were typically 16-17Mbps and upload speeds were typically 0.8Mbps. 
    With very little variation.
    I have included some stats from my BT HH3...
    Wednesday nights ADSL Line status,  after I managed to get a connection to stay up. below;
    ADSL Line Status
    Connection Information
    Line state: Connected
    Connection time: 0 days, 04:59:49
    Downstream: 18.65 Mbps
    Upstream: 443.9 Kbps
    ADSL Settings
    VPI/VCI: 0/38
    Type: PPPoA
    Modulation: G.992.5 Annex A
    Latency type: Fast
    Noise margin (Down/Up): 4.9 dB / 26.4 dB
    Line attenuation (Down/Up): 11.1 dB / 5.3 dB
    Output power (Down/Up): 20.1 dBm / 12.9 dBm
    FEC Events (Down/Up): 0 / 0
    CRC Events (Down/Up): 758 / 36
    Loss of Framing (Local/Remote): 0 / 0
    Loss of Signal (Local/Remote): 0 / 0
    Loss of Power (Local/Remote): 0 / 0
    HEC Events (Down/Up): 23957 / 6
    Error Seconds (Local/Remote): 300 / 4
    Current ADSL line status. After the line being up for 17 hours below;
    ADSL Line Status
    Connection Information
    Line state: Connected
    Connection time: 0 days, 17:17:36
    Downstream: 19.52 Mbps
    Upstream: 443.9 Kbps
    ADSL Settings
    VPI/VCI: 0/38
    Type: PPPoA
    Modulation: G.992.5 Annex A
    Latency type: Fast
    Noise margin (Down/Up): 3.2 dB / 28.1 dB
    Line attenuation (Down/Up): 11.0 dB / 5.2 dB
    Output power (Down/Up): 20.2 dBm / 12.2 dBm
    FEC Events (Down/Up): 0 / 0
    CRC Events (Down/Up): 133 / 36
    Loss of Framing (Local/Remote): 0 / 0
    Loss of Signal (Local/Remote): 0 / 0
    Loss of Power (Local/Remote): 0 / 0
    HEC Events (Down/Up): 636 / 9
    Error Seconds (Local/Remote): 117 / 4
    One thing that stands out is the Noise Margin of 4.9dB and now 3.2dB. I gather that these values are on the low side. Is 3.2dB acceptable?
    I assume my line attenuation values are low as I live very close to my local exchange. I assume that these values are good.
    There are some CRC HEC and Error Seconds values. I must admit that I dont fully understand these but I assume these are not good.
    One other thing worth mentioning is that the phone cable to my property comes along my front wall over from a neighbouring property. Whilst checking this cable this morning in the daylight, I have noticed that someone, most probably my neighbour, has pulled the cable way from its fixing on the wall in order to put a fence post up on the wall.
    The fence post has been there for a few months, with no apparent affect ro my phone and broadband, but I'm concerned that this could have damaged the cable, splitting the shielding or breaking a wire in the cable, or perhaps loosened the connectors to the juntion box it is connected to on the neighbours wall.
    Could damage to the cable be the cause of my connection and speed problems?
    Also, is it possible that my BTHH3 is faulty?
    Any advice would be very welcome.
    Thanks
    Solved!
    Go to Solution.

    A little more information.
    I have noticed that on a number of occasions when making or receiving voice calls, the broadband connection completely drops. It doesnt happen on all calls, and doesnt seem to happen when just going 'offhook' and listening to a dialling tone.
    There is a definite crackle and hiss on most of the voice calls. But only seems to be audible on the home phone.
    After a little browsing, I came upon a logging program "Routerstatshub". When I leave this running it logs changes to ADSL stats. 
    Looking at the logs, I've noticed that when making voice calls, the upstream noise margin always seems to drop considerably, sometimes down to 0dB.
    On some calls, both upstream and downstream noise margin drop to 0dB and the broadband connection drops. 
    I have also noticed that upstream line attenuation increases from around 5dB to around 28dB every hour or so. This doesnt appear to coincide with the voice calls. 
    CRC and HEC error increase dramatically at the same time as the noise margin changes. HEC goes up by 10s of thousands.
    I'm still directly connected into the mastersocket with a new microfilter and no extension cable.
    By the way, my connection speeds went down to an all time low yesterday , 1.7Mbps down. 
    I have now replaced my DECT phone with a corded phone and will make some more voice calls to see if that makes any difference. 
    Any ideas about what the problem could be would be greatly appreciated. 

  • Javafx and RecordStore problem

    Hi,
    I am creating a contact management mobile app with javafx, and I am using a RecordStore to store the data. As long as the emulator is open I have verified that the records are being added to the recordstore.
    However when I close the emulator and re start the app, the recordstore disappears, and it recreates the store (it says it has 0 records).
    I am using netbeans, and using the mobile profile.
    Any help will be highly appreciated...
    thanks in advance

    I wasn't sure what is RecordStore but apparently it is MIDP's way of persisting data.
    As it shows, I have little knowledge of JavaME, so I don't know if that's a problem with the emulator or the usage of RecordStore within JavaFX or something else.
    Now, perhaps you can use the [javafx.io.Storage|http://java.sun.com/javafx/1.2/docs/api/javafx.io/javafx.io.Storage.html] class for persisting data, it is designed to work both in JavaME and on desktop.
    It might offer less features than RecordStore, though.

  • I am not able to launch FF everytime i tr to open it, it says FF has to submit a crash report, i even tried doing that and the report was submitted too, but stiil FF did not start, and the problem still persists, please help me solve this issue in English

    Question
    I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
    '''(in English)'''

    Hi Danny,
    Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
    but not 180, right?
    I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
    =COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
    or
    =SUM(IIF(Fields!TICKET_STATUS=4,1,0))
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • BOSD, Battery issues and Heating problem after iOS 8 upgrade

    i have upgraded my iPad mini to iOS 8. Ever since I upgraded to iOS 8 am facing blue screen issues and heating problem as well. This is really frustrating even the patch iOS 8.0.2 dint solve the problem. Are you guys listening our complaints. When will you fixing it.

    The same thing happened to me on my 2012 Subaru Outback.  I'm not sure this will help you since you have a Honda, but I'm posting this just in case.
    I paired the audio on my car with my iPhone 6.  However, when I turned the car off and back on again, the iPhone would not pair automatically.  I had to manually connect the iPhone with the car.  Turns out there are two separate bluetooth pairings on my car: one for phone which allows up to 5 devices and one for audio which allows only one device.  So I did the second bluetooth pairing for the phone (had already done the audio), and that fixed it.  YMMV

  • I am making code to try to make a game and my problem is that my code......

    I am making code to try to make a game and my problem is that my code
    will not let it change the hit everytime so im getting the first guy to hit 1 then next hits 8 and so on and always repeats.
    Another problem is that I would like it to attack with out me telling it how much times to attack. I am using Object oriented programming.
    Here is the code for my objects:
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class rockCrab {
         //Wounding formula
         double sL = 70;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 50;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         rockCrab() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              double done = rint(fH - fA);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("Rockcrab hit" +done);
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class self {
         //Wounding formula
         double sL = 1;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 1;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         self() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("You hit" +done);
    }Here is the main code that writes what the objects do:
    class fight {
         public static void main(String[] args) {
              self instance1 = new self();
              rockCrab instance2 = new rockCrab();
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
    }when the code is run it says something like this:
    you hit 1
    RockCrabs health is 9
    RockCrab hit 7
    your health is 38
    you hit 1
    RockCrabs health is 8
    RockCrab hit 7
    your health is 31
    you hit 1
    RockCrabs health is 7
    RockCrab hit 7
    your health is 24
    you hit 1
    RockCrabs health is 6
    RockCrab hit 7
    your health is 17
    my point is whatever some one hits it always repeats that
    my expected output would have to be something like
    you hit 1
    RockCrabs health is 9
    RockCrab hit 9
    your health is 37
    you hit 3
    RockCrabs health is 6
    RockCrab hit 4
    your health is 33
    you hit 2
    RockCrabs health is 4
    RockCrab hit 7
    your health is 26
    you hit 3
    RockCrabs health is 1
    RockCrab hit 6
    your health is 20
    Edited by: rade134 on Jun 4, 2009 10:58 AM

    [_Crosspost_|http://forums.sun.com/thread.jspa?threadID=5390217] I'm locking.

Maybe you are looking for