Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2012-06-29T21:40:43Z by Emily Jiang
SystemAdmin
SystemAdmin
153 Posts
ACCEPTED ANSWER

Pinned topic Package/ Bundle Dependency cannot be resolved

‏2012-06-28T03:57:44Z |
Hi,

[6/27/12 14:39:50:765 GMT] 00000059 EBAConverter  E   CWSAL0015E: Cannot resolve EBA file. Exception: com.ibm.ws.eba.provisioning.services.ResolverException: CWSAO0007E: The system cannot provision the EBA iddm_1.0.0.qualifier because the following problems in the dependency chain were detected: The 

package dependency sun.security.action required by bundle iddm.IDDM_1.0.0 cannot be resolved. The bundle dependency rt with the version greater than or equal to 0.0.0 cannot be resolved. The 

package dependency com.sun.image.codec.jpeg required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.jsse required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.sun.imageio.plugins.png required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency org.crosswire.util.event required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency jou.util required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.pramati.services.security required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.xmi.job required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.pramati.services.security.spi required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency electric.util.javaparser required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.sun.imageio.plugins.gif required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency weblogic.jdbc.vendor.oracle required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency org.roller.presentation.velocity required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.sun.rowset required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency org.roller.pojos required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency jcom.iddm.util required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency netscape.javascript required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.network.mail.smtp.event required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.network.mail.pop3.protocol required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.net.www.http required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.misc required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency net.sf.cglib.asm.util required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency netscape.ldap required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.net.smtp required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.sun.java.util.collections required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.io required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.net.www required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency weblogic.security.principal required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.network.mail.base required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency oracle.toplink.internal.databaseaccess required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.network.mail.smtp.protocol required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.network.mail.pop3.event required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.security.provider required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.pramati.security.util required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.ibm.xmi.framework required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.net required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency weblogic.jdbc.jts required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency sun.awt.image.codec required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency com.sun.imageio.plugins.jpeg required by bundle iddm.IDDM_1.0.0 cannot be resolved. The 

package dependency test.wsdl.import2.types required by bundle iddm.IDDM_1.0.0 cannot be resolved..


Solved most of the dependency after imported certain jar files found compliant to the classes.
For these few packages dependency, just couldn't find them from Internet, well maybe I missed them.

As for the bundle dependency, took some reading on it and some says the execution environment cause certain
classes cannot be resolved.

So, currently I configured the execution environment as "WAS v7.0 JRE", and bumped into above errors while I'm trying to publish this OSGI application into WAS v7.0 through RAD v8.|

Any idea on how to solve this ? Anyone ?
Thanks,
Anson.Y
Updated on 2012-06-29T21:40:43Z at 2012-06-29T21:40:43Z by Emily Jiang
  • Emily Jiang
    Emily Jiang
    73 Posts
    ACCEPTED ANSWER

    Re: Package/ Bundle Dependency cannot be resolved

    ‏2012-06-28T08:36:03Z  in response to SystemAdmin
    Hi Anson,
    Do you plan to deploy your eba to WAS7.0 OSGi feature pack. If yes, your configuration is fine.
    You said you solved most of the package/bundle dependencies. What is the final missing package/bundle dependencies you are trying to fix? Have you search the SpringSource Bundle Repository for the missing packages?

    Regards
    Emily
    • SystemAdmin
      SystemAdmin
      153 Posts
      ACCEPTED ANSWER

      Re: Package/ Bundle Dependency cannot be resolved

      ‏2012-06-28T08:43:46Z  in response to Emily Jiang
      Hi Emily,

      I found that those unresolved packages are actually from either JDK or JRE itself,
      after do some searching, some claims that setting this "org.osgi.framework.system.packages" attribute pointing to those missing packages could solve my problem.
      Link: http://stackoverflow.com/questions/1513083/depending-on-com-sun-javadoc-from-tools-jar-sun-jdk-in-eclipse
      They claim that it is configured in Equinox configuration file, but I got no clue on where it is located.
      Any idea on where to set this attribute ?
      Thanks,
      Anson.Y
      • Emily Jiang
        Emily Jiang
        73 Posts
        ACCEPTED ANSWER

        Re: Package/ Bundle Dependency cannot be resolved

        ‏2012-06-29T21:40:43Z  in response to SystemAdmin
        Hi Anson,
        In WAS, the jdk is IBM JDK not Sun JDK. You cannot set the property org.osgi.framework.system.packages as this is part of runtime (system bundle), not designed to be modified by an application. I recommend you to refactor your application not to depend on the problematic packages or find the bundles that export the packages your application depends on.

        Hope this helps.
        Emily