Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Adding maven to the provisioning repository
Adding maven to the provisioning repository [message #632761] Thu, 14 October 2010 08:24 Go to next message
Lorie Pisicchio is currently offline Lorie PisicchioFriend
Messages: 44
Registered: October 2010
Member
I'm trying to add my local maven repository to the Virgo provisioning repository.
For this, I followed the Virgo user guide : I edited $VWS_HOME/config/org.eclipse.virgo.repository.properties, and add those lines
maven-repo.type=external
maven-repo.searchPattern=/home/lorie/.m2/repository/**/{bund le}.jar
also add the maven-repo string to the chain variable
chain=ext,usr,maven-repo

But after this modification, I'm no longer able to start the Virgo Web Server (no bundle deployed). I get the following error :
[2010-10-14 10:06:16.173] system-artifacts <TC0011E> Failed to start Tomcat. Port 8080 is in use.

Any help would be appreciated.

[Updated on: Thu, 14 October 2010 08:25]

Report message to a moderator

Re: Adding maven to the provisioning repository [message #632791 is a reply to message #632761] Thu, 14 October 2010 09:43 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Sometimes adding a Maven repo to the chain can cause issues because Spring has many optional dependencies which are then suddenly satisfied.

However, in this case it seems that you have another process, like an earlier instance of Virgo, listening on port 8080, so I would check that first.
Re: Adding maven to the provisioning repository [message #633103 is a reply to message #632791] Fri, 15 October 2010 11:50 Go to previous messageGo to next message
Lorie Pisicchio is currently offline Lorie PisicchioFriend
Messages: 44
Registered: October 2010
Member
Hello Glen,
Thanks for your support.
Here are the steps I'm following.
I first start the Virgo server without Maven repository. The server starts fine. (see the trace below)
[2010-10-15 13:42:46.525] startup-tracker              <KE0001I> Kernel starting. 
[2010-10-15 13:42:52.442] startup-tracker              <KE0002I> Kernel started. 
[2010-10-15 13:42:52.636] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:42:52.732] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:42:52.759] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:42:52.770] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:42:52.783] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:52.804] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:57.593] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:42:57.597] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:42:57.601] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:42:57.606] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:57.610] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:57.614] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:42:57.644] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:42:57.652] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:42:57.662] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:42:57.667] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:42:58.115] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:42:58.118] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:42:58.125] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:42:58.127] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.145] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.149] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.272] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.276] start-signalling-1           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:42:58.414] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.web' version '2.1.0'. 
[2010-10-15 13:42:58.457] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:58.491] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.tomcat' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:58.506] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.513] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.523] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.746] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:58.750] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.tomcat' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:58.753] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.756] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.760] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:58.763] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.web' version '2.1.0'. 
[2010-10-15 13:42:58.780] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.web' version '2.1.0'. 
[2010-10-15 13:42:58.785] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:58.802] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:58.810] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.tomcat' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:59.431] system-artifacts             <TC0000I> Starting Tomcat. 
[2010-10-15 13:42:59.511] system-artifacts             <TC0010I> Creating HTTP/1.1 connector with scheme http on port 8080. 
[2010-10-15 13:42:59.525] system-artifacts             <TC0010I> Creating HTTP/1.1 connector with scheme https on port 8443. 
[2010-10-15 13:42:59.539] system-artifacts             <TC0010I> Creating AJP/1.3 connector with scheme http on port 8009. 
[2010-10-15 13:42:59.602] system-artifacts             <TC0001I> Started Tomcat. 
[2010-10-15 13:42:59.638] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.web.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:59.646] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.web.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:59.651] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.web.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:59.666] system-artifacts             <DE0005I> Started bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:59.839] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.gemini.web.tomcat' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:42:59.843] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.web.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:42:59.847] start-signalling-2           <DE0005I> Started plan 'org.eclipse.virgo.web' version '2.1.0'. 
[2010-10-15 13:42:59.855] Thread-2                     <UR0001I> User region ready. 
[2010-10-15 13:43:00.878] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation.par' . 
[2010-10-15 13:43:00.983] fs-watcher                   <DE0000I> Installing par 'org.eclipse.virgo.apps.repository' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:00.987] fs-watcher                   <DE0000I> Installing bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:00.992] fs-watcher                   <DE0000I> Installing bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.354] fs-watcher                   <DE0001I> Installed bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.361] fs-watcher                   <DE0001I> Installed bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.365] fs-watcher                   <DE0001I> Installed bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-synt hetic.context' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.373] fs-watcher                   <DE0001I> Installed par 'org.eclipse.virgo.apps.repository' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.400] fs-watcher                   <DE0004I> Starting par 'org.eclipse.virgo.apps.repository' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.417] fs-watcher                   <DE0004I> Starting bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.525] fs-watcher                   <DE0004I> Starting bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.547] Thread-3                     <WE0000I> Starting web bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.web' version '2.1.0.M06-incubation' with context path '/org.eclipse.virgo.apps.repository'. 
[2010-10-15 13:43:01.549] fs-watcher                   <DE0004I> Starting bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-synt hetic.context' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.566] start-signalling-1           <DE0005I> Started bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-synt hetic.context' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:01.576] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.splash-2.1.0.M06-incubation.war'. 
[2010-10-15 13:43:01.865] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:02.035] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:02.054] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:02.074] Thread-3                     <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.M06-incubation' with context path '/'. 
[2010-10-15 13:43:02.075] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.admin-2.1.0.M06-incubation.plan'. 
[2010-10-15 13:43:02.341] fs-watcher                   <DE0000I> Installing plan 'org.eclipse.virgo.apps.admin.plan' version '2.1.0'. 
[2010-10-15 13:43:02.354] start-signalling-3           <DE0005I> Started bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:02.372] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:02.701] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:03.080] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:03.084] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:03.087] fs-watcher                   <DE0001I> Installed plan 'org.eclipse.virgo.apps.admin.plan' version '2.1.0'. 
[2010-10-15 13:43:03.142] fs-watcher                   <DE0004I> Starting plan 'org.eclipse.virgo.apps.admin.plan' version '2.1.0'. 
[2010-10-15 13:43:03.147] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:03.167] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:03.188] Thread-3                     <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.M06-incubation' with context path '/admin'. 
[2010-10-15 13:43:03.648] start-signalling-4           <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:04.175] Thread-3                     <WE0001I> Started web bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.web' version '2.1.0.M06-incubation' with context path '/org.eclipse.virgo.apps.repository'. 
[2010-10-15 13:43:04.178] start-signalling-2           <DE0005I> Started bundle  'org.eclipse.virgo.apps.repository-2.1.0.M06-incubation-org. eclipse.virgo.apps.repository.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:04.182] start-signalling-2           <DE0005I> Started par 'org.eclipse.virgo.apps.repository' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:04.588] Thread-3                     <WE0001I> Started web bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.M06-incubation' with context path '/admin'. 
[2010-10-15 13:43:04.591] start-signalling-3           <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.M06-incubation'. 
[2010-10-15 13:43:04.594] start-signalling-3           <DE0005I> Started plan 'org.eclipse.virgo.apps.admin.plan' version '2.1.0'. 
[2010-10-15 13:43:04.705] Thread-3                     <WE0001I> Started web bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.M06-incubation' with context path '/'. 
[2010-10-15 13:43:04.708] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.M06-incubation'. 


