• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat 5.5 not starting

 
Karla DiazGranados
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marco,

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

Have a nice day.

Karla
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic