I hope I am replying to this message correctly.

Thanks to Filip and Vinay for replying to my message. To answer your
questions
Vinay
I do not have anything extra in my run.bat besides crimson.jar and run.jar.
I re-wrote my deployment descriptor and I am pretty sure the error is with
it. I no longer get the same error from the SAX Parser.
I now get the error.
org.xml.sax.SAXParseException: XML declaration may only begin with entities.

I have 2 beans 1 entity and 1 session and a PK bean
I have the following deployment structure
E:\com\musicdb\java\ejb\(my class files)
E:\META-INF\ejb-jar.xml

I jar them from the parent directory E:
This is my DD. I am guessing that the error is with the deployment
descriptor as the error changed when I re wrote it.
 <?xml version="1.0"?>
<ejb-jar>
<description>MusicDb test application</description>
<display-name>Test</display-name>
<enterprise-beans>
 <session>
 <ejb-name>AlbumBean</ejb-name>
 <home>com.musicdb.java.ejb.AlbumBeanHome</home>
 <remote>com.musicdb.java.ejb.Album</remote>
 <ejb-class>com.musicdb.java.ejb.AlbumBean</ejb-class>
 <session-type>Statefull</session-type>
 <transaction-type>Container</transaction-type>
 </session>
  <entity>
   <ejb-name>CacheBean</ejb-name>
   <home>com.musicdb.java.ejbCacheBeanHome</home>
   <remote>com.musicdb.java.ejb.Cache</remote>
   <ejb-class>com.musicdb.java.ejb.CacheBean</ejb-class>
   <prim-key-class>com.musicdb.java.ejb.CachePK</prim-key-class>
   <reentrant>False</reentrant>
   <persistance-type>Bean</persistance-type>
   </entity>
</enterprise-beans>
</ejb-jar>

Once again many thanks for your help..

Jason




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to