EJB Adapter with WAS 6.1

While using EJB Adapter with WAS 6.1 I am getting the following error:

I get this error when trying to create Adapter Service. I could create connection as per the doc but while creating service that uses this connection it gives this exception…any idea?

I copied the jar files as mentioned in the doc of adapter.

com.webMethods.developer.adapter.metadata.AdapterMetadataException: com.wm.app.b2b.server.ServiceException: [ART.114.243] Adapter Runtime (Metadata): Failed to run resourceDomainLookupValues service. Details provided in error log.
[ADA.640.3032] Unexpected exception looking-up resource domain: jndiNameBoxDomain
null
on jndiNameBox [Ljava.lang.String;@e484a2
java.lang.Exception: Adapter values are not available.
at com.webMethods.developer.adapter.metadata.AdapterMetadataParameterValue.assertNoErrorString(AdapterMetadataParameterValue.java:3796)
at com.webMethods.developer.adapter.metadata.AdapterMetadataParameterValue.getValidValues(AdapterMetadataParameterValue.java:1994)
at com.webMethods.developer.adapter.metadata.AdapterMetadata.fillParameterValue(AdapterMetadata.java:399)
at com.webMethods.developer.adapter.metadata.AdapterMetadata.fillParameterValues(AdapterMetadata.java:371)
at com.webMethods.developer.adapter.metadata.AdapterService.(AdapterService.java:207)
at com.webMethods.developer.adapter.metadata.AdapterMetadataLoader.getNewAdapterService(AdapterMetadataLoader.java:1576)
at com.webMethods.developer.adapter.metadata.AdapterMetadataLoader.createAdapterService(AdapterMetadataLoader.java:225)
at com.webMethods.developer.adapter.wizard.NewAdapterServiceFinishAction$AdapterServiceBuilderThread.runSelf(NewAdapterServiceFinishAction.java:138)
at com.webMethods.caffeine.utils.ProgressDialogThread.run(ProgressDialogThread.java:57)

Looks like its failing in the JNDI lookup ( using jndi.properties file) of the ejb home specified in config.xml.
Did you put the generated client jar for implementing the service( which is basically an ejb client) and put the location in config.xml?

Also is the ejb up? Did you test with WAS testool or writing a separate client?