File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Problem deploying ejbs in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem deploying ejbs in weblogic" Watch "Problem deploying ejbs in weblogic" New topic
Author

Problem deploying ejbs in weblogic

Yan Lee
Ranch Hand

Joined: Sep 15, 2003
Posts: 94
Hi:
I am trying to deploy my ejb.ear file into weblogic 7.0
I have modeled my ejb-jar.xml after the templates provided
with weblogic.
I get the following error:
-------
weblogic.xml.process.XMLParsingException: The content of element type "session" is incomplete, it must match "(description?,display-name?,small-icon?,large-icon ?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-t ype,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,res
ource-ref*,resource-env-ref*)".
-------
My ebj-jar.xml is as follows. Can anyone tell me what is wrong with it?
Thanks for the help.
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
As far as the DTD is concerned, JBuilder says it's just fine.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
wood burning stoves
 
subject: Problem deploying ejbs in weblogic