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?

Similar Messages

  • 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?

  • Problems installing Wireless Toolkit module in Forte 3

    I completely remove Forte 3.0 and the WTK 1.02 from my machine (WINNT 4.0 sp6a, J2SE 1.3.)
    Installed Forte 3.0 succesfully.
    Installed WTK 1.0.2 Integrated option successfully (Installer asked me for the install home dir. for Forte)
    But when I run Forte I do not see any templates etc. which would allow me to write a j2me compliant code (as referred to by the User Guide pdf).
    Where did I go wrong?

    I have the same problem.
    I also have the problem of getting a SecurityException
    when trying to runAll ---> Execute.
    java.lang.SecurityException: Unable to create temporary file
    at java.io.File.checkAndCreate(File.java:1159)
    at java.io.File.createTempFile(File.java:1247)
    at java.io.File.createTempFile(File.java:1284)
    at com.sun.kvem.midp.PalmEmulator.generateJar(K:/re/kvem1.0.2_EA2/midp-palm/src/palm/emulator/com/sun/kvem/midp/PalmEmulator.java:176)
    at com.sun.kvem.midp.PalmEmulator.createPRC(K:/re/kvem1.0.2_EA2/midp-palm/src/palm/emulator/com/sun/kvem/midp/PalmEmulator.java:124)
    at com.sun.kvem.midp.PalmEmulator.run(K:/re/kvem1.0.2_EA2/midp-palm/src/palm/emulator/com/sun/kvem/midp/PalmEmulator.java:349)
    at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
    at com.sun.kvem.environment.EmulatorInvoker.runEmulatorSameVM(Unknown Source)
    at com.sun.kvem.environment.EmulatorInvoker.runEmulator(Unknown Source)
    at com.sun.kvem.environment.ProfileEnvironment$KVMThread.runEmulator(Unknown Source)
    at com.sun.kvem.environment.ProfileEnvironment$KVMThread.run(Unknown Source)

  • [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 :)

  • 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.

  • 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/

  • Ubuntu - Wireless Toolkit 2.5.1 EA

    I successfully installed the new Sun Wireless Toolkit 2.5.1 EA on my Ubuntu 6.06 Dapper system.
    However, when I try to run any example MIDlet in the toolkit, it gives me this error:
    java.lang.UnsatisfiedLinkError: /usr/share/WTK2.5.1EA/bin/sublime.so: Can't load IA 32-bit .so on a IA 32-bit platform
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
         at java.lang.Runtime.load0(Runtime.java:769)
         at java.lang.System.load(System.java:968)
         at com.sun.kvem.Sublime.<init>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.sun.kvem.Lime.createLime(Unknown Source)
         at com.sun.kvem.KVMBridge.<init>(Unknown Source)
         at com.sun.kvem.KVMBridge.getBridge(Unknown Source)
         at com.sun.kvem.midp.MIDP.run(Unknown Source)
         at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
         at com.sun.kvem.environment.EmulatorInvoker.main(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.kvem.environment.JVM.main(Unknown Source)
    What am I doing wrong? It says I can't load an IA 32-bit .so on an IA 32-bit platform. What does that mean?
    Any feedback would be most appreciated.

    that's not all there is to it -- for example, on Debian etch, it does not work at all. That is probably due to the fact that sublime.so is compiled against libc6 2.4.
    Since Debian etch (and Ubuntu dapper) only have glibc 2.3.x, the library is incompatible. You can see that when you do ldd /path/to/sublime.so -- like this:
    mcornils@asus:~/bt/WTK2.5.1/bin$ ldd sublime.so
    ./sublime.so: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./sublime.so)
            linux-gate.so.1 =>  (0xffffe000)
            libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e3f000)
            /lib/ld-linux.so.2 (0x80000000)So, upgrade to more recent versions (lenny has glibc 2.5, edgy and feisty are ok, too) or get Sun to recompile against the older glibc (which might be difficult since they probably rely on some new glibc 2.4 features).
    Good luck,
    -Malte

  • 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

  • Java Forte CE and J2ME Wireless Toolkit configuration

    I installed Sun Java Forte V3.0 Community Edition and the J2ME Wireless Toolkit 1.0.3.
    I not able to run a MIDlet for the PALM OS Emulator. Wen I execute the MIDLet suite, the output windows returns: "Error could not find a JVM"
    - Does any body knows how to properly configure Java Forte to run application on the Palm OS Emulator (POSE).
    - Does any body knows how to attach Sun Forte debugger for MIDLet applications ?
    Thanks

    hi,
    First Install the forte and then install the j2mewtk.While installating j2mewtk chose integrated option.
    For Palm OS emulator you have to set the POSE location.
    Try out this.
    Open ktolbar.
    OpenProject.
    select an application.(examples)
    set device PalmOS_device.
    Now run the application.
    A window pop for u.
    This may help you
    good luck.
    koka

  • 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 - add implementation of JSR

    I want to run MIDlets (in the emulator) using a JSR not currently included in the Sun Java Wireless Toolkit.
    I can do the implementation myself and package it as a JAR-file.
    The problem is that the code is in the javax.-package so I can not let code go into my MIDlet's JAR-file. What I would like is if it's possible to drop the JAR-file in the WTK's lib-folder and then the emulator would use the classes just if they were part of the platform. Unfortunately this does not seem to work.
    Does anyone know if this should be possible?
    Do I have to alter some configurations file to tell WTK to use the JAR-file?
    BR,
    Markus

    >
    I doubt that this is possible. Besides jar with JSR code, I think that other code is needed in order to integrate it into emulator.
    What JSR do you want to use? What version WTK do you use - 2.5.2? Did you look into "next generation WTK" - Java ME SDK?
    Java ME SDK supports about 20 JSRs, click here for detailed description. Just as renard1 I am thinking of JSR-257.
    >
    I'm currently using 2.5.2 (integrated with NetBeans IDE) but EA 3.0 looks promising. I will look into that more when it comes to Linux...
    Sure if I would implement everything in the JSR and also have the possibility to attach cards and so on it would require code integrated into the emulator, but I don't need that functionality right now. What I have is a jar-file with pure Java ME code that I want the emulator to consider as part of the platform.
    Is there any special reasons for having which JAR-files to be included hard-coded in the emulator source code? I think that sounds very inflexible.
    >
    I think that I can modify and rebiuld the sources but I hope that there is an easier way. Don't you have ?'
    >
    Is the source code for WTK or EA available somewhere?
    >
    Besides WTK, did you consider testing your NFC MIDlet with other emulators such as for example JSR 257 RI SDK or Nokia SDK for Payment and Ticketing ? If needed, find more details on these emulators at links below:
    - JSR 257 RI SDK FAQ
    - Nokia SDK for Payment and Ticketing FAQI couldn't find if JSR 257 RI SDK (still) was available for download anywhere.
    >
    I couldn't find that JSR 257 Reference Implementation SDK anywhere for download. Have you?
    Currently I'm using Nokia 6131 NFC SDK (http://www.forum.nokia.com/devices/6131_NFC) but I would rather not be limited to that SDK/emulator which among other is Windows-only and has no profiler.

  • Null Pointer Exception and Illegal Arguement when ran with Wireless Toolkit

    The following code throws a null pointer exception after it tried to initialize the textBox. I am not sure if there is something I am not importing, or if it's just because I'm sick and my head is cloudy. :-}.
    I am using Wireless Toolkit 2.2 and Java 5.0
    Anyhelp would be appreicated. Thank You.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class TacticalTestMain extends MIDlet implements CommandListener {
         private Display display;
         private Form formMain;
         private TextBox tbHelp;          //Text Box for help Command
         private Command cmExit;          //A button to exit midLet
         private Command cmBack;          //Go "back" to main form
         private Command cmHelp;          //Ask for help
         public TacticalTestMain()
              display = Display.getDisplay(this);
              formMain = new Form("Tactical Survey Program");
              cmExit = new Command("Exit", Command.SCREEN, 1);
              cmBack = new Command("Back", Command.BACK, 1);
              cmHelp = new Command("Help", Command.HELP, 1);
              formMain.addCommand(cmExit);
              formMain.addCommand(cmBack);
              formMain.addCommand(cmHelp);
              formMain.setCommandListener(this);
              System.out.println("Before Create Text Box");
              //Create the help textBox with a max of 25 charecters
              tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
              tbHelp.addCommand(cmBack);
              tbHelp.setCommandListener(this);
              System.out.println("AfTER Create Text Box");               
         }//end constructor
         public void startApp()
              System.out.println("Inside StartApp()");
              display.setCurrent(formMain);
         }//end startApp()
         public void pauseApp()
         }//end pauseApp
         public void destroyApp(boolean unconditional)
              notifyDestroyed();
         }//end destroyApp()
         //Check to see if the exit button was selected
         public void commandAction(Command c, Displayable d)
              System.out.println("Inside commandAction()");
              String sLabel = c.getLabel();
              if(sLabel.equals("Exit"))
                   destroyApp(true);
    Errors from the KToolbar:
    Running with storage root DefaultColorPhone
    Before Create Text Box
    Unable to create MIDlet TacticalTestMain
    java.lang.IllegalArgumentException
         at javax.microedition.lcdui.TextField.setChars(+105)
         at javax.microedition.lcdui.TextField.setString(+27)
         at javax.microedition.lcdui.TextField.<init>(+134)
         at javax.microedition.lcdui.TextBox.<init>(+74)
         at TacticalTestMain.<init>(+134)
         at java.lang.Class.runCustomCode(+0)
         at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
         at com.sun.midp.midlet.Selector.run(+22)
    Execution completed.
    743701 bytecodes executed
    23 thread switches
    741 classes in the system (including system classes)
    4071 dynamic objects allocated (120440 bytes)
    2 garbage collections (91412 bytes collected)

    Hi zoya,
    Here is the problem:
    tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
    This line declares a maximum textbox size of 25 but in reality he is declaring a textbox of size 29.
    Thats why it is throwing the illegal argument.
    happy coding :)

  • My time capsule seemed to have given up so I have just got a net gear router, I have no problem connecting  wirelessly but when I connect an Ethernet cable it says it's connected but pages will not load

    My time capsule seemed to have given up so I have just got a net gear router, I have no problem connecting  wirelessly but when I connect an Ethernet cable it says it's connected but pages will not load

    Do a factory reset .. nothing will be deleted from your backups and you will be able to get access to them again.
    The Factory Reset Gen1-4.
    Unplug your TC. Hold in reset. and power the TC back on.. without releasing reset for about 10sec. When the status light flashes rapidly; release it.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.

  • Problem printing wirelessly with OfficeJet Pro 8600 on a Macbook Pro running OS 10.7.4

    I just bought this printer. Setup when perfect, my Mac sees it and when I print, it starts fine, until... it looses contact.
    I re-installed everything twice, and I even got the latest installer from HP's web site.
    ePrint works fine, so I know docs make their way to the printer.
    The router is a Linksys Wireless-N Broadband Router, model WRT160Nv2, with firmware v2.0.02
    Please help!!!
    I even make a clip showing the problem.... http://youtu.be/Qlep8ZK8Dv0

    Verify the router is on the latest firmware.  If not, upgrade it.
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Here select manual configuration...Wireless Network mode should be mixed...
    - Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Radio Band to Standard-20MHz and change the Standard channel to 1...Wireless SSID broadcast should be Enabled and then click on Save Settings...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    You should use WPA2-AES and reset your TV and all your other wireless devices as it will ask for a new password/paraphrase.
    Change the Beacon Interval to 75 >>Change the Fragmentation Threshold to 2304, Change the RTS Threshold to 2304 >>Click on "Save Settings"...
    Now see if you can locate your Wireless Network and attempt to connect...
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

