07-02-2009 06:08 AM
I want to realise a connection between a BB Java Application and a Domino Server using DIIOP.
I have test this same connection with a Classic Java Application and it works perfectly , but when i try to use the createSession method from the NotesFactory in a BB Application i have got this error when i launch it from the BB : Module 'NCSO' Not found.
I really don't understand because my project buildpath contain the NCSO.jar and this JAR are import in the .cod generated.
I use JDE Plugin for Eclipse, Component Pack 4.7.0 and until now i haven't got other issues
So if anyone can help me thk
07-02-2009 06:10 AM - edited 07-02-2009 06:11 AM
NCSO library should also present on device.
Check this KB article.
07-02-2009 06:11 AM - edited 07-02-2009 06:16 AM
Even if you force your BB application to compile, it won't run on the device.
it won't pass the verification stage.
NCSO.jar created with J2SE and implements CORBA support.
BlackBerry does not support classes used in NCSFO.jar
It supports a subset of J2ME classes.
07-02-2009 06:17 AM - edited 07-02-2009 06:18 AM
NCSO.jar is a part of installation of Lotus Notes Domino server.
It implements CORBA support and implementation is based on J2SE classes.
07-02-2009 10:04 AM
First of All tks for your anwers
So you telling me that i can't communicate with a Domino Server from a BB Application ??
If that the case, i'm really disappointed in this technology
Can i transform my NCSO.jar to NCSO.cod and deploy it in the device?
BB haven't a NCSO.cod dowloadable module ?
If you know an other solution to do this kind of thing, please let me know
I 'll update my thread if i find anything
07-02-2009 12:23 PM
You can communicate to outside world from blackberry device.
Check this thread:
BlackBerry does not support CORBA/RMI classes.
There is no classes in RIM API to do that.
You can make NCSO.cod file from NCSO.jar file.
And even you can deploy it on the device.
But it won't make you happy, believe me
Because you'll get verification error.
Device operating system will check this cod file and will found unresolved references to not-supported classes.
You cannot use this cod file.
It will be just located in device memory and nothing more.
07-16-2009 05:50 AM
So, I try to do a Push Data from Domino to the Device.
My first issue is that i can't realise the Activation Entreprise in the device.
My Bes have a Disconnect SRP statut, and i don't understand because my SRP keys seems to be invalid (when a try to validate in the Blackberry Server Configuration )
"Invalid SRP Key or ID
Warning : Error occured while receving server ID from wireless network"
I have a Bes 4.1.6 Trial and i have properly enter the key of this trial version
I have check all step in this support : http://www.blackberry.com/btsc/viewContent.do?exte
If you have any idears, let me know
07-16-2009 05:57 AM
I am sorry, but I have no idea what is going on in your case.
I think the better way is posting such question here: