当前位置:编程学习 > JAVA >>

resin-4.0.31服务器配置报错

Resin-4.0.31 (built Thu, 13 Sep 2012 01:22:43 PDT)
Copyright(c) 1998-2012 Caucho Technology.  All rights reserved.

Starting Resin on Thu, 09 May 2013 21:44:14 +0800 (CST)

  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

[13-05-09 21:44:14.750] {main}   Using Resin(R) Open Source under the GNU Public License (GPL).
                       
                         See http://www.caucho.com for information on Resin Professional,
                         including caching, clustering, JNI acceleration, and OpenSSL integration.
                       
com.caucho.config.ConfigException: -server 'default' is an unknown server in the configuration file.
at com.caucho.server.resin.Resin.initTopology(Resin.java:1069)
at com.caucho.server.resin.Resin.initServletSystem(Resin.java:1275)
at com.caucho.server.resin.Resin.configure(Resin.java:997)
at com.caucho.server.resin.Resin.initMain(Resin.java:979)
at com.caucho.server.resin.Resin.main(Resin.java:1437)
-server 'default' is an unknown server in the configuration file.
resin --------------------编程问答-------------------- 有谁会?快说一下,急急急
--------------------编程问答--------------------
    <!-- defaults for each server, i.e. JVM -->
    <server-default>
      <!-- The http port -->
      <http address="*" port="8080"/>

      <!-- SSL port configuration: -->
      <http address="*" port="8443">
        <jsse-ssl self-signed-certificate-name="resin@localhost"/>
      </http>

       <jvm-arg>-Xmx512m</jvm-arg>
        <jvm-arg>-agentlib:resin</jvm-arg>
     

      <!--
         - If starting Resin as root on Unix, specify the user name
         - and group name for the web server user.
       <user-name>www-data</user-name>
       <group-name>www-data</group-name>
        -->
    </server-default>


config 的server-default 配置有问题
补充:Java ,  Java EE
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,