[Users] Change the recover tiemout
fgardes
frederic.gardes at orange-ftgroup.com
Wed Mar 16 11:05:48 CET 2011
Hi everybody!
I would like to extends the recovery timeout (to be able to load a lot of thing at the the strt time). IS there an external attribute somewhere? I Found this:
Code:
petals.task.timeout=120000
But it seems don't change. I talk about the timeout which drop the start process. An example:
Code:
[Petals.JBI-Management.SystemRecoveryServiceImpl]-SEVERE 2011-01-13 11:38:57,864 org.ow2.petals.jbi.management.ManagementException: Failed to recover Component 'petals-bc-soap'
java.util.concurrent.ExecutionException: org.ow2.petals.jbi.management.ManagementException: Failed to recover Component 'petals-bc-soap'
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllComponent(SystemRecoveryServiceImpl.java:274)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:176)
at org.objectweb.fractal.julia.generated.C290d4ec8_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService])
at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService])
at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:590)
at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:186)
at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190)
at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147)
at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
Caused by: org.ow2.petals.jbi.management.ManagementException: Failed to recover Component 'petals-bc-soap'
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverComponent(SystemRecoveryServiceImpl.java:545)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$1.call(SystemRecoveryServiceImpl.java:258)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$1.call(SystemRecoveryServiceImpl.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation start
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1101)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverComponent(SystemRecoveryServiceImpl.java:525)
... 10 more
Caused by: javax.jbi.JBIException: An exception occured while starting the Component 'petals-bc-soap' : Timeout exceeded when executing INIT management task. Assuming the task is blocked.
at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
... 19 more
I'm interested even it's only into the java code today!
-------------------- m2f --------------------
Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php
Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)
Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31695#31695
-------------------- m2f --------------------
More information about the Users
mailing list