cancel
Showing results for 
Search instead for 
Did you mean: 

smart sync application

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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?

kishorg
Advisor
Advisor
0 Kudos

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://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/defining_syn...

http://help.sap.com/saphelp_nw04/helpdata/en/a6/c32a89005ab2449cf95e5b0731ee40/frameset.htm

http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/bapi_wrapper...

Troubleshooting guide

-


http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/909d75c3-0801-0010-5f92-920a78c5...

Regards

Kishor Gopinathan

Former Member
0 Kudos

Hi Kishore!

Thank you for your valuble suggestions...As you

have pointed out the main problem for me is the NWDS version.Now I have installed the sp16 version and it is

working fine...

Answers (0)