we are using HP iPAQ h2200 PDA and installed MI client 7.0 and CrMe 3.29 (Java runtime env.) Sync is successful and mobile id is also getting generated. But if we try to see any application on MI client (even sample app from NW examples) getting error 404 (not found)
This application works fine when seen on laptop - mi client
What could be the possible reason?
Thanks for your help in advance.
I give you the same explanation as in the post of Arnaldo, I think you both pretty much run into the same trap....
error 404 means: Page not Found.
OnLaptop we have a complete JDK with the TOOLS.jar available. The benefit on that is, while we are running our App, MI can compile JSP to JAVA files and display them.
On PDA we do not have TOOLS.jar available. What we need to do is, we need to compile our JSP files with the MDK, while we create our WAR file. While creating the WAR file, after you selected to project, tick "Add JSP as compiled classes". This will solve the 404 issue on the PDA.
It is correct that you do not have a startup.bat file on the PDA. A PDA has no DOS shell like a PC and so STARTUP.BAT makes no sence. The startup is done automatically at restart of the PDA. You can find the MIServer shortcut in the folder WINDOWS/STARTUP on the PDA. IF you want to start it manually, just tick that shortcut. If it is already running, no second instance will be started, so it is not a problem to do that. BUT: as you can open the URL http://localhost:4444 in IE on the PDA, this machine is working fine. IF you do have problems, check the JCPOut file in the root folder of the PDA. You will find the Java trace there. If MI is running, there is a sharing restriction on this file. In that case, make a copy of the file on the PDA and transfer the copy down to your PC to open it.
I have create a BLOG, how to debug into PDA MI installations. Unfortunately, because you debug on a PC, you will most probably not find the 404 error there, because on a PC the JSP files will be compiled with the available tools.jar. Unfortunately it does not help to copy tools.jar to the PDA. The used Java implementation NSIcom Creme does not support that file.
Hope this helps to understand and solve this issue.