on 03-30-2011 5:50 AM
Hi., Gurus !!.
I just tried to create a BB application using the tutorial at infocenter.sybase.com on how to create a simple BlackBerry Application by using Customer and Sales_Order MBOs.., But , as I launch the application in the simulator., I get an error "sup2d$client2d$rim package" not found.., It also ends up in showing a JVM error on the simulator.
The tutorial.., in some point of time also tells to attach sup-client-rim.jar to the library and to copy the sup-client-rim.cod file to the simulator folder., But I am not able to find that .cod file.., As .cod files are generated by the rapc compiler. Please help
Hi,
Are you using DAD or custom development?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using custom development., I generated the code..,, once I created the MBOs. Here is exactly what I did :
Deployed MBOs to the server >> Generated Code>> Opened a new BlackBerry Project and copied the src folder that was generated in the mobile application Project. to the Black Berry src folder.., I even added the JAR files sup-client-rim.jar and UltraLiteJ.jar to the library....
Later.., when I launched the application it shows JVM error and displays an alert msg "sup2d$client2d$rim" not found
Have you added "sup-client-rim.cod" and "UltraLiteJ.cod" to the simulator directory which you using?
UltraLiteJ.cod located in : <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\ClientAPI\UltraliteJBlackBerry4.2
sup-client-rim.cod : <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\ClientAPI\java\RIM42
You should add both .cod files to the simulator directory. If you use sdk 4.6.1 then you ll add to : <UnwiredPlatform_InstallDir>\UnwiredPlatform\Eclipse\plugins\net.rim.ejde.componentpack4.6.1_4.6.1.49\components\simulator:
Regards
Tahir
yeah.. Thank you..
I got it resolved...
But now..., everything works fine.. Except the Authentication part
This is what it shows up on trying to login :
Invalid Login
com.Sybase.persistence.SynchronizeException:
ianywhere.ultraLitej.implementation.JrException:UltralieJ Error[-85]: Communication error(HTTP
400,
..
..
Bad RequestDetails:
StreamErrorCode =400
StreamErrorMessage=BadRequest
I tried bypassing the Relayserver check in the code..., but that didn help even
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.