cancel
Showing results for 
Search instead for 
Did you mean: 

How to run another application in MI Client

Former Member
0 Kudos

Hi

My question is that

Suppose i have created three SmartSyncProject and for that three project i have created three different application.Thease three application i have registered in NWA. I am using MI 7.0

My Problem is that

When i synchronize directly from MI Client I found only one application output.

So without NWDS how to find the other two application output.

Regards

Ruturaj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

So you have to create 3 war files. Upload them to the web console (NWA) making sure you do not forget to click on "show application link". Then assign them to your device.

Sync and you should have the 3 links on your MI client home page.

Thank you,

Julien.

Former Member
0 Kudos

Hi

My problem is that

I have created CUSTOMEMPLOYEE and STANDARDEMPLOYEE application .The output of these two applications is also different when I click on individual application

My problem is that

When I am exporting CUSTOMEMPLOYEE application that application run very well but at the same time I am clicking STANDARDEMPLOYEE application it shows PAGE NOT FOUND

Similarly when I am exporting second application means STANDARDEMPLOYEE it will run very well but if I am clicking first application means CUSTOMEMPLOYEE it will show PAGE NOT FOUND .But I want output of first application at the time of click on first application at the time of exporting second application

Regards

Ruturaj

Former Member
0 Kudos

Hi,

check if you have goven these apps different names in the GETAPPNAME handler. If these names are the same you most likely get this error.

As well check if in WEBAPPS folder you see each app as a separate folder.

Regards,

Oliver

Former Member
0 Kudos

Since I have created two project

1)CustomEmployee

2)StandardEmployee

For CustomEmployee project i have given application name as CustomEmployee application and for StandardEmployee project application name is StandardEmployee application

When i am exporting these two project separately output will be come .Since these two project's application now on MI client .

When i am opening my MI Client these two application i have seen .

Suppose last time i am exporting first project .In MI Client when i am clicking first application output is comining.

But click on second application in MI Client it will not show output (Since second project i am not exporting only first project i am exporting)

My question is that

Whenever we go through MI Client and click on any application ,output of that application must show whether it is exporting or not.

Please please give me answer in detail if it is possible or not to open aaplication directly through MI Client

This question comes in my mind bcoz in mobile OR PDA there is no NWDS to export application each time and see output.I think there is only list of application .

Former Member
0 Kudos

Hi,

Long time ago, I read somewhere that it is not possible to run 2 different smart sync applications on the same device. Do check out if there are any notes for it.

But iam not sure if thats the case now. Its just an info I read somewhere.

Best Regards,

Siva.

Former Member
0 Kudos

Hi Julien

Hi

I am exporting my project through NWDS .Now through Mi Client want to run my different applications of different project simulteniously.Means only click on different application on MI Client and output will be come .

As you said when you run an application from there only the classpath of the selected application is loaded.

Since i am opening my startup.bat file .Path of that file is---

C:\Program Files\SAP Mobile Infrastructure\bin

Inside that file there is message

C:\Program Files\SAP Mobile Infrastructure\bin>set bootstrapjars=\lib\system\c

rimson.jar;\lib\system\jaxp.jar;\lib\system\xalan.jar;

Your TOMCAT_HOME appears to contain sp

Unable to set CLASSPATH dynamically.

Setting your CLASSPATH statically.

Is there is need to set CLASSPATH dynamically

If there is need then please tell me how to set CLASSPATH dynamically

Also i found two startup.bat file

1) C:\Program Files\SAP Mobile Infrastructure\bin

2)C:\Program Files\SAP Mobile Infrastructure

Former Member
0 Kudos

Hi Oliver

Hi,

I have two different folders in my WEBAPPS folder and when i export these two applications individually from NWDS they are working fine and i get the expected output...

Note:- Here i have installed MI Client in Desktop..

and as i come to know that when we run our application in PDA where we do not have NWDS in the device where we have only MI Client..

so as i have only MI Client in my divice i will not export any application and i will directly go for synchronization with out exporting..

so at that time iam getting only one application output and the other appliaton is showing PAGE CAN NOT FOUND message..

so now how to get the output of the two applications which are in the MI Client.

Note:-My application name is same as WAR file name

Thanks and Regards

Raj

Former Member
0 Kudos

Hi,

what I am lacking here is: why do you rely on NWDS? You need to deploy the app from middleware to the client the first time and only when ths is done you can work with NWDS.

I think what you try is you deploy the app into the WEBAPPS folder, start MI and then you try to acces the APP with the URL directly? The app has to be shown as a separate link on the main site of MI and you can access this app via that link. This will work fine for one app or for several apps - I have done it with 3 apps a few weeks back and I had no issues. All I had to do was to deploy these apps from the Admin via sync and then restart MI and sync again. This worked fine.

There is no reason why it should work for one ap fine and not for several if you follow his route.

Just to clarify: you are on MI <= MI7.0 and not MI7.1 - that is correct?

Regards,

Oliver

Former Member
0 Kudos

Hi Oliver

I have developed my application on MI 7.0

My Steps are

1) First i have created SmartSync application and i have exported that application.

and as that is not registered with NWA it will direct to NWA and the .war file is generated in WEBAPPS

2)Then application of project is registered on NWA.

3)Now after registering application on NWA i am again exporting my project at that time i am able to check the check box Run the mobile application in NWDS

4)now i can export the application and it will direct me to MI Client and there i will sync the application 3 times to get the output.

it will automatically create a folder in WEBAPPS with the application name(.war name)

and iam using MI7.0

and i follow the same procedure for 2 different applications.

so in this senario as i have NWDS I can export my applications individually to get the output.

if i have only MI Client then i can not export the applications where i have to directly go for synchronization and in that situatuation i get only one application output ..

so give me some inputs to get the 2 applications output directrly from MI Client..

Thanks and regards

Raj

Former Member
0 Kudos

Hi,

well, your first procedure works fine and if you follow this procedure for both apps, then you should have two versions running on your MI application. Based on that you should have now issues with 2 apps if you follow that procedure.

Once you have done that, futher development is easy. Simply stop MI client and create the WAR file inside WEBAPPS folder. Then renme the folder of that particular application and then start MI client again. This will extract the WARf ile to its application folder. Then you can work with that new application.

BUT: you need to deploy both apps from MI middleware for the first time!!!!!!!

Hopefully this helps to solve the issue.

Regards,

Oliver

Answers (0)