Page 1 of 1

Oxygen 8.0 freezes - Mac 10.3.9

Posted: Wed Jan 17, 2007 10:34 pm
by catterall
Hi
Oxygen 8.0 on Mac G4, Macos 10.3.9
I can't tie this one down to a set of circumstances, but since I looaded 8.0 Oxygen, it sometimes freezes completely, the only way out is Force Quit.
This has happened about 10-12 times in all. The simplest (at least twice) is when I have nothing else running (i.e. apps.) and start up Oxygen from the dock. All seems to go well, up comes the window with the last file I accesssed loaded. Then I can do nothing. The pull-down menus display, but there is no action, not even quit oxygen.
If I force quit Oxygen and re-start, it has so far always worked the second time.
On other occasions (perhaps 8 of them), when I leave Oxygen up and do something else, I come back to find Oxygen frozen.
I can start up other applications while this is going on and they all work normally, no problems.
Sorry I haven'y been able to tie this down, it appears (at present) to be random, but I'm sure it's not (it never is!)
Has anyone else seen this?
Can anyone suggest anything to help?
I never had this problem before 8.0.
Ron

Posted: Thu Jan 18, 2007 12:52 pm
by sorin_ristache
Hello,

What is the Java version available on your OS X 10.3.9 ? It is available in Help -> About -> System properties -> java.vm.version. Start oXygen from a Terminal with a command

Code: Select all

sh oxygenMac.sh
executed in the oXygen install folder. Is any message displayed in the Terminal when oXygen freezes ?


Regards,
Sorin

Posted: Thu Jan 18, 2007 5:53 pm
by catterall
java.vendor Apple Computer Inc
java.vm.version 1.4.2-56
java.version 1.4.2_09

Haven't been able to get it to hang after 6 starts from shell - it never has performed to order. Tried various combinations of other activity.

Welcome to Darwin!
dainzu:~ ron$ cd /Applications/Utilities/Oxygen/8.0/oxygen
dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ ls
DiffDirs.app diffFilesMac.sh samples
DiffFiles.app frameworks schemaDocumentation.sh
Oxygen.app lib svnClientMac.sh
SVNClient.app libexslt treeEditorMac.sh
TreeEditor.app libxml xmlGeneratorMac.sh
XMLGenerator.app libxslt xsltproc.mac
dicts oxygenMac.sh
diffDirsMac.sh plugins
dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ sh oxygenMac.sh
dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ sh oxygenMac.sh
dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ sh oxygenMac.sh
dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ sh oxygenMac.sh
dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ sh oxygenMac.sh
dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ sh oxygenMac.sh

dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$ cat oxygenMac.sh
#!/bin/sh
PRG=$0
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
if expr "$link" : '^/' 2> /dev/null >/dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done

OXYGEN_HOME=`dirname "$PRG"`

# Absolutize dir
oldpwd=`pwd`
cd "${OXYGEN_HOME}"; OXYGEN_HOME=`pwd`
cd "${oldpwd}"; unset oldpwd

# Classpath
CP=$OXYGEN_HOME/lib/oxygen.jar:$OXYGEN_HOME/classes:$OXYGEN_HOME

java "-Xdock:name=Oxygen"\
-Dcom.oxygenxml.editor.plugins.dir="$OXYGEN_HOME/plugins"\
-Xmx1024m\
-cp "$CP" ro.sync.exml.Oxygen "$@"

dainzu:/Applications/Utilities/Oxygen/8.0/oxygen ron$

Posted: Thu Jan 18, 2007 6:10 pm
by sorin_ristache
It could be a problem with the JavaApplicationStub launcher located in the MacOS folder of the Oxygen bundle. Open the Oxygen bundle by Meta + click on the Oxygen icon in Finder, select Show Package Contents and go into the MacOS folder, replace the JavaApplicationStub file with /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub and start Oxygen again by double clicking the Oxygen icon in Finder.


Regards,
Sorin

Posted: Thu Jan 18, 2007 6:33 pm
by catterall
Sorin
Done that. Oxygen starts OK, no problem.
I'll keep watching, if it does it again I'll notify on this thread
many thanks
Ron