From: Arcady Ivanov <arc@ikir.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Запуск tomcat5
Date: Thu, 27 Aug 2009 20:56:45 +1300
Message-ID: <4A963C3D.6000709@ikir.ru> (raw)
In-Reply-To: <4A962062.5040202@nevod.ru>
Шигапов Ринат пишет:
> Здравствуйте!
>
> Проблема с запуском tomcat5.
> Из 5.0 установил tomcat5 и java-1.5.0-sun-devel. Версия java:
>
> [root@tomcat tomcat5]# java -version
> java version "1.5.0_17"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode)
>
> В tomcat5.conf:
> JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun"
>
> Далее:
> [root@tomcat tomcat5]# /etc/init.d/tomcat5 start
> Starting tomcat5: lock file found but no process running for
> pid 3853, continuing
>
> [ DONE ]
> [root@tomcat tomcat5]# tail -n 15 /var/log/tomcat5/catalina.out
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:222)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:410)
> Using CATALINA_BASE: /usr/share/tomcat5
> Using CATALINA_HOME: /usr/share/tomcat5
> Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
> Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun
> java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:222)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:410)
>
> Почему не находится класс?
>
Поставьте Tomcat 6.0.18 с Apache. Там всё намного приятнее с JSP и с
generic.
И зачем вам эти сюрпризы от упаковщика, когда пакет вообще ни к чему не
привязан?
--
С уважением.
Гл.спец. по ИТ ИКИР ДВО РАН. Аркадий Иванов
My site: http://www.arccomm.ru
next prev parent reply other threads:[~2009-08-27 7:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 5:57 Шигапов Ринат
2009-08-27 7:56 ` Arcady Ivanov [this message]
2009-08-27 9:50 ` Шигапов Ринат
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A963C3D.6000709@ikir.ru \
--to=arc@ikir.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git