Details
-
- Environment:
- OS:all
Activity
| Field | Original Value | New Value |
|---|---|---|
| Priority | Blocker [ 1 ] | |
| Description |
When stopping Petals, the following message is displayed :
SEVERE 2010-05-04 16:37:42,539 Failed to stop the component > 'petals-bc-soap' > javax.jbi.messaging.MessagingException: > org.ow2.petals.jbi.messaging.registry.RegistryException: Can not > delete endpoint under > /endpoints/0/{http://orange.com/ros/services/movecustomer/v1}MoveCustomerService@MoveCustomerEndpoint2 > at > org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.close(DeliveryChannelImpl.java:170) > at > org.ow2.petals.container.lifecycle.ComponentLifeCycle.doShutdown(ComponentLifeCycle.java:187) > at > org.ow2.petals.container.lifecycle.ComponentLifeCycle.stopComponentLifeCycle(ComponentLifeCycle.java:327) > at > org.ow2.petals.container.lifecycle.ComponentLifeCycle.stopFc(ComponentLifeCycle.java) > at > org.objectweb.fractal.julia.generated.Cbd2013d7_0.setFcContentState(BasicControllerMixin.java:8130) > at > org.objectweb.fractal.julia.generated.Cbd2013d7_0.setFcStopped(BasicControllerMixin.java:8087) > at > org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStopped(INTERFACE[LifeCycleCoordinator]) > at > org.objectweb.fractal.julia.generated.Cbd2013d7_0.stopFc(BasicControllerMixin.java:3187) > at > org.objectweb.fractal.julia.generated.Cbd2013d7_0.stopFc(BasicControllerMixin.java:4131) > at > org.objectweb.fractal.julia.generated.C18c4c884_0.stopFc(INTERFACE[LifeCycleCoordinator]) > at > org.ow2.petals.kernel.server.FractalHelper.stopComponent(FractalHelper.java:379) > at > org.ow2.petals.kernel.server.PetalsServerImpl.stopPetalsComposite(PetalsServerImpl.java:508) > at > org.ow2.petals.kernel.server.PetalsServerImpl.stop(PetalsServerImpl.java:220) > at > org.ow2.petals.kernel.server.PetalsStopThread.run(PetalsStopThread.jav > a:49) Caused by: > org.ow2.petals.jbi.messaging.registry.RegistryException: > Can not delete endpoint > under /endpoints/0/{http://orange.com/ros/services/movecustomer/v1}MoveCustomerService@MoveCustomerEndpoint2 > at > org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.deactivateEndpoint(BaseEndpointRegistry.java:179) > at > org.objectweb.fractal.julia.generated.C2304ecde_0.deactivateEndpoint(INTERCEPTOR[EndpointRegistry]) > at > org.objectweb.fractal.julia.generated.C2eb804c9_0.deactivateEndpoint(INTERFACE[EndpointRegistry]) > at > org.ow2.petals.jbi.component.context.ComponentContextImpl.deregisterAllEndpoints(ComponentContextImpl.java:236) > at > org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.close(DeliveryChannelImpl.java:168) > ... 13 more > Caused by: org.ow2.petals.registry.api.exception.RegistryException: > net.sf.ehcache.CacheException: > org.ow2.petals.registry.core.repository.bo.EndpointCache: Could not > remove disk store entry for > org.ow2.petals.registry.core.repository.bo.Endpoint#8a2a4bde2863bcdd012863be9d1c0002. Error was org.ow2.petals.registry.core.repository.bo.Endpoint Cache: The Disk store is not active. > at > org.ow2.petals.registry.core.repository.jdbc.JDBCRepository.doDelete(JDBCRepository.java:86) > at > org.ow2.petals.registry.core.repository.AbstractRepository.delete(AbstractRepository.java:159) > at > org.ow2.petals.registry.core.AbstractLocalRegistry.doDelete(AbstractLocalRegistry.java:453) > at > org.ow2.petals.registry.core.AbstractRegistry.delete(AbstractRegistry.java:60) > at > org.ow2.petals.registry.client.RegistryClientImpl.delete(RegistryClientImpl.java:57) > at > org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.deactivateE > ndpoint |
When stopping Petals, the following message is displayed :
{code} SEVERE 2010-05-04 16:37:42,539 Failed to stop the component 'petals-bc-soap' javax.jbi.messaging.MessagingException: org.ow2.petals.jbi.messaging.registry.RegistryException: Can not delete endpoint under > /endpoints/0/{http://orange.com/ros/services/movecustomer/v1}MoveCustomerService@MoveCustomerEndpoint2 at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.close(DeliveryChannelImpl.java:170) at org.ow2.petals.container.lifecycle.ComponentLifeCycle.doShutdown(ComponentLifeCycle.java:187) at org.ow2.petals.container.lifecycle.ComponentLifeCycle.stopComponentLifeCycle(ComponentLifeCycle.java:327) at org.ow2.petals.container.lifecycle.ComponentLifeCycle.stopFc(ComponentLifeCycle.java) at org.objectweb.fractal.julia.generated.Cbd2013d7_0.setFcContentState(BasicControllerMixin.java:8130) at org.objectweb.fractal.julia.generated.Cbd2013d7_0.setFcStopped(BasicControllerMixin.java:8087) at org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStopped(INTERFACE[LifeCycleCoordinator]) at org.objectweb.fractal.julia.generated.Cbd2013d7_0.stopFc(BasicControllerMixin.java:3187) at org.objectweb.fractal.julia.generated.Cbd2013d7_0.stopFc(BasicControllerMixin.java:4131) at org.objectweb.fractal.julia.generated.C18c4c884_0.stopFc(INTERFACE[LifeCycleCoordinator]) at org.ow2.petals.kernel.server.FractalHelper.stopComponent(FractalHelper.java:379) at org.ow2.petals.kernel.server.PetalsServerImpl.stopPetalsComposite(PetalsServerImpl.java:508) at org.ow2.petals.kernel.server.PetalsServerImpl.stop(PetalsServerImpl.java:220) at org.ow2.petals.kernel.server.PetalsStopThread.run(PetalsStopThread.java:49) Caused by: org.ow2.petals.jbi.messaging.registry.RegistryException: Can not delete endpoint under /endpoints/0/{http://orange.com/ros/services/movecustomer/v1}MoveCustomerService@MoveCustomerEndpoint2 at org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.deactivateEndpoint(BaseEndpointRegistry.java:179) at org.objectweb.fractal.julia.generated.C2304ecde_0.deactivateEndpoint(INTERCEPTOR[EndpointRegistry]) at org.objectweb.fractal.julia.generated.C2eb804c9_0.deactivateEndpoint(INTERFACE[EndpointRegistry]) at org.ow2.petals.jbi.component.context.ComponentContextImpl.deregisterAllEndpoints(ComponentContextImpl.java:236) at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.close(DeliveryChannelImpl.java:168) ... 13 more Caused by: org.ow2.petals.registry.api.exception.RegistryException: net.sf.ehcache.CacheException: org.ow2.petals.registry.core.repository.bo.EndpointCache: Could not remove disk store entry for org.ow2.petals.registry.core.repository.bo.Endpoint#8a2a4bde2863bcdd012863be9d1c0002. Error was org.ow2.petals.registry.core.repository.bo.Endpoint Cache: The Disk store is not active. at org.ow2.petals.registry.core.repository.jdbc.JDBCRepository.doDelete(JDBCRepository.java:86) at org.ow2.petals.registry.core.repository.AbstractRepository.delete(AbstractRepository.java:159) at org.ow2.petals.registry.core.AbstractLocalRegistry.doDelete(AbstractLocalRegistry.java:453) at org.ow2.petals.registry.core.AbstractRegistry.delete(AbstractRegistry.java:60) at org.ow2.petals.registry.client.RegistryClientImpl.delete(RegistryClientImpl.java:57) at org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.deactivateEndpoint {code} |
| Status | New [ 10000 ] | Resolved [ 10004 ] |
| Fix Version/s | 5.0.0 [ 10413 ] | |
| Resolution | Won't Fix [ 2 ] |
| Status | Resolved [ 10004 ] | Open [ 10002 ] |
| Assignee | Christophe DENEUX [ cdeneux ] | |
| Resolution | Won't Fix [ 2 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Resolution | Fixed [ 1 ] |
| Transition | Status Change Time | Execution Times | Last Executer | Last Execution Date | |||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|

The few provided elements indicate:
Searching with Google possible error causes about the disk store, we can found that it is recommended to set the directory of the disk storage to prevent collision between two applications using EhCache.
Moreover, I'm not sure that the disk store is needed. A memory store should be sufficient all the more it is set to 10000 entities (endpoints) in the EhCache consiguration.
Reading source code where the problem occurs in the registry core, we can see that few HQL request don't use named parameters, and so an optimization can be done:
PETALSESBCONT-141- The problem is due to an EhCache error linked to the disk store,
- The problem occurs when the cache of the registry is enabled,
- Into Petals ESB, the disk store is used by default when the memory store is full (see the EhCache configuration provided through ehcache-failsafe.xml of the EhCache JAR)
Searching with Google possible error causes about the disk store, we can found that it is recommended to set the directory of the disk storage to prevent collision between two applications using EhCache. Moreover, I'm not sure that the disk store is needed. A memory store should be sufficient all the more it is set to 10000 entities (endpoints) in the EhCache consiguration. Reading source code where the problem occurs in the registry core, we can see that few HQL request don't use named parameters, and so an optimization can be done:PETALSESBCONT-141