• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat 6 startmode differences

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am running Tomcat 6 on Windows Server 2008 using a 64-bit JVM. I need to install Liferay 5.2.2. I have most of the kinks worked out, but there is one big one remaining. In the Tomcat configuration I have a choice of statmodes (java, jvm or exe). If I use 'java' my app starts up, but if I use 'jvm' (the default) it throws a stack overflow exception after the Spring framework goes into what looks like a recursive loop. What I want to know is why the startmode makes such a difference. BTW, I've rule out most likely differences (same JVM, same library path, same classpath, etc). I did a system properties dump and all are the same now except there java.sun.laucher property is defined in 'java' mode but not in 'jvm'. Don't know if that'll help any.

I've posted this question to the Liferay forum and they don't have a clue. I suspect now that it is something lower-level (e.g. Tomcat, or Spring). Any ideas?

Kevin L. Stewart
Sr. Software Lead
Constellation Software Engineering
NASA GSFC
 
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic