Oxygen 7.2 and Berkeley DBXML (32/64 bit)
Posted: Mon Oct 16, 2006 2:17 am
Hi,
I run oxygen on linux 64 bit, both as standalone and within Eclipse. I try to run a XQuery which runs perfectly from outside oxygen (via dbxml command line).
1) oXygen standalone
When I run oxygen with a 32bit jvm I find this error:
SystemID: /tmp/Jetty__8080__mmonitor/webapp/WEB-INF/bdbxml_containers/Untitled1.xquery
Description: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: cannot open shared object file: No such file or directory
---
These files exist though, and they have been compiled with the -b 32 bit switch and --enable-java. LD_LIBRARY_PATH is set to /usr/local/dbxml-2.2.13-32bit/install/lib .
When I run oxygen with a 64bit jvm (and db.jar dbxml.jar compiled for 64 bit), the application crashes with this error.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=530, tid=1090312544
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_08-b03 mixed mode)
# Problematic frame:
# C 0x0000000000000000
#
# An error report file with more information is saved as hs_err_pid530.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
oxygen/oxygen.sh: line 37: 530 Aborted java -Xmx256m "-Dcom.oxygenxml.editor.plugins.dir=$p/plugins" -Dcom.oxygenxml.MultipleInstances=true -cp "$CP" ro.sync.exml.Oxygen "$@"
(I can provide the log file on demand)
2) oXygen Eclipse plugin
I have to run Eclipse with a 32-bit jvm otherwise it crashes when I browse the file system and I wouldn't have the browser widget as well. I copied the jars in [Eclipse-install-folder]/plugins/com.oxygenxml.editor_7.2.0/lib. I have the same kind of error: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: cannot open shared object file: No such file or directory
Do you have an idea why it is so?
I ran oxygen before and it worked fine with BDB XML but I can't seem to figure out this one.
I followed all the indications from http://www.oxygenxml.com/doc/ug-oxygenE ... pport.html. However, I have still a question. Is this correct:
"On UNIX: Create a file called oxygen7.0.vmoptions (in case it is not already created) in the OXY_DIR."
As I understand that the plugin runs within eclipse -from the plugins directory- and I don't see what OXY_DIR is doing here. Do you mean [Eclipse-install-folder]/plugins/com.oxygenxml.editor_7.2.0/ ? Is the name of this file different for 7.2?
I run oxygen on linux 64 bit, both as standalone and within Eclipse. I try to run a XQuery which runs perfectly from outside oxygen (via dbxml command line).
1) oXygen standalone
When I run oxygen with a 32bit jvm I find this error:
SystemID: /tmp/Jetty__8080__mmonitor/webapp/WEB-INF/bdbxml_containers/Untitled1.xquery
Description: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: cannot open shared object file: No such file or directory
---
These files exist though, and they have been compiled with the -b 32 bit switch and --enable-java. LD_LIBRARY_PATH is set to /usr/local/dbxml-2.2.13-32bit/install/lib .
When I run oxygen with a 64bit jvm (and db.jar dbxml.jar compiled for 64 bit), the application crashes with this error.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=530, tid=1090312544
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_08-b03 mixed mode)
# Problematic frame:
# C 0x0000000000000000
#
# An error report file with more information is saved as hs_err_pid530.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
oxygen/oxygen.sh: line 37: 530 Aborted java -Xmx256m "-Dcom.oxygenxml.editor.plugins.dir=$p/plugins" -Dcom.oxygenxml.MultipleInstances=true -cp "$CP" ro.sync.exml.Oxygen "$@"
(I can provide the log file on demand)
2) oXygen Eclipse plugin
I have to run Eclipse with a 32-bit jvm otherwise it crashes when I browse the file system and I wouldn't have the browser widget as well. I copied the jars in [Eclipse-install-folder]/plugins/com.oxygenxml.editor_7.2.0/lib. I have the same kind of error: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: /usr/local/dbxml-2.2.13-32bit/install/lib/libdb_java-4.3.so: cannot open shared object file: No such file or directory
Do you have an idea why it is so?
I ran oxygen before and it worked fine with BDB XML but I can't seem to figure out this one.
I followed all the indications from http://www.oxygenxml.com/doc/ug-oxygenE ... pport.html. However, I have still a question. Is this correct:
"On UNIX: Create a file called oxygen7.0.vmoptions (in case it is not already created) in the OXY_DIR."
As I understand that the plugin runs within eclipse -from the plugins directory- and I don't see what OXY_DIR is doing here. Do you mean [Eclipse-install-folder]/plugins/com.oxygenxml.editor_7.2.0/ ? Is the name of this file different for 7.2?