Re: [equinox-dev] Meaning of a SCR warning message
Hi Michael, This message means there is a duplicate attempt for binding a service to a component instance. Can you reproduce this every time you run your application or it just happened once? Does your component have more than one references and at least two of them are satisfied by one service object (one service object implementing multiple interfaces)? I reviewed the DS code and I think the most possible reason for this warning might be that your component has more than one references and their interfaces are implemented by one service object. This way SCR will attempt to bind one and the same ServiceReference object for one component instance more than once (depending on the count of component references covered by the ServiceReference's interfaces). I think this warning is not needed since this is a pretty standard situation. It should be removed or transformed into a debug message. If the reason for the warning is the one I described above, you should not worry about it and you should ignore it. Stoyan Michael Furtak wrote: Hi all, I am receiving a warning from the DS SCR that reads: WARNING 11 [SCR] ComponentReference.bind(): service reference {...} is already bound to instance org.eclipse.equinox.internal.ds.impl.componentinstancei...@11c55bb I am not sure what this means or how to go about resolving it. Can anyone share some insight? Thanks, -Mike Furtak THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Meaning of a SCR warning message
Hi all, I am receiving a warning from the DS SCR that reads: WARNING 11 [SCR] ComponentReference.bind(): service reference {...} is already bound to instance org.eclipse.equinox.internal.ds.impl.componentinstancei...@11c55bb I am not sure what this means or how to go about resolving it. Can anyone share some insight? Thanks, -Mike Furtak THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
RE: [equinox-dev] Using LIRc library in Equinox
Hi, just an idea. Maybe jlirc works with JNI? Maybe you have to give the library path to the VM similar to subclipse? Like: -vmargs -Djava.library.path=path_to_lirc_libs Mark "David Conde" schrieb am 14.08.2009 14:23:22: > > The problem can be because OSGI does not recognize the LIRC daemon, > because I have tried to introduce all the classes from LIRC packages > in my bundle and I have the same result. I do not know if I have to > do something special to relate the OSGI framework with the LIRC > daemon in Ubuntu, or include some libraries. I do not know much about > LIRC but I think that is a daemon which takes data from remote > control and then send this information to a socket, so I think my > bundle just should interact with a socket, but there > are an API to use LIRC in Java called JLIRC which I think should be > enough. > > Any idea will help me. > > Thanks > > De:equinox-dev-boun...@eclipse.org [mailto:equinox-dev-bounces@ > eclipse.org] *En nombre de *David Conde > *Enviado el:* viernes, 14 de agosto de 2009 11:50 > *Para:* 'Equinox development mailing list' > *Asunto:* [equinox-dev] Using LIRc library in Equinox > > Hi, > > I am trying to use LIRC libraries in order to use remote controls in > my bundles running on Equinox. > > For this task, I download de JLIRC source and put it all together in > a new bundle called RemoteLIRC, then I exported the next packages: > > -org.lirc > > -org.lirc.socket > > -org.lirc.ui > > -org.lirc.utils > > Then I imported these packages in another bundle called Remote > Manager which use some of the classes defined in these packages. > > I did not get any error in compilation time with Eclipse but when I > tried to launch Remote Manager by console I got a java.lang. > NoClassDefFoundError: Could not initialize class org.lirc.socket. > UnixSocketImpl > > I do not know If I am putting right the LIRC packages or is it a > problem from sockets? > > Any Idea? > > Thank you in advance > ___ equinox-dev mailing > list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/ > > equinox-dev -- Mark Hoffmann e-Mail: mark.hoffm...@web.de __ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
RE: [equinox-dev] Using LIRc library in Equinox
The problem can be because OSGI does not recognize the LIRC daemon, because I have tried to introduce all the classes from LIRC packages in my bundle and I have the same result. I do not know if I have to do something special to relate the OSGI framework with the LIRC daemon in Ubuntu, or include some libraries. I do not know much about LIRC but I think that is a daemon which takes data from remote control and then send this information to a socket, so I think my bundle just should interact with a "socket", but there are an API to use LIRC in Java called JLIRC which I think should be enough. Any idea will help me. Thanks De: equinox-dev-boun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org] En nombre de David Conde Enviado el: viernes, 14 de agosto de 2009 11:50 Para: 'Equinox development mailing list' Asunto: [equinox-dev] Using LIRc library in Equinox Hi, I am trying to use LIRC libraries in order to use remote controls in my bundles running on Equinox. For this task, I download de JLIRC source and put it all together in a new bundle called RemoteLIRC, then I exported the next packages: -org.lirc -org.lirc.socket -org.lirc.ui -org.lirc.utils Then I imported these packages in another bundle called Remote Manager which use some of the classes defined in these packages. I did not get any error in compilation time with Eclipse but when I tried to launch Remote Manager by console I got a java.lang.NoClassDefFoundError: Could not initialize class org.lirc.socket.UnixSocketImpl I do not know If I am putting right the LIRC packages or is it a problem from sockets? Any Idea? Thank you in advance ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Using LIRc library in Equinox
Hi, I am trying to use LIRC libraries in order to use remote controls in my bundles running on Equinox. For this task, I download de JLIRC source and put it all together in a new bundle called RemoteLIRC, then I exported the next packages: -org.lirc -org.lirc.socket -org.lirc.ui -org.lirc.utils Then I imported these packages in another bundle called Remote Manager which use some of the classes defined in these packages. I did not get any error in compilation time with Eclipse but when I tried to launch Remote Manager by console I got a java.lang.NoClassDefFoundError: Could not initialize class org.lirc.socket.UnixSocketImpl I do not know If I am putting right the LIRC packages or is it a problem from sockets? Any Idea? Thank you in advance ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
RE: [equinox-dev] Problem with bundles version in Ubuntu
Hi again, It was a problem caused by another library which was expected and it was not installed, although I did not get any exception about the other expected library. Regards De: equinox-dev-boun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org] En nombre de David Conde Enviado el: viernes, 14 de agosto de 2009 8:51 Para: 'Equinox development mailing list' Asunto: [equinox-dev] Problem with bundles version in Ubuntu Hi everyone, I have been working using Equinox, using both Eclipse IDE and command line as well on Windows XP. After that, I have tried to move my applications to Ubuntu, and when I try to start a bundle which imports a package from another one called BundleA with version 1.0.0 I got the next BundleException: "The bundle could not be resolved. Reason: Missing Constraint: Import-Package: es.citic.osgi.remoteManager; version ="0.0.0". So I change my version in BundleA in its Manifest.MF file changing it to version="0.0.0", furthermore, I checked using the command ">>bundle BundleA" in Ubuntu that the version finally is the "0.0.0" but I get the same Exception. It is very strange because of when I exported the bundles from Eclipse in order to load them on the Equinox framework using command line on Windows XP, I did not care about the version. Any idea about this problem? Does it exist a command in order that the versions are not taken into account? Thank you in advance ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev