ops4j / org.ops4j.pax.runner

Multi Framework OSGi Runner
http://team.ops4j.org/wiki/display/paxrunner/
47 stars 39 forks source link

Unable to provision bundles to Equinox with Pax Runner 1.7.5 [PAXRUNNER-405] #415

Open ops4j-issues opened 12 years ago

ops4j-issues commented 12 years ago

Jan Thomä created PAXRUNNER-405

I recently upgraded to Pax Runner 1.7.5. Since then everytime I want to provision a bundle to Equinox, the bundle is not provisioned. The Error log contains several stack traces:


!ENTRY org.eclipse.osgi 4 0 2011-09-14 12:41:07.965
!MESSAGE Error installing bundle: reference:file:../../../out/bundles/log4jfragment.jar/
!STACK 0
org.osgi.framework.BundleException: An error occurred trying to read the bundle
    at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:929)
    at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:837)
    at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:896)
    at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:832)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1026)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:613)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:276)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)
Caused by: java.io.IOException: cannot read from ReferenceInputStream
    at org.ops4j.pax.url.reference.ReferenceInputStream.read(ReferenceInputStream.java:42)
    at java.io.InputStream.read(InputStream.java:154)
    at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.readFile(AdaptorUtil.java:76)
    at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:79)
    ... 12 more
Root exception:
java.io.IOException: cannot read from ReferenceInputStream
    at org.ops4j.pax.url.reference.ReferenceInputStream.read(ReferenceInputStream.java:42)
    at java.io.InputStream.read(InputStream.java:154)
    at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.readFile(AdaptorUtil.java:76)
    at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:79)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:929)
    at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:837)
    at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:896)
    at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:832)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1026)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:613)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:276)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)

Provisioning to Felix works perfectly fine. Reverting back to Pax Runner 1.7.4 is the only way to make it work again.


Affects: 1.7.5 Votes: 3, Watches: 2


Referenced issues

relates to:

ops4j-issues commented 12 years ago

Harald Wellmann commented

This might be a conflict with the reference: protocol handler introduced in Pax Runner 1.7.5.

Can you give on some more details:

ops4j-issues commented 12 years ago

Toni Menzel commented

@Jan, can you describe how to reproduce the problem ? Using Pax Runner as is with --p=equinox and provisioning with a standard scanner like below works without problems:
java -jar pax-runner-1.7.5.jar --p=eq mvn:org.ops4j.pax.logging/pax-logging-service/1.6.2

ops4j-issues commented 12 years ago

Toni Menzel commented

I cannot reproduce the problem described. please advice. Until then i'll close this issue.

ops4j-issues commented 12 years ago

Luke Jackson commented

Hi, I have the same issue as Jan, using the Osmorc OSGI plugin for IntelliJ (which Jan develops), which I have manually updated to Pax Runner 1.7.6.

Hopefully the details below may help pinpoint the issue?

