Asset map not working

Hi All,


I have setup a test Matrix environment (latest version).



When I login the asset map (java app) does not load. I have tried various differnt JVM's and browsers (IE, Firefox, Konq) with no success.



IE's java console (1.4.1) shows:



Java™ Plug-in: Version 1.4.2_06

Using JRE version 1.4.2_06 Java HotSpot™ Client VM

User home directory = C:\Documents and Settings\askegg



Proxy Configuration: Manual Configuration

Proxy: http=10.76.128.39:8080,https=10.76.128.39:8080,ftp=10.76.128.39:8080,gopher=10.76.128.39:8080

Proxy Overrides: 10.76.128.39:8080,svic001.*,worklink,connect.challenger.com.au,services.challenger.com.au,cssyda05

,intranet,docserver,challenger.extranet.bankwest.com,host.bankwest.com,lifelink,uat.,
.au.ch

llenger.net,10.
,<local>











----------------------------------------------------

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 properties

t: dump thread list

v: dump thread stack

x: clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

java.lang.ClassFormatError: net/squiz/matrix/complexassetmap/ComplexAssetMap (Bad magic number)



at java.lang.ClassLoader.defineClass0(Native Method)



at java.lang.ClassLoader.defineClass(Unknown Source)



at java.security.SecureClassLoader.defineClass(Unknown Source)



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)

I think I might have the cause…


When looking at the source HTML all the links to images/js/etc are referred to as "/__lib/".



Note the extra "_" - hence the webserver cannot find the files…

Check in you apache access/error logs for any 404 not found for class files (.class). Paste them in here if there are any.


I have a feeling that this might have something to do with your proxy settings…

__lib (with 2 _'s) is correct. It is a reference to the MYSOURCE_ROOT/core/lib directory. That is what you put the apache alias' in for (or symlinks)

Yep - Matrix error log shows errors such as:


URL "10.76.130.102/__lib/asset_map/java/complexassetmap.jar" not found



and



URL "10.76.130.102/_admin/net/squiz/matrix/complexassetmap/ComplexAssetMap.class" not found

OK - so each alias should have two "_"?


I will try this now…

That got it !!!


Opps - missed that in the doco. :smiley: