Hi Parvez,

Welcome to Stratos, its really nice to hear that you are experimenting with
Stratos.

Regarding the issue you encountered, it seems like there is an invalid
entry in the jndi.properties file shipped with the HAProxy extension
package. Please open <HAPROXY_EXTENSION_HOME>/conf/jndi.properties file and
update java.naming.provider.url to following:

java.naming.provider.url=conf/jndi.properties

I will create a JIRA to fix this in the next release.

Thanks


On Sun, Jun 8, 2014 at 10:02 PM, Parvez Shaikh <parvez.h.sha...@gmail.com>
wrote:

> Hi experts,
>
> I am new to stratos and exploring on how to integrate existing haproxy
> cartridge with stratos.
>
> I am referring
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+HAProxy+Load+Balancer
>
> After following steps mentioned in the link when I run
> haproxy-extension.sh, I am getting following error messgae -
>
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/opt/apache-stratos-haproxy-extension-4.0.0-incubating/lib/slf4j-1.5.10.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/opt/apache-stratos-haproxy-extension-4.0.0-incubating/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> [2014-06-08 09:57:39,480]  WARN - [PropertiesFileInitialContextFactory]
> Unable to load property file specified in
> Provider_URL:repository/conf/jndi.properties
> Due to:repository/conf/jndi.properties (No such file or directory)
>
>
> This I am running in a VM which is expected to be a haproxy based load
> balancerr.
> Message is clear enough to indicate that repository/conf/jndi.properties
> file is not found.
>
> Question I have is, how do I get this repository directory? Is it going to
> contain same 'conf' directory? Is it referring to directory on message
> broker host or same host as haproxy?
>
> <HAProxy_EXTENSION_HOME> is where I have extracted in
> apache-stratos-load-balancer-4.0.0-incubating.zip and it doesn't have any
> 'repository' directory. Am I missing something important?
>
> Thanks
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PPMC Member, Apache Stratos

Reply via email to