Ah, I see.
Try running the EAR itself, not the client's main class.
If the EAR contains multiple clients you can configure which one should be run in the EAR's Properties sheet. If there's only one NetBeans seems to know to run that client.
(Note that NetBeans will also let you (try to) run the client directly by right-clicking on the app client module. But in this case, NetBeans deploys the client to the server as a stand-alone client (that is, not inside the EAR) and runs it that way. If the client refers to EJBs or other components in the EAR this is probably not what you want.)
Hope that helps. Let us know.
- Tim
[Message sent by forum member 'tjquinn' (timothy.quinn_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=385072