Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Local Interface.... Problem with XML....Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Local Interface.... Problem with XML....Urgent" Watch "Local Interface.... Problem with XML....Urgent" New topic

Local Interface.... Problem with XML....Urgent

Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Hai All!
I am trying to deploy EJB that uses local interface(Provided in EJB 2.0 specs). I used following descriptor.
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "">
<description>EJB Including LocalInterface</description>
<description>no description</description>
<description>Anonymous Users</description>


Problem is when i tried to deploy following exception is thrown.
Element local-home is undefined.
But Element is defined in the dtd file that is specified in DocType.
I donn know much about XML.
Any help is appreciable.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17145

Probably you're either trying to deploy to an EJB server that doesn't have EJB2.0 support or you put the <local-home> in the wrong place.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Local Interface.... Problem with XML....Urgent
It's not a secret anymore!