In cmd.exe window type set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 or whetever the path to your jdk is, or JRE_HOME= .. if you only have a JRE.
Also, if your Glassfish, or some other Tomcat instance (like some HP printer management page) is already running, there can be port numbers conflict. You should change the numbers in conf/server.xml (there are three port numbers in use by default: 8080, 8005, 8009). Also, what is being written to your log files in logs/ subdirectory? 2008/10/11 IceManPat <[EMAIL PROTECTED]>: > > > > Pid-2 wrote: >> >> IceManPat wrote: >>> Hi >>> >>> Guys, I am new to Tomcat . I have downloaded the installer for windows >>> (apache-tomcat-6.0.18) , it installed successfully on my machine . But >>> whenever I try to start the service it just not running ....the buffer >>> bar >>> will go for about 1,2 seconds then it just stopped. >>> >>> Any suggestions ?? >> >> What does the catalina.out log say? >> >> p >> >> >>> By the way , I have install NetBean 6 on my computer it's a full package >>> includes Glassfish v2. >>> >>> Thanks for much. >>> >>> >> >> >> >> cmd says : environment variable is not defined correctly ...how should i >> set the environment ?? >> >> sorry ....i am not good at this ...:( >> >> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19931560.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]