The command line I am using (removing details of my company's proxy server):

"C:\Program Files\Java\jdk1.6.0_18\bin\java" agentlib:jdwp=transport=dt_socket,address=127.0.0.1:2939,suspend=y,server=n -Xmx384m -Declipse.product=Edge_GUI.product -Declipse.ignoreApp=false -Dfile.encoding=windows-1252 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 10.5.2\plugins\osmorc\lib\pax-runner.jar;C:\Program Files\JetBrains\IntelliJ IDEA 10.5.2\lib\idea_rt.jar" org.ops4j.pax.runner.Run --p=equinox --nologo=true --v=3.7.1 file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.instrument-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/commons-cli-1.2.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\sjsxp.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\essd10.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\jconn4.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\commons-pool.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding.beans_1.2.100.I20100824-0800.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\pyrPositionService.dto-v3_9_1.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\castor-1.1-xml.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.jdbc-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.orm-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\c3p0-0.9.1.2.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\smtphandler-0.6.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\mamajni_5.0.1k.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\activation.jar file:///C:/svn/EDGCash/trunk/edgeGUI/lib/mockito-all-1.8.5.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\stax-api-1.0.1.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.preferences_3.4.1.R37x_v20110725.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\tibrvj.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/http/servlet-api-2.5-20081211.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\jdom.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.rcp_3.7.0.v201109091335.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\pyrPositionService.client-v3_9_1.jar file:///C:/svn/EDGCash/trunk/edgeGUI/lib/mail.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.runtime_3.7.0.v20110110.jar@1 file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.ui_3.7.0.I20110602-0100.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\jcalendar-1.3.2.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\rfa.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\mysql-connector-java-5.1.7-bin.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.jface_3.7.0.I20110522-1430.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\poi-3.2-FINAL-20081019.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\mina-core-1.1.7.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\rspcore.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\wstx-1.0.7.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502.jar@nostart file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\rd-1.2.3.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\commons-beanutils.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.aspects-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.osgi.services_3.3.0.v20110513.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\edgelqr-1.4-20110812.122958-9.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\castor-1.1.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/dsn.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\commons-dbcp.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.help_3.5.100.v20110426.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\commons-logging-1.1.1.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.jobs_3.5.100.v20110404.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\bbdlapi.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\jms.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\jasypt-1.4.1.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/smtp.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding_1.4.0.I20110111-0800.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\janus-sdk-2.8.0.0.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.ui.workbench_3.7.0.I20110519-0100.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\antlr-5.8.0.4.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\trove.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\mamda_5.0.1k_jdk1.6.0_11_options.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.util_1.0.300.v20110502.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\xbean.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\commons-jexl-1.1.jar file:///C:/svn/EDGCash/trunk/edgeGUI/lib/log4j-1.2.16.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.core-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.transaction-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\xerces.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\opencsv-1.8.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.swt_3.7.1.v3738a.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\ant.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\antlr-runtime-3.1.3.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\oeajni_3.0.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.oxm-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.ds_1.3.1.R37x_v20110701.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\xalan.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.beans-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\tibmsg.jar file:///C:/svn/EDGCash/trunk/edgeGUI/lib/commons-codec-1.4.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\jcommon-1.0.12.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\authapi.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.context.support-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.test-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\castor-1.1-codegen.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.common_3.6.0.v20110523.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/mailapi.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web.struts-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/slf4j-log4j12-1.6.1.jar@nostart file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.swt.win32.win32.x86_3.7.1.v3738a.jar@nostart file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\mamda_5.0.1k_jdk1.6.0_11.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502.jar@nostart file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\jlibeps-0.1.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\commons-lang-2.3.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.instrument.tomcat-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\jfreechart-1.0.9-experimental.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web.portlet-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\alib.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/com.ibm.icu_4.4.2.v20110208.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\jDDE.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\velocity-1.6.3.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding.observable_1.4.0.I20110222-0800.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\edgapi.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/jcl-over-slf4j-1.6.1.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\joda-time-1.5.2.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\mamda_5.0.1k_jdk1.6.0_11_book.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\stax-1.2.0.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.expression-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.jms-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/slf4j-api-1.6.1.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\jline.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\testng-6.0.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.context-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\jfreechart-1.0.9-swt.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\commons-net-1.4.1.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.aop-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.commands_3.6.0.I20110111-0800.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\guava-r06.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\castor-1.1-codegen-anttask.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\gemfire-5.8.0.4.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\quickfixj-msg-fix44-1.5.1.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.update.configurator_3.3.100.v20100512.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.asm-3.0.5.RELEASE.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\quickfixj-msg-fix42-1.5.1.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\loggablePreparedStatement-1.6.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\quickfixj-core-1.5.1.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.expressions_3.4.300.v20110228.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\commons-launcher-1.1.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/commons-collections-3.2.1.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\f1jtaglib.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\t2-common-2.13.0-RC5.7343.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\icu4j-3.4.4.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\tibjms.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\common-annotations.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\esheetxml.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\stsBeans.jar file:///C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.swt.win32.win32.x86_64_3.7.1.v3738a.jar@nostart file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web.servlet-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/libTest/commons-configuration-1.6.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\jfreechart-1.0.9.jar file:///C:/svn/EDGCash/trunk/edgeServer/libTest/commons-io-2.0.1.jar file:///C:\svn\EDGCash\trunk\edgeGUI\build\bundles\swtgraphics2d.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\colt-1.2.0.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\high-scale-lib.jar file:///C:\svn\EDGCash\trunk\edgeServer\build\bundles\alibom.jar file:///C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web-3.0.5.RELEASE.jar file:///C:/svn/EDGCash/trunk/edgeServer/build/edgeServer.jar file:///C:/svn/EDGCash/trunk/edgeGUI/build/edgeGUI.jar "-sp=com.sun.mail.auth;version=1.4.4,com.sun.mail.handlers;version=1.4.4,com.sun.mail.iap;version=1.4.4,com.sun.mail.imap;version=1.4.4,com.sun.mail.imap.protocol;version=1.4.4,com.sun.mail.pop3;version=1.4.4,com.sun.mail.smtp;version=1.4.4,com.sun.mail.util;version=1.4.4,com.sun.mail.util.logging;version=1.4.4,javax.mail;version=1.4.4,javax.mail.event;version=1.4.4,javax.mail.internet;version=1.4.4,javax.mail.search;version=1.4.4,javax.mail.util;version=1.4.4 " --sl=5 --bsl=5 --log=DEBUG --noConsole --executor=inProcess --keepOriginalUrls --skipInvalidBundles

config.ini file:

################################################

  1. __ ____ #
  2. / / / / / / / / #
  3. / / / / \ \ _/ #
  4. / / / / / / / _\ \ #
  5. // // // // // #
  6. #
  7. Pax Runner from OPS4J - http://www.ops4j.org #
    ################################################

##############################

  1. Equinox settings
    ##############################
    eclipse.ignoreApp=true
    osgi.syspath=C:\svn\EDGCash\trunk\out\run.osgi\runner
    osgi.framework.activeThreadType=normal
    osgi.clean=true
    osgi.startLevel=5
    osgi.bundles.defaultStartLevel=5
    org.osgi.framework.executionenvironment=J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JRE-1.1,JavaSE-1.6,OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2
    org.osgi.framework.bootdelegation=java.*
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.TypeCodePackage,org.omg.CORBA.portable,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.ServantLocatorPackage,org.omg.PortableServer.portable,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views ,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers,com.sun.mail.auth;version=1.4.4,com.sun.mail.handlers;version=1.4.4,com.sun.mail.iap;version=1.4.4,com.sun.mail.imap;version=1.4.4,com.sun.mail.imap.protocol;version=1.4.4,com.sun.mail.pop3;version=1.4.4,com.sun.mail.smtp;version=1.4.4,com.sun.mail.util;version=1.4.4,com.sun.mail.util.logging;version=1.4.4,javax.mail;version=1.4.4,javax.mail.event;version=1.4.4,javax.mail.internet;version=1.4.4,javax.mail.search;version=1.4.4,javax.mail.util;version=1.4.4

##############################

  1. Client bundles to install
    ##############################
    osgi.bundles=\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.instrument-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/commons-cli-1.2.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/sjsxp.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/essd10.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/jconn4.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/commons-pool.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding.beans_1.2.100.I20100824-0800.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/pyrPositionService.dto-v3_9_1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/castor-1.1-xml.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.jdbc-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.orm-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/c3p0-0.9.1.2.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/smtphandler-0.6.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/mamajni_5.0.1k.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/activation.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/lib/mockito-all-1.8.5.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/stax-api-1.0.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.preferences_3.4.1.R37x_v20110725.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/tibrvj.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/http/servlet-api-2.5-20081211.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/jdom.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.rcp_3.7.0.v201109091335.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/pyrPositionService.client-v3_9_1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/lib/mail.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.runtime_3.7.0.v20110110.jar@1:start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.ui_3.7.0.I20110602-0100.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/jcalendar-1.3.2.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/rfa.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/mysql-connector-java-5.1.7-bin.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.jface_3.7.0.I20110522-1430.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/poi-3.2-FINAL-20081019.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/mina-core-1.1.7.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/rspcore.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/wstx-1.0.7.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502.jar,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/rd-1.2.3.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/commons-beanutils.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.aspects-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.osgi.services_3.3.0.v20110513.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/edgelqr-1.4-20110812.122958-9.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/castor-1.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/dsn.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/commons-dbcp.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.help_3.5.100.v20110426.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/commons-logging-1.1.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.jobs_3.5.100.v20110404.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/bbdlapi.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/jms.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/jasypt-1.4.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/smtp.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding_1.4.0.I20110111-0800.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/janus-sdk-2.8.0.0.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.ui.workbench_3.7.0.I20110519-0100.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/antlr-5.8.0.4.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/trove.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/mamda_5.0.1k_jdk1.6.0_11_options.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.util_1.0.300.v20110502.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/xbean.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/commons-jexl-1.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/lib/log4j-1.2.16.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.core-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.transaction-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/xerces.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/opencsv-1.8.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.swt_3.7.1.v3738a.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/ant.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/antlr-runtime-3.1.3.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/oeajni_3.0.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.oxm-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.ds_1.3.1.R37x_v20110701.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/xalan.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.beans-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/tibmsg.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/lib/commons-codec-1.4.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/jcommon-1.0.12.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/authapi.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.context.support-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.test-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/castor-1.1-codegen.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.common_3.6.0.v20110523.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/mailapi.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web.struts-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/slf4j-log4j12-1.6.1.jar,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.swt.win32.win32.x86_3.7.1.v3738a.jar,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/mamda_5.0.1k_jdk1.6.0_11.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502.jar,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/jlibeps-0.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/commons-lang-2.3.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.instrument.tomcat-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/jfreechart-1.0.9-experimental.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web.portlet-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/alib.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/com.ibm.icu_4.4.2.v20110208.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/jDDE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/velocity-1.6.3.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.databinding.observable_1.4.0.I20110222-0800.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/edgapi.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/jcl-over-slf4j-1.6.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/joda-time-1.5.2.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/mamda_5.0.1k_jdk1.6.0_11_book.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/stax-1.2.0.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.expression-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.jms-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/slf4j-api-1.6.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/jline.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/testng-6.0.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.context-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/jfreechart-1.0.9-swt.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/commons-net-1.4.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.aop-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.commands_3.6.0.I20110111-0800.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/guava-r06.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/castor-1.1-codegen-anttask.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/gemfire-5.8.0.4.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/quickfixj-msg-fix44-1.5.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.update.configurator_3.3.100.v20100512.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.asm-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/quickfixj-msg-fix42-1.5.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/loggablePreparedStatement-1.6.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/quickfixj-core-1.5.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.core.expressions_3.4.300.v20110228.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/commons-launcher-1.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/commons-collections-3.2.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/f1jtaglib.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/t2-common-2.13.0-RC5.7343.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/icu4j-3.4.4.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/tibjms.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/common-annotations.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/esheetxml.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/stsBeans.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/rcp/3.7.1/plugins/org.eclipse.swt.win32.win32.x86_64_3.7.1.v3738a.jar,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web.servlet-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/libTest/commons-configuration-1.6.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/jfreechart-1.0.9.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/libTest/commons-io-2.0.1.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/bundles/swtgraphics2d.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/colt-1.2.0.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/high-scale-lib.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/bundles/alibom.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/lib/org.springframework.web-3.0.5.RELEASE.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeServer/build/edgeServer.jar@start,\
    reference:file:/C:/svn/EDGCash/trunk/edgeGUI/build/edgeGUI.jar@start

##############################

  1. System properties
    ##############################
ops4j-issues commented 12 years ago

Luke Jackson commented

reopening with further details on issue

ops4j-issues commented 12 years ago

Toni Menzel commented

Thanks, Luke! We'll have a deeper look at it now.
Merry Christmas,
Toni

ops4j-issues commented 12 years ago

Toni Menzel commented

Can you break down which of the referenced bundles is not discoverable ? I mean, there are plenty, can you tell if its a specific one ? Or happens with a single bundle (and not that many?) could also be a line-length issue in the windows shell ?

Some more info would really help here, i don't have a windows box here right now ? And i guess "EDGCash" is not an open source thing ?

cheers.

ops4j-issues commented 12 years ago

Luke Jackson commented

Hi Toni

All the bundles fail to load with the same reason. The first one to fail in the log is the first one on the command line.

!SESSION 2011-12-28 11:50:26.175 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_30
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -configuration C:\svn\EDGCash\trunk\out\run.osgi\runner\equinox !ENTRY org.eclipse.osgi 4 0 2011-12-28 11:52:19.368
!MESSAGE Error installing bundle: reference:file:../../../../edgeServer/lib/org.springframework.instrument-3.0.5.RELEASE.jar/
!STACK 0
org.osgi.framework.BundleException: An error occurred trying to read the bundle
at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94)
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:930)
at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1026)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:613)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:276)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:108)
at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:68)
at org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:212)
at org.ops4j.pax.runner.Run.startPlatform(Run.java:664)
at org.ops4j.pax.runner.Run.start(Run.java:207)
at org.ops4j.pax.runner.Run.main(Run.java:134)
at org.ops4j.pax.runner.Run.main(Run.java:102)
Caused by: java.io.IOException: cannot read from ReferenceInputStream
at org.ops4j.pax.url.reference.ReferenceInputStream.read(ReferenceInputStream.java:42)
at java.io.InputStream.read(InputStream.java:151)
at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.readFile(AdaptorUtil.java:76)
at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:79)
... 23 more
Root exception:
java.io.IOException: cannot read from ReferenceInputStream
at org.ops4j.pax.url.reference.ReferenceInputStream.read(ReferenceInputStream.java:42)
at java.io.InputStream.read(InputStream.java:151)
at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.readFile(AdaptorUtil.java:76)
at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:79)
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:930)
at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1026)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:613)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:276)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:108)
at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:68)
at org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:212)
at org.ops4j.pax.runner.Run.startPlatform(Run.java:664)
at org.ops4j.pax.runner.Run.start(Run.java:207)
at org.ops4j.pax.runner.Run.main(Run.java:134)
at org.ops4j.pax.runner.Run.main(Run.java:102)

