File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Cannot able to run the advice aplication..any help!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Cannot able to run the advice aplication..any help!!" Watch "Cannot able to run the advice aplication..any help!!" New topic

Cannot able to run the advice aplication..any help!!

Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
I have installed j2sdkee1.3.1 and jdk1.4 in my Windows XP Professional.

I have set the following enviornment variables:


I have placed the j2ee.jar, servlet-api and jsp-api.jar inside the jdk1.4/lib folder.

I have written the SessionBean, Home Interface and Component interface and compiled everytrhing without any errors using jdk1.4. I have started the j2ee server in console using the following command:
j2ee -verbose (it's started succesfully)
then started the deploytool in the console, then opend the GUI for deploying.

I have followed all the steps mentioned in the book one by one. verified, deployed and given the JNDI name also.

Written the client and compiled and while running tne client I am getting the follwing error:

Compiliation of client:

While Running the Client:

My Folder structure:

[ March 24, 2007: Message edited by: Micheal John ]

Micheal John
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
Steven Gao Song
Ranch Hand

Joined: Oct 02, 2006
Posts: 78
If you copy the code from HFEJB, you cannot let them run.

You can find the modification provided by the authors somewhere.
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855

you asked that question 2 days ago and I gave you a link . Did you read it ?

Ok, here your own thread again: Application Server Problem


I agree. Here's the link:
subject: Cannot able to run the advice aplication..any help!!
It's not a secret anymore!