I worked around this issue by replacing
var url=@LeftBack(database.getHttpURL(),"/")+facesContext.getExternalContext().getRequestContextPath();
with
var url=facesContext.getExternalContext().getRequestContextPath();
in several locations in the database (custom controls and script libraries). Just search for "getHttpURL" in DDE to find all relevant places.
Best regards,
Karsten Lehmann