[Anthill-pro] IM connection failing

Jason Dillon jason at planet57.com
Thu Mar 8 02:37:49 CST 2007


I've seen problems connecting to YahooIM, have not yet setup a Jabber  
server to use that notification method.  But the YIM connector does  
freak out from time to time... and I usually have to disable and then  
enable it again for it to wake up and be functional again.

IIRC I've seem similar exceptions related to not being connected  
(which end up putting NPE muck in the logs, but if you dig around you  
can find the root cause is the connection is closed).

--jason


On Mar 7, 2007, at 7:38 PM, Jones, Tate wrote:

> Are there any known issues with the IM functionality when  
> attempting to send a message?
>
>
>
> When using the ‘Test’ feature in the ‘IM Settings’ screen the first  
> attempt always fails.  Immediate subsequent attempts are successful.
>
> After a period of time (~4 minutes) the connection to server fails  
> again.
>
>
>
> When attempting to use it in a build the following error appears.   
> If I continue to test connection prior performing a build then the  
> IM message is successful.
>
>
>
> 789102474 ERROR 439 0 0 - Could not send Jabber IM to: foo at server-01
> java.lang.IllegalStateException: Not connected to server.
>         at org.jivesoftware.smack.XMPPConnection.sendPacket 
> (XMPPConnection.java:699)
>         at org.jivesoftware.smack.NonSASLAuthentication.authenticate 
> (NonSASLAuthentication.java:54)
>         at org.jivesoftware.smack.SASLAuthentication.authenticate 
> (SASLAuthentication.java:223)
>         at org.jivesoftware.smack.XMPPConnection.login 
> (XMPPConnection.java:426)
>         at org.jivesoftware.smack.XMPPConnection.login 
> (XMPPConnection.java:389)
>         at org.jivesoftware.smack.XMPPConnection.login 
> (XMPPConnection.java:370)
>         at  
> com.urbancode.anthill3.services.im.jabber.JabberImService.startSession 
> (JabberImService.java:196)
>         at  
> com.urbancode.anthill3.services.im.jabber.JabberImService.sendMessage( 
> JabberImService.java:232)
>         at  
> com.urbancode.anthill3.services.im.jabber.JabberImService.sendMessage( 
> JabberImService.java:176)
>         at  
> com.urbancode.anthill3.command.publishers.jabberimnotifier.SendJabberI 
> mCommand.execute(SendJabberImCommand.java:43)
>         at com.urbancode.anthill3.services.jobs.StepExecutor.execute 
> (StepExecutor.java:499)
>         at  
> com.urbancode.anthill3.domain.notification.NotificationSchemeWhoWhenSt 
> ep.perform(NotificationSchemeWhoWhenStep.java:97)
>         at com.urbancode.anthill3.services.jobs.StepExecutor.execute 
> (StepExecutor.java:214)
>         at com.urbancode.anthill3.services.jobs.StepExecutor.execute 
> (StepExecutor.java:285)
>         at  
> com.urbancode.anthill3.domain.notification.NotificationSchemeJobDelega 
> te.ignoreFailuresExecuteStep(NotificationSchemeJobDelegate.java:75)
>         at  
> com.urbancode.anthill3.domain.notification.NotificationSchemeJobDelega 
> te.perform(NotificationSchemeJobDelegate.java:52)
>         at com.urbancode.anthill3.services.jobs.Job.start(Job.java: 
> 116)
>         at com.urbancode.anthill3.services.jobs.JobService 
> $JobRunner.run(JobService.java:423)
>         at com.urbancode.commons.util.ThreadPool$WorkerThread.run 
> (ThreadPool.java:167)
>
>
> We are using Wildfire as the IM Jabber server.  Is there a timeout  
> setting we need to configure on the Smack API or the Wildfire server?
>
> Tate Jones | Engineering Manager | +61-7-32274469 |  
> tjones at rsasecurity.com
>
> Level 32, Waterfront Place, 1 Eagle Street, Brisbane  QLD 4001 |  
> www.rsasecurity.com
>
> <image001.gif>
>
>
>
> <image001.gif>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070308/9b3178d5/attachment-0003.htm


More information about the Anthill-pro mailing list