Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

MAPPING configuration error  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone this is my first post here.
I am trying to go through the J2EE Tutorial 2.3 version provided by Sun. I am trying to implement the Converter application that is in Chapter 2.
However I have a slightly different structure since I am using JBoss and I've given it a different package name.
This is the error...

This is my first adventure into J2EE and I cannot even get the first part to work
Please see the following code and files...
Converter.java

ConverterHome.java

ConverterBean.java

converter-ejb.xml

converter-client.xml

converter-application.xml

I have JBoss 3.2.3 and I can get to the jmx-console fine so default install works.
Thank you,
David
Aka... Newbie
[ May 07, 2004: Message edited by: David Wilson ]
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
very quickly. I didn't go through all the code but I did notice one thing. The session bean doesn't have a session context. In setSessionContext the bean should get a reference to the session context.
There might be more errors but this one definitelely needs to be fixed first.
- Roger
 
David Wilson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that is the issue since this matches the code from the J2EE 1.3 Tutorial.
Anyone?
-David
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!