* [Comm] Запуск tomcat5
@ 2009-08-27 5:57 Шигапов Ринат
2009-08-27 7:56 ` Arcady Ivanov
2009-08-27 9:50 ` Шигапов Ринат
0 siblings, 2 replies; 3+ messages in thread
From: Шигапов Ринат @ 2009-08-27 5:57 UTC (permalink / raw)
To: ALT Linux Community general discussions
Здравствуйте!
Проблема с запуском 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)
Почему не находится класс?
--
С уважением,
Шигапов Ринат
инженер-программист ООО "Невод"
тел. (342)2196960
JabberID: dxist эт ya.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Запуск tomcat5
2009-08-27 5:57 [Comm] Запуск tomcat5 Шигапов Ринат
@ 2009-08-27 7:56 ` Arcady Ivanov
2009-08-27 9:50 ` Шигапов Ринат
1 sibling, 0 replies; 3+ messages in thread
From: Arcady Ivanov @ 2009-08-27 7:56 UTC (permalink / raw)
To: ALT Linux Community general discussions
Шигапов Ринат пишет:
> Здравствуйте!
>
> Проблема с запуском 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Запуск tomcat5
2009-08-27 5:57 [Comm] Запуск tomcat5 Шигапов Ринат
2009-08-27 7:56 ` Arcady Ivanov
@ 2009-08-27 9:50 ` Шигапов Ринат
1 sibling, 0 replies; 3+ messages in thread
From: Шигапов Ринат @ 2009-08-27 9:50 UTC (permalink / raw)
To: ALT Linux Community general discussions
Шигапов Ринат пишет:
> Здравствуйте!
>
> Проблема с запуском tomcat5.
> Из 5.0 установил tomcat5 и java-1.5.0-sun-devel. Версия java
Проблема исправлена установкой java-1.5.0-sun-devel из Sisyphus.
--
С уважением,
Шигапов Ринат
инженер-программист ООО "Невод"
тел. (342)2196960
JabberID: dxist эт ya.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-27 9:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-27 5:57 [Comm] Запуск tomcat5 Шигапов Ринат
2009-08-27 7:56 ` Arcady Ivanov
2009-08-27 9:50 ` Шигапов Ринат
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