BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-24-2009, 10:32 AM   #1 (permalink)
New Member
 
Join Date: Jun 2009
Model: 8007
PIN: N/A
Carrier: swisscom
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default RIM runtime code signing key (RRT)

Please Login to Remove!

Hi all,

I'm new to BlackBerry application development but I started to develop an application that does the following:
- use ksoap2 to call webservice
- parse XML document
- open a listening thread for pushed data

The application is running fine in the simulator.

When I deployed it on the BES, the application is pushed on the device but when I tried to start it, I got an error message :
Error starting myApp: Module "myApp" must be signed with the RIM Runtime Code Singing Key (RRT)

As far as I understood, I only need to sign my cod file if I was using one of the blackberry controlled APIs (defined in page 7 and 8 of the Application Developer Guide). As I am not using any of these API, how can I get the "problematic" ones' ?

also, if I launch the "request signature" tools (from Blackberry menu in Eclipse), none of the signing key are set to required in the list !

Can someone help me finding how to get my application working ?

Best regards

Sylvain
Offline  
Old 06-24-2009, 02:20 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

What OS version are you compiling for. I can't remember which, but one of the subclasses of Vector IIRC exhibits that behavior in 4.6.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 06-24-2009, 03:22 PM   #3 (permalink)
New Member
 
Join Date: Jun 2009
Model: 8007
PIN: N/A
Carrier: swisscom
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using OS version 4.2.1
(I tried both eclipse JDE 4.2.1 plugins and JDE environnement 4.2.1)
Offline  
Old 06-25-2009, 03:32 PM   #4 (permalink)
New Member
 
Join Date: Jun 2009
Model: 8007
PIN: N/A
Carrier: swisscom
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

here is the list of all imports I used in my project if it can help :

import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.IOException;
import java.util.Timer;
import java.util.TimerTask;
import java.util.Vector;
import javax.microedition.io.Connector;
import javax.microedition.io.StreamConnection;
import javax.microedition.io.StreamConnectionNotifier;
import net.rim.device.api.i18n.ResourceBundle;
import net.rim.device.api.system.Application;
import net.rim.device.api.system.ApplicationDescriptor;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.system.Characters;
import net.rim.device.api.system.KeyListener;
import net.rim.device.api.ui.component.BitmapField;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.component.Dialog;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.component.ListField;
import net.rim.device.api.ui.component.ListFieldCallback;
import net.rim.device.api.ui.component.RichTextField;
import net.rim.device.api.ui.component.SeparatorField;
import net.rim.device.api.ui.container.MainScreen;
import net.rim.device.api.ui.container.PopupScreen;
import net.rim.device.api.ui.container.VerticalFieldManag er;
import net.rim.device.api.ui.DrawStyle;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.FontFamily;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.MenuItem;
import net.rim.device.api.ui.Screen;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.util.DataBuffer;
import net.rim.device.api.xml.parsers.DocumentBuilder;
import net.rim.device.api.xml.parsers.DocumentBuilderFact ory;
import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope ;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.transport.HttpTransport;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
Offline  
Old 06-25-2009, 10:09 PM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Nothing leaps to mind. If you have other devices, you can try compiling if for a different OS version. Or is there a class that you just started using? It can be a real pain trying to debug a problem like that, I was lucky in that I was googling at the same time as someone else was posting about it.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 06-26-2009, 08:00 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Invest the $20 to purchase the BB code keys. This is much cheaper than spending hours trying to figure out why a certain build of the app requires signing on a certain level of OS.

BlackBerry - Java Code Signing Keys
Offline  
Old 06-26-2009, 09:51 AM   #7 (permalink)
New Member
 
Join Date: Jun 2009
Model: 8007
PIN: N/A
Carrier: swisscom
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I purshaded the BB signing key ... but waiting for the email

meanwhile, I think I found the "problematic" imports :

import net.rim.device.api.xml.parsers.DocumentBuilder;
import net.rim.device.api.xml.parsers.DocumentBuilderFact ory;

Without them, I can run my application on the blackberry device !

I am now looking for a way to load and parse a XML in the BB device that does not need the DocumentBuilderFactory and DocumentBuilder classes !
Offline  
Old 06-26-2009, 08:41 PM   #8 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Quote:
Originally Posted by lascaux View Post
I am now looking for a way to load and parse a XML in the BB device that does not need the DocumentBuilderFactory and DocumentBuilder classes !
You may just want to put you feet up till the key comes, that is quite a task.
__________________
My other Blackberry is a PlayBook.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.