페도라코어5에서 Tomcat5 실행문제

chazzy1의 이미지

페도라코어5를 설치한 후 add software 를 이용해서 톰켓 관련 패키지를 3개 설치했습니다.

tomcat5-admin-webapps
tomcat5-webapps
tomcat5

가 그것들이구요

페도라포럼을 뒤진결과

/etc/init.d/tomcat5 start

를 하면 톰캣이 시작된다길래 그렇게 했습니다.

그런데

find:warning: you have specified the -mindepth option after a non-option argument -type , but options are not positional (-mindepth affects tests specified before it as well as those specified after it). Please specify options before other arguments

라는 경고가 뜨고

Using CATALINA_HOME: /usr/share/tomcat5
USING CATALINA_TMPDIR /usr/share/tomcat5/temp
Using JRE_HOME:

[OK]

이렇게 나옵니다.

그런데 웹브라우저에서 localhost:8080을 봐도 응답이 없습니다.

겉보기로는 톰캣이 동작하는것 같은데 실제는 반응이 없습니다.
JRE_HOME 에 경로가 없는것은 제가 이후 임의로 고쳐넣어봤는데 그래도 결과는 똑같고요

뭐가문제일까요?

coziny의 이미지

안녕하세요 코지니입니다.
저도 얼마전에 같은 문제때문에 고생한 기억이 있는데요.

-mindepth와 -maxdepth 관련 문제라고 하는데 통 못찾겠더군요

/usr/share/tomcat5/bin/relink 파일의 하단에 아래처럼 되어 있는 것이 있습니다.

for webapp in $(find /var/lib/tomcat5/webapps -type d -mindepth 1 -maxdepth 2) ; do

이걸 아래와 같이 해서 일단 쓰고 있습니다.

for webapp in $(find /var/lib/tomcat5/webapps -type d) ; do

일단 되는데 잘 수정한건지 모르겟네요 -_-;;;

초보라 그만..

ps. 방화벽에서 8080포트 열어두시고요.. 제 얘기입니다. -_-

세이군의 이미지

문제가 되는 부분이 이 부분인데..

find /var/lib/tomcat5/webapps -type d -mindepth 1 -maxdepth 2

이 것을
find /var/lib/tomcat5/webapps -mindepth 1 -maxdepth 2 -type d

로 바꿔서 해결이 되는 경우도 있습니다.

한 걸음 더 가까이

chazzy1의 이미지

오래전에 질문을 올렸던거 같은데 답변 감사드립니다.

제가 혼자 삽질하다 어떻게 해결을 하기는 했는데요

제경우는 저문제하고 java_home 설정이 어딘가에서 잘못된거하고 두가지 고쳐서 해결했던거 같습니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.