RE: StringEscapeUtils.escapeXml & XX

2014-05-05 Thread Martin Gainty
if you didnt catch XSS Vector at Javascript as it was coming in from Browser then you can write your own from: http://commons.apache.org/proper/commons-lang/javadocs/api-2.6/src-html/org/apache/commons/lang/StringEscapeUtils.html private static void escapeJavaStyleString(Writer out, String str, b

RE: [email] - Secure Password Authentication in Outlook

2014-05-27 Thread Martin Gainty
> From: a...@alard.net > To: user@commons.apache.org > Subject: [email] - Secure Password Authentication in Outlook > Date: Tue, 27 May 2014 14:22:20 +0100 > > Hi all > > > > I'm using the Apache Commons Email classes to send emails using SMTP. I'm > connecting via SMTP so I don't have to

RE: (beanutils) possible problem with beanutils being used by geoserver

2014-05-30 Thread Martin Gainty
you should ask this on glassfish-users but since I monitor both lists here is the solution when you enable security manager in Glassfish Changing Permissions for an ApplicationThe default policy for each domain limits the permissions of Java EE deployed applications to the minimal set of permis

RE: Commons Config: Variable Interpolation

2014-07-11 Thread Martin Gainty
> From: ronald.difra...@capitalone.com > To: user@commons.apache.org > Date: Fri, 11 Jul 2014 11:02:45 -0400 > Subject: RE: Commons Config: Variable Interpolation > > Just to complete it, the code looks like: > > DefaultConfigurationBuilder factory = new > DefaultConfigurationBuilder("example.

RE: Commons Config: Variable Interpolation

2014-07-11 Thread Martin Gainty
org.apache.commons.configuration.CommonsConfigurationTest.java instead I will be filing a detailed JIRA as soon as I finish sending this email (and will copy you0 Many thanks for pointing out this show-stopping bug Ron! Martin Gainty _ place inlined CommonsConfigurationTest.java in /src/test/java/org

RE: [daemon]

2014-07-17 Thread Martin Gainty
jsvc.exe -outfile stdout.out -errfile stderr.errcat stdout.out cat stderr.err report back the results Martin From: andrew.mar...@exactearth.com To: user@commons.apache.org Subject: [daemon] Date: Thu, 17 Jul 2014 16:24:14 + Hi, I’m trying to run a java daemon using jsvc and the Da

RE: [daemon]

2014-07-17 Thread Martin Gainty
r.java:190) > 17/07/2014 17:39:24 10600 jsvc.exec error: Cannot load daemon > 17/07/2014 17:39:24 10599 jsvc.exec error: Service exit with a return value > of 3 > > This is from the error file. Nothing in the stdout file. > > Andrew > > -Original Message- > F

RE: [daemon]

2014-07-17 Thread Martin Gainty
ain jar. The manifest inside the jar has > the rest of the dependencies, including commons-daemon. I know this is fine, > because if I just run the jar using java -jar, it works. I also know that it > is being passed correctly to jsvc, because when I remove it I get a more > fundamen

RE: [vfs] webdav access throws ClassCastException: ArrayList cannot be cast Node

2014-07-31 Thread Martin Gainty
org.w3c.dom.Node is at the heart of XML and is used by SAX,DOM and STAX org.w3c.dom is currently not used by the Following implementations in commons-configurations: properties FileSystems such as VFS or Hadoop FS DB unless of course we convert Properties/VFSFileEntitiesHadoop/DB to XML DOM Node

RE: [fileupload] - Question about uploading additional files other than the ones in the form?

2014-09-06 Thread Martin Gainty
Morning Konradthe uploader will need to have apriori knowledge of both:location of Main distro usually 'baseDir' location of ancillary files..pics, classes, sources, html,css This is the reason why you will never see an apache server provisioning individual files(except for SVN/GIT) source ctl

RE: [fileupload] - Question about uploading additional files other than the ones in the form?

2014-09-07 Thread Martin Gainty
with no details provided nobody could understand question your scenario you changed the question from how do I use fileupload toHow do I use construct MIME multipart message containing non-ascii jpg/gif/etc files In the case of MimeMultipart messages you should be following this:http://docs.or

RE: [OT] - Can anyone add me to the Shiro mailing list?

2014-09-10 Thread Martin Gainty
Konrad- start here http://shiro.apache.org/mailing-lists.html a few caveats ...before you send something out: 1)eliminate any proprietary info 2)be every so careful what you say as many people other than apache folk subscribe to this list 3)if you *think* you found a bug (anything which does not

RE: Returning non-zero exit code in Windows

2014-09-25 Thread Martin Gainty
> From: srijithu...@india.com > Date: Thu, 25 Sep 2014 19:27:33 +0530 > Subject: Returning non-zero exit code in Windows > To: user@commons.apache.org > > Hi All, > > I am making use of commons-daemon to get my java process started > as a Windows Service. I am installing the service an

RE: [fileupload] multipart parsing failed: null?

2014-11-22 Thread Martin Gainty
Kristian/Thomas: Would it help to take a look at the connection paramaters for ProxyPass? max to throttle the max number of connections to backend? ttl to throttle the time to live for inactive connections? retry increase the amount of time for backend server people to reboot or fix the problem wh

RE: [lang] SystemUtils and Cygwin

2015-01-01 Thread Martin Gainty
> Date: Thu, 1 Jan 2015 20:34:32 -0200 > From: cereda.pa...@gmail.com > To: user@commons.apache.org > Subject: [lang] SystemUtils and Cygwin > > Dear friends, > > I have to execute a certain system command according to the underlying > operating system; so far, SystemUtils works like a charm.

RE: [lang] SystemUtils and Cygwin

2015-01-02 Thread Martin Gainty
> Date: Fri, 2 Jan 2015 06:54:02 -0200 > From: cereda.pa...@gmail.com > To: user@commons.apache.org > Subject: Re: [lang] SystemUtils and Cygwin > > Hello, Jörg! > > Ah, thank you very much for the explanation. I now understand how a > process works under Cygwin (to be honest, I was suspecti

RE: [configuration] Adding CData to xml property

2015-01-07 Thread Martin Gainty
> Date: Tue, 6 Jan 2015 18:40:07 +0100 > From: oliver.he...@oliver-heger.de > To: user@commons.apache.org > Subject: Re: [configuration] Adding CData to xml property > > > > On 06.01.2015 17:55, jeevi tesh wrote: > > Hi, > > > > Need to add CDATA into XML Property element, but special characte

RE: [exec] Can't kill process?

2015-02-02 Thread Martin Gainty
> Date: Mon, 2 Feb 2015 10:45:44 +0100 > From: siegfried.goes...@it20one.com > To: user@commons.apache.org > Subject: Re: [exec] Can't kill process? > > Mhmm - see > https://msdn.microsoft.com/en-us/library/windows/desktop/ms686722(v=vs.85).aspx MG>dont know if calling Paul Allen out of reti

<    1   2