on 07-29-2008 3:00 PM
Hi All,
I am working on CRMHHSALES application but I am not able to run the application.
1. I have downloaded the standard war file CRMHHSALES.war from service market place
2. I am deploying the CRMHHSALES.war file in MI admin.I am giving the application name same as that of the war file.
3. After converting the .war into .sda format when I am deploying , the status shows as deployed but I am getting error in the trace viewer.
now If I search the application in mobile components I cannot see the application, means it is not deployed.
Can any one throw some light on it. I am not sure that is this some problem with the standard war file or with Mi Admin.
Thanks and regards
Neha Mahanty
Hi,
what is the actual error in the trace viewer?
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Oliver,
Thanks it was some problem with the admin. Now I am able to deploy the application.
But there is some other problem I am facing :
I am using standard CRMHHSALES.war which I downloaded from service market place.
When I deployed this war file in MI admin and assign it to my MI client device the application is running fine
Now I imported the war file which contains the source code CRMHHSALES_DEBUG.war in my NWDS. Now If I try to run the application from my NWDS, it is giving me u201CPage not found erroru201D.
I have not done any modifications, I just imported the war file in NWDS and run and its giving error.
My NWDS version is 7.0.14
Is there any problem with the standard war file.
Kindly suggest
Thanks and Regards
Neha Mahanty
Hi Oliver,
yes you are correct. I selected the precompile Jsp option and the applicaiton is running fine.
Thanks so much.
can u explain what was happening.
Also one more question. Now If I need to modify the Jsp's will it allow me or not. because I was facing this problem earlier that once I run any application using precompile Jsp option . I was not able to modify.
Any safety measures
Please suggest
Thanks and Regards
Neha Mahanty
Hi,
the problem is: MI is based on Tomcat. Do not ask me why, but in some installations it compiles the JSP pages by itself, in others it does not. If you take the tools.jar form the JDK, put it into the lib folder of Tomcat and then add this to the listofjars file of MI, you can simply use JSP and there is no need to precompile them.
Off course you can change the JSP pages. But to be 100% safe, delete the $JSP folder before you create the WAR file again. And a good idea is it to keep the files after you created them. The issue is: you select "Pre Compile JSP Pages" - that works totally fine and no error message was shown and so you use the created file. But that is not always the real story. Mi only shows errors in compiled JSP files, if you keep them in the $JSP folder. So it could be, that you have changed a file and in the changed file was an error. Well, cause you did not keep the $JSP, you have not seen it.
The manual delete of the $JSP is a safe thing again. In 99% of all cases it compiles changed JSP files again - even if there is an older version n the $JSP folder. but sometimes .... well, this is MI So delete the folder prior to WAR file creation and everything should be fine.
Hope this explains your issues.
Regards,
Oliver
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.