• 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

 
Greenhorn
Posts: 5
  • 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:-
<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>
Is this a bug in the application server; if so what version of Oracle9iAS
fixes this problem.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could it be that you're trying to build an EJB 1.1 bean? To which DTD does the ejb-jar.xml point to?
 
Mike Chang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Lasse,
The ejb-jar.xml file contains the following:-
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
The dtd looks ok; could it be possible that oc4j is using a different
dtd?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't know. This definitely seems to be 9iAS-specific problem so maybe you should try your luck in the Oracle/OAS forum.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic