You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Adam Purkiss <aj...@hotmail.com> on 2013/05/28 22:44:14 UTC

SCR head rev issue with released CM

I have noticed that with the slightly outdated head rev of SCR which I have been using due to bug fixes in it that I now get an error logged from felix that seems to be related to the ConfigurationManager. I have not tried to update that as I was hoping not to have to get head revs of everything inorder to to a few scr bug fixes and I have not seen any issues other than the below log message. I was wondering if others had seen it and if I really can just ignore it for the moment or should I be deploying the latest CM code to get changes it has that SCR has started to make sure of?
 
DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.httpclient.params)(version
>=3.1.0)(!(version>=4.0.0))) -> [71.1]
DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.7.0)(!(version
>=2.0.0))) -> [0]
DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.component)(version>=1.2.0)(!
(version>=2.0.0))) -> [59.1]
DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(versi
on>=2.0.0))) -> [128.1]
DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.5.0)(!(vers
ion>=2.0.0))) -> [0]
BundleEvent RESOLVED
Invalid Configuration selection filter (|(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionCompo
nent)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxE
CSP-10.16.2.83)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateI
mpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpI
nstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-IN
F/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.f
actoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.factoryPid=com.nuance.docimg.wedp.pro
viders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.factoryPid=com.nuance.docim
g.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=
com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file
:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-1
0.16.2.83.jar))
        at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
        at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
        at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
        at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
        at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
578)
        at org.apache.felix.scr.impl.config.ConfigurationSupport.findFactoryConfigurations(ConfigurationSuppor
t.java:526)
        at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
.java:124)
        at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
        at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
)
        at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
        at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
        at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
68)
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
        at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
ceLifecycleProvider.java:168)
        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
rvice.java:435)
        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
rvice.java:465)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.felix.gogo.shell.Console.run(Console.java:62)
        at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
        at java.lang.Thread.run(Thread.java:722)
Invalid Configuration selection filter (|(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(s
ervice.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83
)(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2
.83|1.0.0)(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECS
P-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceT
emplateImpl.XeroxECSP-10.16.2.83.jar))
org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.p
id=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.pid=com.nuance.docimg.wedp.providers.WedpSes
sionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.pid=com.nuance.docimg.wedp.providers.Wedp
SessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.pid=com.nuance.docimg.wedp.provi
ders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0
.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
        at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
        at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
        at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
        at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
        at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
578)
        at org.apache.felix.scr.impl.config.ConfigurationSupport.findSingletonConfiguration(ConfigurationSuppo
rt.java:491)
        at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
.java:140)
        at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
        at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
)
        at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
        at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
        at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
68)
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
        at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
ceLifecycleProvider.java:168)
        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
rvice.java:435)
        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
rvice.java:465)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.felix.gogo.shell.Console.run(Console.java:62)
        at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
        at java.lang.Thread.run(Thread.java:722)
{log=DwsCoreImpl.DwsCoreEnvironment.37}class com.nuance.docimg.dws.core.environment.impl.DwsCoreEnvironment.ge
tTemplateInstallPath(): Gogo shell: Template found at: C:\tools\apache-tomcat-7.0.39(x32)\webapps\DwsMain\WEB-
INF\wedptemplate\WedpInstanceTemplateImpl.jar
 
 
Note that when I tried to update to the latest code I had a test failure and if I skip the unit tests it just fails due to aapche-rat licenes. I have the test failure and apache rat error below.
 
log level: 2 D=16:36:20,606 T=Thread[FelixDispatchQueue,5,main]: FrameworkEvent:
 PACKAGE REFRESHED
[org.ops4j.exec.DefaultJavaRunner] : org.ops4j.pax.logging.pax-logging-api[org.o
ps4j.pax.swissbox.extender.BundleWatcherShutdown in progress...
] : Releasing bundle [org.ops4j.pax.exam.invoker.junit]
[org.ops4j.exec.DefaultJavaRunner] : Unwrapping stream I/O.
[org.ops4j.exec.DefaultJavaRunner] : Platform has been shutdown.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.575 sec
Results :
Tests in error:
  test_concurrent_injection_with_bundleContext:Felix3680_2Test.test_concurrent_i
