You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by IceManPat <pa...@gmail.com> on 2008/10/11 12:05:34 UTC

Why can NOT run TomCat on my LapTop

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 ??

By the way , I have install NetBean 6 on my computer it's a full package
includes Glassfish v2.

Thanks for much.


-- 
View this message in context: http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19931226.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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Why can NOT run Tomcat on my Laptop

Posted by IceManPat <pa...@gmail.com>.
Nothing written in my logs files....it's empty..



Konstantin Kolinko wrote:
> 
> 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 <pa...@gmail.com>:
>>
>>
>>
>> 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: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>
>> --
>> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19931798.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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [OT] Why can NOT run Tomcat on my Laptop

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com]
> Subject: Re: [OT] Why can NOT run Tomcat on my Laptop
>
> > That would be the Darwin award :-)
>
> Now, call me thick, but that one I don't get.

Might be a USA thing:
http://www.darwinawards.com/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by André Warnier <aw...@ice-sa.com>.
André Warnier wrote:
> Pid wrote:
>> David Smith wrote:
>>> André Warnier wrote:
>>>> David Smith wrote:
>>>>> Caldarale, Charles R wrote:
>>>> ... for that Microsoft should be awarded the opposite of the
>>>>>> Nobel peace prize.
>>>>>>
>>>>>>  - Chuck
>>>>>>   
>>>>> That would be the Darwin award :-)
>>>>>
>>>>> --David
>>>>>
>>>> Now, call me thick, but that one I don't get.
>>>>
>>>>
>>> Google for the Darwin Awards.  It's awards for people who through their
>>> own stupidity remove themselves from the gene pool.
>>
>> Maybe there should be a Dawkins award, for people who successfully
>> removed bad ideas from the meme pool.
>>
>> (you may groan, ... /now/)
>>
> Considering what is happening in the world at large, I don't think that 
> such an award could be attributed annually though, nor with any kind of 
> regularity. Considering how easily they spread and how difficult they 
> are to eradicate, it would even seem that bad ideas procure some kind of 
> selective advantage (an increase in fertility for example).
> 
See, there is another one, from another thread further down :
quote
The problem was introduced, because in order to allow paths with spaces
in them, a lot of quotation marks were added to the startup script, and
that's what made the difference.
unquote

Aiming at the Dawkins Award thus, I am thinking of starting a parallel 
Tomcat distribution called the "ProgramFiles/TheApacheFoundation/Tomcat" 
distribution.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by André Warnier <aw...@ice-sa.com>.
Pid wrote:
> David Smith wrote:
>> André Warnier wrote:
>>> David Smith wrote:
>>>> Caldarale, Charles R wrote:
>>> ... for that Microsoft should be awarded the opposite of the
>>>>> Nobel peace prize.
>>>>>
>>>>>  - Chuck
>>>>>   
>>>> That would be the Darwin award :-)
>>>>
>>>> --David
>>>>
>>> Now, call me thick, but that one I don't get.
>>>
>>>
>> Google for the Darwin Awards.  It's awards for people who through their
>> own stupidity remove themselves from the gene pool.
> 
> Maybe there should be a Dawkins award, for people who successfully
> removed bad ideas from the meme pool.
> 
> (you may groan, ... /now/)
> 
Considering what is happening in the world at large, I don't think that 
such an award could be attributed annually though, nor with any kind of 
regularity. Considering how easily they spread and how difficult they 
are to eradicate, it would even seem that bad ideas procure some kind of 
selective advantage (an increase in fertility for example).


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by Pid <p...@pidster.com>.
David Smith wrote:
> André Warnier wrote:
>> David Smith wrote:
>>> Caldarale, Charles R wrote:
>> ... for that Microsoft should be awarded the opposite of the
>>>> Nobel peace prize.
>>>>
>>>>  - Chuck
>>>>   
>>> That would be the Darwin award :-)
>>>
>>> --David
>>>
>> Now, call me thick, but that one I don't get.
>>
>>
> Google for the Darwin Awards.  It's awards for people who through their
> own stupidity remove themselves from the gene pool.

Maybe there should be a Dawkins award, for people who successfully
removed bad ideas from the meme pool.

(you may groan, ... /now/)

p


