Skip to content

echo $BRAIN_STUFF

Oh my God, like Mozart and Johnny Knoxville, my genius can not be stopped – HS

Menu

  • About me
  • Cities I traveled
  • Cookie Policy

java

Spring 4+ with Ehcache 3.x

This post describes an example of using Ehcache with a Spring MVC application deployed on Tomcat (not using Spring boot). It is a legacy app that needs to be upgraded. The dependencies are: Application context must be updated in this

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee April 13, 2020April 13, 2020 IT Stuff Read more

Java: Sort a list of objects according to matching string/pattern

I need to sort a list of objects in which the matching items come up and others will go down so. For instance, a list of objects on which all the labels are in alphabetical order except for all the

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee February 6, 2020February 13, 2020 IT Stuff Read more

How to use Spring DataSource bean as data source for Log4j 2 JDBC appender

I would like to log log4j2 messages into a relational database using the datasource defined on application context and initialized using spring using log4j 2.10. One possibility is to add a JDBC appender inside log4j2 xml configuration but, Log4j is

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee March 23, 2018April 13, 2018 IT Stuff Read more

Warning about SSL connection when connecting to MySQL database

After a recent update of mySql, I get this warning: WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn’t

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee August 25, 2017March 23, 2018 IT Stuff Read more

Convert timestamp long to normal date format

One simply way to convert a Long time stamp into a formatted string is (time paramter is Long timestamp): Date date = new Date(time); Format format = new SimpleDateFormat("yyyy MM dd HH:mm:ss"); return format.format(date);Date date = new Date(time); Format format

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee August 24, 2017August 24, 2017 IT Stuff Read more

How do I fix a 65535 bytes limit Stacktrace?

It is possible that after an upgrade you may encounter this error on some of the more complex pages and root cause provided by tomcat console is : Unable to compile class for JSP The code of method _jspService(HttpServletRequest, HttpServletResponse)

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee December 23, 2015March 27, 2018 IT Stuff Read more

MappingJacksonHttpMessageConverter not found

I was trying to run a java batch that call an application context without success (it’s a java app that calls a Camel spring context). This is what I get during the startup: ERROR ApplicationProperties @ addApplicationProperty [28] org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee December 8, 2015 IT Stuff Read more

Which log4j configuration are you using?

Sometimes log4j is not working properly and you need to verify where it is actually writing the log entries. This can be easily verified turning on the log4j.debug: -Dlog4j.debug-Dlog4j.debug It will print to System.out lots of helpful information about which

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee December 7, 2015December 7, 2015 IT Stuff Read more

Parse an unknown JSON with Jquery

Sometime it happens to receive a JSON string than need to be visualized without knowing the structure. Suppose we have an HTML table: <tbody id="reportTable"> </tbody><tbody id="reportTable"> </tbody> To populate this table with jQuery it’s possible to use this simple

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee April 16, 2015July 5, 2015 IT Stuff Read more

Dynamic for with Spring MVC using a HashMap

Sometime you need to dynamically generate a form without knowing how many fields it will be required (i.e. when your form is driven by a configuration or by some properties). The problem is to draw the form and, return the

Share this:

  • LinkedIn
  • Reddit
  • Twitter
  • Facebook
mee June 24, 2014June 30, 2014 IT Stuff No Comments Read more
  • « Previous
profile for Andrea Girardi at Stack Overflow, Q&A for professional and enthusiast programmers

giandrea77

#minerbe #minerbella #minerbetter #simonscat #cat #minerbe #minerbella #minerbetter #simonscat #cat
#sangiovanniilarione #sangiovanniilarione
#cadelbosco #annamariaclementi #cadelbosco #annamariaclementi
Merry Christmas from you friendly neighborhood Jav Merry Christmas from you friendly neighborhood Java developer 🎄 

#java #developerlife #javadeveloper #xmas2020 @codingdays @codemotionworld @comment_sense
#lazycat #cat #macos #java #minerbe #minerbest #mi #lazycat #cat #macos #java #minerbe #minerbest #minerbetter #minerbella
#minerbest #minerbetter #minerbecity #minerbe #min #minerbest #minerbetter #minerbecity #minerbe #minerbella #autumn #autumnvibes🍁
#minerbe #minerbest #minerbetter #minerbecity #min #minerbe #minerbest #minerbetter #minerbecity #minerbella
#minerbe #minerbella #minerbest #minerbetter #fend #minerbe #minerbella #minerbest #minerbetter #fendt #fendtkatana #harvest #silage2k20
#minerbella #minerbetter #minerbe #minerbest #mine #minerbella #minerbetter #minerbe #minerbest #minerbestate #tree #trees #countryside #countrysidephotography #countrylife
#valpusteria #valpusterianelcuore #valpusteria❤️🗻 #valpustertal
#smartworking #valpusteria #smartworking #valpusteria
#mtb #offroad #adige #pianuraveronese #mtb #offroad #adige #pianuraveronese
#tenutasanmartino #midachef #pappardelle #pavone # #tenutasanmartino #midachef #pappardelle #pavone #top #chef #chefsofinstagram #gourmetfood #excellentfood #italianfood
Instagram post 17847018311128142 Instagram post 17847018311128142
#gun #shoot #shooting #tanfoglio #gun #shoot #shooting #tanfoglio
#workinprogress #cherry #workinprogress #cherry
#holychuckburgers #holychuckburgers
#bollinger #minerbetter #bollinger #minerbetter
Do you remember? @torontoclx @curiocitytoronto @to Do you remember?
@torontoclx @curiocitytoronto @torontovintagesociety @seetorontonow @curiocitytoronto @lovetoronto @toronto @streetsoftoronto #toronto #torontovintage #torontocanada #canada #canada🇨🇦 @thankyoutoronto @blogto
#beretta #gun #fiocchi #beretta #gun #fiocchi
Load More... Follow on Instagram

Random Quote

El Tex l’e` un omo de merda

— Crima
View Andrea Girardi's profile on LinkedIn

Categories

  • Financial (7)
  • GlobalWarming (1)
  • IT Stuff (84)
  • Listening (3)
  • Minerbe (4)
  • Other (8)
  • Uncategorized (9)
Copyright © 2021 echo $BRAIN_STUFF. Powered by WordPress. Theme: Spacious by ThemeGrill.
This site uses cookies: Find out more.