weird java error - java.lang.reflect.InaccessibleObjectException?

Cantor, Scott cantor.2 at osu.edu
Thu Aug 22 21:19:38 UTC 2024


> Eeeeewww. The server I restarted was indeed under high
> load, I usually don't bother to pull them out of the load
> balancer if I'm just going to bounce them, they're only down
> a couple of seconds. 

I just don't think that's ideal given how it impacts users so I've always avoided it.

> I've never had a problem before restarting them under load,
> or even considered that they would start providing service 
> before they are actually ready to provide service 8-/.

At best, things hang for people for a bit, and either way you're interrupting existing requests. I bleed traffic off the LB, unless it's an emergency, and that's maybe once a year at most. Usually less. It was coincidentally the last time I had to that I saw this bug for the first time myself.

> Easy enough to not be lazy and temporarily disable them
> when restarting by hand, but they also reboot/restart
> automatically during maintenance windows when updates
> are applied.

I patch manually, but I would anyway because I don't think it's safe to have the signing key accessible at boot. I don't think unattended restart is acceptable given the sensitivity of that key, outside of an HSM.

-- Scott




More information about the users mailing list