tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Watson" <c.wat...@zen.co.uk>
Subject RE: Antw: RE: Cant get 4.1.10 to run on Win2K
Date Mon, 16 Sep 2002 15:08:24 GMT
Andre,

In all following cases drives are physical drives, (NOT network shares etc)

System 1
W2k System drive f: (i.e. \WINNT\system32 is on f:)
Installed to f:\jakarta-tomcat , works fine out-of-the-box

System 2
w2k system drive c:
another physical data drive d:

a)	Installed (default) to c:\program files\apache tomcat 4.1 (as I
remember), works fine out-of-the-box

b)	Installed to d:\jakarta-tomcat, got compilation errors browsing any JSP
resources
	Added registry entry as described at bottom of this message, JSP started
working successfully

Christopher

> -----Original Message-----
> From: Andre Schild [mailto:A.Schild@aarboard.ch]
> Sent: 16 September 2002 13:20
> To: tomcat-user@jakarta.apache.org
> Subject: Antw: RE: Cant get 4.1.10 to run on Win2K
>
>
> >Ok! The drive installation can help. Here, I use drive D:, and fails,
> at
> >home I use another drive, but I have mounted it like a folder of C: ,
> so
> >it's like if it was on C:.
>
> I which way do you have mounted the drive D:
> I know of two ways:
>
> 1. subst command.
>  I'm not sure if this still works under 2000/XP etc.
> 2. Via network share.
>  Services DON'T have access to network resources, since:
>  a) They run a system account and this one does not have the required
> privileges. So you would have to assign a real user account ot the
> tomcat service.
>  b) The drive-map isn't existent in the service when you are not logged
> in, and if you are logged in, a) might be the problem.
>
> André
>
> So, you must be in the correct way: the drive of installation could
> give
> problems.
>
> Can anybody with tomcat 4.1.10 installed like a service of windows,
> tell us
> with drive uses and if it works well?
>
> Thanks!!
>
> -----Mensaje original-----
> De: Christopher Watson [mailto:c.watson@zen.co.uk]
> Enviado el: lunes, 16 de septiembre de 2002 13:21
> Para: Tomcat Users List
> Asunto: RE: Cant get 4.1.10 to run on Win2K
>
> Hi Miguel,
>
> See interleaved below
>
> > -----Original Message-----
> > From: Miguel Angel Mulero Martinez
> > [mailto:miguel-angel.mulero@mad.tecsidel.es]
> > Sent: 16 September 2002 11:25
> > To: Tomcat Users List
> > Subject: RE: Cant get 4.1.10 to run on Win2K
> >
> >
> > Hi Chris!
> >
> > Sorry, adding the user.dir option didn't work for me :-(
> >
> > Maybe it can be that I have spaces too in the path (also for
> > catalina.home).
>
> I have verified that user.dir works for me when using a directory name
> with
> spaces in it,
> specifically when I installed it to
> d:\jakarta tomcat\Tomcat 4.1
>
> > When I change the path installation of tomcat, I will try another
> time. Is
> > strange, at home I have got it exactly in the same place and with the
> same
> > parameters (but under Windows XP) and it works great.
>
> I had a similar situation.
> I'm pretty sure it works 'out of the box'
> if you install it onto the system drive (i.e. the one with
> \WINNT\system32
> on it)
> but not if you put it onto any other drive ??
>
> Is this the same for you?
>
> BTW I am using jdk1.3.1 and the non-LE version, but I think that's
> probably
> irrelevant
>
> Christopher
>
> >
> > Miguel
> >
> > -----Mensaje original-----
> > De: Christopher Watson [mailto:c.watson@zen.co.uk]
> > Enviado el: lunes, 16 de septiembre de 2002 11:56
> > Para: Tomcat Users List; Miguel Angel Mulero Martinez
> > Asunto: RE: Cant get 4.1.10 to run on Win2K
> >
> > Miguel, List
> >
> > I seem to have fixed this by adding the following string value to
> the
> > registry key for the tomcat service
> > which on my system is one of the entries in
> > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat
> > 4.1\Parameters
> >
> > Name                            Value
> > JVM Option Number n     -Duser.dir=v:\jakarta-tomcat
> >
> > where n is one higher than the greatest JVM Option Number already
> there
> > and I also increased the value of JVM Option Count by one
> >
> > v:\jakarta-tomcat is my tomcat home directory
> > which I note was already set up as the string value which reads
> >
> > JVM Option Number 1     -Dcatalina.home=v:\jakarta-tomcat
> >
> > As to WHY the catalina.home wasn't doing the trick, I have no idea
> >
> > Also, I haven't tested further than getting JSP to work, so I
> > don't know if
> > this fixes/breaks anything else.
> >
> > HTH
> >
> > Christopher Watson
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message