• 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
Police line, do not cross. Well, this tiny ad can go through:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!