Trying to solve issue with init file and jar file

In the init files i assumed an instance name would be provided which isn't always the case.
Now i hope to have it solved