• 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

Regarding tomcat startup

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,

when i have been running tomcat it is closed off, could you please tell me what is the problem?Is there a problem in sitefile?
and this is my batch file(setenv)

@echo "setting up env vars for Javahack"
set ROOTDIR=D:
set JAVA_HOME=%ROOTDIR%\javahack\java
@echo "set ANT properties"
set ANT_HOME=%ROOTDIR%\Javahack\apache-ant-1.6.5
rem set ANT_OPTS=-Xmx256M
set ANT_PRIVATE_PROPS=
@ECHO "set up ruby variables "
REM additional variables for RUBY
set RUBY_HOME=%ROOTDIR%\Javahack\Ruby
set MASTERCONFIGDIR=%ROOTDIR%\Javahack\JVCore
set MASTERCONFDIR=%ROOTDIR%\Javahack\JVCore
set CATALINA_HOME=%ROOTDIR%\Javahack\apache-tomcat-5.5.12
set ANT_OPTS=-Xmx512M
REM JAVA_OPTS=-Xmx768M
set JAVA_OPTS=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -DMaxPageRows=999999

set ANT_PRIVATE_PROPS=%ROOTDIR%\Javahack\JVCore\ant.properties
set path=%JAVA_HOME%\bin;%ANT_HOME%\bin;%CATALINA_HOME%\bin;%path%
set classpath=%classpath%;%CATALINA_HOME%\common\lib\jsp-api.jar

echo %classpath%

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you checked log files of tomcat folder? Is there any error logs? might be a memory problem.
 
surya.raaj prakash
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thaks For Your reply,

Hardik N Shah wrote:Is there any error logs?



No,there is no any error logs.
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need some more info...

Can you start your Tomcat server??

When does the server shutdown by it self??

Can you post the context of TOMCAT_HOME/logs/catalina.out - or if you don't have this log because you are on a windows PC, then what the console are showing.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Was Tomcat installed as a service or an application?
2. How are you starting Tomcat?
3. Which version of Tomcat, of Java?
4. Which operating system?
5. Did this installation of Tomcat ever work?

Bill
 
surya.raaj prakash
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

William Brogden wrote:1. Was Tomcat installed as a service or an application?
2. How are you starting Tomcat?
3. Which version of Tomcat, of Java?
4. Which operating system?
5. Did this installation of Tomcat ever work?

Bill



 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, what happens when you execute startup.bat in a command prompt window?

You should see some messages and a second command prompt window should open and stay open.

Which version of Java is installed?

Bill
 
If tomatoes are a fruit, then ketchup must be a jam. Taste this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic