EJB 3.0 deployment problem

I just started learning EJB3.0. I created a slsb application very similar to the converter available in the tutorial sample. However when i build and deploy the app I am getting this error ->This application client has no ejb refernce by the name simpleSessionRemote. This happens when I have app-client jar inside the ear. For only jar and war inside the ear there is no deployement problems. I am using NetBeans 5.5 and Sun App server. Anyone has come across similar issue?

[485 byte] By [enigma_y2k1a] at [2007-10-3 5:23:23]
# 1

How are you looking up the remote ejb dependency in the app client -- via @EJB or InitialContext()?

Please post the source code for the app client, the full error message/stack trace, and any of the following files that exist in the .ear : sun-ejb-jar.xml, application-client.xml, sun-application-client.xml, ejb-jar.xml .

--ken

ksaksa at 2007-7-14 23:30:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Hi.

I'm living same problem. I executed the project whit ant, by console, and work good, all steps (ant, ant deploy, ant run) but, when i created this project in netbeans 5.5, after build, when i run project, ocurred this fail:

Distributing C:\Temp\javaeetutorial5\examples\ejb\converter\converter-app-client\dist\converter-app-client.jar to [localhost:4848_server]

Start registering the project's server resources

Finished registering server resources

deployment started : 0%

Deploying application in domain failed; Error loading deployment descriptors for module [converter-app-client] -- This application client has no ejb refernce by the name converter

C:\Temp\javaeetutorial5\examples\ejb\converter\converter-app-client\nbproject\build-impl.xml:454: Deployment error:

The module has not been deployed.

See the server log for details.

BUILD FAILED (total time: 1 minute 58 seconds)

Please, if you know samething to do, tell me. If possible, send me a email: dmarsili@gmail.com or daniel.marsili@mc1.com.br

Thank you so much

By

danimarsilia at 2007-7-14 23:30:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...