Skip to Content
0
Former Member
Apr 10, 2008 at 08:40 PM

HttpConnectionException: Not found 404; The server has not found...

139 Views

Hi All,

I have installed SAP NWA MI 7.0(SP 15) using Java stack and Abap. My OS is Windows and Data base is oracle. I have completed all the post installation steps too.When I tried to do Synchronization for the first time from Mobile Client(SP 14) to get device id, I am getting following error in the trace file.Please let me know where I have to look into to get device id on the mobile client.

Trace

[20080410 19:56:22:132] I [MI/API/Logging ] ***** LOG / TRACE SWITCHED ON

[20080410 19:56:22:132] I [MI/API/Logging ] ***** Mobile Infrastructure version: MI 70 SP 14 Patch 1 Build 200803051100

[20080410 19:56:22:132] I [MI/API/Logging ] ***** Current timezone: America/Los_Angeles[20080410 19:56:22:132] I [MI/API/Logging ] ***** Current Trace Level: 50

[20080410 19:58:17:471] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/trace/trace.jsp'

[20080410 19:58:23:065] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 19:58:23:065] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 19:58:23:065] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = 'tracechangeTraceLevel'

[20080410 20:00:24:029] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/trace/trace.jsp'

[20080410 20:00:25:685] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 20:00:25:685] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 20:00:25:685] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''

[20080410 20:00:25:685] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'

[20080410 20:00:26:966] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 20:00:26:966] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 20:00:26:966] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''

[20080410 20:00:26:966] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/syncpassword.jsp'

[20080410 20:00:32:982] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 20:00:32:982] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 20:00:32:982] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''

[20080410 20:00:32:982] P [MI/Sync ] Notify R3 called

[20080410 20:00:32:982] D [MI/Sync ] There is already a container for method WAF_REGISTRY and user AMEERB in the outbound queue

[20080410 20:00:32:982] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'

[20080410 20:00:33:076] I [MI/Sync ] Synchronize with backend called, Thread=Thread-30

[20080410 20:00:33:076] I [MI/Sync ] Thread=Thread-30 took lock for synchronization.

[20080410 20:00:33:076] P [MI/Sync ] Use following gateway for synchronization: http://XYZ:50000

[20080410 20:00:33:076] D [MI/API/Services ] UrlConnectionTest: returning instance for same host 10.101.103.231

[20080410 20:00:33:076] D [MI/API/Services ] UrlConnectionTest: lastHostChecked was XYC

[20080410 20:00:33:076] D [MI/API/Services ] UrlConnectionTest: lastTimeOfCheck was 1207857540017

[20080410 20:00:33:076] D [MI/API/Services ] UrlConnectionTest: last check was 93059 ms ago

[20080410 20:00:33:076] D [MI/API/Services ] UrlConnectionTest: try number: 1

[20080410 20:00:33:122] D [MI/API/Services ] UrlConnectionTestThread: method run() started...

[20080410 20:00:33:122] D [MI/API/Services ] C:\Program Files\SAP Mobile Infrastructure\proxyauth.txt does not exist, therefore no Proxy-Authorization is set.

[20080410 20:00:33:122] D [MI/API/Services ] UrlConnectionTestThread: URL protocol is http

[20080410 20:00:33:138] D [MI/API/Services ] UrlConnectionTestThread: HTTP responsecode is 404

[20080410 20:00:33:138] W [MI/API/Services ] Not found 404; The server has not found anything matching the URI given

[20080410 20:00:33:576] D [MI/API/Services ] UrlConnectionTest: it took 500 ms to test the connection

[20080410 20:00:33:576] P [MI/API/Services ] UrlConnectionTest: Connection could not be established!!!

[20080410 20:00:33:576] W [MI/Sync ] Cannot connect to gateway

com.sap.ip.me.api.services.HttpConnectionException: Not found 404; The server has not found anything matching the URI given

at com.sap.ip.me.api.services.IOUtils.isConnectable(IOUtils.java:671)

at com.sap.ip.me.sync.SyncManagerImpl.doConnectionTest(SyncManagerImpl.java:679)

at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:434)

at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:324)

at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend(SyncManager.java:79)

at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run(Home.java:641)

at java.lang.Thread.run(Thread.java:534)

[20080410 20:00:33:576] I [MI/Sync ] Synchronization finished, Thread=Thread-30

[20080410 20:00:43:153] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 20:00:43:153] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 20:00:43:153] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''

[20080410 20:00:43:153] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/synclog.jsp'

[20080410 20:00:53:325] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 20:00:53:325] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 20:00:53:325] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''

[20080410 20:00:53:325] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'

[20080410 20:00:54:856] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 20:00:54:856] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 20:00:54:856] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''

[20080410 20:00:54:856] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/trace/trace.jsp'

[20080410 20:00:56:668] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'

[20080410 20:00:56:668] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called

[20080410 20:00:56:668] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''

Regards,

Scott.

Edited by: Scott Winter on Apr 10, 2008 10:40 PM