BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-09-2009, 04:42 AM   #1 (permalink)
New Member
 
Join Date: Nov 2009
Model: 8900
PIN: N/A
Carrier: Airtel
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Trouble verifying LDAP jars, for use in BB Application

Please Login to Remove!

Hi All,
I've been working on a thick client BlackBerry APplication, and its required that I have to authenticate the users using an LDAP connection, from the black berry device. I am able to get this working as a standalone application, but when I try to port it to BlackBerry Application, It asks for preverification of jar files.

I've tried preverifying the jar files, like this.

1.
I copied the LDAP jar files ldapjdk.jar, ldapsp.jar and ldapfilt.jar(ie, jars we need to get preverified) to <JDE installation directory>/bin - usually this takes the form->
C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\bin

2. opened the command prompt and changed to my JDE installation directory.
3. execute the following command as:
preverify -classpath "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\lib\net_rim_api.jar" "ldapjdk.jar"

The output I got was,

C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\bin>preverify -classpat
h "D:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\lib\net_rim_api.jar"
ldapjdk.jar
Error preverifying class netscape.ldap.DynamicInvoker
java/lang/NoClassDefFoundError: java/lang/Object


** I tried looking into the output folder(here <bin> folder), but it has someof the class files that might have gone thru' preverification successfully, but due to the error above, the step doesn't complete gracefully.

I would appreciate the following help asap.

1. What is the trouble I'm having with the preverification step I've tried as explained above?

2. Can I get pre-verified ldap jar files, so I can directly use on my BlackBerry Application? If Yes, Can any one please advice me where to get it?

thanks in advance for any help.

Anil

Last edited by anilarkay : 12-09-2009 at 04:53 AM.
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

STAG GANG EPROM EEPROM PROGRAMMER IC PP41 41M100 230V
$44.99
STAG GANG EPROM EEPROM PROGRAMMER IC PP41 41M100 230V  picture10PCS AT24C256-10PU-2.7 DIP-8 24C256 PU27 2-Wire Serial EEPROM
$3.85
10PCS AT24C256-10PU-2.7 DIP-8 24C256 PU27 2-Wire Serial EEPROM pictureALLEN BRADLEY 1785ME16 1785-ME16 Ser A PLC-5/11 5/20 EEPROM MEM Module
$425.0
ALLEN BRADLEY 1785ME16 1785-ME16 Ser A PLC-5/11 5/20 EEPROM MEM Module pictureNew JHW2013 USB Programmer Program Support 24/25/93 EEPROM 25 Flash Bios Chip
$17.28
New JHW2013 USB Programmer Program Support 24/25/93 EEPROM 25 Flash Bios Chip pictureTNM5000 USB Eeprom Programmer+12pcs IC Sockets+Sucking Pen support JTAG ISP FPGA
$460.0
TNM5000 USB Eeprom Programmer+12pcs IC Sockets+Sucking Pen support JTAG ISP FPGA picture






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