Then, I stop this server instance.
I modify the configuration file to add Maven to the provisioning repository.
And then, I start the server. This time, it crashes with the following trace :
[2010-10-15 13:45:50.912] startup-tracker              <KE0001I> Kernel starting. 
[2010-10-15 13:45:56.930] service-monitor-thread-1     <KE0100W> Reference '&repository' in bundle 'org.eclipse.virgo.kernel.osgi' version '2.1.0.M06-incubation' is waiting for service with filter '(objectClass=org.eclipse.virgo.repository.Repository)'. 
[2010-10-15 13:46:00.527] service-monitor-thread-1     <KE0100W> Reference '&packageAdminUtil' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.Packag eAdminUtil)'. 
[2010-10-15 13:46:00.528] service-monitor-thread-1     <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.quasi.QuasiFrame workFactory)'. 
[2010-10-15 13:46:00.530] service-monitor-thread-1     <KE0100W> Reference '&runtimeArtifactModel' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.deployer.model.Runtim eArtifactModel)'. 
[2010-10-15 13:46:00.531] service-monitor-thread-1     <KE0100W> Reference '&userBundleContext' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' is waiting for service with filter  '(&(objectClass=org.osgi.framework.BundleContext)(org.ec lipse.virgo.kernel.regionContext=true))'. 
[2010-10-15 13:46:00.533] service-monitor-thread-1     <KE0100W> Reference '&applicationDeployer' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.deployer.core.Applica tionDeployer)'. 
[2010-10-15 13:46:00.534] service-monitor-thread-1     <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.quasi.QuasiFrame workFactory)'. 
[2010-10-15 13:46:00.536] service-monitor-thread-1     <KE0100W> Reference '&moduleContextAccessor' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.module.ModuleContextA ccessor)'. 
[2010-10-15 13:46:00.539] service-monitor-thread-1     <KE0100W> Reference '&userRegionBundleContext' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' is waiting for service with filter  '(&(objectClass=org.osgi.framework.BundleContext)(org.ec lipse.virgo.kernel.regionContext=true))'. 
[2010-10-15 13:46:00.541] service-monitor-thread-1     <KE0100W> Reference '&deployer' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.deployer.core.Applica tionDeployer)'. 
[2010-10-15 13:46:00.783] service-monitor-thread-1     <KE0100W> Reference '&objectNameCreator' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.model.management.Runt imeArtifactModelObjectNameCreator)'. 
[2010-10-15 13:46:00.935] service-monitor-thread-1     <KE0100W> Reference  '&org.springframework.osgi.service.importer.support.Osgi ServiceProxyFactoryBean#0' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.region.Region)'. 
[2010-10-15 13:46:00.937] service-monitor-thread-1     <KE0100W> Reference '&packageAdminUtil' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.Packag eAdminUtil)'. 
[2010-10-15 13:46:00.938] service-monitor-thread-1     <KE0100W> Reference '&repository' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' is waiting for service with filter '(objectClass=org.eclipse.virgo.repository.Repository)'. 
[2010-10-15 13:46:00.940] service-monitor-thread-1     <KE0100W> Reference '&osgiFramework' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.OsgiFr amework)'. 
[2010-10-15 13:46:00.942] service-monitor-thread-1     <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.quasi.QuasiFrame workFactory)'. 
[2010-10-15 13:46:00.943] service-monitor-thread-1     <KE0100W> Reference '&importExpander' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.Import Expander)'. 
[2010-10-15 13:46:11.930] service-monitor-thread-1     <KE0100W> Reference '&repository' in bundle 'org.eclipse.virgo.kernel.osgi' version '2.1.0.M06-incubation' is waiting for service with filter '(objectClass=org.eclipse.virgo.repository.Repository)'. 
[2010-10-15 13:46:14.202] Thread-3                     <KE0101I> Reference '&repository' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' was satisfied by service with filter '(objectClass=org.eclipse.virgo.repository.Repository)'. 
[2010-10-15 13:46:14.204] Thread-3                     <KE0101I> Reference '&repository' in bundle 'org.eclipse.virgo.kernel.osgi' version '2.1.0.M06-incubation' was satisfied by service with filter '(objectClass=org.eclipse.virgo.repository.Repository)'. 
[2010-10-15 13:46:14.735] Thread-3                     <KE0101I> Reference '&importExpander' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.Import Expander)'. 
[2010-10-15 13:46:14.742] Thread-3                     <KE0101I> Reference '&osgiFramework' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.OsgiFr amework)'. 
[2010-10-15 13:46:14.747] Thread-3                     <KE0101I> Reference '&quasiFrameworkFactory' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.quasi.QuasiFrame workFactory)'. 
[2010-10-15 13:46:14.750] Thread-3                     <KE0101I> Reference '&quasiFrameworkFactory' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.quasi.QuasiFrame workFactory)'. 
[2010-10-15 13:46:14.752] Thread-3                     <KE0101I> Reference '&quasiFrameworkFactory' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.quasi.QuasiFrame workFactory)'. 
[2010-10-15 13:46:14.757] Thread-3                     <KE0101I> Reference '&packageAdminUtil' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.Packag eAdminUtil)'. 
[2010-10-15 13:46:14.759] Thread-3                     <KE0101I> Reference '&packageAdminUtil' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.framework.Packag eAdminUtil)'. 
[2010-10-15 13:46:14.764] Thread-3                     <KE0101I> Reference '&moduleContextAccessor' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.module.ModuleContextA ccessor)'. 
[2010-10-15 13:46:14.781] Thread-3                     <KE0101I> Reference  '&org.springframework.osgi.service.importer.support.Osgi ServiceProxyFactoryBean#0' in bundle 'org.eclipse.virgo.kernel.deployer' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.osgi.region.Region)'. 
[2010-10-15 13:46:14.786] Thread-3                     <KE0101I> Reference '&userBundleContext' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' was satisfied by service with filter  '(&(objectClass=org.osgi.framework.BundleContext)(org.ec lipse.virgo.kernel.regionContext=true))'. 
[2010-10-15 13:46:14.801] Thread-3                     <KE0101I> Reference '&userRegionBundleContext' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' was satisfied by service with filter  '(&(objectClass=org.osgi.framework.BundleContext)(org.ec lipse.virgo.kernel.regionContext=true))'. 
[2010-10-15 13:46:14.980] Thread-3                     <KE0101I> Reference '&applicationDeployer' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.deployer.core.Applica tionDeployer)'. 
[2010-10-15 13:46:14.983] Thread-3                     <KE0101I> Reference '&deployer' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.deployer.core.Applica tionDeployer)'. 
[2010-10-15 13:46:15.399] Thread-3                     <KE0101I> Reference '&runtimeArtifactModel' in bundle 'org.eclipse.virgo.kernel.model' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.deployer.model.Runtim eArtifactModel)'. 
[2010-10-15 13:46:15.783] service-monitor-thread-1     <KE0100W> Reference '&objectNameCreator' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' is waiting for service with filter  '(objectClass=org.eclipse.virgo.kernel.model.management.Runt imeArtifactModelObjectNameCreator)'. 
[2010-10-15 13:46:15.924] Thread-3                     <KE0101I> Reference '&objectNameCreator' in bundle 'org.eclipse.virgo.kernel.shell' version '2.1.0.M06-incubation' was satisfied by service with filter  '(objectClass=org.eclipse.virgo.kernel.model.management.Runt imeArtifactModelObjectNameCreator)'. 
[2010-10-15 13:46:16.264] startup-tracker              <KE0002I> Kernel started. 
[2010-10-15 13:46:16.371] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:46:16.432] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:46:16.450] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:46:16.459] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:46:16.469] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:16.477] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:50.756] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:46:50.760] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:46:50.764] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:46:50.768] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:50.771] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:50.775] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:46:50.800] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:46:50.807] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:46:50.815] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-10-15 13:46:50.823] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:46:51.316] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-10-15 13:46:51.319] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:46:51.329] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.329] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-10-15 13:46:51.344] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.348] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.446] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.450] start-signalling-2           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-10-15 13:46:51.526] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.web' version '2.1.0'. 
[2010-10-15 13:46:51.539] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:46:51.559] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.tomcat' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:46:51.569] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.576] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.585] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.834] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:46:51.837] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.tomcat' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:46:51.840] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.core' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.844] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.dm' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.847] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.M06-incubation'. 
[2010-10-15 13:46:51.850] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.web' version '2.1.0'. 
[2010-10-15 13:46:51.872] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.web' version '2.1.0'. 
[2010-10-15 13:46:51.877] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:46:51.892] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.gemini.web.core' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:46:51.899] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.tomcat' version '1.1.0.RC1-incubation'. 
[2010-10-15 13:46:52.220] system-artifacts             <TC0011E> Failed to start Tomcat. Port 8080 is in use. 
[2010-10-15 13:46:52.234] System Bundle Shutdown       <KE0010I> Shutdown initiated. 


