After upgrading to Ubuntu Lucid 10.04, each time I tried to access an asset screen through the asset map, the screen frame only displayed my site's 404 page. I found that this was due to Ubuntu deciding to make IcedTea the default Java plugin in Firefox instead of the official Sun Java plugin, and it was for some reason putting an underscore in the URL to load where a question mark should have been.
How I restored Sun Java:
[list=1]
Uninstall icedtea6-plugin and openjdk-6-jre
[*]Install sun-java6-plugin
[*]Run the following command in terminal:
sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so 1
Or, if you're using 32 bit Ubuntu:
sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 1
Hope this can be useful to someone else! :)
[quote]
After upgrading to Ubuntu Lucid 10.04, each time I tried to access an asset screen through the asset map, the screen frame only displayed my site's 404 page. I found that this was due to Ubuntu deciding to make IcedTea the default Java plugin in Firefox instead of the official Sun Java plugin, and it was for some reason putting an underscore in the URL to load where a question mark should have been.
How I restored Sun Java:
[list=1]
Uninstall icedtea6-plugin and openjdk-6-jre[]Install sun-java6-plugin[]Run the following command in terminal:
sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so 1
Or, if you're using 32 bit Ubuntu:
sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 1
Hope this can be useful to someone else! :)
[/quote]
Wow, quick, a couple of us found this and found the fix but you beat us to posting. Although we didn't have to do step 3 to get it working. (Possibly because we removed OpenJDK completely and installed the whole Sun Java packages).
The Lucid Lynx also did some other strange this for us as well, like screwing with gnome and php. So if there are developers or sysadmins using Matrix on Ubuntu Lucid Lynx, by default it installs PHP 5.3 (which is not supported by Matrix and a couple of PEAR modules) so you have to backport to the Karmic version by (running as root):
dpkg -l | grep php | cut -c 5-25 > ~/php.installed
sed s/lucid/karmic/g /etc/apt/sources.list | tee /etc/apt/sources.list.d/karmic.list
for i in `cat ~/php.installed`; do echo -e "Package: $i\nPin: release a=karmic\nPin-Priority: 991\n\n" >> /etc/apt/preferences.d/php; done
apt-get update
apt-get install `cat ~/php.installed`
[quote]
Wow, quick, a couple of us found this and found the fix but you beat us to posting. Although we didn't have to do step 3 to get it working. (Possibly because we removed OpenJDK completely and installed the whole Sun Java packages).
[/quote]
Ah, I think I may have installed Sun Java before fully uninstalling OpenJDK, which is why the extra step was needed.