RE: [DAEMON] procrun - java Property File

2011-01-17 Thread Adam Mlodzinski
> From: Andreas Mielke [mailto:andreasmie...@googlemail.com] > > My problem is to tell the Apache Common Daemon where is my property file. No, this is not your problem. The Commons Daemon does not care about your property file. The Java program that the Commons Daemon will run *does* care. > I

Re: [DAEMON] procrun - java Property File

2011-01-17 Thread Andreas Mielke
2011/1/17 Konstantin Kolinko > 2011/1/17 Andreas Mielke : > > Hello JP, > > > > I look at the files and the loading of the properties files is like me. > My > > problem is to tell the Apache Common Daemon where is my property file. > > > > @ Konstantin I try the JvmOption like prunsrv //IS > --De

Re: [DAEMON] procrun - java Property File

2011-01-17 Thread Konstantin Kolinko
2011/1/17 Andreas Mielke : > Hello JP, > > I look at the files and the loading of the properties files is like me. My > problem is to tell the Apache Common Daemon where is my property file. > > @ Konstantin I try the JvmOption like prunsrv //IS --Description="DMSImport" > --DisplayName="startImpor

Re: [DAEMON] procrun - java Property File

2011-01-16 Thread Andreas Mielke
Hello JP, I look at the files and the loading of the properties files is like me. My problem is to tell the Apache Common Daemon where is my property file. @ Konstantin I try the JvmOption like prunsrv //IS --Description="DMSImport" --DisplayName="startImport" --Startup=auto --Type=interactiv --I

Re: [DAEMON] procrun - java Property File

2011-01-16 Thread Andreas Mielke
Hello JP, Please write me a example? Andreas Am 16.01.2011 um 20:37 schrieb Juan Pablo Pizarro : > Andreas, you can use a resource bundle to obtain the .properties from the > jar.. i mean, you put the .properties into the file and you can read from > it. > > I posted some classes to do that

Re: [DAEMON] procrun - java Property File

2011-01-16 Thread Juan Pablo Pizarro
Andreas, you can use a resource bundle to obtain the .properties from the jar.. i mean, you put the .properties into the file and you can read from it. I posted some classes to do that some months ago. Regards. JP 2011/1/16 Konstantin Kolinko > 2011/1/16 Andreas Mielke : > > I use Apache Comm

Re: [DAEMON] procrun - java Property File

2011-01-16 Thread Konstantin Kolinko
2011/1/16 Andreas Mielke : > I use Apache Common Daemon to install a java application as a windows > service. The problem is i have a java properties file to setup few parameters > and i don't know how to describe the location of the property file in the > command line. My installation of the se

[DAEMON] procrun - java Property File

2011-01-16 Thread Andreas Mielke
I use Apache Common Daemon to install a java application as a windows service. The problem is i have a java properties file to setup few parameters and i don't know how to describe the location of the property file in the command line. My installation of the service is like prunsrv //IS//Test