The delay in startup is also because karaf is trying to download some feature ?

regards
Vinu

-----Original Message-----
From: Jean-Baptiste Onofré [mailto:[email protected]]
Sent: Friday, January 24, 2014 2:38 PM
To: [email protected]
Subject: Re: Karaf (3.0.0) taking long time to start up

Hi,

It's because Karaf tries to download some artifact and it's not able to access 
to those artifacts.

Anyway, region should not be a boot feature (it should be an optional feature). 
I'm fixing that.

Regards
JB

On 01/24/2014 09:41 AM, [email protected] wrote:
> I have Apache Karaf 3.0.0 running in a linux (RHEL 5.5) box. At times
> it takes a very long time to get the container up and running. Seeing
> some exception related to region feature.
>
> 2014-01-24 12:28:12,633 | WARN  | FelixStartLevel  |
> AetherBasedResolver              | 44 - org.ops4j.pax.url.mvn - 1.6.0 |
> Error resolving
> artifactorg.eclipse.equinox:region:jar:1.0.0.v20110506:Could not find
> artifact org.eclipse.equinox:region:jar:1.0.0.v20110506 in
> defaultlocal
> (file:/home/vinu/.m2/repository/)
>
> org.sonatype.aether.resolution.ArtifactResolutionException: Could not
> find artifact org.eclipse.equinox:region:jar:1.0.0.v20110506 in
> defaultlocal (file:/home/vinu/.m2/repository/)
>
>          at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Defa
> ultArtifactResolver.java:538)
>
>          at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtif
> acts(DefaultArtifactResolver.java:216)
>
>          at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtif
> act(DefaultArtifactResolver.java:193)
>
>          at
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtif
> act(DefaultRepositorySystem.java:286)
>
>          at
> org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBased
> Resolver.java:250)
>
>          at
> org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolveFile(AetherB
> asedResolver.java:239)
>
>          at
> org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBased
> Resolver.java:223)
>
>          at
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.ja
> va:122)
>
>                                  ...
>
> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
> Could not find artifact org.eclipse.equinox:region:jar:1.0.0.v20110506
> in defaultlocal (file:/home/vinu/.m2/repository/)
>
>          at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(Wa
> gonRepositoryConnector.java:947)[44:org.ops4j.pax.url.mvn:1.6.0]
>
>          at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(Wa
> gonRepositoryConnector.java:941)[44:org.ops4j.pax.url.mvn:1.6.0]
>
>          at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.r
> un(WagonRepositoryConnector.java:669)[44:org.ops4j.pax.url.mvn:1.6.0]
>
>          at
> org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(Runn
> ableErrorForwarder.java:60)[44:org.ops4j.pax.url.mvn:1.6.0]
>
> Also copy pasting lines in the log file where it is taking time. Any
> idea what is going on ?
>
> 2014-01-24 12:36:23,093 | INFO  | JMX OSGi Agent   |
> core                             | 72 - org.apache.aries.jmx.core -
> 1.1.1 | Registering org.osgi.jmx.framework.ServiceStateMBean to
> MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@7d2a1e44 with name
> osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.fra
> mework,uuid=0195b11f-bd5e-4e84-bd5e-63309d0281a8
>
> 2014-01-24 12:36:23,094 | INFO  | JMX OSGi Agent   |
> core                             | 72 - org.apache.aries.jmx.core -
> 1.1.1 | Registering
> org.osgi.jmx.framework.wiring.BundleWiringStateMBean
> to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@7d2a1e44 with
> name
> osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.fram
> ework,uuid=0195b11f-bd5e-4e84-bd5e-63309d0281a8
>
> 2014-01-24 12:42:03,891 | INFO  | FelixStartLevel  |
> Activator                        | 107 -
> org.ops4j.pax.web.pax-web-runtime - 3.0.5 | EventAdmin support is not
> available, no servlet events will be posted!
>
> 2014-01-24 12:42:03,897 | INFO  | FelixStartLevel  |
> Activator                        | 107 -
> org.ops4j.pax.web.pax-web-runtime - 3.0.5 | LogService support
> enabled, log events will be created.
>
> 2014-01-24 12:41:43,752 | INFO  | rafOsgiManager]) |
> HttpServiceFactoryImpl           | 107 -
> org.ops4j.pax.web.pax-web-runtime - 3.0.5 | Unbinding bundle:
> [org.apache.karaf.webconsole.console [113]]
>
> 2014-01-24 12:41:43,755 | INFO  | rafOsgiManager]) |
> HttpServiceFactoryImpl           | 107 -
> org.ops4j.pax.web.pax-web-runtime - 3.0.5 | Binding bundle:
> [org.apache.karaf.webconsole.console [113]] to http service
>
> 2014-01-24 12:57:34,537 | INFO  | FelixStartLevel  |
> BlueprintContainerImpl           | 4 - org.apache.aries.blueprint.core -
> 1.3.0 | Bundle org.apache.aries.transaction.blueprint is waiting for
> dependencies [(objectClass=javax.transaction.TransactionManager)]
>
> 2014-01-24 13:28:53,301 | INFO  | FelixStartLevel  |
> Activator                        | 82 - org.apache.camel.camel-core -
> 2.12.1 | Camel activator starting
>
> 2014-01-24 13:28:53,347 | INFO  | FelixStartLevel  |
> Activator                        | 82 - org.apache.camel.camel-core -
> 2.12.1 | Camel activator started
>
> 2014-01-24 13:32:54,433 | INFO  | raf-3.0.0/deploy |
> fileinstall                      | 16 - org.apache.felix.fileinstall -
> 3.2.6 | Installed
> /opt/vinu/apache-karaf-3.0.0/deploy/datasource-transDb.xml
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Reply via email to