-
1. Re: 3.0.7 startup java.lang.ClassNotFoundException
frito Apr 28, 2003 3:00 AM (in response to hschmid)Hi,
did you copy your deployment descriptors or configuration xml files from your older project? Some things may have changed ;-)
Compare your files with these that came with the new version. Are they valid against the dtd? Or post a snippet of your deployment descriptors.
Greetings,
Frito -
2. Re: 3.0.7 startup java.lang.ClassNotFoundException
hschmid Apr 28, 2003 10:57 AM (in response to hschmid)Thanks for responding,
yes I did copy them as I did from 3.0.4 to 3.0.5 and 3.0.6 and
yes, I compared them against the files from default folder.
Will check them again against the new dtd's though.
I read in an other forum, that there are problems with the stateful container and this class so I reverted back to 3.0.6.
Here my deployment Descriptor ejb-jar.xml
<?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>
<enterprise-beans>
<ejb-name>LiabilityBean</ejb-name>
de.einsurance.ejb.liability.LiabilityHome
de.einsurance.ejb.liability.Liability
<ejb-class>de.einsurance.ejb.liability.LiabilityBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-name>LegalBean</ejb-name>
de.einsurance.ejb.legal.LegalHome
de.einsurance.ejb.legal.Legal
<ejb-class>de.einsurance.ejb.legal.LegalBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<ejb-name>LiabilityBean</ejb-name>
<method-name>*</method-name>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
<container-transaction>
<ejb-name>LegalBean</ejb-name>
<method-name>*</method-name>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
and the jboss.xml:
<?xml version="1.0" encoding="UTF-8"?>
<enterprise-beans>
<ejb-name>LiabilityBean</ejb-name>
<jndi-name>ejb/liability/Liability</jndi-name>
<ejb-name>LegalBean</ejb-name>
<jndi-name>ejb/legal/Legal</jndi-name>
</enterprise-beans> -
3. Re: 3.0.7 startup java.lang.ClassNotFoundException
frito Apr 29, 2003 2:56 AM (in response to hschmid)The container configuration for your beans might be more interesting...
Greetings,
Frito