Because of the NameAlreadyBoundException that you get you could try using the rebind method like they state in the message.
// Json
Type: Posts; User: Json
Because of the NameAlreadyBoundException that you get you could try using the rebind method like they state in the message.
// Json
What code do you use to bind your ejb names to the context?
// Json
in <glassfish installation folder>/lib there is a file called appserv-rt.jar, in that file there is a jndi.properties file and if you are using a custom one it would be located in your <glassfish...
What container are you running your application in? Glassfish, Weblogic, Jboss or maybe something else?
// Json
The tmp/foo directory for what application, is this some directory used by an application container?
// Json