Opinionated Software

… we have opinions about everything!

Archive for the ‘Java’ Category

Ceil/Ceiling function in PeopleCode —

I just used the java Math library ceil function from PeopleCode to solve the “round to nearest 0.5” problem e.g. 1 2 3 4 5 6 7 8 9 10 11 Local JavaObject &mathclass; Local number &number_to_round, &result;   /* Instantiate java Math class */ &mathclass = GetJavaClass("java.lang.Math");   For &number_to_round = 0.1 To 2.0 […]

Weblogic Java VM Memory Parameters —

When increasing the Java VM memory parameters for a PeopleSoft system under Weblogic (either in setEnv.cmd or manually by editing the cmdline registry entry if that’s your “thing”), be very careful not to increase the -XX:MaxPermSize memory allocation too much. In fact I would leave it at 128MB or perhaps 256MB. Whatever you do, don’t […]

ELK and PeopleSoft —

I have spent some time looking into Elasticsearch, Logstash and Kibana (ELK) for analysis of PeopleSoft web, application and process scheduler log files. Whilst commercial solutions exist that can be configured to do this, they all seem somewhat over priced solutions to a relatively common and essentially simple problem – log file shipping, consolidation/aggregation and […]