Adrian, 

thanks for your answer. But it is not that easy.  The ejb-jar.xml does have the 
ressource-env-ref. See first few lines of ejb-jar.xml are:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" 
"http://java.sun.com/dtd/ejb-jar_2_0.dtd";>

<ejb-jar >

   <![CDATA[No Description.]]>
   <display-name>Generated by XDoclet</display-name>

   <enterprise-beans>

      <!-- Session Beans -->
      
         <![CDATA[----------------------------------------------------------- Dies ist 
ein XSLT-generierter Sourcecode Verwendete Schablone: XDocFacade.xsl Quelldokument: 
AuftragsverwaltungsFassade.xml erzeugt von: hbo am: 28.05.2004 14:18 
-----------------------------------------------------------]]>
         <display-name>AuftragsverwaltungsFassade</display-name>

         <ejb-name>AuftragsverwaltungsFassade</ejb-name>

         de.dbh.codis.auftrag.ejb.AuftragsverwaltungsFassadeRemoteHome
         de.dbh.codis.auftrag.ejb.AuftragsverwaltungsFassadeRemote
         
<local-home>de.dbh.codis.auftrag.ejb.AuftragsverwaltungsFassadeLocalHome</local-home>
         de.dbh.codis.auftrag.ejb.AuftragsverwaltungsFassadeLocal
         <ejb-class>de.dbh.codis.auftrag.ejb.AuftragsverwaltungsFassadeBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>

         <resource-ref >
            <res-ref-name>jdbc/CodisDatasource</res-ref-name>
            <res-type>javax.sql.Datasource</res-type>
            <res-auth>Container</res-auth>
         </resource-ref>

      


And to make things worse: When I delete the ressource-env-ref in jboss.xml I still get 
the error message (950 ERROR [XmlFileLoader] failed to load jboss.xml. There could be 
a syntax error. ).

It must be something else I guess.

Holger

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837025#3837025

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837025



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to