Maybe you are looking for

  • Default Query Print Layout problem

    Hello:     I have a query below SELECT T0.[ItemCode], T0.[Dscription], sum(T0.[Quantity]) as 'Quantity' FROM INV1 T0 WHERE month(T0.[DocDate]) =month([%0]) AND  year(T0.[DocDate]) = year([%0]) and T0.[ItemCode] IS NOT NULL GROUP BY T0.[ItemCode], T0.

  • Problem with order!

    Hello I ordered in you iphone 5S 16gb gold. Now I need to cancel this order but I didn't enter the APPLE ID at purchase and now when I want it to cancel it writes to me The signed in account does not have access to this order.

  • JPEG? TIFF? PNG? PCT? Best still format to use in FCP7???

    I'm making a WWII documentary that will feature a lot of pans and zooms on stills. My sequence setting is DV-NTSC, 480i. I'd like to know the best Photoshop still format I should be using. I've heard that TIFF is best but it also happens to take up a

  • How to make menu to auto close when a menu item is selected?

    hi ...my question is described above.. to make things clearer i have written a mini code to demonstrate my problem import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; /* just a frame with a JMenuBar with a J

  • Conferencing problems...please help

    I am using CCM 4.0 and i was having problems conferencing two calls. My setup is as such that i am using G.711 for local extension and G.723 for external extensions. For this i have created two regions for local and external gateway. What happens is