A problem of https in Wireless Toolkit  beta

Hi,
I am using J2ME Wireless Toolkit 2.0 to get a https connection. When I tried to use statement "hs_conn = (HttpsConnection)Connector.open(url);"
to get a connection to my server. url is varible here and has something like "https:\\129.173....". I got a meessage in the default color phone say "Client wants to send information. Here no problem. This will require the use of airtime which may cost you money. is it ok" then four items follows the message, then an "ok" at the right bottom of screen. I pressed the ok button(it is exactly below the ok). The default color phone is frozen. No any connection gets and No any work can be done after then. I have to destroy the color phone and rebuilt my code but still get same result.
Does somebody have experience on it and give me a hand
thanks a lot
Eric

Eric,
I've seen the same problem with a non-secure connection. That is, the problem is not related to https. Unfortunately, I do not have a solution. I did find that you can work-around the problem depending on where you locate your logic to make the connection (example, startApp). It's not much of a work-around unless you want to make a connection and leave it open for your entire session and you have a simple app.
When using WTK 1.0.4_01, I did not experience this problem when I ran the exact same code.
Al

Similar Messages

  • Java wireless toolkit beta 2.5

    i have been having problems my application in a palmOne tungsten E2.so i thought may be somethin is wrong with my code, i tried installing one of the demos that came with java wireless toolkit 2.5 beta, and it have the same error.The pda cnt seem to install applications created by the toolkit, anyone know why?pls help, its urgent.
    Yusra

    have u copied soure files to src folder
    and defined midlet and it's class under seetings tab?

  • For J2ME Wireless Toolkit Beta 2

    I wrote a project with this toolkit, I test it and it works fine with the
    Run MIDP Application. I tried to install it in the Nokia 72XX (Handphone of my
    fried, sorry forget the model). It reported "Invalid Jad file"
    Any suggestions?
    Thanks a lot in advance!

    I tried with the 7210 again, but it still insists that it is an invalid .jad file
    I put mine .jad file below. I am not sure which line makes the difference.
    MIDlet-1: atest, atest.png, SpaceGame
    MIDlet-Jar-Size: 100
    MIDlet-Jar-URL: atest.jar
    MIDlet-Name: atest
    MIDlet-Vendor: Sun Microsystems
    MIDlet-Version: 1.0
    in the atest.jar file, there is
    App.png
    SpaceGame$SpaceCanvas.class
    SpaceGame.class
    Sprite.class
    MANIFEST.MF (this file is in path meta-inf\)
    My friend download the valid .jad file, its .jad file is some different from the one I post above. Since yours works fine, can you tell where the error comes from?
    Thanks a lot for your help!

  • How to use KAWT with "Sun Java Wireless Toolkit 2.3 Beta"?

    Hi!
    Im new to developing java for mobile devices so all of this is pretty confusing for me. I started with installing suns:s "Wireless Toolkit 2.3 Beta" and it works fine but now I want to use awt classes so I started to look it up and that�s how I found out about kawt. I followed the tutorial at http://www.kawt.de/ and i was able to use it for Java Wireless Toolkit 1.0.4_02 so that it compiled fine and was run able.
    Then I tried the same thing in v 2.3 but I got a error that looked like this "Uncaught exception java/lang/NoClassDefFoundError: awtDemo: /awt/event/ActionListener: Cannot create class in system package." when i tried to run it. It compiled fine when I pressed the build button witch wouldn�t have happened if i hadn�t installed it correctly. So I�m wondering if someone knows were to find a tutorial for installing kawt for "Sun Java Wireless Toolkit 2.3 Beta" or if anyone knows what might be wrong?
    I'd welcome any help
    Thanks!

    If using the zip install of DSEE, you need to use your own java container to host DSEE. Try downloading the latest Tomcat (http://tomcat.apache.org) and deploying your dscc in it.

  • Base64Binary to byte[] problem in Wireless Toolkit and NetBeans

    Hi,
    I am generating stub with J2me Wireless toolkit. But the problem is that the toolkit can't successfully convert base64Binary to byte[] and gives error "Unknown simple type byte[]". Netbeans also gives some error while compiling it. Please anybody tell me how can i resolve this problem. Using base64Binary type is must.
    Kindly reply if you know. My email address is [email protected]
    Wasif Ehsan
    [email protected]

    public interface JobUpdate {
         @SuppressWarnings("unchecked")
         public String[] getUpdatedJobList(@WebParam(name="phoneJobs")String[] phoneJobs);
         @SuppressWarnings("unchecked")
         public void retrieveJobsWorked(@WebParam(name="data")byte [] data);
    I then use this to start the service
    JobUpdateImpl implementor = new JobUpdateImpl();
              JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
              svrFactory.setServiceClass(JobUpdate.class);
              svrFactory.setAddress("http://localhost:9000/JobUpdate");
              svrFactory.setServiceBean(implementor);
              svrFactory.getInInterceptors().add(new LoggingInInterceptor());
              svrFactory.getOutInterceptors().add(new LoggingOutInterceptor());
              svrFactory.create();
    Then use the wtk stub generator pointing at the service.
    http://localhost:9000/JobUpdate?wsdl
    The error returned by the tool is error: Found unknown simple type: byte[]
    Any ideas?

  • Wireless Toolkit 2.3 beta

    Whats with the links to download the new version? Is the Wireless Toolkit 2.3 beta going to be available soon?
    Thanks

    there might be a problem with midlet suite name. Check name in jad, file name of jad and jar. It's case sensitive!

  • Problem With Downloading Wireless Toolkit.

    I`ve problem with downloading the j2me wireless toolkit, i`ve tried to downloading it for 3 weeks but i couldn`t, so i`m searching for some mirror sites for this package and couldn`t find anything.Can You Suggest me a mirror site for Dl ing this package PLZ?

    I found that mpp sdk works well, it may not be what your looking for but Its worth looking at I think.
    http://www.mpowerplayer.com/

  • Installing Wireless Toolkit 1.0.3 on Suse 8.0 problem

    Hello,
    I try to install Wireless Toolkit 1.0.3 on Suse 8.0. I always get the message:
    uudecode: command not found Failed to extract JavaVersionTester class.
    Walking through all Suse packages didn't help. What could be the problem and how could I solve it?
    Thanks.

    solved it! Suse 8 doesn't install sharutil packages

  • Image problem with my palm (J2ME Wireless Toolkit)

    Hi,
    I did a basic application. I just show an image and it works perfectly with the J2ME Wireless ToolKit.
    However, when I create the package, convert it and send it on my palm, everything is ok, except the image. It won't appair.
    I get an exception that the image couldn't be found, but when I use the emulator, everything is ok !!!
    The image is in the "res" directory, like it was asked in the manual.
    I tought that everything is encoded (text file or image file) when you create the package. If it's working with the emulator, why is it not working on my palm?

    I had a same problem with my nokia 3650 in J2me the image appears but not on the phone, I think that that is a bug and fixed it this way:
    when you make a jar package, unpack package with winRAR or some archive program in some temp directory and in that directory make a res directory an put the image in it, then repack theese files again including the res directory in a new jar file. It works for me. It looks that J2ME in compiling doesn't change the path, to root but leaves the res directory.

  • [Java 2 ME] - Problem to running Wireless Toolkit

    I've downloaded the Wireless Toolkit 2.5.2 and developed successfully some applications. For a time I stoped the developing of JME applications and currently I want to re take. But my toolkit is not opening.
    I've already reinstalled but the problem remains
    I belive that I've deleted some configuration file.
    My o.s is Windows xp.
    I would really apreciatte if someone solves this.

    Have you tried a different emulator?, even could try some nokia or sony ericsson ones.
    Reinstall java maybe aswell?
    Reinstalling windows will fix anything :)

  • CONFIGURATION PROBLEM!IN WIRELESS TOOLKIT IN UBUNTU

    AFTER INSTALLING THE WIRELESS TOOLKIT IN MY UBUNTU 7.10.I..... INSTALLED IT IN MY HOME FOLDER........
    ON THE MAIN PAGE I WENT TO EDIT>PREFRENCES,THEN CERTAIN WARNINGS ARE SHOWN ON THE CONSOLE.PLZ HELP
    IT WAS LIKE THIS.............
    Create a new Project or open an existing one
    Warning:Couldn't find text for resources DEFAULT_EMULATOR
    Warning:Couldn't find text for resources PROXY_USER
    Warning:Couldn't find text for resources PROXY_PASSWORD
    Warning:Couldn't find text for resources PROXY_AUTHENTICATION
    Warning:Couldn't find text for resources PROXY_USE
    Warning:Couldn't find text for resources CHECK_UPDATES
    Warning:Couldn't find text for resources CLEAN-DATABASE_EXTENSION_LABEL
    Warning:Couldn't find text for resources SECTOOL.EXTENSION_LABEL
    Warning:Couldn't find text for resources MECERT.EXTENSION_LABEL
    Warning:Couldn't find text for resources STUBGEN.EXTENSION_LABEL
    Warning:Couldn't find text for resources BLUETOOTH_EXT.DEVICE_NEXT_ADDRESS
    Warning:Couldn't find text for resources SECURITY POLICY
    Warning:Couldn't find text for resources PREFERENCES_SUPPORTED_DEVICES

    public interface JobUpdate {
         @SuppressWarnings("unchecked")
         public String[] getUpdatedJobList(@WebParam(name="phoneJobs")String[] phoneJobs);
         @SuppressWarnings("unchecked")
         public void retrieveJobsWorked(@WebParam(name="data")byte [] data);
    I then use this to start the service
    JobUpdateImpl implementor = new JobUpdateImpl();
              JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
              svrFactory.setServiceClass(JobUpdate.class);
              svrFactory.setAddress("http://localhost:9000/JobUpdate");
              svrFactory.setServiceBean(implementor);
              svrFactory.getInInterceptors().add(new LoggingInInterceptor());
              svrFactory.getOutInterceptors().add(new LoggingOutInterceptor());
              svrFactory.create();
    Then use the wtk stub generator pointing at the service.
    http://localhost:9000/JobUpdate?wsdl
    The error returned by the tool is error: Found unknown simple type: byte[]
    Any ideas?

  • Wireless Toolkit installation problem

    I have installed the SDK to the default directory, but the wireless toolkit doesn't recognise it when it installs. Consequently, I can't build projects in the wireless toolkit. Does anyone know how I can point out to the wireless toolkit where the SDK is?

    i don't think it's wrong,
    but just try installing j2se 1.4 and tghen give the path of j2se sdk 1.4 as the path for the VM that the toolkit requires while installing.
    in short, do this:
    install j2se sdk 1.4.1 or 1.4.2
    then install the toolkit
    when the toolkit asks for the path of the VM , set the path to the j2se folder.
    try this; i think it will work.

  • Wireless Toolkit J2ME - changing the directory structure for your projects

    When I create a new package in the Sun Java Wireless Toolkit, the toolkit is creating a folder for the application and its subfolders in the following directory:
    C:Documents and settings/Owner/j2mewtk/2.5.2/apps/<name_of_project>....
    I am trying to change the directory for new and existing projects so that the directory is:
    C:WTK2.5.2/apps/<name_of_project>....
    The WTK is already installed directly under the C drive (C:WTK2.5.2/ )
    Any help would be much appreciated.

    I experience the similar problem.
    But got success with some mobile models and most of them fail.
    I put the following file in the web page.
    (test.html, test.jad, test.jar)
    Sony Erisson P800, install successful when accessing http://x.x.x.x/test.html, or http://x.x.x.x/test.jar
    Nokia 7650, install successful when accessing http://x.x.x.x/test.jar
    Nokia 3530 Fail,
    Does anyone know how to install java game to Nokia 3530 through Web.

  • J2ME Wireless Toolkit 2.5

    Hi all,
    I would like to ask if this new veresion (J2ME Wireless toolkit 2.5) supports ArrayList.
    I have developed a program with ArrayList , is it possible to run it in this new version without problems.
    Thanks

    New version of WTK 2.5 supports CLDC stack. Unfortunately the ArrayList class is not present in the spec for this stack, so WTK 2.5 will not be able to run your application. (Like all other CLDC implementations) But you can try the CDC emulator "Sun Java Toolkit 1.0 for CDC" at http://java.sun.com/javame/downloads/index.jsp
    (CDC stack has the class ArrayList)

  • How to run projects on Wireless Toolkit on Solaris 10?

    Hi,
    I've installed Solaris 10 on x86.
    After that I've installed Wireless toolkit and Netbeans Mobility pack.
    I was able to install both of them but, Now, when I try to run any J2ME application I get an error "Cannot find /lib/ld-linux.so.2" and something about preverifying.
    This might bebecause there isn't any perfect version of WTK available for Solaris 10 and I need to use wtk for liunx.
    I think since, solaris and WTK both are product of SUN they should provide solaris compatible version of WTK.
    Please let me know how can I solve this problem or suggest any other tool that can allow me to create and deploy J2ME applications on Solaris 10(x86)
    I need this to be solved pretty quickly since it is very urgent
    Thank you all
    Edited by: parag.rughani on Sep 28, 2007 5:37 PM

    there is no WTK 2.x for solaris, but it is possible to use WTK 2.x and Solaris. You can find how to that here:
    http://wiki.netbeans.org/wiki/view/JavaMEDevelopmentWithSolarisX86?version=21
    Good Luck,
    K.

Maybe you are looking for

  • Need to rotate a swf on page load???

    Not sure if this is the place to ask this but I have a swf file embeded in a web page design. Now here's the issue, the client wants to add more photos to it making it even larger. I would prefer not to make it larger but create 2 or 3 swf files that

  • Transferring Word docs from Vista PC to "Pages" on iPad.

    I have installed Pages on my iPad 2 and wish to work on a word document. I have read some info about Dragging and Dropping but have had no success. Wouls appreciate some ideas.

  • PR,PO in SRM

    hii Can some explain me how i can create a PR and PO in SRM. Or what are the transaction code to get the list of existing PR and PO in SRM. Experts some body can explain me Thanks Edited by: SRM Learner123 on Feb 9, 2011 1:10 PM

  • TACACS on Cisco WLC Issue

    I just installed a Cisco 5508 WLC on our network.  I have the Management IP in the management VLAN and on the controller I set it up "untagged".  WLC has two ports connected to a Cisco 4507 switch in the port-channel config. I can ping the controller

  • DM 4.5, software issues message "Cannot find system in table file"

    Serious error in Desktop Manager Software V 4.5Windows XP SP3MS OutlookDesktop Manager Software V 4.5, accompanies new RIM Blackberry Curve package purchased retail Bell MobilityJune 2009 After installation DM 4.5, software issues message "Cannot fin