From: Scott M S. <Sco...@di...> - 2001-07-12 16:02:30
|
This is still an invalid jboss.xml file, but it is working because we don't parse it very strictly. Check out the jboss.xml DTD to see how to construct a valid jboss.xml descriptor: http://www.jboss.org/documentation/HTML/ch06.html#N1f81 ----- Original Message ----- From: "Adam Lipscombe" <ad...@co...> To: <jbo...@li...> Sent: Thursday, July 12, 2001 8:02 AM Subject: RE: [JBoss-user] Jboss.xml / JNDI lookup problems (lengthy) > I have worked it out: > > > The jboss.xml that does not work: > jboss> > <enterprise-beans> > <ejb> > <ejb-name>OrganisationListBean</ejb-name> > <jndi-name>ejb/organisation/OrganisationList</jndi-name> > </ejb> > </enterprise-beans> > </jboss> > > > The jboss.xml that *does* work: > jboss> > <enterprise-beans> > <ejb> > <session> > <ejb-name>OrganisationListBean</ejb-name> > <jndi-name>ejb/organisation/OrganisationList</jndi-name> > </session? > </ejb> > </enterprise-beans> > </jboss> > > > Note the <session> tag. > > I suppose it is required.... How did I miss that one? <g> > > Cheers - Adam > > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user > |