Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Liferay.
Had to do load testing in prod and needed to replace prod auth mechanism w/ a mock. Fired up a mock auth server, tunneled ports to prod srv, made a copy of liferay ext.properties and updated that file to use mock auth address instead of the prod one.
Restart LR. All auth requests are still going to real service.
Find all files in LR dir w/ real svc's ip, update them.
Restart LR. All auth requests are still going to real service.
Am I dreaming, wtf?? Did lr cache shit or what?? Strace the jvm process. Yepp, the prod ip is being used.
Spend quite a few hours banging my head to my desk.
Next day tried the same thing on pre-prod. Everything worked as expected. Test, uat, dev -- all work just fine. But prod - doesn't.
Fucking liferay...
Only at the eod the next day I found that LR was loading properties from the backup file I made.. The bkup was stored in my user's homedir. Lr, according to docs, should only load props from lr user's homedir. My user was not a lr user.
Mother fucking LR... -
b3b343776y@electrineer ye I thought so too. Visual Studio didn't warn me though. I was really confused when I realized.
-
b3b343776y@electrineer default settings. That was back at a time where I was still programming on windows, didn't have much experience, didn't know about linux and the pure sexiness of gcc.
Whats your weirdest bug/issue in your code? Which you couldnt figure out why, but it was something simple and you was Like ”oh how could i miss that...” etc.
I need to have some fun in my life right now haha.
question