File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes I have some problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "I have some problems" Watch "I have some problems" New topic
Author

I have some problems

Hannibal Ou
Greenhorn

Joined: Feb 06, 2007
Posts: 11
I installed Apache Tomcat 5.5.20 using the windows service installer.
Afer installing, when i tried to start the tomcat form "Configure Tomcat"
it can not started.but when i clicked the "tomcat5.exe" whice is contained in TOMCAT_HOME/BIN tomcat started successfully(start in the CMD just like the verson 4.x).
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Flourish",
Welcome to JavaRanch!

We're pleased to have you here with us in the Tomcat forum, but there
are a few rules that need to be followed, and one is that proper names are
required. Please take a look at the
JavaRanch Naming Policy and
adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here


Thank you,


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Hannibal Ou
Greenhorn

Joined: Feb 06, 2007
Posts: 11
I'm sorry for this.
But my real name is Ou Rong,as you thinking that I'm Chinese.
I don't think the name "Ou Rong" have any significant,so I get a english name is "Flourish Ou".
Apologize for my mistakes as well as my bad english.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18655
    
    8

I'm sure that is all right. Where I live we have a lot of people of Chinese origin and some of them have English first names like "Rainbow" and "Schumann". And your display name now has a first and last name, so that is fine.
Hannibal Ou
Greenhorn

Joined: Feb 06, 2007
Posts: 11
Well, my name have no problems now then We can discuss the error of my

tomcat.

I have checked my logs and the content is:


stderr_20070309.log:

java.lang.NoClassDefFoundError: start
Exception in thread "main"


jakarta_service_20070309.log:

[2007-03-09 11:22:04] [info] Service Tomcat5 name Apache Tomcat
[2007-03-09 11:22:05] [info] Service Tomcat5 installed
[2007-03-09 11:22:05] [info] Procrun finished.
[2007-03-09 11:22:05] [info] Updating service...
[2007-03-09 11:22:05] [info] Service Tomcat5 updated
[2007-03-09 11:22:05] [info] Update service finished.
[2007-03-09 11:22:05] [info] Procrun finished.
[2007-03-09 11:22:18] [info] Updating service...
[2007-03-09 11:22:18] [info] Service Tomcat5 updated
[2007-03-09 11:22:19] [info] Update service finished.
[2007-03-09 11:22:19] [info] Procrun finished.
[2007-03-09 11:22:19] [info] Updating service...
[2007-03-09 11:22:19] [info] Service Tomcat5 updated
[2007-03-09 11:22:19] [info] Update service finished.
[2007-03-09 11:22:19] [info] Procrun finished.
[2007-03-09 11:22:23] [info] Running Service...
[2007-03-09 11:22:23] [info] Starting service...
[2007-03-09 11:22:23] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 11:22:23] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 11:22:23] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 11:22:23] [info] Run service finished.
[2007-03-09 11:22:23] [info] Procrun finished.
[2007-03-09 11:22:37] [info] Running Service...
[2007-03-09 11:22:37] [info] Starting service...
[2007-03-09 11:22:37] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 11:22:37] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 11:22:37] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 11:22:37] [info] Run service finished.
[2007-03-09 11:22:37] [info] Procrun finished.
[2007-03-09 12:14:09] [info] Running Service...
[2007-03-09 12:14:09] [info] Starting service...
[2007-03-09 12:14:10] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 12:14:10] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 12:14:10] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 12:14:13] [info] Run service finished.
[2007-03-09 12:14:13] [info] Procrun finished.
[2007-03-09 12:48:53] [info] Running Service...
[2007-03-09 12:48:53] [info] Starting service...
[2007-03-09 12:48:53] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 12:48:53] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 12:48:53] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 12:48:53] [info] Run service finished.
[2007-03-09 12:48:53] [info] Procrun finished.
[2007-03-09 14:03:02] [info] Running Service...
[2007-03-09 14:03:02] [info] Starting service...
[2007-03-09 14:03:02] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:03:02] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:03:02] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 14:03:02] [info] Run service finished.
[2007-03-09 14:03:02] [info] Procrun finished.
[2007-03-09 14:06:20] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:06:20] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:06:20] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 14:07:59] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:07:59] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:07:59] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 14:11:51] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:11:51] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:11:51] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 14:12:48] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:12:48] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:12:48] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 14:12:53] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:12:53] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:12:53] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 14:21:59] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:21:59] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:21:59] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-09 14:31:57] [173 javajni.c] [error] 找不到指定的模組。
[2007-03-09 14:31:57] [924 prunsrv.c] [error] Failed creating java D:\Java\jre1.6\bin\client\jvm.dll
[2007-03-09 14:31:57] [1179 prunsrv.c] [error] ServiceStart returned 1
Hannibal Ou
Greenhorn

Joined: Feb 06, 2007
Posts: 11
Some one had said the problems maybe related to JDK version.

They said the tomcat 5.x should run in JDK 1.5

But I remembered I have started tomcat successfully with JDK1.6 in other

computer. I also checked the PATH,CLASSPTH, TOMCAT_HOME too.

JDK working well,but tomcat not.

THANKS FOR ANY HELP.
 
Don't get me started about those stupid light bulbs.
 
subject: I have some problems