private void createLocalSession(File applicationFile, ApplicationId applicationId, long sessionId) {
        try {
            ApplicationPackage applicationPackage = createApplicationPackage(applicationFile, applicationId, sessionId, false, Optional.empty());
            createLocalSession(sessionId, applicationPackage);
        } catch (Exception e) {
            throw new RuntimeException("Error creating session " + sessionId, e);
        }
    }
Creates a local session based on a remote session and the distributed application package.
Does not wait for session being created on other servers.
configserver/src/main/java/com/yahoo/vespa/config/server/session/SessionRepository.java