tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: charset for tc5 win as service
Date Thu, 29 Apr 2004 16:17:18 GMT
Quoting zhicheng wang <wang_zc@yahoo.co.uk>:

> thanks jake,
> but that was not my problem. you were tooooo quick to
> respond - thanks.
> 

No, actually I answered the question, but left the details to you.

> i do NOT have problem to run tomcat as service, the
> problem is where to include
> "-Dfile.encoding=ISO-8859-1" on the start up when run
> as a service?
> 
> I have no problem to make this work when start tomcat
> from command line. but the service.bat runs
> tomcat.exe, not java
> 
> ...?
> 

Have a look at my modified service.bat file (renamed to service.txt to avoid
servers from stripping the attachment).  Find the --JavaOptions area and add
your -D parameter there.


Jake


> cheng
> 
>  --- Jacob Kjome <hoju@visi.com> wrote: > Quoting
> zhicheng wang <wang_zc@yahoo.co.uk>:
> >
> > >  Dear Mark and other experts
> > >
> > > i am running tomcat 5.0.19 on win2k as service.
> > but i
> > > need to have charset ISO-8859-1.
> > >
> > > where can i setup -Dfile.encoding=ISO-8859-1 so
> > that
> > > this encoding is used?
> > >
> >
> > Look in CATALINA_HOME/bin/service.bat
> >
> > You'll have to first do:
> >
> > service.bat remove
> >
> > modify service.bat as needed, then do...
> >
> > service.bat install Tomcat5
> >
> >
> > Jake
> >
> > > thanks
> > > cheng
> > >
> > >
> > > =====
> > > Best wishes
> > > Z C Wang
> > >
> > >
> > >
> > >
> > >
> > >
> >
> ____________________________________________________________
> > > Yahoo! Messenger - Communicate instantly..."Ping"
> > > your friends today! Download Messenger Now
> > > http://uk.messenger.yahoo.com/download/index.html
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> =====
> Best wishes
> Z C Wang
> 
> 
> 
> 
> 
> ____________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Mime
View raw message