logo       

CD collection example: failed to load jboss.xml.: msg#00254

java.jboss.user

Subject: CD collection example: failed to load jboss.xml.

I am playing with the CD collection example, as explained in Chapter 3 in the
documentation sources from CVS.
I created the ejb packaged in cd.jar and I deployed it into jboss-3.1alpha (and
also 3.0.0) running on Linux RH 7.3,
with JDK 1.4.0. I got this error:

02:44:06,769 ERROR [XmlFileLoader] failed to load jboss.xml. There could be a
syntax error.
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean CDBean:
configuration '' not found in standardjboss.xml or jboss.xml
at
org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:583)

The <configuration-name> element is empty (as shown in the jboss.xml example
given in chapter 3).

Any clue on what is going on ?

The jboss.xml file is:
<?xml version="1.0" encoding="Cp1252"?>

<jboss>
<secure>false</secure>
<container-configurations />
<resource-managers />
<enterprise-beans>
<session>
<ejb-name>CDCollectionBean</ejb-name>
<jndi-name>cd/CDCollection</jndi-name>
<configuration-name></configuration-name>
</session>
<entity>
<ejb-name>CDBean</ejb-name>
<jndi-name>cd/CD</jndi-name>
<configuration-name></configuration-name>
</entity>
</enterprise-beans>
</jboss>

Thanks,
--
Pablo Pita Leira
IT Consultant, Physicist, MSc
http://www.pitagoral.com
Tel. +49 69 60504293
Mobile: +49 173 7941704



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise