Starting up Apache-tomcat 5.5.28

View: New views
6 Messages — Rating Filter:   Alert me  

Starting up Apache-tomcat 5.5.28

by M A :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello I'm trying to start Tomcat 5.5.28. I have Java JRE installed: jre1.6.0_07.

JRE_HOME system variable works, I checked it by "cd %JRE_HOME%", whicjh takes me to C:\jre1.6.0_07.

Tomcat is unzipped into C:\apache-tomcat-5.5.28

I run it:
C:\apache-tomcat-5.5.28\bin>startup.bat
and get this error:
Files was unexpected at this time.

I have Windows XP x64 Edition SP2.

How do I get Apache-Tomcat running?

Regards, Dmitri

....................................................................
Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: Starting up Apache-tomcat 5.5.28

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: M A [mailto:do_that3@...]
> Subject: Starting up Apache-tomcat 5.5.28
>
> I run it:
> C:\apache-tomcat-5.5.28\bin>startup.bat
> and get this error:
> Files was unexpected at this time.

The process you described should have worked.  I suspect you have some environment variable that the Tomcat scripts are using that is set to an unusual value; in particular it may need quotes around the value if it contains embedded spaces.  Do a "set" command to see what is set at the point when you're about to run the script; post the results if nothing obvious pops out.

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


Parent Message unknown RE: Starting up Apache-tomcat 5.5.28

by M A :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, here is what I get running set command:


C:\apache-tomcat-5.5.28\bin>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Administrator\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=DES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
JAVA_HOME="C:\Program Files (x86)\Java\jre1.6.0_07"
JRE_HOME="C:\jre1.6.0_07"
KMP_DUPLICATE_LIB_OK=TRUE
LOGONSERVER=\\DES
NUMBER_OF_PROCESSORS=2
OS=Windows_NT

***Removed some OpenSceneGraph paths.***

Path=C:\Program Files (x86)\readers\MikTex\miktex\bin;C:\media\programs\programming\math\watcom_(needed_for_maple)\binnt
;C:\media\programs\programming\math\watcom_(needed_for_maple)\binw;C:\Program Files (x86)\Common Files\ArcSoft\Bin;C:\WI
NDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Python
25;C:\MinGW\bin;C:\Program Files (x86)\programming\OpenSceneGraph-2.8.2\bin;C:\Program Files (x86)\programming\OpenScene
Graph-2.8.2\share\OpenSceneGraph\bin;C:\Program Files (x86)\CVS Suite\CVSNT Tools\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1706
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=DES
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
VS90COMNTOOLS=C:\Program Files (x86)\programming\Microsoft Visual Studio 9\Common7\Tools\
WATCOM=C:\media\programs\programming\math\watcom_(needed_for_maple)
windir=C:\WINDOWS



Caldarale, Charles R kirjoitti 08.11.2009 kello 21:12:

> > From: M A [mailto:do_that3@...]
> > Subject: Starting up Apache-tomcat 5.5.28
> >
> > I run it:
> > C:\apache-tomcat-5.5.28\bin>startup.bat
> > and get this error:
> > Files was unexpected at this time.
>
> The process you described should have worked.  I suspect you have some
> environment variable that the Tomcat scripts are using that is set to an
> unusual value; in particular it may need quotes around the value if it
> contains embedded spaces.  Do a "set" command to see what is set at the
> point when you're about to run the script; post the results if nothing
> obvious pops out.
>
>  - 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 unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


....................................................................
Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: Starting up Apache-tomcat 5.5.28

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: M A [mailto:do_that3@...]
> Subject: RE: Starting up Apache-tomcat 5.5.28
>
> JAVA_HOME="C:\Program Files (x86)\Java\jre1.6.0_07"

Try getting rid of the above.  Even though it is wrapped by quotes, it causes a problem.  The JRE_HOME setting will suffice.

(Cue André's highly appropriate rant about spaces in path names... :-)

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


Parent Message unknown RE: Starting up Apache-tomcat 5.5.28

by M A :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Caldarale, Charles R kirjoitti 08.11.2009 kello 21:42:

> > From: M A [mailto:do_that3@...]
> > Subject: RE: Starting up Apache-tomcat 5.5.28
> >
> > JAVA_HOME="C:\Program Files (x86)\Java\jre1.6.0_07"
>
> Try getting rid of the above.  Even though it is wrapped by quotes, it
> causes a problem.  The JRE_HOME setting will suffice.
>
> (Cue André's highly appropriate rant about spaces in path names... :-)
>
>  - Chuck

Thank you for helping, now the server works. JAVA_HOME was left there from using by some other application, I didn't think it could cause a problm.

....................................................................
Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Starting up Apache-tomcat 5.5.28

by awarnier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Caldarale, Charles R wrote:
>> From: M A [mailto:do_that3@...]
>> Subject: RE: Starting up Apache-tomcat 5.5.28
>>
>> JAVA_HOME="C:\Program Files (x86)\Java\jre1.6.0_07"
>
> Try getting rid of the above.  Even though it is wrapped by quotes, it causes a problem.  The JRE_HOME setting will suffice.
>
> (Cue André's highly appropriate rant about spaces in path names... :-)

R i g h t.

To which should maybe be added the uncertain interpretation of
backslashes inside quoted strings.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...