• 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

local-home tag not supported in cc4j

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have attempted to deploy an ear file containing a single cmp bean
from JDeveloper 9.0.3 to Oracle9iAS (9.0.2.0.0)OC4J.
I keep on getting the following error:-
java.lang.InstantiationException: local/local-home tag not supported in
this version.
My ejb-jar.xml file contains:-
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-name>Users</ejb-name>
<local-home>mypackage1.UsersLocalHome</local-home>
<local>mypackage1.UsersLocal</local>
<ejb-class>mypackage1.impl.UsersBean</ejb-class>
<persistence-type>Container</persistence-type>
The dtd looks ok; could it be possible that oc4j is using a different
dtd?, or is it a bug with the application server?.
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chang,
Local interfaces really aren't supported in OC4J version 9.0.2 -- only since version 9.0.3. Are you familiar with the Oracle 9iAS Containers for J2EE Web page? Or the OC4J / J2EE discussion forum?
Good Luck,
Avi.
 
reply
    Bookmark Topic Watch Topic
  • New Topic