File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 15629

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
It is sorta covered in the JavaRanch Style Guide.
subject: Local Interface.... Problem with XML....Urgent
Similar Threads
xdoclet problem while generating ejb-jar.xml
Help Please
How to deploy CMP Entity Bean in Jboss 3
Accessing local entity bean using Session bean
Problem deploying ejbs in weblogic