ady_1 (1) [Avatar] Offline
#1
Hi

I'm trying to run the chapter 2 example.

I have glassfish v3 and ant installed.

If i run ant, it builds. then when i type ant run I get a stacktrace, does anyone know what I'm doing wrong?

thanks


Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb3inaction.example.buslogic.PlaceBidClient/placeBid' in SerialContext targetHost=localhost,targetPort=3700,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb3inaction.example.buslogic.PlaceBidClient/placeBid,Remote 3.x interface =ejb3inaction.example.buslogic.PlaceBid,ejb-link=null,lookup=null,mappedName=,jndi-name=ejb3inaction.example.buslogic.PlaceBid,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'ejb3inaction.example.buslogic.PlaceBid#ejb3inaction.example.buslogic.PlaceBid' [Root exception is javax.naming.NamingException: Lookup failed for 'ejb3inaction.example.buslogic.PlaceBid#ejb3inaction.example.buslogic.PlaceBid' in SerialContext targetHost=localhost,targetPort=3700,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is javax.naming.NameNotFoundException: ejb3inaction.example.buslogic.PlaceBid#ejb3inaction.example.buslogic.PlaceBid not found]]]