Dear Ionela,
thanks a lot for your support and your feedback. I decided to also pass this on to our BaseX mailing list; hope it’s ok.
All the best, Christian ____________________________________
On Tue, Dec 11, 2012 at 8:52 PM, oXygen XML Editor Support support@oxygenxml.com wrote:
Hello,
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 14.1, 2012121012 (released on December 11th):
Database/XQJ: BaseX via XQJ no longer worked because of conflicting jar libraries.
You can download it from our web site: http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here: http://www.oxygenxml.com/build_history.html#2012121012
You can follow the release/build RSS feed here: http://www.oxygenxml.com/rssBuildID.xml
To upgrade:
- For Windows and Linux you can install the new build in the same folder as
the previous installation, it will automatically upgrade it. Before you upgrade, if you have added files or made changes to any of the files from the Oxygen installation folder(especially the frameworks folder), you may want to create a backup of them because they will be overwritten during the upgrade procedure. Custom frameworks will be preserved but we recommend backing them up anyway, just to be safe.
- For Mac OS X you will have to install in a different folder and copy any
files you may have changed from the old folder (if any) to the new folder. The Oxygen preferences will be preserved since they are located elsewhere (user home folder).
Let us know if you encounter further problems with this new build.
Regards, Ionela
-- Ionela Istodor
oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.301
Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com
This message (including any attachments) contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any quotation contained herein has a validity of 30 days, unless otherwise specified.
On 11/26/2012 2:04 PM, Alex Muir wrote:
That works on my side...
Thanks a tonne! Cheers
On Mon, Nov 26, 2012 at 5:13 AM, oXygen XML Editor Support <support@oxygenxml.com mailto:support@oxygenxml.com> wrote:
Hi, We've identified the issue as being class loader related. Oxygen comes bundled with an xml-apis.jar which contains javax.xml interfaces slightly different from the ones present in the JRE. The main problem regards class javax.xml.stream.XMLInputFactory from xml-apis.jar. First of all it requires com.ctc.wstx.stax.WstxInputFactory (for which you must add org.apache.servicemix.bundles.woodstox-3.2.7_1.jar) and it's missing method newFactory(). The API basex-xqj-1.2.3.jar is compatible with it because it uses newInstance() instead of newFactory(). So if you use basex-xqj-1.2.3.jar in the connection and also add org.apache.servicemix.bundles.woodstox-3.2.7_1.jar in Oxygen lib, the connection will begin to work. But there should be no need for you to add org.apache.servicemix.bundles.woodstox-3.2.7_1.jar so I've attached an xml-apis.jar with these interfaces removed. Just replace the xml-apis.jar from {oXygenInstallDir}/lib with this new version and the BaseX connection will function with just basex-xqj-1.2.3.jar, xqj-api-1.0.jar and xqj2-0.1.0.jar added in the connection. No need to add org.apache.servicemix.bundles.woodstox-3.2.7_1.jar either. I've also added an issue to fix this issue on our side in the next Oxygen build. Thank you for following this through! Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 26-Nov-12 5:21 AM, Alex Muir wrote:
Hi, I decided to try using basex.exe on windows 7 on a virtual machine with java 7. I get the same results given a fresh download and install of java, oxygen and xqj. I pasted some screen shots so perhaps you'll see the error I'm making or get a better idea of that is not working. When I started the server windows 7 asked permission for the firewall which I gave. I started the server from gui and as well closing the gui and starting from the start menu basex server (start) and both gave the same result. There must be some difference between yours and mine system or some setup thing I'm doing wrong. On linux, I also tried adjusting firewall settings on fedora although this had no affect. If you want to do some remote desktop interaction to check out my system, your highly welcome. Regards Alex On Fri, Nov 23, 2012 at 10:06 PM, Alex Muir <alex.g.muir@gmail.com <mailto:alex.g.muir@gmail.com>> wrote: On Fri, Nov 23, 2012 at 9:12 PM, Christian Grün <cg@basex.org <mailto:cg@basex.org>> wrote: > Also I wonder why I was getting this error in oxygen? At which stage does this error occur? When running the xquery I would get that error message initially, though it seemed to go away randomly.. the following error is the more common problem. *"E [BaseX7.3] Could not initialize class net.xqj.basex.bin.m"* > Is the woodstox-core-asl-4.1.4.jar required in anyway and if so how? I can’t find this jar in my environment; where did you get it from? Well based on the error message I thought this jar was needed given a search online although I really don't know why I was getting that error message or what to do about it nor if that jar is the required although seemed likely when searching for that error online. From here http://wiki.fasterxml.com/WoodstoxDownload -- - Alex G. Muir Software Engineering Consultant Linkedin Profile :
http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Take a moment to listen to Gambia's - Amadu Diabarte & Jali Bakary Konteh www.bafila.bandcamp.com http://www.bafila.bandcamp.com Your support keeps Africa's
griot tradition alive... Cheers! -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Take a moment to listen to Gambia's - Amadu Diabarte & Jali Bakary Konteh www.bafila.bandcamp.com <http://www.bafila.bandcamp.com> Your support keeps Africa's griot tradition alive... Cheers!
--
Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Take a moment to listen to Gambia's - Amadu Diabarte & Jali Bakary Konteh www.bafila.bandcamp.com http://www.bafila.bandcamp.com Your support keeps Africa's griot tradition alive... Cheers!