Project

General

Profile

Actions

Bug #7166

closed

Metacat DataONE base url always gets 404 not found page

Added by Jing Tao over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/06/2016
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

The base url looks like:
https://mn-dev-ucsb-1.test.dataone.org/metacat/d1/mn

It always gets 404 not found page. Even though Metacat on this node is running, users always think something is wrong. We need this url display the node information.

Actions #1

Updated by Jing Tao over 7 years ago

  • Status changed from New to Closed

In the lib/web.xml.tomcat6 file, I added two servelet mappings:
<servlet-mapping>
<servlet-name>MNRestServletV2</servlet-name>
<url-pattern>/d1/mn/</url-pattern>
</servlet-mapping>

&lt;servlet-mapping&gt;
&lt;servlet-name&gt;MNRestServletV2&lt;/servlet-name&gt;
&lt;url-pattern&gt;/d1/mn&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;

This will lead the page to display the node information.

Actions

Also available in: Atom PDF