View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821675#3821675
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821675 Hi there, I wrote a small application that uses some EJB's and a client that reads them through some queries. All works well if I test it with one client, but if a run a second one simultaniously, one of the two doesn't start until the other one has stoppen. It seems that I can't get do a second lookup on the same jndi name. Here's some code: InitialContext initial = new InitialContext(); System.out.println("context lookup"); Object objref = initial.lookup("CommercialProduct"); System.out.println("Object casting"); CommercialProductHome cp = (CommercialProductHome) PortableRemoteObject.narrow(objref, CommercialProductHome.class); On both screens I get the "context lookup" String, but one of them won't do the lookup until the other one is finished.. What am I doing wrong? ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user