Resource Menu


posted by Sebastien Jourdain at Dec 4, 2007 11:08 AM
Quote
I don't mean the src snapshot, but the next release that has been done but not announced due to lack of time. The release is available but you just have to change the url by hand. (Replace a 2-2 by a 2-3)… I've already put the link in the forum. I thought you've seen this link since you look quite deeper in Libresource.

posted by Paul Libbrecht at Dec 4, 2007 9:57 AM
Quote
I'm not sure I would know how to download 2.3… I see, thus far, a 2.2 as download (and that's what I used) and src-snapshots. Do you mean the src snapshot ?

paul

posted by Sebastien Jourdain at Dec 4, 2007 9:42 AM
Quote
Are you using LSC 2.2 or LSC 2.3 ? I can't remember, but I thought I've fixed this error.
posted by Paul Libbrecht at Dec 3, 2007 11:39 PM
Quote
Ok,

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

posted by Sebastien Jourdain at Dec 3, 2007 2:10 PM
Quote
Exactly except for google talk which is not fully compliant Jabber.

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.

posted by Paul Libbrecht at Dec 3, 2007 1:13 PM
Quote
The other-jabber-server is probably a good idea. I understand it would work to be, e.g., jabber.org or talk.google.com… looks cool. So the Libresource user should be a user registered there, correct ?

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

posted by Sebastien Jourdain at Dec 3, 2007 8:14 AM
Quote
There is several way to use the Jabber notification.

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

posted by Paul Libbrecht at Dec 2, 2007 11:57 PM
Quote
Hello,

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