Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

local-home tag not supported  RSS feed

 
Mike Chang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!