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

MAPPING configuration error

 
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
 
Destiny's powerful hand has made the bed of my future. And this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic