All the config to set is in faq. I don't use this config in application.xml but
in jabber notifier view.
Emmanuel
Stevenson, Chris a écrit :
Hi Emmanuel,
I have the notifier in my config configured to use one gtalk account (which
is not logged on when I do it) I then set up my own g talk account (I have
set these up as friends) using the web interface in the manner you've
described on the site. When I run continuum I get one line saying something
along the lines of "[Thread 1] Jabber Notifer starting up ....." (don't have
text with me,apologies) and then the e-mail notifier kicks in (this works
fine).
I never get an error and I never get a message through google talk. I will
post the full message when I get home tonight. Would you be able to copy an
example of your/someones config that works (minus passwords/account names)
so that I can verify that I am doing everything correct? That would be a
massive help.
I am running at home and have no outgoing firewall restrictions. Google Talk
works fine when run on its own point to point.
Many Thanks,
Chris
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: 04 January 2006 14:40
To: [email protected]
Subject: Re: gtalk notifier not working
What is your problem with gtalk? It works fine.
Emmanuel
Stevenson, Chris a écrit :
Hi Peter,
Did you manage to have any success with this? I am having a similar
issue at the moment, except the jabber notifer just freezes.
I'm using M2 and Continuum 1.0.2.
Thanks,
Chris
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 14 December 2005 16:58
To: [email protected]
Subject: gtalk notifier not working
Hi,
From the Continuum faq and mailing-list I understood it should be
possbile
to use google's gtalk to be notified since it uses the jabber
protocol, but I must be doing something wrong because I get this error:
ERROR
org.apache.maven.continuum.notification.ContinuumNotificationDispatche
r - Error while trying to use the jabbernotifier.
org.codehaus.plexus.notification.NotificationException: Exception
while sending message.
at
org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier
.sendM
essage(JabberContinuumNotifier.java:236)
at
org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier
.sendN
otification(JabberContinuumNotifier.java:135)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
spatch
er.sendNotification(DefaultContinuumNotificationDispatcher.java:170)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
spatch
er.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.buil
d(Defa
ultBuildController.java:281)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.ex
ecuteT
ask(BuildProjectTaskExecutor.java:53)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exec
utorRu
nnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.codehaus.plexus.jabber.JabberClientException: Can't
connect to talk.google.com:5222
at
org.codehaus.plexus.jabber.DefaultJabberClient.connect(DefaultJabberCl
ient.j
ava:51)
at
org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier
.sendM
essage(JabberContinuumNotifier.java:216)
... 7 more
Caused by: XMPPError connecting to talk.google.com:5222.: (502)
-- caused by: java.net.ConnectException: Connection timed out: connect
at
org.jivesoftware.smack.XMPPConnection.<init>(XMPPConnection.java:174)
at
org.codehaus.plexus.jabber.DefaultJabberClient.connect(DefaultJabberCl
ient.j
ava:42)
... 8 more
This is my setup:
I'm using continuum 1.0.2, running a Maven 1.0.2 project in a windows
environment.
<!--
| The jabber notifier
|-->
<component>
<role>org.codehaus.plexus.notification.notifier.Notifier</role>
<role-hint>jabber</role-hint>
<implementation>org.apache.maven.continuum.notification.jabber.JabberC
ontinu
umNotifier</implementation>
<requirements>
<requirement>
<role>org.codehaus.plexus.jabber.JabberClient</role>
</requirement>
<requirement>
<role>org.apache.maven.continuum.configuration.ConfigurationService</role>
</requirement>
<requirement>
<role>org.apache.maven.continuum.store.ContinuumStore</role>
</requirement>
</requirements>
<configuration>
<from-address>my fist gtalk account without
gmail.com</from-address
<from-password>mypassword</from-password>
<host>talk.google.com </host >
<port>5222</port>
<sslConnection>false</sslConnection>
</configuration>
</component>
Then in the continuum web interface I use the same jabber notifier
settings, and as jabber recipient I have
[EMAIL PROTECTED], not using SSL and not part of a Jabber
group.
Both on Continuum server and client PC I have gtalk installed and via
gtalk I can communicate in two directions. So firewall should be open.
As mentioned on this mailing list, I have 2 different gtalk accounts,
and they are friends of each other.
I also tried to run Continuum server, when gtalk was switched of
because I think Continuum shouldn't need it to function.
Do I need to install some additional Jabber stuff? Or what else couldt
be the problem?
thanks a lot for advice,
Peter
------
----------------------------------------------------------------------
---------- The information contained herein is confidential and is
intended solely for the addressee. Access by any other party is
unauthorised without the express written permission of the sender. If
you are not the intended recipient, please contact the sender either
via the company switchboard on +44 (0)20 7623 8000, or via e-mail
return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender. 3167
----------------------------------------------------------------------
----------
------
--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender. 3167
--------------------------------------------------------------------------------