OK, now it was my time to struggle with this problem.
Installed a theme fragment and confronted the same situation described here - and worst because the issue is fixed with the refresh of zkoss, but on restart it's lost again.
This message appears on log just when the login page is loaded:
00:09:58.280===========> zkoss.service:725: [Desktop z_tp8:/index.zul] client error: Fallo al procesar
script
adempiere is not defined (ReferenceError) [19]
and the token with the user/pwd saved is not loaded - which let me think that the .js resources were not loaded, and that led me to this issue found on july/2012:
Unfortunately I ran out of time to keep troubleshooting this so better I write this message to pass the baton :-)
FWIW (I know is a very ugly and poor solution, but at least it "automates" temporarily the workaround in my case.
Created a script that refresh the zkoss after starting the server like this:
( echo refresh 193; echo refresh 203; echo ss; echo disconnect; echo y; sleep 5) | telnet localhost 12612
where 193 is org.adempiere.ui.zk_2.0.0.v20140508-2320 and 203 is org.zkoss.zk.library_6.0.0.v20140508-2320
Please don't blame me for this hack, I'm just passing the info as a temporary workaround in case you're struggling with similar issue
Regards,
Carlos Ruiz