0

我能够使用 plocal 连接启动我的 orientDb (2.2.6) 实例,并且能够将顶点添加到数据库,但我无法访问工作室。当我去http://localhost:2480时,页面是空白的。工作室不是已经准备好并且“开箱即用”了吗?

orientdb-server-config.xml 是:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orient-server>
  <network>
    <protocols>
        <protocol implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary" name="binary"/>
        <protocol name="http" implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb"/>
    </protocols>
    <listeners>
        <listener protocol="binary" socket="default" port-range="2424-2430" ip-address="0.0.0.0"/>
        <listener protocol="http" port-range="2480-2485" ip-address="0.0.0.0">
            <commands>
                <command implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent" pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt GET|*.otf GET|*.pjs GET|*.svg">
                    <parameters>
                        <entry value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache" name="http.cache:*.htm *.html"/>
                        <entry value="Cache-Control: max-age=120" name="http.cache:default"/>
                    </parameters>
                </command>
            </commands>
        </listener>
    </listeners>
  </network>
  <users>
    <user resources="*" password="root" name="root"/>
    <user resources="connect,server.listDatabases,server.dblist" password="guest" name="guest"/>
  </users>
  <properties>
    <entry value="1" name="db.pool.min"/>
    <entry value="50" name="db.pool.max"/>
    <entry value="true" name="profiler.enabled"/>
  </properties>
</orient-server>

每当我尝试从 Chrome 访问 localhost:2480 时,都会收到以下警告:

2016-09-28 16:56:01:756 WARNI path variable points to 'src/site' but it doesn't exists [OServerCommandGetStaticContent]
2016-09-28 16:56:01:756 WARNI path variable points to 'src/site' but it isn't a directory [OServerCommandGetStaticContent]

我错过了什么?

4

0 回答 0