njection_with_bundleContext:org.ops4j.pax.exam.forked.ForkedTestContainer@effaa(
org.apache.felix.scr.integration.Felix3680_2Test)
Tests run: 91, Failures: 0, Errors: 1, Skipped: 0
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. b
uild is platform dependent!
[INFO]
[INFO] --- apache-rat-plugin:0.7:check (default) @ org.apache.felix.scr ---
[INFO] Exclude: src/main/appended-resources/**
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:57.548s
[INFO] Finished at: Tue May 28 16:36:23 EDT 2013
[INFO] Final Memory: 14M/457M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (defau
lt) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
 		 	   		  

SCR SNAPSHOT deployed (was: SCR head rev issue with released CM)

Posted by Felix Meschberger <fm...@adobe.com>.
Hi,

Am 28.05.2013 um 23:33 schrieb David Jencks:

> The problem is the (x32) in the location of the tomcat bundle which needs to be escaped by DS.  I also discovered this and fixed in in rev 1486758 committed this morning.  You only need an updated DS bundle.  I haven't been able to upload a snapshot to apache nexus, maybe someone else has the magic mojo.

I have just deployed a 1.7-SNAPSHOT build at Rev. 1487395 to the Apache SNAPSHOT repository.

Regards
Felix
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


RE: SCR head rev issue with released CM

Posted by Adam Purkiss <aj...@hotmail.com>.
thanks
 
The update seems to have fixed everything. Tests pass and build finishes successfully
 
I am running windows 7 64 bit with Java 64 bit 1.7.0_17-b02 at this time.
 
I to run mvn clean install though I sometimes -DskipTests if I just want to get a build done for some testing. I have increase the memory mvn has available to it as well.
 
I have mvn 3.0.5 installed
 
Appreciate the fast responses :)
 
> Subject: Re: SCR head rev issue with released CM
> From: david_jencks@yahoo.com
> Date: Tue, 28 May 2013 17:49:31 -0700
> To: users@felix.apache.org
> 
> How do you run maven?  I usually run mvn clean install and don't get the rat:check.  Anyway I think I fixed the missing license header as well (rev 1487105)
> 
> If you see the test failure again can you email me the TEST- file so I can try to see what is going on?  I haven't seen an error here in a long time.  Also knowing your environment might be interesting…. I only build on a macbook pro, java 1.6.0_45-b06-451-11M4406
> 
> many thanks
> david jencks
> 
> 
> On May 28, 2013, at 5:05 PM, Adam Purkiss <aj...@hotmail.com> wrote:
> 
> > Ah ok
> > 
> > I tried to build the latest code but it failed a unit test and the apache rat plugin complain about licenses (see the bottom of the email) so unfortunatly I was unable to test the latest changes (I had noticed after sending this email a few file changes went in.
> > 
> >> Subject: Re: SCR head rev issue with released CM
> >> From: david_jencks@yahoo.com
> >> Date: Tue, 28 May 2013 14:33:38 -0700
> >> To: users@felix.apache.org
> >> 
> >> The problem is the (x32) in the location of the tomcat bundle which needs to be escaped by DS.  I also discovered this and fixed in in rev 1486758 committed this morning.  You only need an updated DS bundle.  I haven't been able to upload a snapshot to apache nexus, maybe someone else has the magic mojo.
> >> 
> >> This is part of targeted PID support… I still need to figure out how to write some tests for it.
> >> 
> >> Your DS is not that outdated…. I only committed the problem on may 7 :-)
> >> 
> >> thanks
> >> david jencks
> >> 
> >> On May 28, 2013, at 1:44 PM, Adam Purkiss <aj...@hotmail.com> wrote:
> >> 
> >>> I have noticed that with the slightly outdated head rev of SCR which I have been using due to bug fixes in it that I now get an error logged from felix that seems to be related to the ConfigurationManager. I have not tried to update that as I was hoping not to have to get head revs of everything inorder to to a few scr bug fixes and I have not seen any issues other than the below log message. I was wondering if others had seen it and if I really can just ignore it for the moment or should I be deploying the latest CM code to get changes it has that SCR has started to make sure of?
> >>> 
> >>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.httpclient.params)(version
> >>>> =3.1.0)(!(version>=4.0.0))) -> [71.1]
> >>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.7.0)(!(version
> >>>> =2.0.0))) -> [0]
> >>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.component)(version>=1.2.0)(!
> >>> (version>=2.0.0))) -> [59.1]
> >>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(versi
> >>> on>=2.0.0))) -> [128.1]
> >>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.5.0)(!(vers
> >>> ion>=2.0.0))) -> [0]
> >>> BundleEvent RESOLVED
> >>> Invalid Configuration selection filter (|(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionCompo
> >>> nent)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxE
> >>> CSP-10.16.2.83)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateI
> >>> mpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpI
> >>> nstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-IN
> >>> F/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
> >>> org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.f
> >>> actoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.factoryPid=com.nuance.docimg.wedp.pro
> >>> viders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.factoryPid=com.nuance.docim
> >>> g.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=
> >>> com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file
> >>> :/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-1
> >>> 0.16.2.83.jar))
> >>>       at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
> >>>       at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
> >>>       at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
> >>>       at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
> >>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
> >>> 578)
> >>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findFactoryConfigurations(ConfigurationSuppor
> >>> t.java:526)
> >>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
> >>> .java:124)
> >>>       at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
> >>>       at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
> >>> )
> >>>       at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
> >>>       at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
> >>>       at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
> >>>       at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
> >>>       at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
> >>> 68)
> >>>       at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
> >>>       at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
> >>>       at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
> >>>       at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
> >>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
> >>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
> >>>       at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
> >>> ceLifecycleProvider.java:168)
> >>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> >>> rvice.java:435)
> >>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> >>> rvice.java:465)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>       at java.lang.reflect.Method.invoke(Method.java:601)
> >>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >>>       at org.apache.felix.gogo.shell.Console.run(Console.java:62)
> >>>       at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
> >>>       at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>       at java.lang.reflect.Method.invoke(Method.java:601)
> >>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >>>       at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
> >>>       at java.lang.Thread.run(Thread.java:722)
> >>> Invalid Configuration selection filter (|(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(s
> >>> ervice.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83
> >>> )(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2
> >>> .83|1.0.0)(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECS
> >>> P-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceT
> >>> emplateImpl.XeroxECSP-10.16.2.83.jar))
> >>> org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.p
> >>> id=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.pid=com.nuance.docimg.wedp.providers.WedpSes
> >>> sionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.pid=com.nuance.docimg.wedp.providers.Wedp
> >>> SessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.pid=com.nuance.docimg.wedp.provi
> >>> ders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0
> >>> .39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
> >>>       at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
> >>>       at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
> >>>       at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
> >>>       at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
> >>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
> >>> 578)
> >>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findSingletonConfiguration(ConfigurationSuppo
> >>> rt.java:491)
> >>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
> >>> .java:140)
> >>>       at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
> >>>       at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
> >>> )
> >>>       at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
> >>>       at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
> >>>       at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
> >>>       at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
> >>>       at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
> >>> 68)
> >>>       at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
> >>>       at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
> >>>       at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
> >>>       at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
> >>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
> >>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
> >>>       at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
> >>> ceLifecycleProvider.java:168)
> >>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> >>> rvice.java:435)
> >>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> >>> rvice.java:465)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>       at java.lang.reflect.Method.invoke(Method.java:601)
> >>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >>>       at org.apache.felix.gogo.shell.Console.run(Console.java:62)
> >>>       at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
> >>>       at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>       at java.lang.reflect.Method.invoke(Method.java:601)
> >>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >>>       at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
> >>>       at java.lang.Thread.run(Thread.java:722)
> >>> {log=DwsCoreImpl.DwsCoreEnvironment.37}class com.nuance.docimg.dws.core.environment.impl.DwsCoreEnvironment.ge
> >>> tTemplateInstallPath(): Gogo shell: Template found at: C:\tools\apache-tomcat-7.0.39(x32)\webapps\DwsMain\WEB-
> >>> INF\wedptemplate\WedpInstanceTemplateImpl.jar
> >>> 
> >>> 
> >>> Note that when I tried to update to the latest code I had a test failure and if I skip the unit tests it just fails due to aapche-rat licenes. I have the test failure and apache rat error below.
> >>> 
> >>> log level: 2 D=16:36:20,606 T=Thread[FelixDispatchQueue,5,main]: FrameworkEvent:
> >>> PACKAGE REFRESHED
> >>> [org.ops4j.exec.DefaultJavaRunner] : org.ops4j.pax.logging.pax-logging-api[org.o
> >>> ps4j.pax.swissbox.extender.BundleWatcherShutdown in progress...
> >>> ] : Releasing bundle [org.ops4j.pax.exam.invoker.junit]
> >>> [org.ops4j.exec.DefaultJavaRunner] : Unwrapping stream I/O.
> >>> [org.ops4j.exec.DefaultJavaRunner] : Platform has been shutdown.
> >>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.575 sec
> >>> Results :
> >>> Tests in error:
> >>> test_concurrent_injection_with_bundleContext:Felix3680_2Test.test_concurrent_i
> >>> njection_with_bundleContext:org.ops4j.pax.exam.forked.ForkedTestContainer@effaa(
> >>> org.apache.felix.scr.integration.Felix3680_2Test)
> >>> Tests run: 91, Failures: 0, Errors: 1, Skipped: 0
> >>> [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. b
> >>> uild is platform dependent!
> >>> [INFO]
> >>> [INFO] --- apache-rat-plugin:0.7:check (default) @ org.apache.felix.scr ---
> >>> [INFO] Exclude: src/main/appended-resources/**
> >>> [INFO] ------------------------------------------------------------------------
> >>> [INFO] BUILD FAILURE
> >>> [INFO] ------------------------------------------------------------------------
> >>> [INFO] Total time: 7:57.548s
> >>> [INFO] Finished at: Tue May 28 16:36:23 EDT 2013
> >>> [INFO] Final Memory: 14M/457M
> >>> [INFO] ------------------------------------------------------------------------
> >>> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (defau
> >>> lt) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
> >>> 		 	   		  
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> For additional commands, e-mail: users-help@felix.apache.org
> >> 
> > 		 	   		  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
 		 	   		  

Re: SCR head rev issue with released CM

Posted by David Jencks <da...@yahoo.com>.
How do you run maven?  I usually run mvn clean install and don't get the rat:check.  Anyway I think I fixed the missing license header as well (rev 1487105)

If you see the test failure again can you email me the TEST- file so I can try to see what is going on?  I haven't seen an error here in a long time.  Also knowing your environment might be interesting…. I only build on a macbook pro, java 1.6.0_45-b06-451-11M4406

many thanks
david jencks


On May 28, 2013, at 5:05 PM, Adam Purkiss <aj...@hotmail.com> wrote:

> Ah ok
> 
> I tried to build the latest code but it failed a unit test and the apache rat plugin complain about licenses (see the bottom of the email) so unfortunatly I was unable to test the latest changes (I had noticed after sending this email a few file changes went in.
> 
>> Subject: Re: SCR head rev issue with released CM
>> From: david_jencks@yahoo.com
>> Date: Tue, 28 May 2013 14:33:38 -0700
>> To: users@felix.apache.org
>> 
>> The problem is the (x32) in the location of the tomcat bundle which needs to be escaped by DS.  I also discovered this and fixed in in rev 1486758 committed this morning.  You only need an updated DS bundle.  I haven't been able to upload a snapshot to apache nexus, maybe someone else has the magic mojo.
>> 
>> This is part of targeted PID support… I still need to figure out how to write some tests for it.
>> 
>> Your DS is not that outdated…. I only committed the problem on may 7 :-)
>> 
>> thanks
>> david jencks
>> 
>> On May 28, 2013, at 1:44 PM, Adam Purkiss <aj...@hotmail.com> wrote:
>> 
>>> I have noticed that with the slightly outdated head rev of SCR which I have been using due to bug fixes in it that I now get an error logged from felix that seems to be related to the ConfigurationManager. I have not tried to update that as I was hoping not to have to get head revs of everything inorder to to a few scr bug fixes and I have not seen any issues other than the below log message. I was wondering if others had seen it and if I really can just ignore it for the moment or should I be deploying the latest CM code to get changes it has that SCR has started to make sure of?
>>> 
>>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.httpclient.params)(version
>>>> =3.1.0)(!(version>=4.0.0))) -> [71.1]
>>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.7.0)(!(version
>>>> =2.0.0))) -> [0]
>>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.component)(version>=1.2.0)(!
>>> (version>=2.0.0))) -> [59.1]
>>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(versi
>>> on>=2.0.0))) -> [128.1]
>>> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.5.0)(!(vers
>>> ion>=2.0.0))) -> [0]
>>> BundleEvent RESOLVED
>>> Invalid Configuration selection filter (|(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionCompo
>>> nent)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxE
>>> CSP-10.16.2.83)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateI
>>> mpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpI
>>> nstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-IN
>>> F/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
>>> org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.f
>>> actoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.factoryPid=com.nuance.docimg.wedp.pro
>>> viders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.factoryPid=com.nuance.docim
>>> g.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=
>>> com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file
>>> :/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-1
>>> 0.16.2.83.jar))
>>>       at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
>>>       at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
>>>       at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
>>>       at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
>>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
>>> 578)
>>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findFactoryConfigurations(ConfigurationSuppor
>>> t.java:526)
>>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
>>> .java:124)
>>>       at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
>>>       at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
>>> )
>>>       at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
>>>       at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
>>>       at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
>>>       at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
>>>       at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
>>> 68)
>>>       at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
>>>       at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
>>>       at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
>>>       at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
>>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
>>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
>>>       at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
>>> ceLifecycleProvider.java:168)
>>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
>>> rvice.java:435)
>>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
>>> rvice.java:465)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>       at java.lang.reflect.Method.invoke(Method.java:601)
>>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>>>       at org.apache.felix.gogo.shell.Console.run(Console.java:62)
>>>       at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
>>>       at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>       at java.lang.reflect.Method.invoke(Method.java:601)
>>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>>>       at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
>>>       at java.lang.Thread.run(Thread.java:722)
>>> Invalid Configuration selection filter (|(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(s
>>> ervice.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83
>>> )(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2
>>> .83|1.0.0)(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECS
>>> P-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceT
>>> emplateImpl.XeroxECSP-10.16.2.83.jar))
>>> org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.p
>>> id=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.pid=com.nuance.docimg.wedp.providers.WedpSes
>>> sionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.pid=com.nuance.docimg.wedp.providers.Wedp
>>> SessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.pid=com.nuance.docimg.wedp.provi
>>> ders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0
>>> .39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
>>>       at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
>>>       at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
>>>       at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
>>>       at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
>>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
>>> 578)
>>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.findSingletonConfiguration(ConfigurationSuppo
>>> rt.java:491)
>>>       at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
>>> .java:140)
>>>       at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
>>>       at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
>>> )
>>>       at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
>>>       at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
>>>       at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
>>>       at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
>>>       at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
>>> 68)
>>>       at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
>>>       at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
>>>       at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
>>>       at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
>>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
>>>       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
>>>       at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
>>> ceLifecycleProvider.java:168)
>>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
>>> rvice.java:435)
>>>       at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
>>> rvice.java:465)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>       at java.lang.reflect.Method.invoke(Method.java:601)
>>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>>>       at org.apache.felix.gogo.shell.Console.run(Console.java:62)
>>>       at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
>>>       at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>       at java.lang.reflect.Method.invoke(Method.java:601)
>>>       at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>>>       at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>>>       at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>>>       at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>>>       at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>>>       at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>>>       at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>>>       at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
>>>       at java.lang.Thread.run(Thread.java:722)
>>> {log=DwsCoreImpl.DwsCoreEnvironment.37}class com.nuance.docimg.dws.core.environment.impl.DwsCoreEnvironment.ge
>>> tTemplateInstallPath(): Gogo shell: Template found at: C:\tools\apache-tomcat-7.0.39(x32)\webapps\DwsMain\WEB-
>>> INF\wedptemplate\WedpInstanceTemplateImpl.jar
>>> 
>>> 
>>> Note that when I tried to update to the latest code I had a test failure and if I skip the unit tests it just fails due to aapche-rat licenes. I have the test failure and apache rat error below.
>>> 
>>> log level: 2 D=16:36:20,606 T=Thread[FelixDispatchQueue,5,main]: FrameworkEvent:
>>> PACKAGE REFRESHED
>>> [org.ops4j.exec.DefaultJavaRunner] : org.ops4j.pax.logging.pax-logging-api[org.o
>>> ps4j.pax.swissbox.extender.BundleWatcherShutdown in progress...
>>> ] : Releasing bundle [org.ops4j.pax.exam.invoker.junit]
>>> [org.ops4j.exec.DefaultJavaRunner] : Unwrapping stream I/O.
>>> [org.ops4j.exec.DefaultJavaRunner] : Platform has been shutdown.
>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.575 sec
>>> Results :
>>> Tests in error:
>>> test_concurrent_injection_with_bundleContext:Felix3680_2Test.test_concurrent_i
>>> njection_with_bundleContext:org.ops4j.pax.exam.forked.ForkedTestContainer@effaa(
>>> org.apache.felix.scr.integration.Felix3680_2Test)
>>> Tests run: 91, Failures: 0, Errors: 1, Skipped: 0
>>> [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. b
>>> uild is platform dependent!
>>> [INFO]
>>> [INFO] --- apache-rat-plugin:0.7:check (default) @ org.apache.felix.scr ---
>>> [INFO] Exclude: src/main/appended-resources/**
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Total time: 7:57.548s
>>> [INFO] Finished at: Tue May 28 16:36:23 EDT 2013
>>> [INFO] Final Memory: 14M/457M
>>> [INFO] ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (defau
>>> lt) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
>>> 		 	   		  
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>> 
> 		 	   		  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


RE: SCR head rev issue with released CM

Posted by Adam Purkiss <aj...@hotmail.com>.
Ah ok
 
I tried to build the latest code but it failed a unit test and the apache rat plugin complain about licenses (see the bottom of the email) so unfortunatly I was unable to test the latest changes (I had noticed after sending this email a few file changes went in.
 
> Subject: Re: SCR head rev issue with released CM
> From: david_jencks@yahoo.com
> Date: Tue, 28 May 2013 14:33:38 -0700
> To: users@felix.apache.org
> 
> The problem is the (x32) in the location of the tomcat bundle which needs to be escaped by DS.  I also discovered this and fixed in in rev 1486758 committed this morning.  You only need an updated DS bundle.  I haven't been able to upload a snapshot to apache nexus, maybe someone else has the magic mojo.
> 
> This is part of targeted PID support… I still need to figure out how to write some tests for it.
> 
> Your DS is not that outdated…. I only committed the problem on may 7 :-)
> 
> thanks
> david jencks
> 
> On May 28, 2013, at 1:44 PM, Adam Purkiss <aj...@hotmail.com> wrote:
> 
> > I have noticed that with the slightly outdated head rev of SCR which I have been using due to bug fixes in it that I now get an error logged from felix that seems to be related to the ConfigurationManager. I have not tried to update that as I was hoping not to have to get head revs of everything inorder to to a few scr bug fixes and I have not seen any issues other than the below log message. I was wondering if others had seen it and if I really can just ignore it for the moment or should I be deploying the latest CM code to get changes it has that SCR has started to make sure of?
> > 
> > DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.httpclient.params)(version
> >> =3.1.0)(!(version>=4.0.0))) -> [71.1]
> > DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.7.0)(!(version
> >> =2.0.0))) -> [0]
> > DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.component)(version>=1.2.0)(!
> > (version>=2.0.0))) -> [59.1]
> > DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(versi
> > on>=2.0.0))) -> [128.1]
> > DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.5.0)(!(vers
> > ion>=2.0.0))) -> [0]
> > BundleEvent RESOLVED
> > Invalid Configuration selection filter (|(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionCompo
> > nent)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxE
> > CSP-10.16.2.83)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateI
> > mpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpI
> > nstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-IN
> > F/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
> > org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.f
> > actoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.factoryPid=com.nuance.docimg.wedp.pro
> > viders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.factoryPid=com.nuance.docim
> > g.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=
> > com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file
> > :/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-1
> > 0.16.2.83.jar))
> >        at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
> >        at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
> >        at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
> >        at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
> >        at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
> > 578)
> >        at org.apache.felix.scr.impl.config.ConfigurationSupport.findFactoryConfigurations(ConfigurationSuppor
> > t.java:526)
> >        at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
> > .java:124)
> >        at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
> >        at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
> > )
> >        at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
> >        at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
> >        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
> >        at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
> >        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
> > 68)
> >        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
> >        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
> >        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
> >        at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
> >        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
> >        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
> >        at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
> > ceLifecycleProvider.java:168)
> >        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> > rvice.java:435)
> >        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> > rvice.java:465)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >        at java.lang.reflect.Method.invoke(Method.java:601)
> >        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >        at org.apache.felix.gogo.shell.Console.run(Console.java:62)
> >        at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
> >        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >        at java.lang.reflect.Method.invoke(Method.java:601)
> >        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
> >        at java.lang.Thread.run(Thread.java:722)
> > Invalid Configuration selection filter (|(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(s
> > ervice.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83
> > )(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2
> > .83|1.0.0)(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECS
> > P-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceT
> > emplateImpl.XeroxECSP-10.16.2.83.jar))
> > org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.p
> > id=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.pid=com.nuance.docimg.wedp.providers.WedpSes
> > sionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.pid=com.nuance.docimg.wedp.providers.Wedp
> > SessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.pid=com.nuance.docimg.wedp.provi
> > ders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0
> > .39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
> >        at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
> >        at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
> >        at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
> >        at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
> >        at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
> > 578)
> >        at org.apache.felix.scr.impl.config.ConfigurationSupport.findSingletonConfiguration(ConfigurationSuppo
> > rt.java:491)
> >        at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
> > .java:140)
> >        at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
> >        at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
> > )
> >        at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
> >        at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
> >        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
> >        at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
> >        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
> > 68)
> >        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
> >        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
> >        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
> >        at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
> >        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
> >        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
> >        at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
> > ceLifecycleProvider.java:168)
> >        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> > rvice.java:435)
> >        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> > rvice.java:465)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >        at java.lang.reflect.Method.invoke(Method.java:601)
> >        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >        at org.apache.felix.gogo.shell.Console.run(Console.java:62)
> >        at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
> >        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >        at java.lang.reflect.Method.invoke(Method.java:601)
> >        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> >        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> >        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> >        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> >        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> >        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> >        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> >        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
> >        at java.lang.Thread.run(Thread.java:722)
> > {log=DwsCoreImpl.DwsCoreEnvironment.37}class com.nuance.docimg.dws.core.environment.impl.DwsCoreEnvironment.ge
> > tTemplateInstallPath(): Gogo shell: Template found at: C:\tools\apache-tomcat-7.0.39(x32)\webapps\DwsMain\WEB-
> > INF\wedptemplate\WedpInstanceTemplateImpl.jar
> > 
> > 
> > Note that when I tried to update to the latest code I had a test failure and if I skip the unit tests it just fails due to aapche-rat licenes. I have the test failure and apache rat error below.
> > 
> > log level: 2 D=16:36:20,606 T=Thread[FelixDispatchQueue,5,main]: FrameworkEvent:
> > PACKAGE REFRESHED
> > [org.ops4j.exec.DefaultJavaRunner] : org.ops4j.pax.logging.pax-logging-api[org.o
> > ps4j.pax.swissbox.extender.BundleWatcherShutdown in progress...
> > ] : Releasing bundle [org.ops4j.pax.exam.invoker.junit]
> > [org.ops4j.exec.DefaultJavaRunner] : Unwrapping stream I/O.
> > [org.ops4j.exec.DefaultJavaRunner] : Platform has been shutdown.
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.575 sec
> > Results :
> > Tests in error:
> >  test_concurrent_injection_with_bundleContext:Felix3680_2Test.test_concurrent_i
> > njection_with_bundleContext:org.ops4j.pax.exam.forked.ForkedTestContainer@effaa(
> > org.apache.felix.scr.integration.Felix3680_2Test)
> > Tests run: 91, Failures: 0, Errors: 1, Skipped: 0
> > [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. b
> > uild is platform dependent!
> > [INFO]
> > [INFO] --- apache-rat-plugin:0.7:check (default) @ org.apache.felix.scr ---
> > [INFO] Exclude: src/main/appended-resources/**
> > [INFO] ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Total time: 7:57.548s
> > [INFO] Finished at: Tue May 28 16:36:23 EDT 2013
> > [INFO] Final Memory: 14M/457M
> > [INFO] ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (defau
> > lt) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
> > 		 	   		  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
 		 	   		  

Re: SCR head rev issue with released CM

Posted by David Jencks <da...@yahoo.com>.
The problem is the (x32) in the location of the tomcat bundle which needs to be escaped by DS.  I also discovered this and fixed in in rev 1486758 committed this morning.  You only need an updated DS bundle.  I haven't been able to upload a snapshot to apache nexus, maybe someone else has the magic mojo.

This is part of targeted PID support… I still need to figure out how to write some tests for it.

Your DS is not that outdated…. I only committed the problem on may 7 :-)

thanks
david jencks

On May 28, 2013, at 1:44 PM, Adam Purkiss <aj...@hotmail.com> wrote:

> I have noticed that with the slightly outdated head rev of SCR which I have been using due to bug fixes in it that I now get an error logged from felix that seems to be related to the ConfigurationManager. I have not tried to update that as I was hoping not to have to get head revs of everything inorder to to a few scr bug fixes and I have not seen any issues other than the below log message. I was wondering if others had seen it and if I really can just ignore it for the moment or should I be deploying the latest CM code to get changes it has that SCR has started to make sure of?
> 
> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.httpclient.params)(version
>> =3.1.0)(!(version>=4.0.0))) -> [71.1]
> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.7.0)(!(version
>> =2.0.0))) -> [0]
> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.component)(version>=1.2.0)(!
> (version>=2.0.0))) -> [59.1]
> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(versi
> on>=2.0.0))) -> [128.1]
> DEBUG: WIRE: [143.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.5.0)(!(vers
> ion>=2.0.0))) -> [0]
> BundleEvent RESOLVED
> Invalid Configuration selection filter (|(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionCompo
> nent)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxE
> CSP-10.16.2.83)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateI
> mpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpI
> nstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-IN
> F/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
> org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.f
> actoryPid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.factoryPid=com.nuance.docimg.wedp.pro
> viders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.factoryPid=com.nuance.docim
> g.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.factoryPid=
> com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file
> :/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-1
> 0.16.2.83.jar))
>        at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
>        at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
>        at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
>        at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
>        at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
> 578)
>        at org.apache.felix.scr.impl.config.ConfigurationSupport.findFactoryConfigurations(ConfigurationSuppor
> t.java:526)
>        at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
> .java:124)
>        at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
>        at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
> )
>        at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
>        at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
>        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
>        at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
>        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
> 68)
>        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
>        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
>        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
>        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
>        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
>        at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
> ceLifecycleProvider.java:168)
>        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> rvice.java:435)
>        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> rvice.java:465)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:601)
>        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>        at org.apache.felix.gogo.shell.Console.run(Console.java:62)
>        at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
>        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:601)
>        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
>        at java.lang.Thread.run(Thread.java:722)
> Invalid Configuration selection filter (|(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent)(s
> ervice.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83
> )(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2
> .83|1.0.0)(service.pid=com.nuance.docimg.wedp.providers.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECS
> P-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0.39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceT
> emplateImpl.XeroxECSP-10.16.2.83.jar))
> org.apache.felix.log.LogException: org.osgi.framework.InvalidSyntaxException: Unknown operator: : (|(service.p
> id=com.nuance.docimg.wedp.providers.WedpSessionComponent)(service.pid=com.nuance.docimg.wedp.providers.WedpSes
> sionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83)(service.pid=com.nuance.docimg.wedp.providers.Wedp
> SessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0)(service.pid=com.nuance.docimg.wedp.provi
> ders.WedpSessionComponent|WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83|1.0.0|file:/C:/tools/apache-tomcat-7.0
> .39(x32)/webapps/DwsMain/WEB-INF/wedptemplate/WedpInstanceTemplateImpl.XeroxECSP-10.16.2.83.jar))
>        at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
>        at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
>        at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:636)
>        at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
>        at org.apache.felix.scr.impl.config.ConfigurationSupport.findConfigurations(ConfigurationSupport.java:
> 578)
>        at org.apache.felix.scr.impl.config.ConfigurationSupport.findSingletonConfiguration(ConfigurationSuppo
> rt.java:491)
>        at org.apache.felix.scr.impl.config.ConfigurationSupport.configureComponentHolder(ConfigurationSupport
> .java:140)
>        at org.apache.felix.scr.impl.ComponentRegistry.registerComponentHolder(ComponentRegistry.java:421)
>        at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:263
> )
>        at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:153)
>        at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115)
>        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
>        at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:180)
>        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:8
> 68)
>        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
>        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
>        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
>        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
>        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
>        at com.nuance.docimg.dws.xerox.devicelifecycleprovider.impl.XeroxDeviceLifecycleProvider.add(XeroxDevi
> ceLifecycleProvider.java:168)
>        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> rvice.java:435)
>        at com.nuance.docimg.dws.core.devicelifecyclemanager.impl.DeviceLifecycleService.add(DeviceLifecycleSe
> rvice.java:465)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:601)
>        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>        at org.apache.felix.gogo.shell.Console.run(Console.java:62)
>        at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
>        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:601)
>        at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
>        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
>        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
>        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
>        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
>        at java.lang.Thread.run(Thread.java:722)
> {log=DwsCoreImpl.DwsCoreEnvironment.37}class com.nuance.docimg.dws.core.environment.impl.DwsCoreEnvironment.ge
> tTemplateInstallPath(): Gogo shell: Template found at: C:\tools\apache-tomcat-7.0.39(x32)\webapps\DwsMain\WEB-
> INF\wedptemplate\WedpInstanceTemplateImpl.jar
> 
> 
> Note that when I tried to update to the latest code I had a test failure and if I skip the unit tests it just fails due to aapche-rat licenes. I have the test failure and apache rat error below.
> 
> log level: 2 D=16:36:20,606 T=Thread[FelixDispatchQueue,5,main]: FrameworkEvent:
> PACKAGE REFRESHED
> [org.ops4j.exec.DefaultJavaRunner] : org.ops4j.pax.logging.pax-logging-api[org.o
> ps4j.pax.swissbox.extender.BundleWatcherShutdown in progress...
> ] : Releasing bundle [org.ops4j.pax.exam.invoker.junit]
> [org.ops4j.exec.DefaultJavaRunner] : Unwrapping stream I/O.
> [org.ops4j.exec.DefaultJavaRunner] : Platform has been shutdown.
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.575 sec
> Results :
> Tests in error:
>  test_concurrent_injection_with_bundleContext:Felix3680_2Test.test_concurrent_i
> njection_with_bundleContext:org.ops4j.pax.exam.forked.ForkedTestContainer@effaa(
> org.apache.felix.scr.integration.Felix3680_2Test)
> Tests run: 91, Failures: 0, Errors: 1, Skipped: 0
> [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. b
> uild is platform dependent!
> [INFO]
> [INFO] --- apache-rat-plugin:0.7:check (default) @ org.apache.felix.scr ---
> [INFO] Exclude: src/main/appended-resources/**
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7:57.548s
> [INFO] Finished at: Tue May 28 16:36:23 EDT 2013
> [INFO] Final Memory: 14M/457M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (defau
> lt) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
> 		 	   		  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org