This is repeated for each bundle. The log ends with Equinox complaining that it cannot acquire the application service:

!ENTRY org.eclipse.osgi 4 0 2011-12-28 11:53:02.171
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:108)
at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:68)
at org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:212)
at org.ops4j.pax.runner.Run.startPlatform(Run.java:664)
at org.ops4j.pax.runner.Run.start(Run.java:207)
at org.ops4j.pax.runner.Run.main(Run.java:134)
at org.ops4j.pax.runner.Run.main(Run.java:102)

You're correct that "EDGCash" is not open source. However I suspect you can reproduce by running an Equinox project in IntelliJ 10.5 community edition, if you install the "osmorc" osgi plugin and replace ~/.IntelliJIdea10/system/plugins/osmorc/pax-runner.jar with the 1.7.6 version of pax runner (making sure to keep the same file name). Switching back to 1.7.3 and running the same project works fine. From Jan's previous comment it seems the regression happened in either 1.7.4 or 1.75.

Let me know if I can help further.

ops4j-issues commented 12 years ago

Toni Menzel commented

Understood. I just made sure vanilla pax runner (when downloaded from OPS4J or Maven Central) works as expected on a Windows box.
But reading more about how you patch the Osmorc plugin with Pax Runner i think i got your issue: Its a packaging issue.

