on 03-02-2009 8:27 AM
Hi,
I have a custom jsp-application to use with MI7.1.
The application is synchronized to the MI client on a handheld device, but when I click the link to start the application I get an Error 500:
Internal Servlet Error:
javax.servlet.ServletException:
sun/tools/javac/Main at....
Root cause:
java.lang.NoClassDefFoundError:
sun/tools/javac/Main at...
The tools.jar does not exist on the handheld device, but I wonder if this is the problem? Which library correspond to the tools.jar?
Regs
Øyvind
Hi,
Copy the two files tools.jar and dt.jar from common/lib and paste them into bin folder in the tomcat.
and set the classpath for these two copied .jar files and restart the device.
Regards
Manohar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Øyvind,
Have you installed "pda_jsp_container.cab" on the handheld? Please mark this question as answered if my or thers' post solved your question.
Regards,
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Øyvind,
Instead, while exporting the project select the "Include JSP as compiled classed" checkbox.
In this case the JSP's will be compiled and then the generated class filess will be added to the classes folder inside the WEB-INF folder or your application war.
1. Shutdown the client.
2. Copy the WAR inside the MI omcatwebapps
3. Restart the client.
4. Login and Click on the application link.
This should solve your issue.
Thanks & Regards,
Abhijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.