make sure the manifest file have this two line.

Name: <<package structure>>/AdministrationBeanDD.ser
Enterprise-Bean: True

when weblogic try to deploy your bean it looks for this manifest file.
also make sure to create a .ser file from the deployment descriptor
which you should include in the jar file too.

-- Ahimanikya

>
>       I am getting the following error when I am deploying the bean in the
> weblogic4.5 server.
> All required files are in jar file.
> What could be the reason?
>
>
>
>
> Wed Feb 16 15:55:20 EST 2000:<E> <EJB> Could not deploy:
> 'd:/ctms/classes/System
> Administration.jar'
> Possible reasons include:
> 1. The pathname to the bean is incorrect
> 2. The bean or an interface class have been modified but
>    the deployment descriptor has not been rebuilt
> 3. javax_ejb.zip and/or javax_jts.zip are not in the classpath
> 4. A class that the bean or the interface classes depend on
>    is not in the EJB jar file or the classpath
> 5. The database mappings in the deployment descriptor do not
>    match the database definition
>
> Wed Feb 16 15:55:20 EST 2000:<E> <EJB>
> weblogic.ejb.common.DeploymentException:
> Unexpected I/O exception during deployment:
> weblogic.ejb.common.DeploymentException: could not read JAR file
> 'd:/ctms/classe
> s/SystemAdministration.jar'
> weblogic.ejb.common.DeploymentException: No beans were found in jar file
> d:/ctms
> /classes/SystemAdministration.jar. Please make sure that the
> manifest of the
> JAR
>  file contains an .SER file with the 'Enterprise-Bean: true' attribute

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to