Hi David,

you might be running into a problem with the classloader. XML libraries are very prone to these errors.
Did you try with a recent nightly build of RIFE?
Did you try by disabling the classloader in the webapp?
Do you have the same problems when you try parsing a local XML document with Dom4J?
Can you send the most simple possible self-contained testcase?

Best regards,

Geert

David Herbert wrote:
I have been having a lot of problems getting a section of my application working within the RIFE framework. What I have as part of my top level menu is an element that reads some XML data from a remote server and stores it in a Postgresql database. I have implemented most of this logic in a backend class. I am using the dom4j library for doing the reading of the remote data and parsing it (I am open to other suggestions - I'm not going to insist on using this!). The problem is that even the simplest attempt to read from a remote server results in no activity and eventually a class cast exception from somewhere deep in dom4j. I have verified that the particular code I'm using works fine outside of a RIFE framework (I have used it a number of times in other apps). I certainly don't expect anyone on this list to debug dom4j for me! What I feel I'm be missing is the RIFE way of fetching XML data from a remote URL and storing it in a database table. Perhaps by defining a datasource in config or something like that. I don't find any examples of this kind of thing and find it difficult to separate out what might be useful from bare bones Javadoc.

Can anyone help?

David Herbert.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to