Any idea?

[Updated on: Fri, 15 October 2010 11:52]

Report message to a moderator

Re: Adding maven to the provisioning repository [message #633145 is a reply to message #633103] Fri, 15 October 2010 13:57 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
That's very odd.

Please could you start from scratch again, start the server successfully, stop the server using the same technique you used earlier, the start the server again without modifying its config.

If the second start is successful, it will rule out the (unlikely) possibility of the operating system not having released the port. If it was successful, please could you raise a bug report against Virgo so we can investigate the apparently incorrect diagnostics further. Of course this will probably be very hard to reproduce as you are unlikely to be able to zip up your whole Maven repo for us to test with. If you can cut down the Maven repo and preserve the failure, that would be very helpful.

Alternatively we could help you debug into the issuing of the TC0011E message. The relevant code is in the package org.eclipse.virgo.util.io:
Quote:

28 public final class NetUtils {
29
30 private static final int MIN_SAFE_PORT = 1024;
31
32 private static final int MAX_PORT = 65535;
33
34 private static final Random random = new Random();
35
36 /**
37 * Checks whether the supplied port is available on any local address.
38 *
39 * @param port the port to check for.
40 * @return <code>true</code> if the port is available, otherwise <code>false</code>.
41 */
42 public static boolean isPortAvailable(int port) {
43 ServerSocket socket;
44 try {
45 socket = new ServerSocket();
46 } catch (IOException e) {
47 throw new IllegalStateException("Unable to create ServerSocket.", e);
48 }
49
50 try {
51 InetSocketAddress sa = new InetSocketAddress(port);
52 socket.bind(sa);
53 return true;
54 } catch (IOException ex) {
55 return false;
56 } finally {
57 try {
58 socket.close();
59 } catch (IOException ex) {
60 }
61 }
62 }


which doesn't seem to depend much on the current state of Virgo initialisation.
Re: Adding maven to the provisioning repository [message #633155 is a reply to message #633145] Fri, 15 October 2010 14:11 Go to previous messageGo to next message
Lorie Pisicchio is currently offline Lorie PisicchioFriend
Messages: 44
Registered: October 2010
Member
I already tried this : when I don't change the configuration, I'm able to start and stop the Virgo server without any issues. Note that I use STS server interface for these actions.

I will create the bug report against Virgo.
Thanx for your help.

Re: Adding maven to the provisioning repository [message #633159 is a reply to message #633155] Fri, 15 October 2010 14:15 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Ok. Please would you attach the event log to the bug as I'd like to make sure Virgo has shutdown cleanly just in case there's some slip between STS and Virgo.
Re: Adding maven to the provisioning repository [message #633163 is a reply to message #633159] Fri, 15 October 2010 14:29 Go to previous messageGo to next message
Lorie Pisicchio is currently offline Lorie PisicchioFriend
Messages: 44
Registered: October 2010
Member
Here is a zip file containing :
- the configuration file working fine (org.eclipse.virgo.repository_OK.properties)
- the log file when starting and stopping the server successfully (successfull_start_and_stop.log)
- the configuration file declaring the maven repository as provisioning repository (org.eclipse.virgo.repository_KO.properties)
- the log file when server won't start with <TC0011E> Failed to start Tomcat. Port 8080 is in use. (failed_start_after_conf_change.log)

The new bug report have been created and has number Bug 327895

[Updated on: Fri, 15 October 2010 14:31]

Report message to a moderator

Re: Adding maven to the provisioning repository [message #633191 is a reply to message #633163] Fri, 15 October 2010 15:40 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Thanks Lorie. We'll look into this further next week.
Re: Adding maven to the provisioning repository [message #633203 is a reply to message #633191] Fri, 15 October 2010 16:04 Go to previous messageGo to next message
Lorie Pisicchio is currently offline Lorie PisicchioFriend
Messages: 44
Registered: October 2010
Member
With a dichotomic method, I finally found out that if I remove the folder org/ops4j from my maven repository, Virgo is able to start.
Find attached an archive of this directory. This may help you reproduce the problem.

Have a nice week end.
Re: Adding maven to the provisioning repository [message #633281 is a reply to message #633203] Sat, 16 October 2010 00:33 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Excellent, that's very helpful!

(Just a procedural point: please could you use bug 327895 for further conversation about diagnosing the problem as that will preserve a single audit trail and be easier to read if we end up doing archaeology later.)
Re: Adding maven to the provisioning repository [message #667957 is a reply to message #632761] Tue, 03 May 2011 01:07 Go to previous message
Matt Fellows is currently offline Matt FellowsFriend
Messages: 28
Registered: February 2011
Junior Member
Just in case anybody else was having a similar issue, a simple rm -rf $VIRGO_HOME/work/* and restart from STS seemed to fix the problem for me. I wasn't pointing to a Maven repository, however I did have the remnants of an artifact (pax-web-services in fact) which caused problems only within STS.

Even though the configuration in Eclipse suggests it was no longer referencing it, there was some traces of the configuration left in the work dir.

Cheers,
Matt

[Updated on: Tue, 03 May 2011 02:57]

Report message to a moderator

Previous Topic:Scalablity/Peformance Benchmarks?
Next Topic:Problem to deploy many bundles in order from eclipse IDE
Goto Forum:
  


Current Time: Sun Dec 08 15:52:50 GMT 2024

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

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

Back to the top