> --David
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by André Warnier <aw...@ice-sa.com>.
David Smith wrote:
> André Warnier wrote:
>> David Smith wrote:
>>> Caldarale, Charles R wrote:
>> ... for that Microsoft should be awarded the opposite of the
>>>> Nobel peace prize.
>>>>
>>>>  - Chuck
>>>>   
>>> That would be the Darwin award :-)
>>>
>>> --David
>>>
>> Now, call me thick, but that one I don't get.
>>
>>
> Google for the Darwin Awards.  It's awards for people who through their 
> own stupidity remove themselves from the gene pool.
> 
> --David

Ok, got it, thanks.  Too late for me though.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by David Smith <dn...@cornell.edu>.
André Warnier wrote:
> David Smith wrote:
>> Caldarale, Charles R wrote:
> ... for that Microsoft should be awarded the opposite of the
>>> Nobel peace prize.
>>>
>>>  - Chuck
>>>   
>> That would be the Darwin award :-)
>>
>> --David
>>
> Now, call me thick, but that one I don't get.
>
>
Google for the Darwin Awards.  It's awards for people who through their 
own stupidity remove themselves from the gene pool.

--David


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by André Warnier <aw...@ice-sa.com>.
David Smith wrote:
> Caldarale, Charles R wrote:
... for that Microsoft should be awarded the opposite of the
>> Nobel peace prize.
>>
>>  - Chuck
>>   
> That would be the Darwin award :-)
> 
> --David
> 
Now, call me thick, but that one I don't get.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by David Smith <dn...@cornell.edu>.
Caldarale, Charles R wrote:
>> From: André Warnier [mailto:aw@ice-sa.com]
>> Subject: Re: [OT] Why can NOT run Tomcat on my Laptop
>>
>> Allowing spaces in directory and file names was a nutty
>> idea which has cost more over time than the Iraq war and
>> current financial debacle combined.
>>     
>
> (I'll assume the above is sarcastic, and not meant to be factual.  A couple of trillion dollars is a lot of money, regardless of the exchange rate.)
>
> Actually, spaces have been allowed in file names since reasonably early in UNIX history; however, since UNIX users back then were smarter than the average Microsoft, spaces and other odd characters were avoided unless obfuscation was desired.  The nutty idea wasn't allowing spaces but instead requiring their use for any and all normal activities - for that Microsoft should be awarded the opposite of the Nobel peace prize.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   
That would be the Darwin award :-)

--David

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [OT] Why can NOT run Tomcat on my Laptop

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com]
> Subject: Re: [OT] Why can NOT run Tomcat on my Laptop
>
> Allowing spaces in directory and file names was a nutty
> idea which has cost more over time than the Iraq war and
> current financial debacle combined.