I will try to reproduce the problem with the IntelliJ Osmorc setup.
Meanwhile, can you please try vanilla Pax Runner (http://search.maven.org/remotecontent?filepath=org/ops4j/pax/runner/pax-runner-assembly/1.7.6/pax-runner-assembly-1.7.6-jdk15.zip) or at least remove the idea_rt.jar from classpath?

ops4j-issues commented 12 years ago

Jan Thomä commented

Ok, i tried with a vanilla Pax Runner 1.7.6:

./pax-run.sh --p=equinox --nologo=true --v=3.4.1 file:///Users/kork/.m2/repository/org/dom4j/com.springsource.org.dom4j/1.6.1/com.springsource.org.dom4j-1.6.1.jar file:///Users/kork/.m2/repository/org/slf4j/com.springsource.slf4j.log4j/1.5.10/com.springsource.slf4j.log4j-1.5.10.jar@nostart file:///Users/kork/.m2/repository/org/slf4j/com.springsource.slf4j.api/1.5.10/com.springsource.slf4j.api-1.5.10.jar file:///Users/kork/.m2/repository/org/objectweb/asm/com.springsource.org.objectweb.asm/1.5.3/com.springsource.org.objectweb.asm-1.5.3.jar file:///Users/kork/devel/java/maventest/abundle/target/abundle-1.0.1.jar@1 file:///Users/kork/.m2/repository/net/sourceforge/cglib/com.springsource.net.sf.cglib/2.2.0/com.springsource.net.sf.cglib-2.2.0.jar file:///Users/kork/.m2/repository/org/apache/log4j/com.springsource.org.apache.log4j/1.2.15/com.springsource.org.apache.log4j-1.2.15.jar file:///Users/kork/.m2/repository/org/antlr/com.springsource.antlr/2.7.6/com.springsource.antlr-2.7.6.jar file:///Users/kork/.m2/repository/org/osgi/org.osgi.core/4.2.0/org.osgi.core-4.2.0.jar file:///Users/kork/.m2/repository/org/apache/commons/com.springsource.org.apache.commons.collections/3.2.1/com.springsource.org.apache.commons.collections-3.2.1.jar file:///Users/kork/.m2/repository/org/jboss/javassist/com.springsource.javassist/3.9.0.GA/com.springsource.javassist-3.9.0.GA.jar file:///Users/kork/.m2/repository/org/hibernate/com.springsource.org.hibernate/3.3.2.GA/com.springsource.org.hibernate-3.3.2.GA.jar --sl=1 --bsl=5 --log=DEBUG --console --executor=inProcess --keepOriginalUrls --skipInvalidBundles

No luck (on Mac OS X). Then just out of curiosity I removed the --keepOriginalUrls parameter. Then it worked. So somehow the --keepOriginalUrls parameter breaks it for Equinox. As far as I understand the documentation this parameter ensures that bundles are loaded from their original positions and not from the cache, which is something I need in development as otherwise I'd have to clear the runner/equinox folder before every start and this would also re-download the equinox framework.

ops4j-issues commented 12 years ago

Luke Jackson commented

Thanks Jan.

Toni, does Jan's finding help at all? Are you now able to reproduce on your end?

Jan, is there some way that I can work around this (even in a hacky way) until the issue is resolved in pax runner? I am currently blocked from developing equinox 3.7.1 (in turn required for Windows 7 64-bit development) because the versions of pax runner which support 3.7.1 are all affected by this issue.

ops4j-issues commented 12 years ago

Toni Menzel commented

Yes, that definitely helps. Sorry for the slow response. We are on it!

ops4j-issues commented 12 years ago

Luke Jackson commented

Hi Toni

Just a friendly check up to see if you've managed to make any progress on this issue?

Thanks

Luke

ops4j-issues commented 12 years ago

Sven Strohschein commented

Could someone please take some time to solve this issue?

The last update regarding this issue is at least four months ago and it is a blocker issue. The error is reproducable and Jan T. has already post a hint where the error could be. At the moment some IDEs can not update to a current version of PAX-Runner because it can not anymore work with Equinoxe and the old PAX-Runner version doesn't support Apache Felix 4.x... So it is very important that the IDEs can update to a current version of PAX-Runner... Issue for IntelliJ IDEA: http://youtrack.jetbrains.com/issue/IDEA-80352

ops4j-issues commented 12 years ago

Harald Wellmann commented

OPS4J is an open community. If you think an issue deserves more attention, you are free to speed things up by providing a self-contained test case or by fixing it yourself.

Instead of

./pax-run.sh --p=equinox --v=3.6.2 --keepOriginalUrls file:/path/to/bundle.jar 

please use

./pax-run.sh --p=equinox --v=3.6.2 reference:file:/path/to/bundle.jar 

This provisions the bundle from the original location without creating a copy.

Regarding the question of newer framework versions, Pax Runner has an option to let you specify a custom framework version, but for shortcuts like --v=3.8.0 to work, the new versions have to be hardcoded in Pax Runner and a new Pax Runner version has to be released. This is an effort that currently active OPS4J members are less inclined to take, as there is a growing number of more lightweight or more flexible and actively maintained alternatives to Pax Runner, e.g.

Anyone who thinks that Pax Runner should be kept alive, please step forward and maintain it. Otherwise, don't expect too much effort going into it. Pax Exam (the last OPS4J project with a dependency on Pax Runner, AFAIK) is dropping this dependency in its forthcoming 3.x release line, so from the current perspective, this looks very much like end of maintenance for Pax Runner.

Further discussion about the future of Pax Runner is very welcome, but this is not the best place for it. Please use our mailing list general@lists.ops4j.org.

ops4j-issues commented 11 years ago

TA Team commented

Hi!

I am not sure if I stumbled over the same problem, but at least the failure symptom is exactly the same and I am also trying to provision bundles (from Eclipse IDE workspace) to Equinox (v3.8.1, I hope) via so-called reference URLs and using the native container from pax exam v2.6.

Since I am rather new to pax exam, I certainly cannot rule out that the problem is caused by my humble self.

During problem investigation attempts I stumbled over a self-test called org.ops4j.pax.exam.regression.multi.reference.EquinoxReferenceTest. When I modify the test so that the system property "java.protocol.handler.pkgs" is set to "org.ops4j.pax.url" like seemingly done by the native container itself (cf. org.ops4j.pax.exam.nat.internal.NativeTestContainer#start(), line 153), then this test fails with the same failure:

org.osgi.framework.BundleException: An error occurred trying to read the bundle
    at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:941)
    at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:845)
    at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:904)
    at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:840)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
    at com.***.EquinoxReferenceTest.installAndStartReferenceBundle(EquinoxReferenceTest.java:64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.io.IOException: cannot read from ReferenceInputStream
    at org.ops4j.pax.url.reference.ReferenceInputStream.read(ReferenceInputStream.java:42)
    at java.io.InputStream.read(InputStream.java:151)
    at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.readFile(AdaptorUtil.java:76)
    at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:79)
    ... 33 more

Is there something wrong in my thoughts (and thus certainly also in my initial problem), or potentially in my project set up (cf. stack trace manipulation), or would this confirm the actual problem (cf. this issue's title)?

Thanks a lot,
Reinhold

ops4j-issues commented 11 years ago

TA Team commented

Hi,

please note that in the meantime we implemented a workaround for this problem that allows us keeping pax exam untouched/unpatched (the credit for the idea goes to Ronald Brindl):

When using so-called reference URLs in pax exam to use classes generated from IDE for OSGi component test execution, the URLs are seemingly correctly mapped to the pax exam reference url handlers etc. However, the corresponding ReferenceInputStream is not treated as expected from Equinox: only their own implementations (and pax exam one's does not inherit from it) are treated correctly.

We implemented a tiny OSGi fragment bundle that configures/installs an OSGi adapter hook to map reference URLs via a special reference URL connection that inherits from the required Equinox one. This fragment bundle is placed into the same target platform folder as the osgi framework bundle (org.eclipse.osgi) and the following system properties are used for its "activation": osgi.framework.extensions and osgi.hook.configurators.include.

Cu Reinhold (Füreder)