Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server RE : Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/RE_Configuring_Jabber_for_my_LS-server_5 Sebastien Jourdain 2007-12-04T11:08:51+01:00 ]]> RE : Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/RE_Configuring_Jabber_for_my_LS-server_4 Paul Libbrecht 2007-12-04T09:57:22+01:00 paul]]> RE : Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/RE_Configuring_Jabber_for_my_LS-server_3 Sebastien Jourdain 2007-12-04T09:42:24+01:00 RE : Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/RE_Configuring_Jabber_for_my_LS-server_2 Paul Libbrecht 2007-12-03T23:39:20+01:00 too bad. Moving to xmpp.de… but the result is not muuuch better:

java.lang.NumberFormatException: For input string: "E122" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224) at java.lang.Double.parseDouble(Double.java:482) at java.text.DigitList.getDouble(DigitList.java:141) at java.text.DecimalFormat.parse(DecimalFormat.java:1276) at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1375) at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1124) at java.text.DateFormat.parse(DateFormat.java:333) at org.libresource.Libresource.parseDate(Libresource.java:352) at org.libresource.LibresourceEvent.toLibresourceEvent(LibresourceEvent.java:124) at org.libresource.core.ejb.JabberNotificationsDispatcherBean.onMessage(JabberNotificationsDispatcherBean.java:83) at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.objectweb.jonas_ejb.container.JMessageEndpointProxy.invoke(JMessageEndpointProxy.java:214) at $Proxy0.onMessage(Unknown Source) at org.objectweb.joram.client.connector.InboundSession.onMessage(InboundSession.java:172) at org.objectweb.joram.client.jms.MessageConsumerListener.activateListener(MessageConsumerListener.java:449) at org.objectweb.joram.client.jms.MultiSessionConsumer.onMessage(MultiSessionConsumer.java:168) at org.objectweb.joram.client.jms.Session.onMessage(Session.java:1835) at org.objectweb.joram.client.jms.Session.run(Session.java:878) at org.objectweb.joram.client.connector.InboundSession.run(InboundSession.java:157) at org.objectweb.jonas_lib.JWorkManager.doMyWork(JWorkManager.java:386) at org.objectweb.jonas_lib.JWorkManager.nextWork(JWorkManager.java:443) at org.objectweb.jonas_lib.JWorkManager$WorkThread.run(JWorkManager.java:536)

what can I do with that ?

paul]]> RE : Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/RE_Configuring_Jabber_for_my_LS-server_1 Sebastien Jourdain 2007-12-03T14:10:25+01:00 Did you set an existing user for your libresource platform on a remote server ? It seems that an authentication exception occured when LS tried to connect to the server you configured.

When you change the setting, you need to restart jonas.]]> RE : Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/RE_Configuring_Jabber_for_my_LS-server_0 Paul Libbrecht 2007-12-03T13:13:34+01:00

I have done so and I get the following exception:
Mon Dec 03 13:11:48 CET 2007 : /users/paul : /projects/demo/forum : libresourceForum.forum.post
send to paul.libbrecht@googlemail.com LS: http://ls.activemath.org/projects/demo/forum - /users/paul (libresourceForum.forum.post) stream:error (text)
        at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:306)
        at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
        at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)
No response from the server.: 
        at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:58)
        at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:345)
        at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:301)

paul]]> RE : Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/RE_Configuring_Jabber_for_my_LS-server Sebastien Jourdain 2007-12-03T08:14:31+01:00 The first one:

  • Use tigase so any ls user will have a jabber account without doing anything. But there is no http binding (for the moment).
The second one:
  • Use an existing jabber server for the notification.
  • Then user need to create there own jabber account or used there existing one.

The jabber configuration for libresource is inside the file JONAS_ROOT/conf/libresourceConfig.properties. You need to specify on which server LS should connect and with which user. This user will be used as the notification guy.

To set another jabber adresse for a user, just edit your profile and change your jabber adresse.

Seb]]> Configuring Jabber for my LS-server http://dev.libresource.org/home/community/forum/Configuring_Jabber_for_my_LS-server/Configuring_Jabber_for_my_LS-server Paul Libbrecht 2007-12-02T23:57:07+01:00 I am really happy thus far with libresource, the little glitches I met along the way were pretty small and the user-side experience seems more than positive!

The jabber plug seems like a very good idea but I cannot get it to work: on dev.libresource.org, it's deactivated, so I can't see it. On my server I have several issues:

  • first it took me a bunch of hacks to start tigase correctly, the config was containing a path to certskeystore (instead of certs/keystore!)… easily fixed (I hope).
  • second my libresource is running behind a proxy… so the jabber server is not the same… either a tunnel or a replicator has to be arranged, or Libresource needs to be adapted to have the address of the tigase server configurable
  • finally I know of many people that are behind such evil firewalls that only http connections on port 80 will come through… is Libresource supporting the http-extensions of Jabber to support this (growing) population?
thanks in advance

paul]]>