RE: Tomcat service.bat %SERVICE_NAME% variable length

2004-05-25 Thread Mladen Turk

Has nothing to do with service.bat or procrun (tomcat.exe)
WINNT has a maximum length of 256 chars for service name and service display
name.
No spaces allowed in the service name, description and display name can have
spaces.


MT.

> -Original Message-
> From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
> Sent: 25. svibanj 2004 16:52
> To: [EMAIL PROTECTED]
> Subject: Tomcat service.bat %SERVICE_NAME% variable length
> 
> Hi,
> 
> Can you tell me what is the maximum string length that
> %SERVICE_NAME% variable can accept.
> 
> Does it allow spaces in the name?
> 
> 
> I am creating a install nt service bat file and whenever I have the
> service name exceed beyond a certain length it gives me a error.
> 
> Thanks
> AC
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


smime.p7s
Description: S/MIME cryptographic signature


Tomcat service.bat %SERVICE_NAME% variable length

2004-05-25 Thread Asif Chowdhary
Hi,

Can you tell me what is the maximum string length that
%SERVICE_NAME% variable can accept.

Does it allow spaces in the name?


I am creating a install nt service bat file and whenever I have the 
service name exceed beyond a certain length it gives me a error.

Thanks
AC




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]