Hello,

When I deploy my bundle with the Maven sling plugin, it starts it twice,
causing issues in my set up operations (user creation, permissions settings
etc). The first time with background update, the second time from
FelixFrameworkWiring.
Could it be related to this?
https://issues.apache.org/jira/browse/FELIX-1776

I'm using Sling launchpad 7, I don't find what to upgrade as I don't have
fileinstall bundle. I've tried to upgrade Apache Sling File Installer to
1.1.0 but it didn't change anything.

Here are some logs showing the issue.

Thank you for your help!
Regards,
Guillaume


*INFO* [qtp1462409406-40] logs/access.log 127.0.0.1 - admin
25/Feb/2016:11:18:31 +0100 "POST /dev/system/console/install HTTP/1.1" 200
- "-" "Jakarta Commons-HttpClient/3.1"
*INFO* [Background Install
/var/folders/v0/gh9_k3ld5vx43sn057mg6h3c0000gn/T/install2994913564032148892.tmp]
com.roche.opal.content BundleEvent INSTALLED
*INFO* [Background Install
/var/folders/v0/gh9_k3ld5vx43sn057mg6h3c0000gn/T/install2994913564032148892.tmp]
com.roche.opal.content BundleEvent RESOLVED
*INFO* [Background Install
/var/folders/v0/gh9_k3ld5vx43sn057mg6h3c0000gn/T/install2994913564032148892.tmp]
com.roche.opal.content BundleEvent STARTING
*INFO* [Background Install
/var/folders/v0/gh9_k3ld5vx43sn057mg6h3c0000gn/T/install2994913564032148892.tmp]
com.roche.opal.content BundleEvent STARTED
*INFO* [Background Install
/var/folders/v0/gh9_k3ld5vx43sn057mg6h3c0000gn/T/install2994913564032148892.tmp]
com.roche.opal.content Service
[com.roche.opal.jcr.service.NodeFinderImpl,374] ServiceEvent REGISTERED
*INFO* [Background Install
/var/folders/v0/gh9_k3ld5vx43sn057mg6h3c0000gn/T/install2994913564032148892.tmp]
com.roche.opal.content Service
[com.roche.opal.jcr.service.NodeSorterImpl,375] ServiceEvent REGISTERED
*INFO* [Background Install
/var/folders/v0/gh9_k3ld5vx43sn057mg6h3c0000gn/T/install2994913564032148892.tmp]
com.roche.opal.content Service
[com.roche.opal.jcr.service.UserProcessorImpl,376] ServiceEvent REGISTERED
*INFO* [jackrabbit-pool-2]
org.apache.jackrabbit.core.query.lucene.IndexMerger merged 1311 documents
in 87 ms into _7o4.
*INFO* [JcrInstaller.1]
org.apache.sling.installer.provider.jcr.impl.JcrInstaller Registering
resource with OSGi installer: ...
*INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Installed
configuration
org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended.54e8635c-93bd-48b1-b571-b8bdcf9ff5fd
...
*INFO* [CM Event Dispatcher (Fire ConfigurationEvent:
pid=org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended.d39aa82c-318e-4cb8-9f90-c6fe066be11f)]
org.apache.sling.serviceusermapper Service
[org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended.d39aa82c-318e-4cb8-9f90-c6fe066be11f,381]
ServiceEvent REGISTERED
*INFO* [pool-7-thread-1] com.roche.opal.content Service
[com.roche.opal.jcr.service.ContentInitializerImpl,383] ServiceEvent
REGISTERED
*INFO* [pool-7-thread-1] com.roche.opal.jcr.service.ContentInitializerImpl
Initializing Sling content

====> Starts executing code: creates users, sets permissions and sort nodes
with the JCR API
[...]
*ERROR* [pool-7-thread-1] com.roche.opal.content
[com.roche.opal.jcr.service.ContentInitializerImpl(173)] Failed creating
the component instance; see log for reason
*INFO* [FelixFrameworkWiring] com.roche.opal.content BundleEvent STOPPING
*INFO* [FelixFrameworkWiring] com.roche.opal.content Service
[com.roche.opal.jcr.service.ContentInitializerImpl,383] ServiceEvent
UNREGISTERING
*INFO* [FelixFrameworkWiring] com.roche.opal.content Service
[com.roche.opal.jcr.service.NodeSorterImpl,375] ServiceEvent UNREGISTERING
*INFO* [FelixFrameworkWiring] com.roche.opal.content Service
[com.roche.opal.jcr.service.UserProcessorImpl,376] ServiceEvent
UNREGISTERING
*INFO* [FelixFrameworkWiring] com.roche.opal.content Service
[com.roche.opal.jcr.service.NodeFinderImpl,374] ServiceEvent UNREGISTERING
*INFO* [FelixFrameworkWiring] com.roche.opal.content BundleEvent STOPPED
*INFO* [FelixFrameworkWiring] com.roche.opal.content BundleEvent UNRESOLVED
*INFO* [FelixFrameworkWiring] com.roche.opal.content BundleEvent RESOLVED
*INFO* [FelixFrameworkWiring] com.roche.opal.content BundleEvent STARTING
*INFO* [FelixFrameworkWiring]
org.apache.sling.jcr.contentloader.internal.Loader Content of bundle
already loaded com.roche.opal.content.
*INFO* [FelixFrameworkWiring] com.roche.opal.content BundleEvent STARTED
*INFO* [FelixFrameworkWiring] com.roche.opal.content Service
[com.roche.opal.jcr.service.NodeFinderImpl,384] ServiceEvent REGISTERED
*INFO* [FelixFrameworkWiring] com.roche.opal.content Service
[com.roche.opal.jcr.service.NodeSorterImpl,385] ServiceEvent REGISTERED
*INFO* [FelixFrameworkWiring] com.roche.opal.content Service
[com.roche.opal.jcr.service.ContentInitializerImpl,387] ServiceEvent
REGISTERED
*INFO* [FelixFrameworkWiring]
com.roche.opal.jcr.service.ContentInitializerImpl Initializing Sling content
====> Starts (again) executing code: creates users, sets permissions and
sort nodes with the JCR API

Reply via email to