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 tomcat 5.5 not starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat 5.5 not starting" Watch "tomcat 5.5 not starting" New topic
Author

tomcat 5.5 not starting

Karla DiazGranados
Greenhorn

Joined: May 07, 2008
Posts: 2
Hi,

I have a virtual machine with WinXP, tomcat 5.5 and jdk1.5 (1.5.0_10-b03) in my server and
I connect through network from my pc using vmware.

I've tried to put this vm in another server with similar characteristics but it doesn't
work and these are the error messages in the logs:

[2008-05-06 02:29:25] [info] Running Service...
[2008-05-06 02:29:26] [info] Starting service...
[2008-05-06 02:29:26] [173 javajni.c] [error] Invalid access to memory location.
[2008-05-06 02:29:26] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.5.0_10\jre\bin\server\jvm.dll
[2008-05-06 02:29:26] [1179 prunsrv.c] [error] ServiceStart returned 1
[2008-05-06 02:29:26] [info] Run service finished.
[2008-05-06 02:29:26] [info] Procrun finished.

I've changed memory size (vm has assigned 1172 Mb of memory) for bigger and shorter
values and nothing. What can I do? or What can be the problem?
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1282

Hi Karla,

unfortunately I've never used Tomcat with Windows or VMWare. But as the log tells about problems with memory access and JNI one thing I can think of is, that you're using Tomcat with APR support and the requirements for APR to work are not fulfilled. Perhaps you can check the Tomcat homepage if your VMWare installation meets the requirements and if Tomcat is running with APR support.

Or perhaps there's simply some configuration option or something like this for VMware to grant memory access to tomcat. Anyway the size of 1172 MB should be more than enough at least to startup Tomcat.

I hope this helps!

Marco
Karla DiazGranados
Greenhorn

Joined: May 07, 2008
Posts: 2
Hi Marco,

Thank you for your information. I'll be reading about your suggestion.

Have a nice day.

Karla
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat 5.5 not starting