Advertisement

01.28.2008 at 06:50PM PST, ID: 23118215
[x]
Attachment Details

Need a step by step example for how to create and run an EJB remote client on Glassfish using its Application Client Container.

Asked by kevorkgt in J2EE

Tags: Java

I am trying to create a simple J2EE Application using Glassfish container. I successfully created and deploy a simple Stateless Session Bean. I was able to successfully run the client remotely using the JNDI lookup and by adding appserv-rt.jar and j2ee.jar to the classpath. So, I'm sure that I did the server part correctly.  My problem is when I tried to run the client jar file using appclient, I got the following error message:
com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref ejb/Test@jndi: test.server.TestServer@null@test.server.TestServer@Session@null into class test.client.TestClient
Anybody know how to fix this error or any step by step example of how to create and run an eJB remote client on Glassfish using their ACC?Start Free Trial
 
Keywords: Need a step by step example for how t…
 
Loading Advertisement...
 
[+][-]01.29.2008 at 01:23PM PST, ID: 20772423

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.30.2008 at 01:37PM PST, ID: 20781639

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: J2EE
Tags: Java
Sign Up Now!
Solution Provided By: kevorkgt
Participating Experts: 0
Solution Grade: A
 
 
[+][-]01.30.2008 at 01:46PM PST, ID: 20781736

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]02.03.2008 at 05:44PM PST, ID: 20811398

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628