• 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

J2EE Tutorial - Converter

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm having problems with the "Getting Started", Converter app. in Sun's J2EE tutorial. I did have it working, but have now returned to it in order to refresh my memory before continuing, and can't get it to work.
I've tried uninstalling the application. Stoping the j2ee server and running "cleanup". I've restored the original tutorial directory, and worked through the tutorial step, by step, but still get errors, when trying to run the web client by directing my browser to "http://localhost:8000/converter/index.jsp".
The errors I get from the verifier seem to suggest that class's ConverterHome and Converter can't be found - but I can't see anything wrong in my setup :-

If its of any help I get the following errors displayed in Internet Explporer:-

.. and so on, with the following further down :-

Any helpful suggestions gratefully recieved.
Thanks Mike.
 
Mike Warren
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Found that someone else had same problem in the Sun Forums :-
http://forum.java.sun.com/thread.jsp?forum=136&thread=303529
The answer is "You must add the too class-files (ConverterHome.class and Converter.class) to the web-archive and then deploy the ear-file again."
I've tried this - it fixes the errors in the Verifier, but I still can't get the web client to work - get the same errors in Internet Explorer as before.
Vaing compared the war files, in the ear files (example ear files are in the "j2eetutorial\examples\ears" directory)I note that the Sun example doesn't include these class files, so I don't think this can be the answer.
Any ideas anyone ?
The complete list of errors I get in IE are as follows :-


[ October 22, 2002: Message edited by: Mike Warren ]
[ October 22, 2002: Message edited by: Mike Warren ]
[ October 22, 2002: Message edited by: Mike Warren ]
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just incase anyone else has had this problem I thought that I should note that I've got this working now - I got round it by using a different PC, so still not sure what the cause of problem is. I thinking its probably something simple - will add a note here if I find it out.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic