Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » error when installing Snaps 3.0.2 on VTS 3.0.2(error when installing Snaps 3.0.2 on VTS 3.0.2)
error when installing Snaps 3.0.2 on VTS 3.0.2 [message #759831] Wed, 30 November 2011 09:09 Go to next message
hserai is currently offline hseraiFriend
Messages: 3
Registered: November 2011
Junior Member
2011-11-30 00:57:26.651] start-signalling-1 <DE0005I> Started plan 'org.eclipse.virgo.web.tomcat' version '3.0.0'.
[2011-11-30 00:57:26.842] system-artifacts <DE0000I> Installing plan 'org.eclipse.virgo.snaps' version '3.0.0'.
[2011-11-30 00:57:27.040] system-artifacts <DE0000I> Installing bundle 'org.eclipse.virgo.snaps.api' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.520] system-artifacts <DE0000I> Installing bundle 'org.eclipse.virgo.snaps.core' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.580] system-artifacts <DE0001I> Installed bundle 'org.eclipse.virgo.snaps.api' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.583] system-artifacts <DE0001I> Installed bundle 'org.eclipse.virgo.snaps.core' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.587] system-artifacts <DE0001I> Installed plan 'org.eclipse.virgo.snaps' version '3.0.0'.
[2011-11-30 00:57:27.605] system-artifacts <DE0004I> Starting plan 'org.eclipse.virgo.snaps' version '3.0.0'.
[2011-11-30 00:57:27.609] system-artifacts <DE0004I> Starting bundle 'org.eclipse.virgo.snaps.api' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.625] system-artifacts <DE0004I> Starting bundle 'org.eclipse.virgo.snaps.core' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.628] start-signalling-1 <DE0005I> Started bundle 'org.eclipse.virgo.snaps.api' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.771] start-signalling-1 <DE0005I> Started bundle 'org.eclipse.virgo.snaps.core' version '3.0.2.RELEASE'.
[2011-11-30 00:57:27.775] start-signalling-1 <DE0005I> Started plan 'org.eclipse.virgo.snaps' version '3.0.0'.
[2011-11-30 00:57:27.778] system-artifacts <DE0501E> Cannot deploy artifact from URI ''. Deployment of 'null' URIs is not supported.
[2011-11-30 00:57:27.782] system-artifacts <UR0002E> User region failed while deploying initial artifacts. Shutting down.
[2011-11-30 00:57:27.862] System Bundle Shutdown <KE0010I> Shutdown initiated.
[2011-11-30 00:57:28.005] System Bundle Shutdown <TC0002I> Stopping Tomcat.
[2011-11-30 00:57:31.029] System Bundle Shutdown <TC0003I> Stopped Tomcat.


I am following the snaps installation instructions from the virgo documentation resources.

The log file doesnt have much information about the problem either:
[2011-11-30 00:51:49.840] INFO start-signalling-1 org.eclipse.virgo.medic.eventlog.default DE0005I Started bundle 'org.eclipse.virgo.snaps.core' version '3.0.2.RELEASE'.
[2011-11-30 00:51:49.840] INFO start-signalling-1 o.e.v.k.i.artifact.internal.bundle.BundleThreadContextManager Thread context class loader 'KernelBundleClassLoader: [bundle=org.eclipse.virgo.snaps.core_3.0.2.RELEASE]' popped and set to 'BundleDelegatingClassLoader for [spring-osgi-extender (org.springframework.osgi.extender)]'
[2011-11-30 00:51:49.844] INFO start-signalling-1 org.eclipse.virgo.medic.eventlog.default DE0005I Started plan 'org.eclipse.virgo.snaps' version '3.0.0'.
[2011-11-30 00:51:49.847] ERROR system-artifacts org.eclipse.virgo.medic.eventlog.default DE0501E Cannot deploy artifact from URI ''. Deployment of 'null' URIs is not supported.
[2011-11-30 00:51:49.850] ERROR system-artifacts org.eclipse.virgo.medic.eventlog.default UR0002E User region failed while deploying initial artifacts. Shutting down.
[2011-11-30 00:51:49.856] INFO System Bundle Shutdown o.e.v.kernel.dmfragment.internal.ApplicationContextShutdownBean Setting timeout to 0 for proxy 'org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean@557555b8' of application context 'OsgiBundleXmlApplicationContext(bundle=org.springframework.osgi.extender, config=bundleentry://79.fwk389362249/META-INF/spring/extender/kernel-dmfragment-context.xml): startup date [Wed Nov 30 00:51:44 PST 2011]; root of context hierarchy'
Re: error when installing Snaps 3.0.2 on VTS 3.0.2 [message #759951 is a reply to message #759831] Wed, 30 November 2011 16:42 Go to previous messageGo to next message
Hristo Iliev is currently offline Hristo IlievFriend
Messages: 156
Registered: May 2010
Location: Sofia, Bulgaria
Senior Member

I just tested snaps and it worked as expected on my setup.

Judging from the exception message it is possible that initialArtifacts is not correct. Can you post the userregion configuration (org.eclipse.virgo.kernel.userregion.properties)?

Have you tried to start Virgo with "-clean"?
Re: error when installing Snaps 3.0.2 on VTS 3.0.2 [message #759963 is a reply to message #759951] Wed, 30 November 2011 18:01 Go to previous messageGo to next message
hserai is currently offline hseraiFriend
Messages: 3
Registered: November 2011
Junior Member
I have tried -clean a few times but that doesn't work. Anyone know why VTS will through this kind of error? I am trying to understand what exactly it is complaining about...

Here is the edited portion of my 'org.eclipse.virgo.kernel.userregion.properties':
# the next line must not be broken with back-slashes
initialArtifacts=repository:plan/org.eclipse.virgo.kernel.userregion.springdm, repository:plan/org.eclipse.virgo.web.tomcat, repository:plan/org.eclipse.virgo.snaps

I am running on MAC 10.6.8, java version 1.6.0_29
Re: error when installing Snaps 3.0.2 on VTS 3.0.2 [message #759967 is a reply to message #759951] Wed, 30 November 2011 18:20 Go to previous messageGo to next message
hserai is currently offline hseraiFriend
Messages: 3
Registered: November 2011
Junior Member
I did a clean install of both VTS and snaps. Everything is working now...
Re: error when installing Snaps 3.0.2 on VTS 3.0.2 [message #759989 is a reply to message #759967] Wed, 30 November 2011 19:30 Go to previous message
Hristo Iliev is currently offline Hristo IlievFriend
Messages: 156
Registered: May 2010
Location: Sofia, Bulgaria
Senior Member

Adding a comma in intialArtifacts reproduces the problem:

# the next line must not be broken with back-slashes
initialArtifacts=repository:plan/org.eclipse.virgo.kernel.userregion.springdm, repository:plan/org.eclipse.virgo.web.tomcat, repository:plan/org.eclipse.virgo.snaps,


The same effect can be achieved with additional comma:
# the next line must not be broken with back-slashes
initialArtifacts=repository:plan/org.eclipse.virgo.kernel.userregion.springdm, repository:plan/org.eclipse.virgo.web.tomcat,, repository:plan/org.eclipse.virgo.snaps



The URI is indeed "null" Smile

[Updated on: Wed, 30 November 2011 19:53]

Report message to a moderator

Previous Topic:Virgo 3.0.1 greenpages 2.4 build problems in STS 2.8
Next Topic:Is Virgo web container capable of using OSGI bundles?
Goto Forum:
  


Current Time: Fri Nov 28 16:18:56 GMT 2014

Powered by FUDForum. Page generated in 0.02327 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software