This is my first question, for which I didn't find any answers in the web. The problem is, when using errai in portal environment, you'll get Exceptions on server side like this:
/out.50694-4048.erraiBus generates exception: null
and on client side like this:
GET http://myserver:8080/user/admin/in.20679-27603.erraiBus?z=1 404 (Not Found)
GET http://myserver:8080/user/admin/in.20679-27603.erraiBus?z=2 404 (Not Found)
GET http://myserver:8080/user/admin/in.20679-27603.erraiBus?z=3 404 (Not Found)
The reason for this is, that errai calls urls which are relative to the gwt module and not the web context name. Solution follows. Same problems on other forums:
http://www.liferay.com/de/community/forums/-/message_boards/message/12383627?_19_threadView=flat