April 16, 2011 08:22:00
Posted By BMak
|
SCENERIO:
it seems I have configured the signing for tablet applications successfully, but unable to sign the .bar file for a Blackberry WebWorks application for some reason, I get the following error message. (see attachment) [ERROR] Failed to load DOM from bbwp.properties
[ERROR] Error while locating
PROBLEM:
when I enter the bbwp command, I even tried to run these
different
commands (which worked before) with and without the signing
Neither of these line worked:
bbwp "c:\temp\myApp.zip" (This one worked before)
bbwp "c:\temp\myApp.zip" -gcsk
These command lines are instructed as per the following
webpage:
http://docs.blackberry.com/en/developers/deliverables/23977/Si
gn_t
he_cod_file_for_a_BB_Widget_application_836008_11.jsp
I checked the in web development solution and found this link
but,
it does not resolve my problem.
http://supportforums.blackberry.com/t5/Web-Development/Failed-
to-
load-DOM-from-bbwp-properties/m-p/730473/highlight/true#M8495
Assuming that it is related to using Window 7, I have
turned off
the UAC (User Account Control)
and ran the command prompt as an administrator, yet I still
get
the same error message.
SOLUTION THAT WORKED FOR ME:
I overcame this problem by NOT using Win 7. I re-installed on
Win
XP. Apparently there are Win 7 problems when signing. Before
you
do fresh setup to Win XP, make sure you try signing as an
administrator first.
SOLUTION FROM BLACKBERRY (3 week wait time):
The error message that you have described is a result of one
of
two scenarios.
SCENARIO 1
The first scenario that may be causing this issue is your Java
configuration. Please be sure to have the 1.6 version of the
JDK
installed while also ensuring that your have set the JAVA_HOME
environment variable. Insturctions on doing so are as follows:
1. Go to
www.oracle.com/technetwork/java/javase/downloads/index.html .
2. Click Download JDK.
3. From the Platform drop-down list, select the platform you
are
developing on.
4. After reviewing the license agreement, select the license
checkbox. Click Continue.
5. Click the filename and save the file to a location on your
computer.
6. Double-click the exe file and proceed with the
installation.
7. Update the PATH environment variable to point to the newly
installed JDK by completing the following steps:
a. From the Control Panel, select System.
b. On the Advanced tab, click Environment Variables.
c. Under System variables, select the Path variable and click
Edit.
d. At the beginning of the Variable value field, type the path
of
the JDK followed by a semicolon ; For example, C:\Program
Files\Java\jdk1.6.0_21\bin;
d. Click OK to save and close the Environment Variables
window.
SCENARIO 2
The second scenario that may be causing this error would be
related to administrative privileges/permissions. Please be
sure
that you are running all development operations as an
administrator (not just logged in as the administrator) and
that
the UAC is turned off.
|