on 09-22-2011 6:13 AM
Hi All
Backend Used: SAP
Middleware: SUP 2.0
Development IDE: Eclipse with BB plug in
Application Name: PR
Earlier I made the same application in SUP 1.5.5 with the use of DAD (Device Application Designer) and ran successfully. This application shows a list of PR and perform an operation of approval or rejection of selected PR.
In latest SUP release it abandoned the use of DAD for RBS application in BB, then i tried app developent using SUP 2.0 BB custom application development manual. I did everything like
Deployed package on SCC
Imported generated files in Eclipse
Imported 3 JAR files (referenced through another project)
Used syncprofile and syncgroup methods
Project on Eclipse (PR) resulted in different behavior, different time :
1. Ran successfuly on opening the application 3 4 times after running simulator.
2. Showed "midilet exception" while compiling the project.
3. Compiled successfully and on running the application on simulator, it shows en exception immediately after clicking the app icon - com.sybase.persistence.PersistenceException: UltraLiteJ Error[-974] : File I/O failed for 'PR1_0.ulj
I have a doubt on JAR files that we need to import, those might be made again.
Please help on this issue, or share your views
Thanks
Pankaj
Edited by: mohanpankajgupta on Sep 22, 2011 7:19 AM
Hello to All,
I also created my own thread but want to find below solutions too early.
I am trying to develop A SAP Application in SUP 2.0 with DAD on blackberry Device , but when the Synchronization process will start, it generates an error.
Encounter an error while synchronizing package "SaleOrder:1.0" and synchronization group default ".
com.sybase.persistence.SynchronizedException : ianywhere.ultraLiteJ.Implementatoni.JrException: UltraLiteJ Error [-794] : Synchronized server, failed to commit the upload (SQLCODe -10225) Message Failure Occured while executing user supplied code in the server, Table name : NULL.
Please help me to solve this issue.
Thanks & Regards,
Tapan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi pankaj,
can you tell me please how to used blackberry plug-ins with SUP 2.0, Because i faced an error in Blackberry plug-ins like
JVM Error : 104 Synchronized Exception.
and then i continue with this error , another error occured like,
Uncaught Exception :
ianywhere.ultralitej.implementation.JrException:
UltraLiteJ Error[-85]:
Communication error
Local Connection timed out
after ~ 120000 Details:
StreamErrorCode=0
StreamErrorMessage=0
Regards,
Tapan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello mohanpankajgupta,
Could you please provide more details about solving this issue? I'm facing the same error as mentioned above:
Uncaught exception: ianywhere.ultralitej.implementation.JrException:UltraLiteJ Error[-85]: Communication error Local connection timed out after 120000 Details: StreamErrorCode = 0 StreamErrorMessage = null
Thanks in advance.
Hi
For using Enterprise application, you must have BES connection while running BB Application. You must run MDS console while running application on simulator.
Right click on your project->run->run config->simulator->general-> launch MDS with simulator (check that).
If you installed eclipse plug-in.
Thanks
Pankaj
Hi Pankaj
Are you using and J2ME API's in a Blackberry UIApplication ?
Update your SUP 2.0 to 2.0.1 there are multiple bug fixes related to UltraliteJ
For the Client applicaion you have to import the jar files from the ClientAPI/RBS/BB folder also install the 3 cod files into the sim before launching the app.
You can get the update from sybase.com/downloads select SUP and the latest EBF. (Need registered user id(Free) for access )
Thanks
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Pradeep
I was thru all those steps that you told, but the problem is not solved yet. Still getting the same error saying
com.sybase.persistence.PersistenceException: UltraLiteJ Error-974 : File I/O failed for 'PR1_0.ulj
Was you able to make any successful application with SAP or JDBC as backend in SUP ESD 2.0 #1, with custom coding?
Please assist. I am badly stuck with this issue.
Thanks All.
Pankaj
Hi
Please tell your whole implementation procedure. So that we can find the missing step.
One major mistake while runing application through blackberry simulator in enterprise application is:
you load the three .cod files before you start the application,
but don't paste those cod files into RIM directory ( from where blackberry simulator runs
(<RIM >\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator)).
Check this, if this can solve your problem, other wise tell the entire cycle by which you developed and run the application.
Thanks
pankaj
Hi mohan,
we are also trying the same retreiving the data from SAP thro SUP 2.0. the scenario falls like getting the SO list by giving the client name as input. we are doing the client development for BB device and have carried out the steps as you mentioned. we are able to login successfully but we face a prob with respect to retreiving the data from MBO using the sync parameter. we are seeking your help in knowing the correct method or function to be called for getting the data from MBO.
thanks in advance
regards
SK
HI Sivakumar
It seems that you are trying to retrieve a dynamic list. Whose input would be put by you while runing the application. Then you have to use personalization key concept.
In load parameters map the personalization value to your input.
And while making custom application just add these lines before you populate the list.
pp = SODB.getPersonalizationParameters();
pp.set<Pernr_key>(<your_input>);
pp.save();
refreshData();
SODB.synchronize();
* // considering that your project is named as SO*
Thanks
Pankaj
thanks mohan.. we got the data from SUP but tried in different way
Query query = new Query();
AttributeTest test = new AttributeTest();
test.setAttribute("<att name>");
test.setValue("<Value>");
test.setOperator(AttributeTest.EQUAL);
query.where(test);
result = new LabelField("Test criteria created..");
add(result);
<MBO PROJ NAME>DB.synchronize();
ObjectList soList = <MBO Name>.findWithQuery(query);
result = new LabelField("Size: "+soList.size());
add(result);
if it is not the correct process pls correct us.
thanks
SK
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.