users@glassfish.java.net

Re: EJB client with DI - _at_EJB injection doesn't work

From: <glassfish_at_javadesktop.org>
Date: Mon, 06 Jul 2009 07:16:41 PDT

What build of GlassFish v3 are you using?

You are probably running into Issue 8631.

https://glassfish.dev.java.net/issues/show_bug.cgi?id=8631

If you think it's something else please let us know.

It should not be necessary, but you could deploy your app client and retrieve the generated artifacts and run those instead:

mkdir download
asadmin deploy --retrieve download count-client-acc.jar
appclient -client download/count-client-accClient.jar

Note carefully the name of the file you'd launch - it has an extra "Client" inserted, a carryover for compatibility with v2.

I know it's cumbersome to deploy the client if you don't need to otherwise, but until the issue is fixed this might be an annoying but effective workaround for you.

Please let us know what you find.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

http://forums.java.net/jive/thread.jspa?messageID=354238