Re: [deamon] windows: passing normal cmd line arguments to service

2012-06-01 Thread Konstantin Kolinko
only with its defaults what is now > the assumed outcome. See "StartParams" http://commons.apache.org/daemon/procrun.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: user-unsubscr...@comm

Re: Procrun fails to stop service

2012-04-19 Thread Konstantin Kolinko
rom the OS. I'd help if you enable debug logging to get more details (the log level is configurable in prunmgr dialog). 3. Do you have unusually long strings or paths somewhere in your configuration? Best regards, Konstantin Kolinko ---

Re: [logging] Specify the Log4J configuration file from commons-logging.properties

2012-04-14 Thread Konstantin Kolinko
ned in that section ("log4j.rootCategory" and below) are set in log4j.properties file. This explains for me the words written above the options list (note the "and"): "Configure Log4J using system properties and/or a propert

Re: JSVC Daemon: Pass arguments to application

2012-03-15 Thread Konstantin Kolinko
vc [-options] class [args...] Those "args..." is what you are asking for. There is also >-D= > set a Java system property Best regards, Konstantin Kolinko - To unsubscribe, e-mail: user-unsubscr...@com

Re: [exec] How to capture Standard Output from external command

2012-02-16 Thread Konstantin Kolinko
class. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [email] JavaMail works Commons Email does not

2012-01-10 Thread Konstantin Kolinko
Message.RecipientType.TO, new InternetAddress[]{new > InternetAddress(recipientAddress)}); > msg.setSubject(subject); > msg.setText(plainText); > Transport.send(msg); > > Any clues? > How exactly it fails? What exception is there if any? Best regards, Konstantin Kolinko

Re: [daemon] Odd user.dir behaviour with procrun / log4j

2011-08-26 Thread Konstantin Kolinko
o configure working directory. I have not tested though. 3. I might be that you can define your own variable and reference it in log4j.properties. I have not tested it though. You wrote that you have already worked around your original problem. Best regards, Konstantin Kolinko

Re: Exception for DBCP Connection Pooling

2011-07-12 Thread Konstantin Kolinko
2011/7/12 Sananda Dasgupta : > Use some tool to check your xml file for being well-formed. E.g. both of the above lines do not have second double quote. - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org

Re: re : using org.apache.commons.math

2011-06-15 Thread Konstantin Kolinko
ort statement.  Most likely, the > commons math jar is not on your classpath. Or the one you are using is of older version. The mentioned class is @since 2.0 Best regards, Konstantin Kolinko - To unsubscribe,

Re: [digester] how can I print children tags instead of only tag content ?

2011-05-13 Thread Konstantin Kolinko
commons.apache.org/digester/commons-digester-2.1/core.html > But it is actually what I need. If element has at > least a child, then trigger myMethod Best regards, Konstantin Kolinko - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [Digester] getting java.net.MalformedURLException: no protocol:

2011-03-23 Thread Konstantin Kolinko
address of a document that you are trying to parse. If you have the document already as a String in memory, use Digester.parse(Reader) with a StringReader. > > Thanks > > > > (...) > > Best regards, Konstantin Kolinko -

Re: [cli] Example using of option with two mandatory arguments

2011-02-27 Thread Konstantin Kolinko
e count of arguments in an Option can be unlimited (Option.UNLIMITED_VALUES). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [DAEMON] procrun - java Property File

2011-01-17 Thread Konstantin Kolinko
es it load those properties files? How does it find them? Ask the developers of the original app. That is why I already asked you: >> If you were running your app with java(w).exe, what would be your command >> line? The log4j.properties file is usually placed int

Re: [DAEMON] procrun - java Property File

2011-01-16 Thread Konstantin Kolinko
t; [1] to specify -D. Is it what you are asking? If you were running your app with java(w).exe, what would be your command line? [1] http://commons.apache.org/daemon/procrun.html Best regards, Konstantin Kolinko - To unsubscr