I was caught unawares by the fact that when you use Spring boot's datasource auto configuration (for an Oracle database in my case), it creates a tomcat connection pool with 10 as the initial number of connections by default. It then uses one connection as active, and the other 9 will remain in inactive state.Given that my CommandLineRunner app needed ...
If your Swagger2 UI (Springfox swagger2 in my case) works when run with bootRun but not when deployed in an external container, with the following symptoms.404 for <your base url>/swagger-resources/configuration/uiUnable to infer base Url messageMake sure your Spring Boot application class extends the SpringBootServletInitializer.
How can you set Vertica specific properties on a container managed connection pool?Set up your resource as follows. The trick is to create a GenericNamingResourcesFactory for the dataSource with the Vertica properties, and then create a pooled dataSource using it.For Vertica specific properties like ConnectionLoadBalance, the case is important.Set the parameters in {} as you need.<Resource factory="org.apache.tomcat.jdbc.naming.GenericNamingResourcesFactory" name="jdbc/{myResourceName]"type="com.vertica.
As I'm learning Angular2 by doing a project, I was looking around for an free IDE that supports TypeScript. My tool of choice Intellij Idea has it, but only in the Ultimate Editions (the version 12 which I have a license for doesn't have TypeScript support).Lo and behold, Visual Studio Code, a free and open source editor that fully supports ...
If you belonged to a club, and some card carrying members of the club, armed by the club management, went around killing club members and non-members alike, shouting out loud that it was required according to the club's manifesto, would you:Claim that such a requirement wasn't really in the club manifesto?Claim that those people aren't really members of your club?Present ...
My 60GB SSD c: drive ran out of space and a quick googling led me to these 2 very nice resources.1. Turn off hibernatehttp://lifehacker.com/how-to-clean-out-your-overflowing-hard-drive-and-get-yo-5105117202. Delete old Windows installer fileshttps://www.raymond.cc/blog/safely-delete-unused-msi-and-mst-files-from-windows-installer-folder/I freed up 16.8GB by just doing these 2 things. Your mileage may vary. ...
Heard the Eddy Grant song, and got me wondering how applicable it was to us these days. So here's my version. ----------------------------------------------------------------------------Well Mahinda he runs a countryhe runs in Colombo and Hambanthota he makes a few of his lackeys happy, ohhe don't care about the rest at allhe's got a policy they call "chinthana"It keeps his brothers in high stationsBut ...
Just completed Crysis 2, possibly the most gorgeous game I've seen so far, especially with the DirectX 11 update and the hi-res textures (an added bonus of waiting a while before playing any newly released game). The story was a little hard to get in to, but I guess you won't be too lost if you go into the Extras ...
So I'm back from watching Transformers:Dark of the moon at the Liberty cinema, and thought I'd give you fair warning while the sickening taste of disappointment is fresh and hot in my mind.First of all, this is me hoping the assholes at Liberty cinema got a pair of scissors and went apeshit with the reel, coz otherwise trying to rationally ...
O shroud enfolding my waking hoursdarkness, my companion I choose to call theeyet, content I sleep in ignorant blissfor no light reaches me, nor have I eyes to seeUnseen hands that embrace me in visesa love so dear that won't let me leavemy home, my shell, the one I fill aloneslick curving walls of flesh and boneVeins of fluid throbbing ...
I knew I was gonna make this concert from the moment I saw it on the tickets.com site. Scar Symmetry, The Agonist, Blackguard and the headliners, Epica. The 1st was the band I knew about most, whereas I’d seen The Agonist’s videos and knew they had a smoking female vocalist, even thought I wasn’t a big fan of their music. ...
yapping away at each otherwith nothing real to saywas it funny to begin withcoz now it damn sure ain'tsilly woman next to megeneric cliches she lets drophave nothing clever to add?then I beg of you please shut uptalk of weddings, who's the next idiotbiggest mistake so knowingly madesordid tales of the in-house Casanovadoes attempted humor overcome shame?how he got so ...
For what it's worth, I am now officially a Master Of Computer Science, which means that I somehow managed to scrape through 4 semesters of super-boring lectures and 1 quite-shoddy-to-be-honest project, although for the life of me I cannot explain how I passed some of those exams.In retrospect, I do wish I had put in more of an effort, at ...
Saturday night, my now familiar dream of flying without wings (oh what a glorious feeling! and this time I was so good at it, I was even teaching other guys how to fly) somehow merged into what I can only identify as a new episode from the Star Wars universe. Suran the flying human became Luke Skywalker. During my flying/force ...
O shroud enfolding my waking hoursdarkness, my companion I choose to call theeyet, content I sleep in ignorant blissfor no light reaches me, nor have I eyes to seeUnseen hands that embrace me in visesa love so dear that won't let me leavemy home, my shell, the one I fill aloneslick curving walls of flesh and boneVeins of fluid throbbing ...
(Finalized lyrics for Aural Discord's 1st single, Soul Destroying Cynicism.)a vortex of suspicionsoul consuming self doubtassaulted twenty four seven byscathing caustic affrontsfeeble attempts at affection misunderstoodas advances made in frothing pangs of lustI try to shrug off the aura of doombut waters from tears of despairwill wash awaystone foundationserected byhopes of a helping handa hand reaching down from the mists ...