기술지원 문의

admin 설정
배우자 / 2008-07-21 18:15

Resin Professional 3.1.s080710 (built Thu, 10 Jul 2008 10:09:27 PDT)
Copyright(c) 1998-2008 Caucho Technology.  All rights reserved.

Starting Resin on Mon, 21 Jul 2008 18:42:48 +0900 (KST)

  Resin Professional has not found any valid licenses.
  Licenses belong in C:\esin-pro-3.1\\licenses.
  See http://www.caucho.com/sales for licensing information.

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

  See http://www.caucho.com for information on Resin Professional.

C:\esin-pro-3.1/conf/resin.conf:21: java.sql.SQLException: Table log_ already exists.  CREATE can not override an existing table.

19:      - Remote management requires at least one enabled admin user.
20:     -->
21:   <management path=\"${resin.root}/admin\">
22:    <!--<user name=\"admin\" password=\"password\" disable=\"true\"/> -->
23:      <user name=\"barn\" password=\"+UpOSXz/Xq7MLOscu6B5fQ==\"/>

 

- conf파일설정

<host id=\"\" root-directory=\".\">
      <!--
         - configures an explicit root web-app matching the
         - webapps ROOT
        -->
      <web-app id=\"/\" root-directory=\"webapps/ROOT\"/>
      <web-app id=\"test\" root-directory=\"C:\\PJ@JSP\\LSTPRM\\web\"/>
     
      <web-app id=\"/resin-admin\" root-directory=\"${resin.home}/php/admin\">
        <!--
           - Administration application /resin-admin
          -->
        <prologue>
          <resin:set var=\"resin_admin_external\" value=\"false\"/>
          <resin:set var=\"resin_admin_insecure\" value=\"true\"/>
        </prologue>
      </web-app>
    </host>

 

Eclips + Resin 31. + IIS 세팅했습니다.

jsp파일을 만들어서 실행하게되면, 제대로 나오는데,

Eclips에서 컴파일시 위와 같은 메시지가 나옵니다.

해결방법을 알고 싶습니다.

[답변]admin 설정
관리자 / 2008-07-23 10:18

안녕하세요.. 기술지원팀입니다..

 

해당 로그를 살펴보시면

 

 java.sql.SQLException: Table log_ already exists.  CREATE can not override an existing table.

19:      - Remote management requires at least one enabled admin user.
20:     -->
21:   <management path=\"${resin.root}/admin\">

 

admin 을 구동하기 위한 log_ 테이블이 이미 존재하여 덮어 쓸 수 없어 Exception 메시지를 출력하고 서버가 기동하지 못하였습니다..

 

Resin Server 가 이미 기동중이기 때문입니다. 구동된 Resin Server 를 중지하시고

다시 스타트 시켜 보시기 바랍니다.

 

늘 행복하세요...