Openfire setup page problem

I’m trying to install Openfire 4.0.2 . My problem is that after restarting Openfire and pressing Admin Console I always see Setup Page. What should I do to fix it?

This is my openfire.xml file

<?xml version="1.0" encoding="UTF-8"?>
<!--
    This file stores bootstrap properties needed by Openfire.
    Property names must be in the format: "prop.name.is.blah=value"
    That will be stored as:
        <prop>
            <name>
                <is>
                    <blah>value</blah>
                </is>
            </name>
        </prop>     Most properties are stored in the Openfire database. A
    property viewer and editor is included in the admin console.
-->
<!-- root element, all properties must be under this element -->
<jive>
    <adminConsole>
        <!-- Disable either port by setting the value to -1 -->
        <port>7090</port>
        <securePort>7091</securePort>
    </adminConsole>     <locale>en</locale>     <!-- Network settings. By default, Openfire will bind to all network interfaces.
      Alternatively, you can specify a specific network interfaces that the server
      will listen on. For example, 127.0.0.1. This setting is generally only useful
       on multi-homed servers. -->
    <!--
    <network>
        <interface>127.0.0.1</interface>
    </network>
    -->     <!-- SPDY  Protocol is npn.
    (note: npn does not work with Java 8)
    add -Xbootclasspath/p:/OPENFIRE_HOME/lib/npn-boot.jar to .vmoptions file    -->     <!--
    <spdy>
    <protocol>npn</protocol>
    </spdy>
    -->   <!-- XEP-0198 properties -->
    <stream>
    <management>
    <!-- Whether stream management is offered to clients by server. -->
    <active>true</active>
    <!-- Number of stanzas sent to client before a stream management
    acknowledgement request is made. -->
    <requestFrequency>5</requestFrequency>
    </management>
    </stream> </jive>

Thank you!

This could be a permission issue if the user you are running Openfire process with can’t write changes to /openfire folder.

Sorry, but it wasn’t about permissions(at the moment of asking all permissions were set). Solution: Uninstall Openfire then go to (System disk):/ProgramFiles(x86) and there delete Openfire folder. After install Openfire again, that’s all.