Hi Christian,
this is actually working for our own demo application. I can now simply skip the delegation via JNDI and just use everything the way it was meant to be used.
Might not sound like much but this is completely awesome stuff! Thank you very much!
With the Errai tutorial application I still have a very strange OpenJPA issue under WebSphere. It complains that for automatic id generation there shouldn't be an id or a version set for a detached object.
I debugged into the SessionBean and both values where actually null so I guess it's some WebSphere specific thing. Since we are currently not making use of the client-side EntityManager, I gave up on that for now since our own demo app seems to work fine.
There were also some issues with Reflections under WebSphere Liberty Profile V8.5.5 (I remember having the same issue with Enterprise OSGI .eba and .wba applications using Errai under WebSphere V8.5) because Reflections isn't currently able to handle the wsjar:/ protocol.
The problem is that IBM doesn't explode the enterprise archives in all cases by default so you can end up with URLs like "wsjar:/pathToApp/yourApp.ear!/yourApp.war!/WEB-INF/lib/yourLib.jar!/com.yourcompany" in your scanning path which doesn't seem to be handled currently.
I ended up writing my own rather naive handler similar to errai-jboss-as-support that manually unzips the archive into temporary files. Would you be interested in adding something like this to an official module?
Regards,
Jörn