[jdev] Configuring Jabber applet for group chat

Patricia Swarbrick patricia.swarbrick at ideaca.com
Mon Jul 19 15:02:31 CDT 2004


Hi, I discovered how to configure the jabber applet to automagically send all groupchat requests to my server. now my issue is on the communication between the jabber applet and my jabberd 2.0 server. Here's the error I get (from the SunJava console):

ConnectionLoop 
SENT: <iq type="get" id="GroupChatJoin" to="ideaca at conference.atlas.calg.ideaca.com"><query xmlns="jabber:iq:conference"/></iq> ConnectionLoop 
RECV: <iq xmlns='jabber:client' type='error' id='GroupChatJoin' to='pswarbri2 at atlas.calg.ideaca.com/JabberApplet-60036646' from='ideaca at conference.atlas.calg.ideaca.com'><query xmlns='jabber:iq:conference'/><error code='400'>Bad Request</error></iq> 
User: <query xmlns='jabber:iq:conference'/><error code='400'>Bad Request</error> 
infoQueryReceived: To: [pswarbri2 at atlas.calg.ideaca.com/JabberApplet-60036646] From: [ideaca at conference.atlas.calg.ideaca.com] ID: [GroupChatJoin] Type: [error] Query: [<query xmlns='jabber:iq:conference'/><error code='400'>Bad Request</error>] Error: [Bad Request] Code: [400] 
ConnectionLoop 
ConnectionLoop

Here's my jabber.html config:

<HTML>
<TITLE>
</TITLE>



<!--<BODY style="background: url(../images/backgrounds/bg_jabber.gif) top left no-repeat #e1e1e1;">-->

<BODY style="background: url(bg_jabber.gif) top left no-repeat #c1c1c1;">

<!--JABBER HTML ON ATLAS<BR>
Whatever happens to this page should happen in http/web/jabber.jsp as well<BR>
User name must be "user at atlas.calg.ideaca.com"<br>
<br>-->
<APPLET ARCHIVE="JabberApplet.jar" CODE="org/jabber/applet/JabberApplet.class" HEIGHT=325 WIDTH=380 VIEWASTEXT style="margin-top: 50px; margin-left: 2px;"> 
<param name="xmlhostname" value="atlas.calg.ideaca.com">
<param name="conferenceserver" value="conference.atlas.calg.ideaca.com"> 
<param name="defaultColor" value="193,193,193">
</APPLET>

</BODY>
</HTML>


Now I've successfully connected and created groupchat sessions with two other clients, trillian and psi, so I'm fairly sure that there are no issues on the server side. Can anyone offer some suggestions on what's happening here or if this has been seen before?

Patricia 

-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org]On Behalf
Of Patricia Swarbrick
Sent: Tuesday, July 13, 2004 10:27 AM
To: Jdev (E-mail)
Subject: [jdev] Configuring Jabber applet for group chat


How do I configure the jabber applet to communicate with my own group chat server? Is there another parameter that I need to enter in the jabber.html configuration file? I know multi-user conferencing works as I've tested it with a client like psi and trillian.

Patricia
_______________________________________________
jdev mailing list
jdev at jabber.org
https://jabberstudio.org/mailman/listinfo/jdev



More information about the JDev mailing list