Closed GoogleCodeExporter closed 8 years ago
The Connector Manager Web Application does not have any content outside the
WEB-INF
to be served. Since there's no home page or index page it returns a 404 if you
try
to access the root of the Web App.
If you want to test your server and Web App you should use the TestConnectivity
Servlet. In your case you should be able to access it using:
http://the.server:8081/connector-manager/testConnectivity
Note, the URL is case sensitive so make sure to use 'testConnectivity'.
Depending on the version of the Connector Manager, this should return an XML
response
something like the following:
<CmResponse>
<Info>Google Enterprise Connector Manager ...</Info>
<StatusId>0</StatusId>
</CmResponse>
The StatusId of 0 indicates all is fine.
Original comment by mgron...@gmail.com
on 1 May 2009 at 1:35
Rakesh wrote:
[An] HTTP Status 404 is returned which gives the impression that the
connector manager has not been installed OR has problems
The connector Manager should return an informative response like the one
displayed for /testConnectivity
In past customers have reported the above and requested to display some
informative text to ensure that the connector service is up and running.
Not many customers go through the entire documentation to know that there
is a /testConnectivity feature available to test the same.
John L wrote:
I just tested a simple static index.html page in the root directory
(/webapps/connector-manager) and it is returned by this URL. The consensus
is to add a redirect to the testConnectivity servlet. We could use HTML or JSP:
<meta http-equiv="refresh" content="0;url=testConnectivity" />
<% response.sendRedirect("testConnectivity"); %>
Original comment by jl1615@gmail.com
on 4 May 2009 at 5:41
Issue 149 has been merged into this issue.
Original comment by jl1615@gmail.com
on 4 May 2009 at 5:42
Fixed: Submitting mgronber/fix-issue-146@1885 - Submitted r1887.
Description:
Fix for Issue 146. Added an index.html page to each of the WAR files that
redirects to the TestConnectivity Servlet. This way, when the Web Application
is deployed on a server the customer can navigate to the root of the Web
Application (http://<host>:<port>/connector-manager) and get some status
information about the server rather than a 404.
Tests Passed:
- All Unit tests.
- Tested without redirect and link on index page will navigate to the
TestConnectivity Servlet.
ChangeLog:
A source/html/index.html
- New Home Page for Web Application that redirects to the TestConnectivity
Servlet.
M build.xml
- Added property for web content location and added FileSet to each of the WAR
targets.
Original comment by mgron...@gmail.com
on 6 May 2009 at 6:44
Original comment by Brett.Mi...@gmail.com
on 16 May 2009 at 9:18
Original issue reported on code.google.com by
csuwebse...@gmail.com
on 29 Apr 2009 at 8:14