Results 1 to 5 of 5

Thread: lost OsgiServiceProxyFactoryBeanBeanInfo class

  1. #1
    Join Date
    Sep 2008
    Posts
    4

    Default lost OsgiServiceProxyFactoryBeanBeanInfo class

    hello,

    I use the spring-osgi 1.1.1 with felix-1.2.1.
    When I add the spring-osgi-extender-1.1.1.jar bundle found such warning:

    Code:
    -> WARNING: *** Package 'org.springframework.osgi.service.importer.support' is i
    mported by bundle 46 from bundle 48, but the exported package from bundle 48 doe
    s not contain the requested class 'org.springframework.osgi.service.importer.sup
    port.OsgiServiceProxyFactoryBeanBeanInfo'. Please verify that the class name is
    correct in the importing bundle 46 and/or that the exported package is correctly
     bundled in 48. *** (java.lang.ClassNotFoundException: *** Package 'org.springfr
    amework.osgi.service.importer.support' is imported by bundle 46 from bundle 48,
    but the exported package from bundle 48 does not contain the requested class 'or
    g.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBeanBeanI
    nfo'. Please verify that the class name is correct in the importing bundle 46 an
    d/or that the exported package is correctly bundled in 48. ***)
    Where do I get the org.springframework.osgi.service.importer.sup
    port.OsgiServiceProxyFactoryBeanBeanInfo class? I have tried to search class in those bundles:

    spring-osgi-core-1.1.1.jar
    spring-osgi-extender-1.1.1.jar
    spring-osgi-io-1.1.1.jar

    but nothing found. Have any idea to fix this warning ?

  2. #2
    Join Date
    Sep 2008
    Location
    Warsaw, Poland
    Posts
    18

    Default

    Could you post ps -l output? It'd be helpful to have debug log enabled to see what's going on behind the scenes (see Introduction to OSGi for more details - can't post URLs now as I'm under 15 posts level - google it up).

    Jacek

  3. #3
    Join Date
    Sep 2008
    Posts
    4

    Default

    Quote Originally Posted by jacek.laskowski View Post
    Could you post ps -l output? It'd be helpful to have debug log enabled to see what's going on behind the scenes (see Introduction to OSGi for more details - can't post URLs now as I'm under 15 posts level - google it up).

    Jacek
    Hi Jacek, this is my ps -l output
    Code:
    ps -l
    START LEVEL 1
       ID   State         Level  Location
    [   0] [Active     ] [    0] System Bundle
    [   1] [Active     ] [    1] file:bundle/org.apache.felix.shell-1.0.2.jar
    [   2] [Active     ] [    1] file:bundle/org.apache.felix.shell.tui-1.0.2.jar
    [   3] [Active     ] [    1] file:bundle/org.apache.felix.bundlerepository-1.2.0.jar
    [   4] [Active     ] [    1] file:/c:/app/felix-1.2.0/bundle/org.apache.felix.fileinstall-0.9.0.jar
    [   5] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\com.springsource.slf4j.log4j-1.5.0.jar
    [   6] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-context-support-2.5.5.jar
    [   7] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\log4j.osgi-1.2.15-SNAPSHOT.jar
    [   8] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\com.springsource.org.aopalliance-1.0.0.jar
    [   9] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-core-2.5.5.jar
    [  11] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\activemq-all-5.1.0.jar
    [  12] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\com.springsource.slf4j.api-1.5.0.jar
    [  13] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\com.springsource.slf4j.org.apache.commons.logging-1.5.0.jar
    [  14] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-beans-2.5.5.jar
    [  16] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-context-2.5.5.jar
    [  17] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\resolver.jar
    [  19] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-aop-2.5.5.jar
    [  24] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\xml-apis-2.8.0.jar
    [  25] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\xercesImpl-2.8.0.jar
    [  27] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\kxml2-2.1.8.jar
    [  29] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\commons-lang-2.2.jar
    [  31] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\cybergarage-0.0.1-SNAPSHOT.jar
    [  33] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\jdom-1.0.jar
    [  36] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-jms.jar
    [  38] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\jmock-1.1.0.jar
    [  39] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\jdummy-1.3.3.jar
    [  40] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\commons-io-1.3.2.jar
    [  41] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\comm-3.0.0.jar
    [  42] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\JsonUtils-1.0.3.jar
    [  43] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\platform-1.0.3.jar
    [  47] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-osgi-io-1.1.1.jar
    [  48] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-osgi-core-1.1.1.jar
    [  49] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-osgi-extender-1.1.1.jar
    [  52] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\spring-tx.jar
    [  57] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\jaxen-1.1.1.jar
    [  62] [Active     ] [    1] C:\APP\felix-1.2.0\.\load\InsightServiceProvider-1.0.jar
    I hope that is helpful.

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    The warning is harmless. The JavaBeans will always look for any loaded class, for a <C>BeanInfo companion. Since this is not found, Felix gives a warning however this does not interfere with your application.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  5. #5
    Join Date
    Sep 2008
    Posts
    4

    Default

    Quote Originally Posted by Costin Leau View Post
    The warning is harmless. The JavaBeans will always look for any loaded class, for a <C>BeanInfo companion. Since this is not found, Felix gives a warning however this does not interfere with your application.
    thanks for your information

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •