|
|
09-18-2009, 04:38 AM
|
#1
|
Knows Where the Search Button Is
Join Date: Nov 2008
Location: Islamabad
Model: 7100T
PIN: N/A
Carrier: Mobilink
Posts: 38
|
can't run BES 5 User Admin Tool cmd programatically?
Please Login to Remove!
Hi,
I wrote an application to manage BES users in bulk for 4.1.6. It is running without any problem, I was just calling BES User Admin Tool commands in my C# application.
Now when I installed BES USer Admin tool successfully on BES 5.0 from Blackberry Resource Kit 5.0, I am able to run all commands from command line. but when I ran my code here on BES 5, it is giving me error:
java.lang.NoClassDefFoundError: com/rim/bes/brk/besuseradmin/BESUserAdminMain Exception in thread "main"
I m running this command programatically as I ran on BES 4.1.6
BESUserAdminClient.exe -list -it_policies -p password
I can run this command succesfully on BES 5 using command line.
Any thougts would be appreciated in this regard.
__________________
Regards,
Laeeq Qazi
Senior Software Engineer [Exchange2007,BES 5,WSS 3.0, DCRM 4.0]
www.HostingController.com
|
Offline
|
|
09-20-2009, 04:12 PM
|
#2
|
BlackBerry Genius
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
|
looks like a problem with your code and not the BESUserAdminClient ...
|
Offline
|
|
09-26-2009, 01:25 AM
|
#3
|
New Member
Join Date: Sep 2009
Model: e71
PIN: N/A
Carrier: Moblink
Posts: 2
|
can't run BES 5 User Admin Tool cmd programatically? Reply to Thread
Copy this file "BESUserAdmin.jar" from "BlackBerry Enterprise Server User Administration Tool" folder and paste it to your application bin folder.
__________________
Mubeen Bhatti
Jr.Software Engineer
Provisions Hosted Exchange, CRM, BlackBerry, SharePoint and Web
|
Offline
|
|
10-05-2009, 06:31 AM
|
#4
|
Knows Where the Search Button Is
Join Date: Nov 2008
Location: Islamabad
Model: 7100T
PIN: N/A
Carrier: Mobilink
Posts: 38
|
can't run BES 5 User Admin Tool cmd programatically?
Hi,
Thanx mobeen for your reply, it really worked for me. There were no changes required in code, same code which ran on BES 4.1.6 also ran on BES 5.0.
Regards,
Laeeq
__________________
Regards,
Laeeq Qazi
Senior Software Engineer [Exchange2007,BES 5,WSS 3.0, DCRM 4.0]
www.HostingController.com
|
Offline
|
|
11-02-2009, 08:45 AM
|
#5
|
New Member
Join Date: Oct 2009
Model: 7100
PIN: N/A
Carrier: airtel
Posts: 8
|
Hi,
For tomcat5, i tried copy this "BESUserAdmin.jar" to bin and common\lib directory. It did not work for me. Any suggestions?
Thanks,
Suresh.
|
Offline
|
|
11-03-2009, 02:01 AM
|
#6
|
New Member
Join Date: Oct 2009
Model: 7100
PIN: N/A
Carrier: airtel
Posts: 8
|
Hi,
I installed BRK 5 in C:\BRK5.[this is where BESUserAdminClient.exe is avaialable].
When i run the following command [navigating to C:\BRK5 in the command prompt]
C:\BRK5> BESUserAdminClient.exe -list -it_policies -p password
is working fine and giving me the results.
But when i try to run it as from some other directory(C:\XXX) in the command prompt
C:\XXX> C:\BRK5\BESUserAdminClient.exe -list -it_policies -p password
is failing :( with java.lang.NoClassDefFoundError: com/rim/bes/brk/besuseradmin/BESUserAdminMain Exception in thread "main"
exception..
Any help is appreciated.
Thanks in advance!
|
Offline
|
|
11-03-2009, 05:29 AM
|
#7
|
New Member
Join Date: Oct 2009
Model: 7100
PIN: N/A
Carrier: airtel
Posts: 8
|
Hi,
I installed BRK 5 in C:\BRK5.[this is where BESUserAdminClient.exe is avaialable].
When i run the following command [navigating to C:\BRK5 in the command prompt]
C:\BRK5> BESUserAdminClient.exe -list -it_policies -p password
is working fine and giving me the results.
But when i try to run it as from some other directory(C:\XXX) in the command prompt
C:\XXX> C:\BRK5\BESUserAdminClient.exe -list -it_policies -p password
is failing :( with java.lang.NoClassDefFoundError: com/rim/bes/brk/besuseradmin/BESUserAdminMain Exception in thread "main"
exception..
My observations-
Basically, the command succeeds if the location form where we are executing contains BESUserAdmin.jar. else fails. throwing
"java.lang.NoClassDefFoundError: com/rim/bes/brk/besuseradmin/BESUserAdminMain Exception in thread "main"" exception.
And also running BRK commands generating BUA log file corresponding to BESUserAdmin.jar.
Please clarify!
Any help is appreciated.
Thanks in advance!
|
Offline
|
|
11-03-2009, 02:12 PM
|
#8
|
Knows Where the Search Button Is
Join Date: Nov 2008
Location: Islamabad
Model: 7100T
PIN: N/A
Carrier: Mobilink
Posts: 38
|
Hi,
Put this jar file in Windows system32 folder.
Hope this helps.
__________________
Regards,
Laeeq Qazi
Senior Software Engineer [Exchange2007,BES 5,WSS 3.0, DCRM 4.0]
www.HostingController.com
|
Offline
|
|
|
|