Hilton,
                Are there any entries in the log like:
                                "checking for patterns" or "checking for 
handles"

                The second message should be in the log if the code that tests 
for handle matches is executed.

Regards,
                Ben



[Jisc]<http://www.jisc.ac.uk/>

Ben Ryan
Jorum Technical Manager

T 0161 275 6032
Skype argaric
Room 5.12 Roscoe Buidling, The University of Manchester, Oxford Road, M13 9PL

jisc.ac.uk<http://www.jisc.ac.uk/>

Jisc is a registered charity (number 1149740) and a company limited by 
guarantee which is registered in England under Company No. 5747339, VAT No. GB 
197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, 
BS2 0JA. T 0203 697 5800. jisc.ac.uk<http://www.jisc.ac.uk/>




From: Hilton Gibson [mailto:[email protected]]
Sent: 19 January 2015 12:35
To: Benjamin Ryan
Cc: dspace-tech
Subject: Re: [Dspace-tech] XMLUI theme matching problem

Hi Ben

Here is a snippet from the log on my dev server.
>>>2015-01-19 13:03:38,756 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
>>>cocoon-ehcacheMemoryStore miss for 
>>>PK_R-ConcatenationReader-lib/css/base.css?minify
2015-01-19 13:03:38,757 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,759 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/authority-control.css?minify
2015-01-19 13:03:38,759 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,760 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/jquery-ui-1.8.15.custom.css?minify
2015-01-19 13:03:38,760 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/reset.css?minify
2015-01-19 13:03:38,761 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,762 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,763 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/style.css?minify
2015-01-19 13:03:38,763 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,765 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/helper.css?minify
2015-01-19 13:03:38,765 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,815 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,817 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,819 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,820 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,825 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,826 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/media.css?minify
2015-01-19 13:03:38,826 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,832 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/js/modernizr-1.7.min.js?minify
2015-01-19 13:03:38,832 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,839 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/js/jquery-ui-1.8.15.custom.min.js?minify
2015-01-19 13:03:38,839 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,841 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/handheld.css?minify
2015-01-19 13:03:38,841 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,847 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/discovery-style.css?minify
2015-01-19 13:03:38,847 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,883 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,891 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-ConcatenationReader-lib/css/print.css?minify
2015-01-19 13:03:38,891 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,908 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,910 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,912 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:38,918 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-resource-jndi:/localhost/themes/M-F03/images/logo.png
2015-01-19 13:03:38,918 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,919 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-resource-jndi:/localhost/themes/M-F03/fonts/ubuntu-b-webfont.woff
2015-01-19 13:03:38,919 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:38,924 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-resource-jndi:/localhost/themes/M-F03/fonts/ubuntu-r-webfont.woff
2015-01-19 13:03:38,924 DEBUG net.sf.ehcache.Cache @ cocoon-ehcache cache - Miss
2015-01-19 13:03:39,066 DEBUG org.dspace.springmvc.CocoonForwardController @ 
CocoonForwardController!!!!!
2015-01-19 13:03:39,074 DEBUG net.sf.ehcache.Cache @ cocoon-ehcacheCache: 
cocoon-ehcacheMemoryStore miss for 
PK_R-resource-jndi:/localhost/themes/M-F03/images/favicon.ico
>>>

Am I correct in saying, the cache does not load the full path to the theme css 
files???

Cheers

hg


Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 19 January 2015 at 12:35, Benjamin Ryan 
<[email protected]<mailto:[email protected]>> wrote:
Hilton,
                Can you switch debug on and post your log?
                The ThemeMatcher code has a series of logging that should help 
(the code looks a bit odd to me but probably just personal style).

Regards,
                Ben

[Jisc]<http://www.jisc.ac.uk/>

Ben Ryan
Jorum Technical Manager

T 0161 275 6032
Skype argaric
Room 5.12 Roscoe Buidling, The University of Manchester, Oxford Road, M13 9PL

jisc.ac.uk<http://www.jisc.ac.uk/>

Jisc is a registered charity (number 1149740) and a company limited by 
guarantee which is registered in England under Company No. 5747339, VAT No. GB 
197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, 
BS2 0JA. T 0203 697 5800. jisc.ac.uk<http://www.jisc.ac.uk/>



From: Hilton Gibson 
[mailto:[email protected]<mailto:[email protected]>]
Sent: 19 January 2015 09:20
To: dspace-tech
Subject: [Dspace-tech] XMLUI theme matching problem

Hi All

I am trying to "colourise" our faculty communities.
See: http://scholar.sun.ac.za
Here is the faculty palette: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Theme/Color_Palette
Attached is my "xmlui.xconf" file.

The XMLUI does not seem to obey the "colourisation".
I have tried the following to remedy this:
1. Sort faculty handles ascending and descending in the "xmlui.xconf".
2. For all themes, disable the browser caching in the "sitemap.xmap" files.

I have installed the "cache killer" app in my Google Chrome browser to test if 
this is a cache problem. I have also reset the "java cache" in the XMLUI admin 
control panel to do testing.

The page metadata correctly displays the theme name and path.
See: http://scholar.sun.ac.za/?XML and 
http://scholar.sun.ac.za/handle/10019.1/1?XML

I simply cannot find a cause, why the theme colour is not obeyed strictly per 
faculty.
Any help appreciated. Depending on the responses to this question on the list, 
I may submit a bug report.

This is supposed to be one the big selling points of the XMLUI, the ability to 
theme communities and collections etc..., but for me it does not work ;-(

I suspect something in the following code is not robust.
See: 
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/ThemeMatcher.java

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100<tel:%2B27%2021%20808%204100> | Cell: +27 84 646 
4758<tel:%2B27%2084%20646%204758>

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to