On 27/05/2010 9.47, charbel el_kaed wrote:
Hi Stephano,
During the step:
3 - stop Felix with the command stop 0 (if you stop it with ^C or by killing
java the next steps will fail)
Ok
Then starting felix with java -jar bin\felix.jar -Dfelix.log.level=5
If you start felix with
java -jar bin\felix.jar -Dfelix.log.level=5
the log level would not be changed you have to modify config.properties file
The upnp base driver is already installed actually, so step 6 is not necessary
Maybe I am missing something ?
Probably I was not clear, let me explain the goal and how to achieve it.
The goal is to debug the classloader wiring produced by Felix for UPnP
Base Driver which is failing. The procedure that I gave you should
achieve the goal, in fact Felix print out the wiring when it resolve
them, which it happens when a bundle is active. So to get the wiring
printed we have to start the UPnP Base Driver (installing it is not
enough), but on the other hand we want to minimize the printing to easy
read the wiring.
The step 6 of the procedure is used for starting the UPnP Base Driver
after all the other bundles so that only his wiring will be printed out.
In fact, if you noticed the output of step 5 the status of UPnP Base
Driver should either installed or resolved. In case that, the status of
UPnP Base Driver is active it means that you missed something either
during step 2 or step 3
Or you mean I should change the log.level=5 in the config file?
Yes, you have to change it. See my comment above
Thanks and Regards.
charbel.
From: [email protected]
Date: Wed, 26 May 2010 19:46:50 +0200
Subject: Re: Error with UPnP Base driver
To: [email protected]
CC: [email protected]
It looks like that you are facing a classloading issue....
The problem is related to your OSGi configuration , in fact I have just
tried to execute the UPnP Base Driver 0.8.0 on Felix 2.0.5 and it runs
perfectly. By looking at your configuration I don't think that the problem
is related to the org.osgi.framework.system.packages.extra properties but it
may be related to the export package defined by the bundles you have
installed.
If you want to identify the source of the problem a I need more debug
information. In particular, I need the wiring message for trace how the UPnP
Base Driver is loading the xml parser.
In case that you don't know of to provide me the wiring, here are the steps
to execute:
1 - start Felix
2 - stop the UPnP Base Driver bundle
3 - stop Felix with the command stop 0 (if you stop it with ^C or by killing
java the next steps will fail)
4 - start Felix with felix.log.level=5
5 - execute the PS command from felix shell
6 - start the UPnP Base Driver bundle
7 - kill Felix (by pressing ^C)
8 - send me the output of the ps command along with the messages printed
after the point 6 (in particular you should get some messages like
DEBUG: DYNAMIC WIRE: 1.0 -> org.apache.felix.shell -> 2.0
DEBUG: WIRE: 3.0 -> org.apache.felix.shell -> 2.0 )
Best regards,
Stefano "Kismet" Lenzi
On Wed, May 26, 2010 at 16:42, charbel el_kaed
<[email protected]>wrote:
I added your email too
Kind Regards,
charbel