on 05-16-2006 1:52 PM
Hi!!!
I am using WebAS 6.40 SP16 and MI client is MI2.5 sp15 patch04.
I want to create a smart sync application for practice.I am just trying the examples given in the MDK
(for them the BAPI wrappers already exist).I created a syncBO for the bapi wrapper MEREP_CONTACT_GETLIST.I followed the
procedure given there.But finally When I deployed the aplication on the webConsole and assigned a user to it,the link for the
application is coming.But When I click on that I am getting the following error.
Error: 500
Location: /me/jsp/login/login.jsp
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:461)
at jsp.login.login._jspService(Unknown Source)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
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.doForward(RequestDispatcherImpl.java:222)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(Unknown Source)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
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.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)
Root cause:
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:103)
at java.util.ResourceBundle.getObject(ResourceBundle.java:308)
at com.sap.ip.me.api.services.MEResourceBundle.handleGetObject(Unknown Source)
at java.util.ResourceBundle.getObject(ResourceBundle.java:308)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at jsp.login.login._jspService(Unknown Source)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
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.doForward(RequestDispatcherImpl.java:222)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(Unknown Source)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
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.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)
What could be the possible error? Are there any sample examples for creating a smart sync application...
Kindly help me in this issue.
hello vee,
try deploying your application with your language resource
text... e.g. testapp_en.properties and/or testapp_ja.properties.
just create an empty file and include it into the war archive.
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Jo!
Thanks for your suggestions.
Please guide me in that I could not understand what is meant by deploying the application with language resource text.Could please u explain that?Should I need to make any configugurations in the WebAs server before
I try to create my first syncBO? I am following the MDK
smart sync tutorial for creating smart sync applications.
Are there any other documnets for the same purpose?
Hi Veerabhadram Mantha ,
<<Please guide me in that I could not understand what is meant by deploying the application with language resource text.Could please u explain that?Should I need to make any configugurations in the WebAs server before
>>
Jo meant ,
just include the property file in ur application(because of that missing resource exception) ,then export it as WAR file and upload that WAR file corresponding to ur created MCD through Web Console ,assign that to particular user , while sync it will get downloaded to the client device (this downloading is just like deploying a J2EE application in to the server . in our case tomcat is the server for JSP Runtime).(deploy).
If u need to change entries in the configuration file (Client specific configuration), then only u have to do conifiguration in MI server(if ur MI server is configured properly).
<<Exception is Missing Resources>>
Have u included any resources(language specific property files or property files for configurations) in your SmartSync Application?.
If yes,
correct the reference to that resource file in ur code.
one more thing..
r u using SP 09 version of developer studio for creating Smart Sync Applications.
Structure and working of(APIs used for running application in cliet side.)applications developed in SP 09 is different from those applications created in higher versions(from SP 11 v onwards ).
If u r using SP 9 , then atleast upgrade or install SP 11 (i think latest is SP 16) and try to create applications in that.
just refer this forum , in this forum i have already discussed in detail about the structural differeces of applications in SP 09 and SP 11 or higher .
After making changes to ur application , u dont have to uninstall that application . u can modify the installed applications using this way .. just refer this blog.....
/people/kishor.gopinathan/blog/2006/03/17/how-can-we-apply-mi-application-patches
<<smart sync tutorial for creating smart sync applications.
Are there any other documnets for the same purpose?
>>
just refer these links for help.
http://help.sap.com/saphelp_nw04/helpdata/en/a6/c32a89005ab2449cf95e5b0731ee40/frameset.htm
Troubleshooting guide
-
Regards
Kishor Gopinathan
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.