The Asset Map is blank displaying only the "missing" icon (red X).
Any ideas?
Cheers,
ozmo
This means that the applet failed to load. Are you getting errors in the Java console?
Yes, many errors. Below is the first of many.
Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://www.companydomain.org.au/_admin/?SQ_BACKEND_PAGE=main&assetid=22&sq_from_frontend=1
Line: 0
[quote]Warning: Unknown property ‘filter’. Declaration dropped.
Source File: http://www.companydomain.org.au/_admin/?SQ_BACKEND_PAGE=main&assetid=22&sq_from_frontend=1
Line: 0[/quote]
That’s the JavaScript console, not the Java console. 
Where be the Java console?
OS X / Firefox
[quote]Where be the Java console?
OS X / Firefox[/quote]
Go to Applications -> Utilities -> Java -> J2SE 5.0 -> Java Preferences -> Advanced -> Expand "Java Console" and select "Show Console". Then click Apply and restart Firefox. When you login, the Java Console will appear.
Java Plug-in 1.5.0
Using JRE version 1.5.0_07 Java HotSpot™ Client VM
User home directory = /Users/myUsrname
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
MRJ Plugin for Mac OS X v1.0.1
[starting up Java Applet Security @ Tue Aug 21 18:15:42 EST 2007]
load: class net/squiz/matrix/assetmap/AssetMap.class not found.
java.lang.ClassNotFoundException: net.squiz.matrix.assetmap.AssetMap.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1826)
at jep.AppletFramePanel.createApplet(AppletFramePanel.java:187)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
at sun.applet.AppletPanel.run(AppletPanel.java:324)
at jep.AppletFramePanel.run(AppletFramePanel.java:175)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
… 11 more
It's not finding the asset map. What do the Alias lines in your Apache config look like? Also, what does your main.inc file look like?
Sorry for the delay in replying.
I simply performed a Frimware upgrade on my system and Volia! Back in business.
Strange... hrrmm...
hmmm…
ive just installed a new system and am getting the same issue…
java console:
[codebox]
load: class net/squiz/matrix/assetmap/AssetMap.class not found.
java.lang.ClassNotFoundException: net.squiz.matrix.assetmap.AssetMap.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
… 10 more
[/codebox]
i see its failing to load the assetmap, but why?
i think the Alias line in my apache config are ok…
[codebox]
Alias "/__data" "/home/websites/mysource_matrix/data/public"
Alias "/__lib" "/home/websites/mysource_matrix/core/lib"
Alias "/__fudge" "/home/websites/mysource_matrix/fudge"
Alias "/" "/home/websites/mysource_matrix/core/web/index.php/"
[/codebox]
my main.inc file looks ok to me as well… but maybe someone can spot any mistakes i didnt…
[codebox]
define('SQ_CONF_DB_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB2_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB3_DSN', 'pgsql://matrix_secondary@unix()/mysource_matrix');
define('SQ_CONF_DBCACHE_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_PEAR_PATH', SQ_SYSTEM_ROOT.'/php_includes');
$inc_dir = ini_get('include_path');
$inc_dir = (substr($inc_dir, 0, 2) == '.:') ? '.:'.SQ_CONF_PEAR_PATH.':'.substr($inc_dir, 2) : SQ_CONF_PEAR_PATH.':'.$inc_dir;
ini_set('include_path', $inc_dir);
define('SQ_CONF_BACKEND_SUFFIX', '_admin');
define('SQ_CONF_LIMBO_SUFFIX', '_edit');
define('SQ_CONF_LOGIN_SUFFIX', '_login');
define('SQ_CONF_NOCACHE_SUFFIX', 'nocache');
define('SQ_CONF_ASSET_TREE_BASE', 64);
define('SQ_CONF_ASSET_TREE_SIZE', 4);
define('SQ_CONF_ASSET_CACHE_SIZE_WEB', -1);
define('SQ_CONF_ASSET_CACHE_SIZE_CLI', -1);
define('SQ_CONF_ROLLBACK_ENABLED', '0');
define('SQ_CONF_DEBUG', 0);
define('SQ_CONF_SYSTEM_NAME', 'The System');
define('SQ_CONF_SYSTEM_OWNER', '');
define('SQ_CONF_SYSTEM_ROOT_URLS', 'matrix.netventures.com.au');
define('SQ_CONF_SYSTEM_PARENT_DOMAINS', '');
define('SQ_CONF_STATIC_ROOT_URL', '');
define('SQ_CONF_WEB_PATH_SEPARATOR', '');
define('SQ_CONF_STATIC_ROOT_HTTP', true);
define('SQ_CONF_STATIC_ROOT_HTTPS', false);
define('SQ_CONF_DEFAULT_EMAIL', 'tcosy@hotmail.com');
define('SQ_CONF_TECH_EMAIL', 'tcosy@hotmail.com');
define('SQ_CONF_MAX_LOGIN_ATTEMPTS', 3);
define('SQ_CONF_REFRESH_INTERVAL', 120);
define('SQ_CONF_LOCK_LENGTH', 600);
define('SQ_CONF_ASSET_MAP_ASSET_LIMIT', 50);
define('SQ_CONF_ASSET_MAP_ASSET_DISPLAY_NAME', '%asset_short_name%');
define('SQ_CONF_SEND_CACHEABLE_HEADER', '0');
define('SQ_CONF_SEND_LAST_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NOT_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NO_CACHE_HEADER', '0');
define('SQ_CONF_SEND_404_CACHEABLE_HEADER', '0');
define('SQ_CONF_ERRORS_HIDE_FRONTEND', false);
define('SQ_CONF_DEFAULT_FRONTEND_LANGUAGE', 'en');
define('SQ_CONF_DEFAULT_BACKEND_LOCALE', 'en_AU');
define('SQ_CONF_DEFAULT_CHARACTER_SET', 'iso-8859-1');
define('SQ_CONF_ALLOW_IP_CHANGE', '0');
define('SQ_CONF_ALLOW_HTTP_LOGIN', '0');
define('SQ_CONF_ENABLE_EXTERNAL_AUTH_SYSTEMS', true);
define('SQ_CONF_HTTP_LOGIN_VAR', 'REMOTE_USER');
define('SQ_CONF_ACCEPT_HTTP_CREDS', '0');
define('SQ_CONF_COMMIT_BUTTON_TEXT', 'Commit');
define('SQ_CONF_LOG_EXTENSION', '.log');
define('SQ_CONF_LOG_FILE_SYSTEM', 'system');
define('SQ_CONF_LOG_FILE_ERROR', 'error');
ini_set('error_log', SQ_LOG_PATH.'/'.SQ_CONF_LOG_FILE_ERROR.SQ_CONF_LOG_EXTENSION);
define('SQ_CONF_LOG_ERRORS', true);
ini_set('log_errors', '1');
define('SQ_CONF_SESSION_GC_MAXLIFETIME', 604800);
ini_set('session.gc_maxlifetime', 604800);
define('SQ_CONF_EDITING_TIME', 3600);
define('SQ_CONF_NUM_DATA_DIRS', 20);
define('SQ_CONF_FORCE_SECURE_LOGIN_URLS', '');
define('SQ_CONF_WEB_MEMORY_LIMIT', 16);
define('SQ_CONF_CRON_MEMORY_LIMIT', 16);
define('SQ_CONF_USE_DEFAULT_SESSION_SAVE_PATH', false);
?>
[/codebox]
thanks for any light that can be shone on the subject…
rgards
michael
ahh…
tried it in ie and the asset map displays…
must be java with firefox…
weird because i have always used this firefox when using matrix…
ill see if i can find the issue with firefox…
Try Camino on your mac.
Im having a similar problem but slightly different message - it 'feels' like a server issue, i have tried half a dozen browsers/workstations and they all get this:
[codebox][Fatal Error] :1:7: The markup in the document preceding the root element must be well-formed.
java.io.IOException: error while parsing : The markup in the document preceding the root element must be well-formed.
at net.squiz.matrix.core.Matrix.doRequest(Matrix.java:173)
at net.squiz.matrix.assetmap.AssetMap.loadTranslations(AssetMap.java:303)
at net.squiz.matrix.assetmap.AssetMap.init(AssetMap.java:101)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at net.squiz.matrix.assetmap.AssetMap.loadTranslations(AssetMap.java:308)
at net.squiz.matrix.assetmap.AssetMap.init(AssetMap.java:101)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)[/codebox]
this is the current tarball v3.16.2 - i can download the jar file when placing the path in my browser. i have tried multiple versions of the run-time:
Java Plug-in 1.6.0_03
Using JRE version 1.6.0_03 Java HotSpot™ Client VM
Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot™ Client VM
my apache config and main.inc seem identical to install examples. any help appreciated! this is the last piece of a very long install puzzle to solve 
Have you checked your error.log file in matrix/data/private/logs? Usually when there is a "not well-formed" error, it means that PHP is outputting an error code instead of XML to the asset map.
thanks avi - im getting some undefined index messages
[codebox][2007-11-26 08:28:29][0:MySource System][8:php notice][R] (/core/include/mysource.inc:1463) - Undefined index: userid
[2007-11-26 08:28:29][0:MySource System][8:php notice][R] (/core/include/mysource.inc:1464) - Undefined index: user_type_code
[2007-11-26 08:28:29][0:MySource System][8:php notice][R] (/core/include/mysource.inc:1471) - Undefined index: remote_addr
[2007-11-26 08:28:29][0:MySource System][8:php notice][R] (/core/include/mysource.inc:272) - Undefined index: userid
[/codebox]
im using the root user login - i have changed its password but until i get the asset map working im kind of stuck …
i also noticed in the system.log im getting some wierd session logs:
[codebox][2007-11-26 08:32:06][0:MySource System][1024:mysource notice][ ] [system.security.alert - remote_addr:161.50.83.85;sessionid:d171885ba259f9f8422395db5a8a936d;userid:;] (Security Alert) - Possible attempt to steal session detected!
[/codebox]
We've recently fixed those errors, but they basically just mean that either the asset map or the admin interface doesn't think you are logged in. Do you see login boxes in the frames of the main admin interface?
i was getting login screen on main frame when i tried switch System Parent Domains on. But after removing that from the config the login is fine - unfortunately im still getting a blank asset map. from what avi says its probably down to sessions so im trying all sorts of changes in php.ini to see if i can get that damn asset map working 
im drawing a blank with sessions - can you guys paste in a 'working' php.ini example? preferably based on php4/apache2 setup?
even better - here's a dump from my phpinfo page - any obvious settings i can change?
[codebox]Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php4 /var/lib/php4
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
[/codebox]
I recently saw this exact some issue on a different system where they had added security modules for PHP (sushosin) onto the server. Have you added anything to Apache (like mod_security) or PHP (like sushosin) that could be intefering with Matrix's attempt to re-establish the PHP session for the Java asset map?
i didnt build the server but i did see something called suhosin! now i have meetings for the rest of the afteroon so i have to wait until tomorrow to see if its the problem! :ph34r:
update: removed the suhosin ini file and restarted apache2 - now i cant login at all - did you have to do anything else to get the login working avi?