question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'old release of javalin' message

See original GitHub issue

while looking over the whole series of log4j issues etc, we noticed a number of messages coming in the logs that probably aren’t really issues that most of our users would need to even see…

firstly ‘old release of javalin’ is coming up because we’re still on 4.1.1, but it’s also the latest release of javalin, so the warning may be a little much? I’d settle for being able to silence it but i can equally understand why it’s there.

You are running Javalin 4.1.1 (released October 10, 2021. Your Javalin version is 72 days old. Consider upgrading!).

Also, it would be nice to be able to silence the ‘never started it’ message, as sometimes our startup takes a while and it gets noisy if libraries told us they weren’t started… I’m not sure if this is a new issue, we’ve recently added javalin to another package that has to load a number of resources before it can start the rest api…

Javalin                        | It looks like you created a Javalin instance, but you never started it.
Javalin                        | Try: Javalin app = Javalin.create().start();

It’s not that we never started it, it’s just that we didn’t get time to do any of the other loading yet, so we haven’t got as far as starting it…

If users see it in the log they might ask questions, and it’s not really anything they can ‘improve on’, other than us restructuring how things are starting up… I can provide more context if needed, but suffice to say we create the app object during a ‘create’ function, and don’t call start until the required resources are loaded, and due to a number of factors that may be of the order of minutes…

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
rolfyonecommented, Jan 9, 2022

Thanks @tipsy ! I’ll try this today. Sorry it’s been slow, end of year so I was off-grid 😃

0reactions
tipsycommented, Dec 23, 2021

It’s already added, just wrote this in a test project:

import io.javalin.jetty.JettyUtil;

public class MyTestClass {
    static {
        JettyUtil.logDuringStartup = false;
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Javelin throw - Wikipedia
The javelin throw is a track and field event where the javelin, a spear about 2.5 m (8 ft 2 in) in length,...
Read more >
Release History - JAVELIN
Listed below are the previous releases of JAVELIN, to view what features where introduced in each of the releases click the buttons below....
Read more >
News Release Service Inadvertently Issues Hoax Press ...
This press release contains “forward-looking statements”, including statements relating to the expected timing of results and development of Javelin's drug ...
Read more >
From Held to Hohn and beyond – the evolution of the javelin
The old javelin flew 5.9% further than the new javelin out of the javelin gun ... Dave Astrauskas, email message to the author,...
Read more >
Athlete Hit by Javelin Is Healthy, but Angry
Sdiri shouted and twisted. He grabbed at the javelin protruding from his body, then released his grip and dropped to the ground as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found