Active IQ Unified Manager Discussions

Error trying to backup WFA4.0 DB

James_Castro
6,919 Views

Trying to upgrade to WFA4.1.  Whne I want to back up 4.0 this is the error that I am getting.

 

From server.log

 

2017-04-11 03:58:45,405 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (default task-54) JSF1091: No mime type could be found for file /backupAndRestore.jsp.  To resolve this, add a mime-type mapping to the applications web.xml.

 

 

From web page

 

Error!  Unable to complete your action, please try again or contact your system administrator.  Possible reason for error 404 - Page not found.

 

anyone seen this before? 

 

Thanks

1 ACCEPTED SOLUTION

James_Castro
6,778 Views

Upgrading to 4.1 fixed my issue.  I'm not sure how it broke but it did.

View solution in original post

6 REPLIES 6

sivakumar_sekar
6,876 Views

@James

 

Could you please share the more details which version of WFA is used and share the details steps to reproduce the issue to debug this issue.

 

Note:

 

I have tried to reproduce this issue using WFA 4.0GA (windows).

I am able to download the backup of 4.0

 

below is the environment details:

 

WFA version: WFA-x64-V4.0.0.0.0-B3768948.exe

Installed WFA in windows 7

 

 

Best Regards,

Shiva

 

 

 

sivakumar_sekar
6,854 Views

@James,

 

Please check whether a new backup file is created under <WFA installation Dir>\jboss\standalone\deployments\download.war when you clicks on backup.

 

If the backup file is not getting created then  please  share all these logs. i.e. server.log, wfa.log and backup_restore.log.

 

Best Regards,

Shiva

James_Castro
6,838 Views

@sivakumar_sekar,

 

The backups are there.  I'll just move one to a different location and use for the restore.  I've pasted the web.xml located in the C:\Program Files\NetApp\WFA\jboss\standalone\deployments\download.war\WEB-INF directory since this is where the error is most likely from.  WFA version is 4.0.0.0.0 on Windows Server 2012 R2 DC.  I'll be upgrading to 4.1 very shortly and will check if this error corrects itself after the upgrade.

 

 

<?xml version="1.0"?>

<web-app version="3.0"

xmlns="http://java.sun.com/xml/ns/javaee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

 

<mime-mapping>

<extension>7z</extension>

<mime-type>application/x-7z-compressed</mime-type>

</mime-mapping>

<mime-mapping>

<extension>dar</extension>

<mime-type>application/x-7z-compressed</mime-type>

</mime-mapping>

<display-name>Downloads</display-name>

<description>Downloads</description>

 

<login-config>

<auth-method>BASIC</auth-method>

<realm-name>wfa-login</realm-name>

</login-config>

 

<!-- Enable directory listings by overriding the server default web.xml, this is disabled by default -->

<!-- definition for the default servlet -->

<servlet>

<servlet-name>DefaultServletOverride</servlet-name>

<servlet-class>io.undertow.servlet.handlers.DefaultServlet</servlet-class>

<init-param>

<param-name>listings</param-name>

<param-value>false</param-value>

</init-param>

<load-on-startup>1</load-on-startup>

</servlet>

 

<!-- Add a mapping for our new default servlet -->

<servlet-mapping>

<servlet-name>DefaultServletOverride</servlet-name>

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

</servlet-mapping>

 

<security-role>

<role-name>admin</role-name>

</security-role>

<security-role>

<role-name>operator</role-name>

</security-role>

<security-role>

<role-name>architect</role-name>

</security-role>

<security-role>

<role-name>system</role-name>

</security-role>

<security-role>

<role-name>backup</role-name>

</security-role>

 

<security-constraint>

<web-resource-collection>

<web-resource-name>Downloads</web-resource-name>

 

<url-pattern>/*</url-pattern>

 

<http-method>GET</http-method>

</web-resource-collection>

 

<auth-constraint>

<role-name>admin</role-name>

<role-name>architect</role-name>

<role-name>backup</role-name>

</auth-constraint>

</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>Downloads</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>TRACE</http-method>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
<http-method>CONNECT</http-method>
</web-resource-collection>
<auth-constraint/>
</security-constraint>

<session-config>

<!-- made http-only access true-->

<cookie-config>

<http-only>true</http-only>

</cookie-config>

</session-config>

 

<!-- Display a generic error page for all Java exceptions -->

<error-page>

<exception-type>java.lang.Throwable</exception-type>

<location>/error/error.jsp</location>

</error-page>

 

<!-- Display a generic error page for all possible HTTP error codes. -->

<error-page>

<!-- Bad request -->

<error-code>400</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Unauthorized, authentication required -->

<error-code>401</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Forbidden -->

<error-code>403</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Not found -->

<error-code>404</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Method not allowed -->

<error-code>405</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Not acceptable -->

<error-code>406</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Proxy authentication required -->

<error-code>407</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Request timeout -->

<error-code>408</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Conflict -->

<error-code>409</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Gone -->

<error-code>410</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Length Required -->

<error-code>411</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Precondition Failed -->

<error-code>412</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Request entity too large -->

<error-code>413</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Request URI too long -->

<error-code>414</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Unsupported Media Type-->

<error-code>415</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Requested Range Not Satisfiable -->

<error-code>416</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Expectation Failed -->

<error-code>417</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Internal server error, uncaught exception -->

<error-code>500</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Not implemented -->

<error-code>501</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Bade Gateway -->

<error-code>502</error-code>

<location>/error/error.jsp</location>

</error-page>

 

<error-page>

<!-- Service unavailable, unsupported servlet method -->

<error-code>503</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Gateway Timeout -->

<error-code>504</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- HTTP version not supported -->

<error-code>505</error-code>

<location>/error/error.jsp</location>

</error-page>

<error-page>

<!-- Network Authentication Required -->

<error-code>511</error-code>

<location>/error/error.jsp</location>

</error-page>

</web-app>

James_Castro
6,833 Views

Same jboss error when I try to view the logs.  I'm not going to worry about this too much since I am upgrading to 4.1.  I'll have to uninstall 4.0 anyway.  I'll let you know if it works in 4.1.

James_Castro
6,779 Views

Upgrading to 4.1 fixed my issue.  I'm not sure how it broke but it did.

James_Castro
6,262 Views
Public