powered by Jive Software

Error while conneting to websocket-gateway?

hi All,

I have installed kaazing-websocket-gateway-html5-3.4.1 and Openfire 3.7.1.

Added below lines to conf\gateway-config.xml.

ws://localhost:18000/jabber

wss://localhost:19000/jabber

proxy

xmpp://localhost:5222

<allow-origin>[http://localhost:8080](http://localhost:8080)</allow-origin>
<allow-origin>[https://localhost:19000/jabber](https://localhost:19000/jabber)</allow-origin>

When i am trying to start the websocket gateway i am getting below error :

"

2012-11-25 22:17:35,714 INFO Kaazing WebSocket Gateway - HTML5 Edition (3.4.1.6)

2012-11-25 22:17:35,716 INFO Configuration file: C:\kaazing-websocket-gateway-html5-3.4.1\conf\gateway-config.xml

2012-11-25 22:17:36,538 INFO Checking license information

2012-11-25 22:17:36,539 INFO Found license: Developer License, Maximum 50 connections, See LICENSE.txt

2012-11-25 22:17:39,382 ERROR Gateway failed to launch java.lang.IllegalArgumentException: Missing scheme “xmpp”

at com.kaazing.gateway.server.context.resolve.GatewayContextResolver.supplySchemeC onfig(GatewayContextResolver.java:345)

at com.kaazing.gateway.server.context.resolve.GatewayContextResolver.resolveURI(Ga tewayContextResolver.java:726)

at com.kaazing.gateway.server.context.resolve.GatewayContextResolver.resolveServic es(GatewayContextResolver.java:488)

at com.kaazing.gateway.server.context.resolve.GatewayContextResolver.resolve(Gatew ayContextResolver.java:206)

at com.kaazing.gateway.server.impl.GatewayImpl.launch(GatewayImpl.java:286)

at com.kaazing.gateway.server.GatewayCommandProcessor.launchGateway(GatewayCommand Processor.java:98)

at com.kaazing.gateway.server.GatewayCommandProcessor.launchGateway(GatewayCommand Processor.java:43)

at com.kaazing.gateway.server.WindowsMain.main(WindowsMain.java:59)

can any one help me on this?

Thanks & Regards

Sai.

You are using the HTML5 Gateway, what you need is Dragonfire to work with XMPP. Download http://kaazing.com/download#df, download the gateway that says XMPP next to it.

“Kaazing WebSocket Gateway DF (for XMPP)”

Thank you Axel for your response.

Your’s

Sai

Is there any way to use url intead of “http://localhost:8080” to connect to the apex as … in gateway-config.xml?

Thanks

Sai.