マシン(WIN 7 x64)上ではEclipseのインストールと作業領域があり、そこからTeamcenterのプラグインを実行/デバッグしますRCP(eclipse 3.6)は完璧です。今私は確実、Eclipseと他のWIN 7のx64マシンにワークスペースを移動デバッグTeamcenter Rich Client(eclipse rcp)は "org.osgi.service.component.ComponentException"で失敗します
:
- は
- 同じJREを有する同じ設定を有し、パス
- をインストールする(同じターゲットプラットフォームを有しますTeamcenterの)インストール(プラグインの少なくとも同じセット)
しかし、私はデバッグconfigurを起動し、新しいマシン、上がこの例外が発生するとアプリケーションが起動しません。私も他のEclipseのリリースとのJREを使用して、クリーンインストールのプラグインプロジェクトが、決してをインポート/エクスポートしようとした、第2のマシン上で
org.osgi.framework.ServiceException: Exception in org.eclipse.equinox.internal.ds.ServiceReg.getService()
at org.eclipse.osgi.internal.serviceregistry.ServiceUse.getService(ServiceUse.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:447)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:430)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:667)
at com.teamcenter.rac.util.OSGIUtil.getService(Unknown Source)
at com.teamcenter.rac.util.OSGIUtil.getService(Unknown Source)
at com.teamcenter.rac.aifrcp.Application.runApplication(Unknown Source)
at com.teamcenter.rac.aifrcp.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: org.osgi.service.component.ComponentException: The component was not built because some of its references could not be bound. The component is Component[
name = com.teamcenter.rac.aifrcp.RCPPortal
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = com.teamcenter.rac.aifrcp.RCPPortal
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface = [com.teamcenter.rac.services.IPortalService]
references = {
Reference[name = ISessionService, interface = com.teamcenter.rac.services.ISessionService, policy = static, cardinality = 1..1, target = null, bind = setSessionService, unbind = null]
}
located in bundle = com.teamcenter.rac.aifrcp_9000.1.0 [594]
]
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:342)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:580)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceUse$1.run(ServiceUse.java:120)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceUse.getService(ServiceUse.java:118)
... 20 more
、実行/デバッグは