(I'll assume the above is sarcastic, and not meant to be factual.  A couple of trillion dollars is a lot of money, regardless of the exchange rate.)

Actually, spaces have been allowed in file names since reasonably early in UNIX history; however, since UNIX users back then were smarter than the average Microsoft, spaces and other odd characters were avoided unless obfuscation was desired.  The nutty idea wasn't allowing spaces but instead requiring their use for any and all normal activities - for that Microsoft should be awarded the opposite of the Nobel peace prize.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by IceManPat <pa...@gmail.com>.
Hello Guys . 

Problem solved .... I set the catalina_home varible ....

Thank you so much for all your help...

As I said before I my very new to TomCat...in the near future I may still
encounter different problems with TomCat ....I might still post message here
.......

Thanks again.

Patrick




IceManPat wrote:
> 
> Hi Guys , 
> 
> I take the space out ...type command 
> 
> C:\>set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_07    (the path of java
> JDK not JRE )
> 
> After that I dragged the catalina.bat file to the cmd.exe   
> 
> C:\>"D:\QQ setup exe\tomcat\apache-tomcat-6.0.18\bin\catalina.bat"
> 
> I typed "enter" run it ....then it says ...
> 
> CATALINA_HOME environment variable is not defined correctly....
> 
> Thank you for your help.....
> 
> 
> Patrick
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Len Popp wrote:
>> 
>> On Sat, Oct 11, 2008 at 16:45, André Warnier <aw...@ice-sa.com> wrote:
>>> Caldarale, Charles R wrote:
>>>>>
>>>>> From: IceManPat [mailto:patrickstudy@gmail.com]
>>>>> Subject: Re: Why can NOT run Tomcat on my Laptop
>>>>>
>>>>> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
>>>>
>>>> The problem is you have a space before the equals sign; that makes the
>>>> environment variable "JAVA_HOME " (note the trailing space), rather
>>>> than
>>>> "JAVA_HOME".  Take the space out.
>>>>
>>>> Despite Martin G's dire warning, spaces in the value of JAVA_HOME are
>>>> not
>>>> a problem; spaces at the end of the environment variable name are.
>>>>
>>> Allowing spaces in directory and file names was a nutty idea which
>>> has cost more over time than the Iraq war and current financial debacle
>>> combined.  It should be re-regulated.
>> 
>> And yet, as Charles pointed out, it's not a problem for the genius
>> Tomcat developers! (Re-read his message - the problem is a space in
>> the *name* of the env variable, not the directory. All of us Windows
>> users have no problem with Java being installed in the default
>> "Program Files" directory.)
>> -- 
>> Len
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19940002.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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by IceManPat <pa...@gmail.com>.
Hi Guys , 

I take the space out ...type command 

C:\>set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_07    (the path of java JDK
not JRE )

After that I dragged the catalina.bat file to the cmd.exe   

C:\>"D:\QQ setup exe\tomcat\apache-tomcat-6.0.18\bin\catalina.bat"

I typed "enter" run it ....then it says ...

CATALINA_HOME environment variable is not defined correctly....

Thank you for your help.....


Patrick









Len Popp wrote:
> 
> On Sat, Oct 11, 2008 at 16:45, André Warnier <aw...@ice-sa.com> wrote:
>> Caldarale, Charles R wrote:
>>>>
>>>> From: IceManPat [mailto:patrickstudy@gmail.com]
>>>> Subject: Re: Why can NOT run Tomcat on my Laptop
>>>>
>>>> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
>>>
>>> The problem is you have a space before the equals sign; that makes the
>>> environment variable "JAVA_HOME " (note the trailing space), rather than
>>> "JAVA_HOME".  Take the space out.
>>>
>>> Despite Martin G's dire warning, spaces in the value of JAVA_HOME are
>>> not
>>> a problem; spaces at the end of the environment variable name are.
>>>
>> Allowing spaces in directory and file names was a nutty idea which
>> has cost more over time than the Iraq war and current financial debacle
>> combined.  It should be re-regulated.
> 
> And yet, as Charles pointed out, it's not a problem for the genius
> Tomcat developers! (Re-read his message - the problem is a space in
> the *name* of the env variable, not the directory. All of us Windows
> users have no problem with Java being installed in the default
> "Program Files" directory.)
> -- 
> Len
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19939644.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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by Len Popp <le...@gmail.com>.
On Sat, Oct 11, 2008 at 16:45, André Warnier <aw...@ice-sa.com> wrote:
> Caldarale, Charles R wrote:
>>>
>>> From: IceManPat [mailto:patrickstudy@gmail.com]
>>> Subject: Re: Why can NOT run Tomcat on my Laptop
>>>
>>> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
>>
>> The problem is you have a space before the equals sign; that makes the
>> environment variable "JAVA_HOME " (note the trailing space), rather than
>> "JAVA_HOME".  Take the space out.
>>
>> Despite Martin G's dire warning, spaces in the value of JAVA_HOME are not
>> a problem; spaces at the end of the environment variable name are.
>>
> Allowing spaces in directory and file names was a nutty idea which
> has cost more over time than the Iraq war and current financial debacle
> combined.  It should be re-regulated.

And yet, as Charles pointed out, it's not a problem for the genius
Tomcat developers! (Re-read his message - the problem is a space in
the *name* of the env variable, not the directory. All of us Windows
users have no problem with Java being installed in the default
"Program Files" directory.)
-- 
Len

Re: [OT] Why can NOT run Tomcat on my Laptop

Posted by André Warnier <aw...@ice-sa.com>.
Caldarale, Charles R wrote:
>> From: IceManPat [mailto:patrickstudy@gmail.com]
>> Subject: Re: Why can NOT run Tomcat on my Laptop
>>
>> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
> 
> The problem is you have a space before the equals sign; that makes the environment variable "JAVA_HOME " (note the trailing space), rather than "JAVA_HOME".  Take the space out.
> 
> Despite Martin G's dire warning, spaces in the value of JAVA_HOME are not a problem; spaces at the end of the environment variable name are.
> 
Allowing spaces in directory and file names was a nutty idea which
has cost more over time than the Iraq war and current financial debacle 
combined.  It should be re-regulated.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Why can NOT run Tomcat on my Laptop

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: IceManPat [mailto:patrickstudy@gmail.com]
> Subject: Re: Why can NOT run Tomcat on my Laptop
>
> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07

The problem is you have a space before the equals sign; that makes the environment variable "JAVA_HOME " (note the trailing space), rather than "JAVA_HOME".  Take the space out.

Despite Martin G's dire warning, spaces in the value of JAVA_HOME are not a problem; spaces at the end of the environment variable name are.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Why can NOT run Tomcat on my Laptop

Posted by Martin Gainty <mg...@hotmail.com>.
any environment variables you refererence have to conform to the 8.3 convention e.g
as long folder and filenames with whitespace characters cannot be read by 95% of I/O routines
but.. using the 8.3 shortened name always works e.g

so this wont work
set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
set JAVA_HOME=D:\PROGRA~1\JAVA\JDK16~1.0_0

verify by 
cd D:\PROGRA~1
dir /X /AD and you will see the shortened name..

if you look at the %GLASSFISH_HOME%\config\asenv.bat 
the AS_JAVA environment variable needs to point to the correct location of JAVA e.g.
set AS_JAVA=D:\PROGRA~1\JAVA\JDK16~1.0_0

HTH
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 


> Date: Sat, 11 Oct 2008 15:47:42 +0400
> From: knst.kolinko@gmail.com
> To: users@tomcat.apache.org
> Subject: Re: Why can NOT run Tomcat on my Laptop
> 
> 2008/10/11 IceManPat <pa...@gmail.com>:
> >
> > It still says environment variable not correctly defined ......and i also
> > closed the Glassfish ...I do not use any printers now....there should not
> > have any conflict on port 8080.....
> >
> > In cmd.exe window
> >
> > In cmd.exe window I  type
> >
> > C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
> >
> > The location for my java jre is :  D:\Program Files\Java\jdk1.6.0_07
> >
> > ....Any ideas ??
> >
> 
> And, after that, running "catalina.bat run" - what is the result?
> 
> It still says environment variable not correctly defined
> - what exactly env. variable?
> 
> > The location for my java jre is :  D:\Program Files\Java\jdk1.6.0_07
> Is it JRE or JDK?
> 
> Also, read RUNNING.txt. You have it in the root of the *.zip archive.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Re: Why can NOT run Tomcat on my Laptop

Posted by Konstantin Kolinko <kn...@gmail.com>.
2008/10/11 IceManPat <pa...@gmail.com>:
>
> It still says environment variable not correctly defined ......and i also
> closed the Glassfish ...I do not use any printers now....there should not
> have any conflict on port 8080.....
>
> In cmd.exe window
>
> In cmd.exe window I  type
>
> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
>
> The location for my java jre is :  D:\Program Files\Java\jdk1.6.0_07
>
> ....Any ideas ??
>

And, after that, running "catalina.bat run" - what is the result?

It still says environment variable not correctly defined
- what exactly env. variable?

> The location for my java jre is :  D:\Program Files\Java\jdk1.6.0_07
Is it JRE or JDK?

Also, read RUNNING.txt. You have it in the root of the *.zip archive.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Why can NOT run Tomcat on my Laptop

Posted by IceManPat <pa...@gmail.com>.
It still says environment variable not correctly defined ......and i also
closed the Glassfish ...I do not use any printers now....there should not
have any conflict on port 8080.....

In cmd.exe window

In cmd.exe window I  type

C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07

The location for my java jre is :  D:\Program Files\Java\jdk1.6.0_07 

....Any ideas ??

Thank you.







>:
>
>
>
> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
> --
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




-- 
View this message in context: http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19931731.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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Why can NOT run Tomcat on my Laptop

Posted by Konstantin Kolinko <kn...@gmail.com>.
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 <pa...@gmail.com>:
>
>
>
> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
> --
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Why can NOT run Tomcat on my Laptop

Posted by IceManPat <pa...@gmail.com>.


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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Why can NOT run Tomcat on my Laptop

Posted by Pid <p...@pidster.com>.
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.
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Why can NOT run TomCat on my LapTop

Posted by Leon Rosenberg <ro...@googlemail.com>.
Download the zip version, unpack it somewhere, open cmd.exe, goto this
somewhere, run
bin\catalina.bat run and watch the output.

regards
leon

On Sat, Oct 11, 2008 at 12:05 PM, IceManPat <pa...@gmail.com> 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 ??
>
> By the way , I have install NetBean 6 on my computer it's a full package
> includes Glassfish v2.
>
> Thanks for much.
>
>
> --
> View this message in context: http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19931226.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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org