• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have installed j2sdkee1.3.1 and jdk1.4 in my Windows XP Professional.

I have set the following enviornment variables:

JAVA_HOME:C:\jdk1.4\
J2EE_HOME:C:\j2sdkee1.3.1
PATH:;C:\Sun\jwsdp-1.6\jwsdp-shared\bin;C:\jdk1.4\bin;C:\apache-ant-1.6.2\bin;.;
CLASSPATH:%JAVA_HOME%lib\servlet-api.jar;%JAVA_HOME%lib\jsp-api.jar;%JAVA_HOME%lib\j2ee.jar;.;

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 ]
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you copy the code from HFEJB, you cannot let them run.

You can find the modification provided by the authors somewhere.
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Michael,

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

Regards
Darya
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic