SRG

France

blog.tensin.org

Age: 39

Working around J2EE ! But a bit of other stuff, too.

Apr
21
awarded Revival
Apr
15
comment Nginx - basic http authentication on PHP-script
Your "Example for server/host based auth" is the only working configuration i've found to password protect a whole site with fastcgi php. Thanks for sharing it, saved my day.
Apr
15
awarded Supporter
Mar
30
awarded Nice Answer
Mar
3
awarded Yearling
Jan
29
answered Jersey / Rest default character encoding
Jan
20
awarded Necromancer
Oct
26
comment switching to gradle from maven to manage a osgi big project (>200 bundles)
I have rather the same question today. Uberto, more than one year later, have you switched to Gradle and in that case, is the situation better now ?
Oct
3
answered Best way to share portions of a Maven pom.xml across unrelated projects?
Sep
27
awarded Yearling
Aug
6
comment jacocoData missing with EclEmma & AbstractTransactionalJUnit4SpringContextTests
On my side i stil have the same problem (with a different setup : Eclipse + ECLEmma 2.1.4 + Infinispan with a transaction manager configured), java.lang.RuntimeException: java.lang.NoSuchMethodException: com.arjuna.ats.arjuna.common.CoordinatorEnvironmentBean.set$jacocoData([Z) (whereas my test cases are working fine on their own, it's only with ECLEmma that i get this error)
Aug
2
answered Application Indicator for Shutter
Aug
2
awarded Supporter
Aug
1
answered Java multiline string
May
14
comment How do I preserve line breaks when using jsoup to convert html to plain text?
Indeed this is an easy palliative, but IMHO this should be fully handled by the Jsoup library itself (which has at this time a few disturbing behaviors like this one - otherwise it's a great library !).
May
6
awarded Teacher
May
6
comment ClassNotFoundException in eclipse
What is the name of the missing class ? The name of the missing class is always printed in the stacktrace. With that name, you can find the needed jar on a site like findjar.com . You probably just need in your eclipse classpath an additionnal library needed by POI. That's the reason why a packaging tool like Maven is usefull : it can deals transitively with the external jars needed by a component (worth a try in your situation maybe).
May
6
comment Display application name in Session Information when connecting via JDBC
Just in case it would be helpful for someone : this can be done specifically for Oracle databases with an additionnal property : ((BasicDataSource) datasource).addConnectionProperty("v$session.program", "Explicit connection label"). This will then be showed in the v$session Oracle view. Of course this ways works only for Oracle and your JDBC solution - whom i was unaware of - should be more robust.
May
2
comment Getting authentication prompt for sockets.ny.stackexchange.com on every page load?
Same problem for me, with a Firefox 12, behind a corporate proxy. A few weeks ago i hadn't that problem, now StackOverflow is really hard to browse with this authentification required popup that appear continuously. With the Live HTTP headers firefox plugin, i saw indeed that the url was "sockets.ny.stackexchange.com", so i put that in my Firefox network proxy exclusions (and that way i can browse the site again).
May
2
answered How can I use http://translate.google.com/ to translate the string in Java program?
1 2 3 4