Resource Menu

posted by Sebastien Jourdain at Dec 4, 2007 11:08 AM
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
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 ?


posted by Sebastien Jourdain at Dec 4, 2007 9:42 AM
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

too bad. Moving to… but the result is not muuuch better:

java.lang.NumberFormatException: For input string: "E122" at sun.misc.FloatingDecimal.readJavaFormatString( at java.lang.Double.parseDouble( at java.text.DigitList.getDouble( at java.text.DecimalFormat.parse( at java.text.SimpleDateFormat.subParse( at java.text.SimpleDateFormat.parse( at java.text.DateFormat.parse( at org.libresource.Libresource.parseDate( at org.libresource.LibresourceEvent.toLibresourceEvent( at org.libresource.core.ejb.JabberNotificationsDispatcherBean.onMessage( at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.objectweb.jonas_ejb.container.JMessageEndpointProxy.invoke( at $Proxy0.onMessage(Unknown Source) at org.objectweb.joram.client.connector.InboundSession.onMessage( at org.objectweb.joram.client.jms.MessageConsumerListener.activateListener( at org.objectweb.joram.client.jms.MultiSessionConsumer.onMessage( at org.objectweb.joram.client.jms.Session.onMessage( at at at org.objectweb.jonas_lib.JWorkManager.doMyWork( at org.objectweb.jonas_lib.JWorkManager.nextWork( at org.objectweb.jonas_lib.JWorkManager$

what can I do with that ?


posted by Sebastien Jourdain at Dec 3, 2007 2:10 PM
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
The other-jabber-server is probably a good idea. I understand it would work to be, e.g., or… 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 :
send to LS: - /users/paul ( stream:error (text)
        at org.jivesoftware.smack.PacketReader.parsePackets(
        at org.jivesoftware.smack.PacketReader.access$000(
        at org.jivesoftware.smack.PacketReader$
No response from the server.: 
        at org.jivesoftware.smack.NonSASLAuthentication.authenticate(
        at org.jivesoftware.smack.XMPPConnection.login(
        at org.jivesoftware.smack.XMPPConnection.login(


posted by Sebastien Jourdain at Dec 3, 2007 8:14 AM
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/ 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.


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

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, 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