Hi Bernard,

Are you getting any errors while undeploying the car which is included with
the mentioned API? Would you be able to attach the wso2carbon.log here?

On Thu, Nov 22, 2018 at 2:29 PM Bernard Paris <[email protected]>
wrote:

> Hi,
>
> using EI_6.4.0 out of the box (i.e. using H2 DBs, just have one file
> WSO2CARBON_DB.h2.db) on my own dev workstation I have a problem with just
> an API artifact which is never more clearly undeployed along with  its car
> container file.
> As a consequence I get the error
> SynapseException: Duplicate resource definition by the name: xyz-API
> when I try  to update the car.    By the way, I cannot delete this API
> using the admin carbon console.
>
Does this mean that API is getting listed in management console even though
you undeployed the related capp?

>
> So now after undeploying the car I have to restart the Ei server.  Then
> after that restart I can deploy my new car version and the API artifact.
> Note that this problem is just for one artifact, the other artifacts in
> same car are well undeployed/redeployed with their car container.
>
> I tried to remove all cars then restart the server, then deploy all cars
> one by one.  The problem comes back when I re-deploy a new car version
> containing the API artifact.

Does this API have any dependencies?  Would you be able to attach a sample
API too?

>
> How can resolve this ?
>
> Thanks Bernard
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>

Thanks & Best Regards,
Prabushi

-- 
*Prabushi Samarakoon*
Mobile: +94715434580
Email: [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to