cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Sync Application - Page not found exception

Former Member
0 Kudos

Hi All,

Can you please help me in debugging this problem?

I have created a smart sync project MI_COMPANYLIST_PROJECT from the merepmeta.xml.

Then I deployed the application to client. the application deployed successfully <b>but when I clicked on the Link on home page</b> ... <b>Page not found exception is coming.</b>.

Then I did a CTRL-N and checked the URL

This is the URL which is there on teh browser

http://localhost:4444/me/servlet/com.sap.ip.me.apps.jsp.ControllerServlet?action=homeonApplicationCh...

I know this is something to do with this application namespace or version.

Frankly speaking I was never able to deploy the smart application because of this problem.

Please help me to solve this issue.

Thanks

Satya

Accepted Solutions (0)

Answers (1)

Answers (1)

kishorg
Advisor
Advisor
0 Kudos

Hi Sathya,

have u checked the blog by Jo Jel..

<<How to make an MI application name independent

Jo Gel Santiago

>>

/people/sap.user72/blog/2006/02/01/how-to-make-an-mi-application-name-independent

just verify this..,

The following equation condition must be met for a succesful deployment and execution of the application in the client.

<b>getApplicationName() == MCD name == WAR Archive file name</b>

WAR file name should be one word i.e. no space character in between letters

Regards

Kishor Gopinathan

Former Member
0 Kudos

Hi Kishor,

Application name is same for all the three cases

getApplicationName() == MCD name == WAR Archive file name.

But still It is giving page not found exception.

I have generated application using smart sync wizard.

Please check the URL as above if there is something wrong.

Is there any way to debug this problem?

Thanks

Satya

Former Member
0 Kudos

hello satya,

had you checked on your servlet mapping in your web.xml?

regards

jo

Former Member
0 Kudos

edit your web.xml and put:

<web-app>

<display-name>A Web Application</display-name>

<servlet>

<servlet-name>MISMARTSYNCJSPAPP</servlet-name>

<servlet-class><<i>package_name</i>>.<<i>servlet_name</i>></servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>MISMARTSYNCJSPAPP</servlet-name>

<url-pattern>/start</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>MISMARTSYNCJSPAPP</servlet-name>

<url-pattern>/servlet</url-pattern>

</servlet-mapping>

</web-app>

i have writed:

*package_name == my MI_APPLICATION_NAME == my .war

*servlet_name == my MI_APPLICATION_NAME == my .war