Hi Neil,

I take yours XML files, and it works fine for me.
(I only modify the DOCTYPE definition)

H�l�ne.

Neil Poska wrote:
> 
>    That is the problem.... I am trying to run the SB example that Jonas
> provided...
> 
>    Here they are anyway....
> 
>     jonas-ejb-jar.xml
> 
> <!DOCTYPE jonas-ejb-jar SYSTEM "/Jonas/jonas_jdk1.2/xml/jonas-ejb-jar.dtd">
> <jonas-ejb-jar>
>   <jonas-session>
>     <ejb-name>Op</ejb-name>
>     <jndi-name>OpHome</jndi-name>
>   </jonas-session>
> </jonas-ejb-jar>
> 
>     and ejb-jar.xml
> 
> <!DOCTYPE ejb-jar SYSTEM "/Jonas/jonas_jdk1.2/xml/ejb-jar_1_1.dtd">
> <ejb-jar>
>   <description>Deployment descriptor for the sb JOnAS example</description>
>   <enterprise-beans>
>     <session>
>       <ejb-name>Op</ejb-name>
>       <home>sb.OpHome</home>
>       <remote>sb.Op</remote>
>       <ejb-class>sb.OpBean</ejb-class>
>       <session-type>Stateful</session-type>
>       <transaction-type>Container</transaction-type>
>       <env-entry>
>  <env-entry-name>prop1</env-entry-name>
>  <env-entry-type>java.lang.String</env-entry-type>
>  <env-entry-value>prop1 value</env-entry-value>
>       </env-entry>
>     </session>
>   </enterprise-beans>
>   <assembly-descriptor>
>     <container-transaction>
>       <method>
>  <ejb-name>Op</ejb-name>
>  <method-name>*</method-name>
>       </method>
>       <trans-attribute>Required</trans-attribute>
>     </container-transaction>
>   </assembly-descriptor>
> </ejb-jar>
> 
> H�l�ne JOANIN wrote:
> 
> > Hi Neil,
> >
> > The jonas-ejb-jar.xml descriptor seems to be invalid.
> > Can you send us the two XML descriptors file ?
> >         (ejb-jar.xml and jonas-ejb-jar.xml)
> >
> > Kind regards.
> > H�l�ne.
> >
> > Neil Poska wrote:
> > >
> > >     I have been using Jonas for awhile now and like it alot. However, I
> > > have screwed up something somewhere. Now, whenever I run ejbserver, I
> > > get the following error:
> > >
> > > createEJBContainers [jonas-ejb-jar.xml]
> > > descriptor is null
> > > Cannot read the deployment descriptors 'jonas-ejb-jar.xml': Invalid XML
> > > in jonas-ejb-jar.xml:
> > >
> > > I get this with the sample descriptors and descriptors that have
> > > previously worked, so I know it is not the xml. I have been over my
> > > classpath a million times and can not find anything wrong. All of this
> > > used to work fine.
> > >
> > > Does anyone have any clues what is going on here?
> > >

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to