BG5ST - Stuck on Installing suit From.. | Telit Cinterion IoT Developer Community
November 4, 2016 - 12:59pm, 4501 views
Hello.
I was building an app which always runned normally and now, out of nowhere, I get stuck on Installing suite from: http://192.168.244.2:54824/Webserver.jad, while uploading my app. The program does not start and it keeps stuck in that line. Also, other apps work normally like the demos incluided in the starter pack. This is very strange since it worked properly with exactly the same code before, and now it doesn't.
How do I uninstall an app?
Any other solutions?
Any clues?
Thanks
Hello,
As I understand you are trying to run the MIDlet form Eclipse or NetBeans. Can you paste the log? If the demo apps are working the problem may be in the project configuration. Have you changed anything there? You may try to search the configuration or create the new project and check if it will work. Have you tried to install and run the app manually with the AT^SJAM command?
Regards,
Bartłomiej
Hello once again, Bartlomiej.No, I haven't changed anything in the project. Yes, I'm trying to run it from Eclipse. Here's the console output:
Going to try running it from the modem to see if works. I'll post when I have them.
Ok, I made a fresh eclipse installation aslong as with all the tools and nothing changed.
I tried to execute the app copying the .jad and .jar files and executing AT^SJAM. The problem is I can't seem to send ATCommands. I only send and get no echo, which means the problem still persists
You have written in the first post that other project work fine. So the environment installation was probably OK. So didn't need to reinstall it. Just the project configuration might be broken. You could check in the Project Properties / Java ME if the configuration name ends with REMOTE1 and not REMOTE.
But now it seems that you have the problem with AT commands. Was it working before? On which interface are you trying to send commands? Please pates AT^SCFG? and AT+SPOW? replies.
Regards,
Bartłomiej
Hello again Bartlomiej.
I basically rebuilt my app with another name and it worked. Don't have a clue why.
Going to try to make it work without the IDE.
Thanks once again for your help.
Everything up and running.
Thanks :)
Hello,
I'm not sure what is "MyDir" file. What you should do is to copy the jad and jar files that was generated by your IDE (in your case Myapp.jad and Myapp.jar) to the flash file system of the module. Then if the application was correctly built it should be possible to install it with the command you have used. There should be a detailed description in the Java User's Guide document also.
Please send AT+CMEE=2 command before the installation to get more information about the error.
Before running the application it would be good to configure the system out inteface. Example: at^scfg="Userware/Stdout","asc0"
Regards,
Bartłomiej
Hi Luis
I had a similar problem to you and found this thread while hunting for a fix.
My Environment and Symptoms
I have an install straight from the gemalto concept board cd zip with some of the examples imported and working. Running on Win 7 x64 Pro with all updates (as of Nov 2016)
I wanted to make another project to test some separate functionality before incorporating it into the main project. But no matter what I couldn't get that new project to work. I looked through the java build path to ensure that the cwmlib was being included, I copied over the code (copy/paste the text directly). No matter what the board would not work.
Yet if i copied the code from the new project into one of the working ones (overwriting the original completely). It would work.
My Fix
The solution for me was to examine the jad files construction in eclipse, it didn't have the element telling the system where the initial start class was.
So I had to manually add the line.
The (Hopefully) Useful example
Go to your broken project, open the top directory, then in the left pane look for the "Application Descriptor" with a midlet folder icon. Double left click it. In the central pane you will see info like the Jar name and version number etc. Look at the bottom of the pane and you should see some tabs. Pick the last one ("Application Descriptor").
In this entry it should have something similar to the following output (This was from teh AtCmdDemo in the gemalto examples):
"
MIDlet-Version: 1.0.0
MIDlet-Vendor: Gemalto M2M GmbH
MIDlet-Jar-URL: AtCmdDemo.jar
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: AtCmdDemo,,AtCmdDemo.AtCmdDemo
MicroEdition-Profile: IMP-NG
MIDlet-Name: AtCmdDemo MIDlet Suite
"
The missing element for me on new projects was the "MIDlet-1" section.
If I add that and point it at the correct main class then the code will run.
The syntax is:
MIDlet-1: CLASS,,PACKAGE.JAVAFILE
So if I have a package like smsAccess
Inside I have Main.java
Then: MIDlet-1:Main,,smsAccess.Main
I don't know if my problem was a once off. And at one point I did end up doing a restart of the computer and board to solve another situation where my program wouldn't run. But this may help some people.
Hello,
Thank you for this description - it might help somebody with the similar problem.
I suppose that if you had chosen "Java ME MIDlet" instead of "Class" when you were creating your main class this would have been set automatically.
You could also use the "MIDlets" tab while editing the application descriptor to add the MIDlet class instead of editing the file.
When you create the project it is also important to change the configuration to CLDC 1.1 and profile to IMP-NG.
Best regards,
Bartłomiej