Hi all,
I am using pax-web-4.2.6 with jetty. I would like to change the default
logging time zone, but encountered an exception with the following property
configured in the config file:
org.ops4j.pax.web.log.ncsa.LogTimeZone=<some time zone>
I am running karaf 4.0.5. Full stack trace:
java.lang.IllegalArgumentException: Duplicate service property:
org.ops4j.pax.web.log.ncsa.LogTimeZone
at
org.apache.felix.framework.ServiceRegistrationImpl.initializeProperties(ServiceRegistrationImpl.java:318)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.ServiceRegistrationImpl.<init>(ServiceRegistrationImpl.java:86)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:121)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.Felix.registerService(Felix.java:3520)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348)[org.apache.felix.framework-5.4.0.jar:]
at
org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:357)[194:org.ops4j.pax.web.pax-web-runtime:4.2.6]
at
org.ops4j.pax.web.service.internal.Activator$2.run(Activator.java:285)[194:org.ops4j.pax.web.pax-web-runtime:4.2.6]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_111]
at
java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_111]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_111]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_111]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_111]
The property retainDays is also throwing the same error. However, if no
caps (as
per
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-runtime/src/main/resources/OSGI-INF/metatype/metatype.xml,
no error is thrown, but at the same time no effect as well).
I appreciate some help and tips. Thanks.
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.