inflearn logo
강의

Course

Instructor

[Old version] Setting up IntelliJ IDEA for web application development (2020 ver.)

tomcat manager 로그인이 안됩니다.ㅠㅠ

1461

wjdtjr99310476

3 asked

0

안녕하세요!강의 너무 잘 봤습니다!! 쉽게 설명해주셔서 실습도 무난하게 잘 따라했는데
마지막 실습에서 막히는데 바쁘시겠지만 한 번 봐주시면 너무 감사할것같습니다!
1. 실습을 하던중 톰캣 매니저에서 롤을 생성
2. cmd 에서 톰캣 서버 다시 시작
3. manager 접속해서 아이디와 비번을 치면 다시 로그인창이 뜹니다.
아이디와 비번 스펠링을 틀리게 입력한것도 아닌데ㅠㅠㅠ왜 안되는지 의문입니다.
<?xml version='1.0' encoding='cp949'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">

  <role rolename="manager"/>
  <role rolename="manager-gui"/>
  <role rolename="manager-script"/>
  <role rolename="manager-jmx"/>
  <role rolename="manager-status"/>
  <role rolename="admin"/>
  
  <user username="admin" password="tomcat" roles="manager,manager-gui,manager-script,manager-jmx,manager-status,admin"/>

</tomcat-users>

tomcat intellij jetbrains

Answer 1

0

Dowon Lee

안녕하세요, 이도원입니다.

올려주신 tomcat-users.xml 파일의 내용은 이상없어 보입니다. 파일 그대로 제 환경에 복사하여 실행했을 시에도 문제없이 잘 로그인 되었습니다. 

제가 사용했던 환경은 apache-tomcat-9.0.33이고, 올려주신 파일외에 제가 가지고 있던 파일도 공유해 드리겠습니다. 

<?xml version="1.0" encoding="UTF-8"?>
<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">

  <role rolename="manager"/>
  <role rolename="manager-gui"/>
  <role rolename="manager-script"/>
  <role rolename="manager-jmx"/>
  <role rolename="manager-status"/>
  <role rolename="admin"/>

  <user username="admin" password="tomcat" roles="manager,manager-gui,manager-script,manager-jmx,manager-status,admin"/>

</tomcat-users>

감사합니다.

Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)

0

241

1

빠른 시간안에 주요 핵심을 콕콕 집어주셔서 감사해요

0

397

1

오류 could not find or load main class org . apsche . catalina . startup . Booststrap

0

938

1

tomcat등록

0

593

1

인텔리제이 설치 후 화면

0

1160

1

톰캣 실행 중 오류

0

578

3

인텔리제이 커뮤니티 버전에서 Application context 설정

0

1462

1

dependency 부분에서 에러나시는분

4

388

2

dependency 버전오류

0

439

3

버전

0

338

1

맥북에서 tomcat server를 startup.bat 로 실행하는 것 질문입니다.

0

905

1

Community 버전에서 Smart Tomcat으로도 실습이 가능한가요?

0

752

2

intellij 자동 완성 기능 문의

0

658

1

IntelliJ Community 버전으로 설치해도 되는지요?

0

273

1

java: cannot find symbol 라고 뜨는데.. 어떻게 해야할가요?

0

651

1

환경변수..

0

269

1

Maven에서 webapp 이 없는데 어떻게 해야할까요?...ㅠㅠ

0

890

2

startup.bat명령어가 실행되지 않습니다ㅠㅠ

0

1125

1

환경변수 설정 후 cmd에서 mvn -version명령어 실행하면 잘못되었다고 표시되네요 ㅜ

0

488

1

도와주실수 있으실까요?IntelliJ에서 터미널 창이 0.1초 열렸다가 바로 닫힙니다.

0

494

1

add Configuration에서 tomcat추가..

0

259

1

mac 에서 sh startup.sh 를 실행했을 때 404 에러가 발생합니다.

0

286

1

Tomcat server등록 시 Configuration에 Tomcat이 없어요

0

2186

2

도와주세요

0

252

2