HELP! Cannot provision a new Jazz Server Component
I am creating a new server component, and tried to provision it as stated in this tutorial:
https://jazz.net/wiki/bin/view/Main/UsingJazzProvisioner But I keep getting the error (see below). I am using RC1, and here is my config profile: url=file:/jazz/componentdev/com.ibm.ratlc.test.advisor.updatesite featureid=com.ibm.ratlc.test.advisor.feature I would appreciate any help received. C:\jazz\RC1-Platform\jazz\server>repotools.bat -addTables Repo Tools, Version 0.6.0.I200804232047 Provisioning using "./provision_profiles". Failed to connect to java.io.FileNotFoundException: \jazz\componentdev\com.ibm.ratlc.test.advisor.updatesite\site.xml (The system cannot find the path specified.) at java.io.FileInputStream.<init>(FileInputStream.java:135) at java.io.FileInputStream.<init>(FileInputStream.java:95) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:85) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:176) at java.net.URL.openStream(URL.java:1042) at com.ibm.team.repository.provision.internal.xml.AbstractXMLParser.invokeParser(AbstractXMLParser.java:40) at com.ibm.team.repository.provision.internal.xml.SiteXMLParser.parse(SiteXMLParser.java:48) at com.ibm.team.repository.provision.internal.ProvisionService.connect(ProvisionService.java:158) at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfiles(ProvisionService.java:725) at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:635) at com.ibm.team.repotools.rcp.internal.Provisioner.provision(Provisioner.java:84) at com.ibm.team.repotools.rcp.internal.Provisioner.installFromProfile(Provisioner.java:75) at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.provision(RepositoryToolsApplication.java:489) at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:523) at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:584) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) Failed to install profile feature Migration failed |
4 answers
Thanks a lot Richard!
By "url=file:/jazz/componentdev/...", I did not know the tutorial meant the path to the workspace (and project). I have corrected it now, and I'm able to get past the problem. I appreciate your help. |
It might be easier if we stepped back a bit first. How did you create
the update-site that contains your Jazz Server Component ? Did you use the PDE tooling in Eclipse ? If so then the update-site will be located in a project in your workspace. By the look of the url you detailed I will guess that the project name is "com.ibm.ratlc.test.advisor.updatesite". The url provided in the profile file must contain a fully qualified path to the project. The example given on the https://jazz.net/wiki/bin/view/Main/UsingJazzProvisioner page details an eclipse workspace located at /jazz/componentdev and the update-site project is called com.example.jazztalk.server.updatesite Richard Jazz Web UI and Server development cobi wrote: Thanks for the feedback Richard... |
Thanks for the feedback Richard...
However, I had searched for the folder called: |
The error is telling you that the update-site you are pointing to is not
found. The url you have provided in your profile file is file:/jazz/componentdev/com.ibm.ratlc.test.advisor.updatesite The provisioner expects to find the update-site site.xml in a directory called /jazz/componentdev/com.ibm.ratlc.test.advisor.updatesite You will also need to make sure that that directory contains the features and plugins directories containing the update-site artifacts. Richard Jazz Web UI and Server Development. cobi wrote: I am creating a new server component, and tried to provision it as |
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.