J2ME toolkit (midlet suit debugging problem)

Hi,
I installed the SUN's J2ME wireless toolkit and made all the necessary configurations. I can run my midlet suit using any emulator. I can deploy my project into a jad file.
However, I cannot debug my project.
When I try to debug using any emulator I get:
"KVM not ready" message and I'm stuck.
Did anybody experience this issue before?
Thanks

It probably comes from the sequence you use to start debugger and debuggee. A MIDlet Suite will necessary be remote debugged. Please see the viewlets at http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/j2me/content.html, scroll at the bottom of the page, and click "Dbug the MIDlet Suite".
Please feel free to ping me directly at [email protected] if you need more info.

Similar Messages

  • No Midlet Suites Found. Check the URL to make sure it is correct

    hi,
    i am very much in need of solution so plz respond as early as possible
    i am trying to simulate OTA provisioning through J2ME Wireless Toolkit for this i am using Apache HTTP Server Version 1.3
    i placed the .jad files and .jar files in htdocs directory and i added the below two lines to httpd.config file
    AddType text/vnd.sun.j2me.app-descriptor .jad
    AddType application/java-archive .jar
    i changed the MIDlet-Jar-URL property in .jad file to point to .jar file
    i restarted the Apache server and started the toolkit when i pointed to the .jad the error i got is "No Midlet Suites Found. Check the URL to make sure it is correct"
    can any one help me out in finding what i missed in the process of installing the midlet suite through OTA provisioning in the toolkit

    try adding these lines in the configuration file as applicable to your server
    <mime-mapping>
    <extension>jar</extension>
    <mime-type>application/java-archive</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jad</extension>
    <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
    </mime-mapping>
    Also, check if your JAD file contains the following information
    MIDlet-Jar-URL: http://<server_ip_or_name>:<port_if_other_than_80>/<context_root>/<name_of_your_file.jar>

  • How to access midlet suite from ms-dos?

    I tried to type in dos:
    "j2mer2 MyCanvasMidlet"
    but it doesn't appear the screen "select one to launch" for the list of midlets in the midlet suite.
    it can display the screen when I user the tool kit though.

    you can't do this (run a midlet from dos).
    use the j2me wireless toolkit.

  • Installing my MIDlet suite to my Nokia Mobile (Help .!)

    I have created a MIDlet suite with 4 MIDlets in it..
    I used the Sun Wireless ToolKit in NetBeans 6.0
    Now, I want the MIDlet suite to run on my Nokia Mobile which I own.
    What is the process .?
    And do I have to use any specialized Nokia tool kit for this purpose ? (Since I want the MIDlet to run in my Nokia 6070)
    Please help me.

    As long as you app complies to the requirements set by Nokia, you should be able to load it up without problems. Nokia is great by giving very detailed info on these aspects. I've loaded my Nokia with specific apps tailored with Nokia SDKs and I have used example apps from Sun. There might be other considerations, but the MIDP version and the CLDC version are the main constraints. Everything depends on what you want to do with the app...
    Cheers!
    edit: Another main constraint is the size of the .jar file. Nokia suggests using a compression tool.
    Edited by: HunterCottage on May 20, 2008 8:52 AM

  • V600 Midlet Suite Missing Midlet and Icons

    I developed a Midlet suite application about 3 years ago and have not used it for at least 2 years. I just rebuilt the suite with Java Studio and it runs perfectly in the emulators. When I tried to download the suite via a WAP page using T-mobile on a Motorola V600 the application does not load correctly. The suite has 4 Midlets and only 3 show up in the phone. Also all of the suite icons are missing. It�s been a while so how do I debug a Midlet suite on a Motorola phone? Are there special issues running an application on these phones? TIA.

    I seem to recall motorola phones only ever show the 1st 3 midlets in a suite.
    They are also sensitive to icon size - I think the correct size is 15x15 for motorola's.

  • No MIDlet Suites found.

    The below is the error message that pops up while I run the Tiny sample app from OTA provisioning.
    "No MIDlet Suites found.Check the URL to make sure it is correct."
    Although the app runs perfectly fine from the browser as well -http://myserver/myvirtualdirectory/tiny.html.
    I am running this on IIS. I am novice in this area, so just wanted to start on J2ME so started with sample app, but failed make any progress.
    Any help would be of great help to me
    Rgds
    Ram

    More info on what .jad file and the .html file i have.
    Apart from the below there is a jar file at the same location where these files are present.( in the iis virtual directory called "midlets" )
    .jad file contents
    MIDlet-1: Tiny, Tiny.png, TinyMIDlet
    MIDlet-Jar-Size: 1145
    MIDlet-Jar-URL: http://localhost/midlets/Tiny.jar
    MIDlet-Name: Tiny
    MIDlet-Vendor: Unknown
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.1
    .html file contents
    <html>
    <body>
    Test
    </body>
    <html>
    rgds,
    Ram

  • J2ME Toolkit

    I have installed the J2ME toolkit, downloaded from java.sun.com, on a Linux machine. When I run a sample program that comes with the J2ME toolkit, the emulator is too small (about a square inch). I couldn't find any option in the properties file to change the image size of the phone. This problem doesn't come up on a Windows machine. Please guide.
    Thanks

    Hi,
    Add a "scale" entry to the <device>.properties file :
    scale = <magnification_factor> (an int, you can't use a float)
    for more detail, see {wtk_dir}/docs/BasicCastomizationGuide.pdf
    Regards

  • Trojan installation over trusted Midlet suite?

    hello,
    imagine i've signed my jar and is installed with no problem. Could a malign Midlet, which claims to be part of the original Midlet Suite be installed over the trusted one? I mean, the malign midlet has no MIDlet-Jar-RSA-SHA1 property in its JAD, so according with MIDP2.0 specification:
    "When an MIDlet suite is downloaded, the device MUST check if authentication is required. If the attribute MIDlet-Jar-RSA-SHA1 is present in he application descriptor then the JAR MUST be authenticated by verifying the signer certificates and JAR signature as below.
    Application descriptors without the MIDlet-Jar-RSA-SHA1 attribute are not authenticated but are installed and invoked as untrusted MIDlet suites."
    So, could that second midlet be installed, even as an Untrusted one?
    This second one, could read the shared RMS storage of the host Midlet Suite.
    thanks.

    Hey Friend.
    I'm also facing same problem. I also use socket to connect to remote server While connection to server i faced 2 symbian OS errors >Error -33(timeout) and then Error -5105(no route found).
    Please, if you get solution then inform me.
    My email: [email protected]

  • Accessing RMS of a different Midlet Suite

    Hi,
    I read the following in a document released from Nokia on MIDP 2.0.
    "MIDlets are allowed to create multiple record stores, as long as they have different names, and MIDlets
    can access record stores relating to other MIDlets within the same suite. Also, if explicit permission is
    given, MIDlets within other suites can also access the record store (a new feature in MIDP 2.0)."
    I would like to access an RMS in another MIDlet suite from my midlet. Does anybody know how I would do this or where I could find more information on this?? Also what does it mean when it says "explicit permission".
    My motivation behind this question is that I would like to maintain the data on my application even if a new version of the application is released. I take it that is I release a new version of my application that I would have to install a new midlet suite and that this would overwrite the existing RMS in the MIDlet suite. Therefore by having my RMS in a seperate MIDlet suite I can maintain my data. Is all of this correct?? Would this be the best way to approach this problem??
    Thanks,
    Brian

    Hi,
    Thanks for both of your replies!! i have tested this and found it to be sucessful making my task a lot easier. :-)
    Anyhow my other question regarding this is - on phones that ask you if you want the user data to persist.. is it possible to ensure that the user data is always saved.. thus removing this prompt or is this prompt standard on the device and cannot be changed.
    Thanks,
    Brian

  • Communication between MIDlets within the MIDlet suite.

    Hi Friends,
    I'm using WTK 2.2. I'm planning to have two MIDlets within the same MIDlet suite.
    I had two MIDlet files but after creating the Jar package , In the display screen, Only one MIDlet is displayed for launching.
    Please guide me the steps. If there is a local variable int i; then, how I do check the value of the variable between the different MIDlets?
    Please guide me on the steps .
    Thanks,
    Ravi.

    Here's the source code:
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.*;
    public class A extends MIDlet
         public int i=10;
         public A()
         protected void startApp()
         protected void pauseApp()
         protected void destroyApp(boolean unconditional)
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.*;
    public class B extends MIDlet
         public B()
         protected void startApp()
              A a=new A();
              a.i=10;
              System.out.println(a.i); //throws SecurityException at this line.
         protected void pauseApp()
         protected void destroyApp(boolean unconditional)
    }

  • How to use third party APIs with Sun J2ME Toolkit

    I've installed Sun J2ME Toolkit 2.1. If I intend to use other third party APIs with my existing toolkit, how do I do that. I can manage to get the jar file of the associated API classes, but how to integrate the same with the toolkit. Thanks in advance to all who support.

    if I remember right, it is enough, if you put the .jar of the api in the lib/ directory of your project (<WTK>/apps/<yourProject>/lib/ )
    hth
    Kay

  • 9i Developer suite login problem. help needed ASAP

    i installed oracle 9i developer suite, my problem is i can't login. this is the error ora12560: TNS: oracle adapter error.
    or
    if i put the hostname it displays a no listener error and closes. i tried to create a listener in net configuration assistant, but i can't see it in services.
    i'm using windows XP. and not conneted to any machine.
    do i need any changes on my window settings?
    please help...
    thanks
    here is my listener.ora
    ABC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\OraHome)
    (PROGRAM = extproc)
    tnsnames.ora
    TEST.ABC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ABC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test.ABC)
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracle)

    check your operating system network protocole is TCP/IP is installed if so check is there any problem with these protocoles. this error is encounter generally due operating system network protocoles it is not an oracle error. here is discription.
    TNS-12560 TNS:protocol adapter error
    Cause: A generic protocol adapter error occurred.
    Action: Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors.For further details, turn on tracing and re-execute the operation. Turn off tracing when the operation is complete.

  • The storage name for the MIDlet suite was not given

    I am trying to RUN my application (MIDP 2.0 CLDC1.0) using OTA option in net beans IDE.
    But it gives this message
    **The storage name for the MIDlet suite was not given**
    and abort the execution
    I am using Push registry.
    Also I am sending and receiving sms through mobile.
    Please help me in this topic?

    midlet1, I asked you less than 12 hours ago not to post to old threads that are long dead.
    [http://forums.sun.com/thread.jspa?threadID=5353188]
    If you continue to ignore the request, your user account is liable to be blocked.
    I'm locking this thread now.
    db

  • JApplet debugging problem

    Hi there all:
    I'm having a problem with debugging a JApplet. I created a new workspace, project and applet and didn't make any changes to anything. When I try to debug the applet, I get these messages:
    System Error: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup )
    System Error: java.lang.Object java.lang.Class.newInstance0()
    System Error: java.lang.Object java.lang.Class.newInstance()
    System Error: java.applet.Applet sun.applet.AppletPanel.createApplet(sun.applet.AppletClassLoader)
    System Error: void sun.applet.AppletPanel.runLoader()
    System Error: void sun.applet.AppletPa
    System Error: nel.run()
    System Error: void java.lang.Thread.run()
    If I change the object from a JApplet class to an Applet class, I can debug just fine.
    Anyone know what's going on here?
    Thanks
    Jeff

    Me again. Was doing some searching on the net about this one since I've gotten no response.
    Found this at Inprise (Borland) about a debugging problem with JBuilder3 (I assume that the base of jdev is still JBuilder).
    http://community.borland.com/article/0,1410,19739,00.html
    To quote from their document--------
    Question:
    I can't seem to debug Applets with JBuilder3 Standard. If I attempt to debug my Applet
    I recieve the following error:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission
    modifyThreadGroup )
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
    at java.security.AccessController.checkPermission(AccessController.java:403)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
    Why?
    Answer:
    In a nutshell this is an installation problem with JBuilder3 Standard edition.
    The install for JBuilder3 Standard did not provide the file 'DebugApplet.policy'.
    To resolve this problem download the file from the following URL:
    http://www.borland.com/devsupport/jbuilder/downloads/DebugApplet.policy
    After you have downloaded the file, copy the file to your JBuilder3\bin directory.
    This will fix the problem.
    You can also cut and paste the following:
    (NOTE: create the file DebugApplet.policy in your JBuilder3\bin directory)
    //DebugApplet.policy
    // These policy permissions are needed for the AppletViewer used by sun.tools.debug.
    grant {
    permission java.lang.RuntimePermission "accessClassInPackage.*";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "modifyThreadGroup";
    permission java.net.SocketPermission "*", "accept, connect, listen, resolve";
    permission java.util.PropertyPermission "appletviewer.version", "read";
    permission java.io.FilePermission "<>", "read";
    permission java.security.AllPermission;
    Could this be a problem in JDev3 too?
    Jeff
    null

  • Error: no MIDlet Suites found when install

    I have runned Java Application Manager(JAM) with entering the following command:
    emulator -Xjam
    then click the install soft button;enter thr URL:http://localhost:8080/demos.jad . raise an error:No MIDlet Suites found.I have placed demos.jar and demos.jad on the server.
    why?
    thanks.

    You have to indicate the location of a web page that contains an absolute link to the jad file:
    The greatest Application Ever
    not the name of the jad file.
    Once the emulator gets to the page, you will be prompted to install "The Greatest Application Ever".

Maybe you are looking for