Is the User entity bean annotated with @Name("user)?
btw: you've written User=new User() instead of user=new User(). Sure this is your real code? If not, please copy and paste the whole stuff ;).
I've @Name on my User entity
actually it's a different more complex story so I just rewrite the code here
any other idea but @Name?