Hum... Strange...

Your .xml file is really different than mine...

Here is mine :

  | <?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 >
  | 
  |    <description>[CDATA[No Description.]]</description>
  |    <display-name>Generated by XDoclet</display-name>
  | 
  |    <enterprise-beans>
  | 
  |       <!-- Session Beans -->
  |       <session >
  |          <description>[CDATA[EJB that computes Fibonacci suite]]</description>
  |          <display-name>Fibo EJB</display-name>
  | 
  |          <ejb-name>RemoteFiboJMS</ejb-name>
  | 
  |          <home>tutorialjms.interfaces.RemoteFiboJMSHome</home>
  |          <remote>tutorialjms.interfaces.RemoteFiboJMS</remote>
  |          <ejb-class>tutorialjms.ejb.TestRemoteBean</ejb-class>
  |          <session-type>Stateless</session-type>
  |          <transaction-type>Container</transaction-type>
  | 
  |       </session>
  | 
  |       <session >
  |          <description>[CDATA[EJB that computes Fibonacci suite]]</description>
  |          <display-name>Fibo EJB</display-name>
  | 
  |          <ejb-name>FiboJMS</ejb-name>
  | 
  |          <home>tutorialjms.interfaces.FiboJMSHome</home>
  |          <remote>tutorialjms.interfaces.FiboJMS</remote>
  |          <ejb-class>tutorialjms.ejb.FiboJMSBean</ejb-class>
  |          <session-type>Stateless</session-type>
  |          <transaction-type>Container</transaction-type>
  | 
  |       </session>
  | 
  |       <!-- Entity Beans -->
  | 
  |       <!-- Message Driven Beans -->
  | 
  |    </enterprise-beans>
  | 
  |    <!-- Relationships -->
  | 
  |    <!-- Assembly Descriptor -->
  |    <assembly-descriptor >
  | 
  |    <!-- finder permissions -->
  | 
  |    <!-- finder permissions -->
  | 
  |    <!-- transactions -->
  | 
  |    <!-- finder transactions -->
  |    </assembly-descriptor>
  | 
  | </ejb-jar>
  | 
  | 

I have remove comments for keep it human readable... As you can see in the session 
section, each string is as parameter in my xml file. In yours, 


  |  <!-- Session Beans -->
  | 
  | [CDATA[EJB that computes Fibonacci suite]]
  | <display-name>Fibo EJB</display-name>
  | 
  | <ejb-name>Fibo</ejb-name>
  | 
  | tutorial.interfaces.FiboHome
  | tutorial.interfaces.Fibo
  | <ejb-class>tutorial.ejb.FiboBean</ejb-class>
  | <session-type>Stateless</session-type>
  | <transaction-type>Container</transaction-type>
  | 

There is many tag missing.

Is it because you haven't past it as {code}? Or is theres really missing on your xml 
file?

JMS

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to