Weblogic Error "Caused By: weblogic.utils.ErrorCollectionException"

Weblogic Error “Caused By: weblogic.utils.ErrorCollectionException”

This post is about weblogic error “Caused By: weblogic.utils.ErrorCollectionException” and it’s solutions.

Error:

Caused By: weblogic.utils.ErrorCollectionException:

There are 1 nested errors:

weblogic.j2ee.dd.xml.AnnotationProcessException: Duplicate ejb name ‘BDAccountEjbBean’ found: annotation ‘Stateless’ on bean

failed due to connection pool issue: we will fix connection pool issues and then redeploy the application

Out of memory issue during the deployment:

error: java.lang.outofmemory.permgenspace

this error occured due to space in perm area.

 Solutions:

update setDomainEnv.sh in a domain.

xx:permsize 64m
xx:maxpermsize 128m

we have set intial permsize=maxpermsize then restarted the servers, redeployed the application.

 

For more weblogic issues and resolution check here.