It's all about the answers!

Ask a question

Failed to start RTC Server Side Plugin


deb pro (334) | asked Aug 02 '13, 8:19 a.m.
RTC Version : 4.0.1
Websphere : 7.0

Please find the error description.

2013-08-01 20:30:10,868 [       Launch callback handler] ERROR eam.repository.provision.internal.ProvisionService  - CRJAZ0287I Failed to install the bundle "file:/D:/IBM/JTS401/server/conf/jazz/sites/HelloWorldsite/plugins/HelloWorldsite_1.1.9.201307231920.jar".
org.osgi.framework.BundleException: Error converting plugin at D:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\<ServerName>\server1\jazz_war\jazz.war\eclipse\configuration\org.eclipse.osgi\bundles\526\1\bundlefile.
    at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.generateManifest(EclipseStorageHook.java:446)
    at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getGeneratedManifest0(EclipseStorageHook.java:423)
    at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getGeneratedManifest(EclipseStorageHook.java:393)
    at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.createCachedManifest(EclipseStorageHook.java:388)
    at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getManifest(EclipseStorageHook.java:507)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.loadManifest(BaseStorage.java:306)
    at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:82)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:921)
    at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:837)
    at java.security.AccessController.doPrivileged(AccessController.java:251)
    at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:888)
    at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:832)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:167)
    at com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:494)
    at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfileProperties(ProvisionService.java:952)
    at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfiles(ProvisionService.java:1009)
    at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfileNoWait(ProvisionService.java:1143)
    at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:1081)
    at com.ibm.team.repository.provision.internal.ProvisionService.installFromContextConfigurationUrl(ProvisionService.java:1160)
    at com.ibm.team.jfs.app.install.Activator$1.run(Activator.java:172)
    at java.lang.Thread.run(Thread.java:736)
Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in D:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\<ServerName>\server1\jazz_war\jazz.war\eclipse\configuration\org.eclipse.osgi\bundles\526\1\bundlefile.
    at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:110)
    at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:711)
    at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.generateManifest(EclipseStorageHook.java:443)
    ... 20 more
Caused by: java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:139)
    at java.util.zip.ZipFile.<init>(ZipFile.java:155)
    at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.findPluginManifest(PluginConverterImpl.java:179)
    at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:108)
    ... 22 more
2013-08-01 20:30:10,868 [       Launch callback handler] ERROR eam.repository.provision.internal.ProvisionService  - CRJAZ0288I Failed to install the profile feature "HelloWorldsite_feature" from the update site "file:jazz/sites/HelloWorldsite" referenced in the profile file "D:\IBM\JTS401\server\conf\jazz\provision_profiles\HelloWorldsite.ini".

One answer



permanent link
sam detweiler (12.5k6195201) | answered Aug 02 '13, 8:37 a.m.
did u create the jazz folder? \JTS401\server\conf\jazz\provision_profiles\

on my system this is ccm
\JTS401\server\conf\ccm\provision_profiles\

Comments
deb pro commented Aug 02 '13, 9:05 a.m.

Hi Sam,
Thanks for your reply,  yes the \JTS401\server\conf\jazz\provision_profiles\ folder is there. And ini file also present with correct path.

This plugin is worked on dev server (Win with websphere) but not in test(Win with websphere with secured and firewall).

Please replay if any more information is required.


1
sam detweiler commented Aug 02 '13, 9:14 a.m.

well, it looks like there is some problem reading the file

Caused by: java.util.zip.ZipException: error in opening zip file maybe the zip was damaged in ftp transfer ( just a guess)


deb pro commented Aug 02 '13, 9:42 a.m.

very very thanks for your input.

We have unzip this jar  manually using 7zip. and its opening currently. 




sam detweiler commented Aug 02 '13, 9:48 a.m.

only other things I have seen

1. the jar file isn't copied, but the artifacts.jar was. (or vice versa)
"file:/D:/IBM/JTS401/server/conf/jazz/sites/HelloWorldsite/plugins/HelloWorldsite_1.1.9.201307231920.jar".
2. the zip format is wrong (7zip vs winzip format).

in test, I just have the eclipse site.xml build directly to the server sites folder.


1
deb pro commented Aug 02 '13, 1:23 p.m.

very usefull response.

All plugins and features jar files has been copied . Basicaly we had copied entire site folder into /jazz/sites folder.

Regarding zip format , just for checking we extract the jar files on RTC server for checking that jar files are not curropted.

Site.xml files is there .

So ,  please suggest  for further  workaround and againe thanks for your valuable suggesion & support.

 


sam detweiler commented Aug 02 '13, 1:47 p.m.

hm.. file:/d:/
aren't file urls supposed to be file://d:

are u using absolute path in you ini file, or relative?
one of mine is like this

url=file:ccm/xxsites/newlinks
featureid=Linktypes_Feature




deb pro commented Aug 02 '13, 2:23 p.m.

we had tried both

Senario 1

url=file:jazz/sites/HeelloWorldsite

featured=HelloWorldsite_feature

Senario 2

url=file:///D:/IBM/JTS401/server/conf/jazz/sites/HelloWorldsite

featured=HelloWorldsite_feature

but getting same result.

showing 5 of 7 show 2 more comments

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.