on 05-11-2006 5:23 PM
Hi all,
I am working with Mobile Sales for Handhelds. I downloaded a source code for "Mobile Sales & Service for HH using CRM 4.0 SP08" from SAP note 824427. After creating a WAR file out of this code and assigning it to the user through web console successfully, I synchronized. But when I tried to access the application by the link, I get a Included servlet error. The stack trace is as follows :
Included servlet error: 500
Location: /CRMHHSALES/start
Error Location: /CRMHHSALES/main/BaseMenu.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
C:\Program Files\SAP Mobile Infrastructure\work\localhost_8080%2FCRMHHSALES\_0002fsystem_0002fError_0002ejspError_jsp_0.java:15: Class com.sap.crm.handheld.logic.gui.Skin not found in import.
import com.sap.crm.handheld.logic.gui.Skin;
^
C:\Program Files\SAP Mobile Infrastructure\work\localhost_8080%2FCRMHHSALES\_0002fsystem_0002fError_0002ejspError_jsp_0.java:16: Class com.sap.crm.handheld.core.utils.EncodingHelper not found in import.
import com.sap.crm.handheld.core.utils.EncodingHelper;
^
C:\Program Files\SAP Mobile Infrastructure\work\localhost_8080%2FCRMHHSALES\_0002fsystem_0002fError_0002ejspError_jsp_0.java:17: Class com.sap.crm.handheld.logic.gui.Skin not found in import.
import com.sap.crm.handheld.logic.gui.Skin;
^
3 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherImpl.java:400)
at org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:270)
at com.sap.crm.handheld.core.webtools.ControllerServlet.displayPage(Unknown Source)
at com.sap.crm.handheld.core.webtools.ControllerServlet.saveStateAndDisplayPage(Unknown Source)
at com.sap.crm.handheld.core.webtools.ControllerServlet.handleRequest(Unknown Source)
at com.sap.crm.handheld.core.webtools.ControllerServlet.handleRequestWrapper(Unknown Source)
at com.sap.crm.handheld.core.webtools.ControllerServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:402)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:534)
Can anybody help me in this issue?
Thanks in advance.
Saptak.
Hi Kishor,
Thank you for the reply.
I have checked the exact location where I was getting the error for the import. But those three classes I have already imported.
Also, I checked the listofjars for JSPER error. Butthe entry is there. So I dont think it is an error for JASPER.jar. But as you have suggested to upload the external jars. I tried to upload and assign JASPER.jar via webconsole as an addon. It is getting uploaded successfully, but while assigning it give error like 'The version is not supported.'
Is it error for JASPER version then?
waiting for the reply.
Thanks in advance.
-SAPTAK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saptak Kulkarni ,
if u have properly created ur add-on package , then i think there is no chance for errors to happen.
( i have one doubt Kulkarni, have u uploaded that jar file directly without making any changes in the install.xml file ?.)
i have already discussed , how to create patches(ADD-ON) in this blog.. refer this ...
/people/kishor.gopinathan/blog/2006/03/17/how-can-we-apply-mi-application-patches
just refer this link also ...
(Installation of Corrections on the Mobile Device)
http://help.sap.com/saphelp_nw04/helpdata/en/03/b834418b718739e10000000a1550b0/content.htm
Regards
Kishor Gopinathan
Hi Saptak Kulkarni ,
<<<
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
C:\Program Files\SAP Mobile Infrastructure\work\localhost_8080%2FCRMHHSALES\_0002fsystem_0002fError_0002ejspError_jsp_0.java:15: Class com.sap.crm.handheld.logic.gui.Skin not found in import.
import com.sap.crm.handheld.logic.gui.Skin;
^
C:\Program Files\SAP Mobile Infrastructure\work\localhost_8080%2FCRMHHSALES\_0002fsystem_0002fError_0002ejspError_jsp_0.java:16: Class com.sap.crm.handheld.core.utils.EncodingHelper not found in import.
import com.sap.crm.handheld.core.utils.EncodingHelper;
^
C:\Program Files\SAP Mobile Infrastructure\work\localhost_8080%2FCRMHHSALES\_0002fsystem_0002fError_0002ejspError_jsp_0.java:17: Class com.sap.crm.handheld.logic.gui.Skin not found in import.
import com.sap.crm.handheld.logic.gui.Skin;
^
>>>
Check whether u have imported these classes or not,,
import com.sap.crm.handheld.logic.gui.Skin;
import com.sap.crm.handheld.core.utils.EncodingHelper;
import com.sap.crm.handheld.logic.gui.Skin;
these classes in your JSP file during modification ..
i think u have used these all external classes in your JSP files without importing these classes...
If u have imported these class files , then check , u have properly set path for these library (jar files) in the MI client itself.
<b>If ur MI applications are using some extra jar files , then in the client device , that jar files must present in the lib directory of MI installation</b>.
<b> These jar files must be set in the classpath while starting the MI client...</b>
just refer this forum for setting classpaths in the client device for additional jar files ...
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.