Hudson CI [message #638435] |
Thu, 11 November 2010 09:59 |
AA Messages: 2 Registered: November 2010 |
Junior Member |
|
|
Hi All,
I am just wondering if it is possible to deploy bundles to Virgo server via configured Hudson jobs and Maven. Similar to tomcat Maven plugin by which we can deploy artifacts to tomcat container.
Regards,
AA
[Updated on: Thu, 11 November 2010 10:00] Report message to a moderator
|
|
|
|
Re: Hudson CI [message #640008 is a reply to message #638435] |
Thu, 18 November 2010 16:25 |
Ivar Suisalu Messages: 3 Registered: November 2010 |
Junior Member |
|
|
Hi.
Actually we are doing this - Hudson copies built by maven bundles into dm server usr repository and later on we copy plan file into pickup folder.
Mostly works, but i am not 100% satisfied, so i decided to do another way
around:
I have kind of plan file, which beside of artefacts, defines dependencies between them. This plan (i call it provisioning spec) is processed by provisioning service, which works together with maven local repo and remote ones and if it finds new updates to artifacts then it deployes them into
dm server(i am talking about version 2.0.4 - i couldn't find virgo deps in repos),
using JMX deployer.
Now problem is, that after some deployments in a raw server tells, me that:
--------
[2010-11-18 17:03:07.556] service-monitor-thread-1 <KE0100W> Reference '&org.springframework.osgi.service.importer.support.Osgi ServiceProxyFactoryBean#0' in bundle 'com.springsource.kernel.deployer' version '2.0.4.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.region.Region)'.
[2010-11-18 17:03:07.558] service-monitor-thread-1 <KE0100W> Reference '&bundleStarter' in bundle 'com.springsource.kernel.deployer' version '2.0.4.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.core.BundleStarter)'.
---------------
and after a while the timeout occurs:
----------------------
[2010-11-18 17:08:02.624] Thread-3 <AG0000E> Application context creation failure for bundle 'com.springsource.kernel.deployer' version '2.0.4.RELEASE'. org.springframework.context.ApplicationContextException: Application context initialization for 'com.springsource.kernel.deployer' has timed out
at org.springframework.osgi.extender.internal.dependencies.star tup.DependencyWaiterApplicationContextExecutor.timeout(Depen dencyWaiterApplicationContextExecutor.java:454)
-----------------------------
Actually the bundles are deployed, but the message is annoying.
Anybody can comment, what could be wrong?
From admin console the 'com.springsource.kernel.deployer' bundle looks 'active' all the time.
Regards
Ivar
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05427 seconds