provisional profile loading mechanism
Hi-,
I am interested to know how the provisional profile mechanism works when Jazz is running on WAS 6.1. I know the WAS is able to read the provisional profiles from the value defined in com.ibm.team.repository.provision.profile. However my question is
1) How Jazz identifies the number of provisional profile files and its sequences?
2) The sequence of loading provisional profile is important, ideally it loads license-profile.ini followed by profile.ini. This will get JAZZ runtime for our own developed service. Is this loading the ini file in alphabetical order from the location defined in com.ibm.team.repository.provision.profile? Or it loads based on date and time? How this is being managed in Jazz internally?
We have our application, which we used to extend using xprofile.ini. This is require JAZZ common services, so it has to be load last. On some cases we had seen this load first before profile.ini when we do a /jazz/admin/cmd/requestReset. So Jazz fails. By observing this behavior we can't see its loading in alphabetical order. The error we get such time is pasted below.
0000001c WebGroup A SRVE0169I: Loading Web Module: jazz.war.
0000001c SystemOut O Attempting to delete
00000055 SystemOut O 09:39:47,286 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0279I Connected to "file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,288 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Installing the feature "com.ibm.team.rtc.server.license.standard-trial.feature_1.0.1".
00000055 SystemOut O 09:39:47,291 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0299I Installing bundle from the URL "file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site/plugins/com.ibm.team.rtc.server.license.standard-trial_1.0.1.jar".
00000055 SystemOut O 09:39:47,294 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0284I Disconnected from "file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,296 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0279I Connected to "file:/apps/IBM/JazzTeamServer-WAS/server/af_update_site".
00000055 SystemOut O 09:39:47,297 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Installing the feature "com.ibm.af.server.feature_2.6.1".
00000055 SystemOut O 09:39:47,299 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Installing the feature "com.ibm.af.common.feature_2.6.1".
00000055 SystemOut O 09:39:47,301 ERROR eam.repository.provision.internal.ProvisionService - CRJAZ0281I The dependency bundle "com.ibm.team.repository.common" is not installed.
00000055 SystemOut O 09:39:47,302 ERROR eam.repository.provision.internal.ProvisionService - CRJAZ0288I Failed to install the profile feature "com.ibm.af.server.feature".
com.ibm.team.repository.provision.ProvisionException: CRJAZ0281I The dependency bundle "com.ibm.team.repository.common" is not installed.
at com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:324)
at com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:345)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:746)
at com.ibm.team.repository.web.internal.provision.ProvisionRestServlet.init(ProvisionRestServlet.java:51)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
at com.ibm.team.repository.web.internal.Activator.addingService(Activator.java:74)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at com.ibm.team.repository.web.internal.Activator.start(Activator.java:49)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
The error is because our provisional profile loads first before actual Jazz profiles license-profile.ini and .profile.ini
In this point some times the name for our profile file profile2.ini works, sometimes xprofile.ini works, sometimes this does not work. Can any one tell me how to manage the provisional profile loading sequence?
Thanks,
Rijesh.
I am interested to know how the provisional profile mechanism works when Jazz is running on WAS 6.1. I know the WAS is able to read the provisional profiles from the value defined in com.ibm.team.repository.provision.profile. However my question is
1) How Jazz identifies the number of provisional profile files and its sequences?
2) The sequence of loading provisional profile is important, ideally it loads license-profile.ini followed by profile.ini. This will get JAZZ runtime for our own developed service. Is this loading the ini file in alphabetical order from the location defined in com.ibm.team.repository.provision.profile? Or it loads based on date and time? How this is being managed in Jazz internally?
We have our application, which we used to extend using xprofile.ini. This is require JAZZ common services, so it has to be load last. On some cases we had seen this load first before profile.ini when we do a /jazz/admin/cmd/requestReset. So Jazz fails. By observing this behavior we can't see its loading in alphabetical order. The error we get such time is pasted below.
0000001c WebGroup A SRVE0169I: Loading Web Module: jazz.war.
0000001c SystemOut O Attempting to delete
00000055 SystemOut O 09:39:47,286 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0279I Connected to "file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,288 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Installing the feature "com.ibm.team.rtc.server.license.standard-trial.feature_1.0.1".
00000055 SystemOut O 09:39:47,291 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0299I Installing bundle from the URL "file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site/plugins/com.ibm.team.rtc.server.license.standard-trial_1.0.1.jar".
00000055 SystemOut O 09:39:47,294 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0284I Disconnected from "file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,296 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0279I Connected to "file:/apps/IBM/JazzTeamServer-WAS/server/af_update_site".
00000055 SystemOut O 09:39:47,297 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Installing the feature "com.ibm.af.server.feature_2.6.1".
00000055 SystemOut O 09:39:47,299 INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Installing the feature "com.ibm.af.common.feature_2.6.1".
00000055 SystemOut O 09:39:47,301 ERROR eam.repository.provision.internal.ProvisionService - CRJAZ0281I The dependency bundle "com.ibm.team.repository.common" is not installed.
00000055 SystemOut O 09:39:47,302 ERROR eam.repository.provision.internal.ProvisionService - CRJAZ0288I Failed to install the profile feature "com.ibm.af.server.feature".
com.ibm.team.repository.provision.ProvisionException: CRJAZ0281I The dependency bundle "com.ibm.team.repository.common" is not installed.
at com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:324)
at com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:345)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:746)
at com.ibm.team.repository.web.internal.provision.ProvisionRestServlet.init(ProvisionRestServlet.java:51)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
at com.ibm.team.repository.web.internal.Activator.addingService(Activator.java:74)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at com.ibm.team.repository.web.internal.Activator.start(Activator.java:49)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
The error is because our provisional profile loads first before actual Jazz profiles license-profile.ini and .profile.ini
In this point some times the name for our profile file profile2.ini works, sometimes xprofile.ini works, sometimes this does not work. Can any one tell me how to manage the provisional profile loading sequence?
Thanks,
Rijesh.
One answer
I have seen similar problems when trying to extend the jazz server
through the profiles. I would suggest opening a bug about the undefined
order of the provisioning.
-
Matt Lavin
Jazz Server Team
On Wed, 2009-05-27 at 14:08 +0000, rijeshpp wrote:
00000055 SystemOut O 09:39:47,286 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0279I
Connected to
"file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,288 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0300I
Installing the feature
"com.ibm.team.rtc.server.license.standard-trial.feature_1.0.1".
00000055 SystemOut O 09:39:47,291 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0299I
Installing bundle from the URL
"file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site/plugins/com.ibm.team.rtc.server.license.standard-trial_1.0.1.jar".
00000055 SystemOut O 09:39:47,294 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0284I
Disconnected from
"file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,296 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0279I
Connected to
"file:/apps/IBM/JazzTeamServer-WAS/server/af_update_site".
00000055 SystemOut O 09:39:47,297 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0300I
Installing the feature "com.ibm.af.server.feature_2.6.1".
00000055 SystemOut O 09:39:47,299 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0300I
Installing the feature "com.ibm.af.common.feature_2.6.1".
00000055 SystemOut O 09:39:47,301 ERROR
eam.repository.provision.internal.ProvisionService - CRJAZ0281I The
dependency bundle "com.ibm.team.repository.common" is not
installed.
00000055 SystemOut O 09:39:47,302 ERROR
eam.repository.provision.internal.ProvisionService - CRJAZ0288I
Failed to install the profile feature
"com.ibm.af.server.feature".
com.ibm.team.repository.provision.ProvisionException: CRJAZ0281I The
dependency bundle "com.ibm.team.repository.common" is not
installed.
at
com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:324)
at
com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:345)
at
com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:746)
at
com.ibm.team.repository.web.internal.provision.ProvisionRestServlet.init(ProvisionRestServlet.java:51)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
at
org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
at
com.ibm.team.repository.web.internal.Activator.addingService(Activator.java:74)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at
com.ibm.team.repository.web.internal.Activator.start(Activator.java:49)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at
java.security.AccessController.doPrivileged(AccessController.java:246)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
The error is because our provisional profile loads first before actual
Jazz profiles license-profile.ini and .profile.ini
In this point some times the name for our profile file profile2.ini
works, sometimes xprofile.ini works, sometimes this does not work.
Can any one tell me how to manage the provisional profile loading
sequence?
Thanks,
Rijesh.
through the profiles. I would suggest opening a bug about the undefined
order of the provisioning.
-
Matt Lavin
Jazz Server Team
On Wed, 2009-05-27 at 14:08 +0000, rijeshpp wrote:
Hi-,
I am interested to know how the provisional profile mechanism works
when Jazz is running on WAS 6.1. I know the WAS is able to read the
provisional profiles from the value defined in
com.ibm.team.repository.provision.profile. However my question is
1) How Jazz identifies the number of provisional profile files and its
sequences?
2) The sequence of loading provisional profile is important, ideally
it loads license-profile.ini followed by profile.ini. This will get
JAZZ runtime for our own developed service. Is this loading the ini
file in alphabetical order from the location defined in
com.ibm.team.repository.provision.profile? Or it loads based on date
and time? How this is being managed in Jazz internally?
We have our application, which we used to extend using xprofile.ini.
This is require JAZZ common services, so it has to be load last. On
some cases we had seen this load first before profile.ini when we do
a /jazz/admin/cmd/requestReset. So Jazz fails. By observing this
behavior we can't see its loading in alphabetical order. The error we
get such time is pasted below.
0000001c WebGroup A SRVE0169I:
Loading Web Module: jazz.war.
0000001c SystemOut O Attempting to
delete
00000055 SystemOut O 09:39:47,286 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0279I
Connected to
"file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,288 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0300I
Installing the feature
"com.ibm.team.rtc.server.license.standard-trial.feature_1.0.1".
00000055 SystemOut O 09:39:47,291 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0299I
Installing bundle from the URL
"file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site/plugins/com.ibm.team.rtc.server.license.standard-trial_1.0.1.jar".
00000055 SystemOut O 09:39:47,294 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0284I
Disconnected from
"file:/apps/IBM/JazzTeamServer-WAS/server/license-update-site".
00000055 SystemOut O 09:39:47,296 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0279I
Connected to
"file:/apps/IBM/JazzTeamServer-WAS/server/af_update_site".
00000055 SystemOut O 09:39:47,297 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0300I
Installing the feature "com.ibm.af.server.feature_2.6.1".
00000055 SystemOut O 09:39:47,299 INFO
eam.repository.provision.internal.ProvisionService - CRJAZ0300I
Installing the feature "com.ibm.af.common.feature_2.6.1".
00000055 SystemOut O 09:39:47,301 ERROR
eam.repository.provision.internal.ProvisionService - CRJAZ0281I The
dependency bundle "com.ibm.team.repository.common" is not
installed.
00000055 SystemOut O 09:39:47,302 ERROR
eam.repository.provision.internal.ProvisionService - CRJAZ0288I
Failed to install the profile feature
"com.ibm.af.server.feature".
com.ibm.team.repository.provision.ProvisionException: CRJAZ0281I The
dependency bundle "com.ibm.team.repository.common" is not
installed.
at
com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:324)
at
com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:345)
at
com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:746)
at
com.ibm.team.repository.web.internal.provision.ProvisionRestServlet.init(ProvisionRestServlet.java:51)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
at
org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
at
com.ibm.team.repository.web.internal.Activator.addingService(Activator.java:74)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at
com.ibm.team.repository.web.internal.Activator.start(Activator.java:49)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at
java.security.AccessController.doPrivileged(AccessController.java:246)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
The error is because our provisional profile loads first before actual
Jazz profiles license-profile.ini and .profile.ini
In this point some times the name for our profile file profile2.ini
works, sometimes xprofile.ini works, sometimes this does not work.
Can any one tell me how to manage the provisional profile loading
sequence?
Thanks,
Rijesh.