Hi Dag, >..... >My code is the orion-primer example > >(http://www.jollem.com/orion-primer/) >that works inside one machine but fails between two >machines. It works on two different machines. It works also using resin or others servlet engine for the web side. > The >orion-primer is a ear with a web application > that uses a simple EJB. >The code fails in the narrow method below: >... >Context context = new InitialContext(); >Object boundObject = context.lookup("Hello"); this line should be: Object boundObject = context.lookup "java:comp/env/ejb/Hello"); Are you using a modified version of orion-primer? Hope this help Luciano