stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: Stratos 4.0 can not deploy the Multi-Tenant Service
Date Tue, 10 Mar 2015 18:32:26 GMT
Hi David,

On Tue, Mar 10, 2015 at 10:32 AM, david hbase <davidhbase@gmail.com> wrote:

> Hi, Team:
>
> I found the ERROR with Stratos 4.0 loadbalancer as following, and this
> error blocked the LB statistics to CEP,
>
> [2015-03-10 04:59:46,057] ERROR - TopicSubscriber Error while subscribing
> to the topic: topology
> javax.naming.NoInitialContextException: Failed to create InitialContext
> using factory specified in hash table. [Root exception is
> java.lang.ClassNotFoundException: class
> org.apache.activemq.jndi.ActiveMQInitialContextFactory not found]
>     at
> org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextDataHolder.java:737)
>     at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681)
>     at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>     at javax.naming.InitialContext.init(InitialContext.java:242)
>     at javax.naming.InitialContext.<init>(InitialContext.java:216)
>     at
> org.apache.stratos.messaging.broker.connect.TopicConnector.init(TopicConnector.java:59)
>     at
> org.apache.stratos.messaging.broker.subscribe.TopicSubscriber.doSubscribe(TopicSubscriber.java:63)
>     at
> org.apache.stratos.messaging.broker.subscribe.TopicSubscriber.run(TopicSubscriber.java:116)
>     at java.lang.Thread.run(Thread.java:745)
>
> As I see the ActiveMQ client JAR file (activemq-client-5.10.0.jar) is not
there in the load balancer repository/components/lib folder. If you copy
this the above issue may get solved.

Regarding making Autoscaling factors configurable, I'm +1 for the fix, just
need to check who would like to contribute for this.

Thanks

Mime
View raw message