roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Haslam <simon_has...@yahoo.co.uk>
Subject Re: Custom theme failing even before any changes (Roller 4.0, Oracle AS/OC4J 10.1.3, Oracle 10.2 db)
Date Mon, 21 Apr 2008 09:18:39 GMT

I see there's a TEMPLATE column (type CLOB) in WEBPAGE table which only has
rows for blogs with a custom theme. Given that there's some sensible looking
data in there let's assume this is populated properly.

Presumably when you have a shared theme it just pulls the theme/styles
straight from disk, whereas once you have a custom theme it uses the WEBPAGE
table.

(is the difference between ticking "I want to copy the templates from an
existing theme into my weblog." - if you don't choose a theme does it just
use the templates from the current template rather than allowing you to
choose a new one?)

As Dave suggests I have set
log4j.category.org.apache.roller.weblogger.business.themes=DEBUG.

I don't see any errors when I change the theme from shared to custom. Here's
all the log messages from when I request the front page to getting the HTTP
500:

51,749 CharEncodingFilter:doFilter - Processing CharEncodingFilter
51,750 CharEncodingFilter:doFilter - Set request character encoding to UTF-8
51,753 BootstrapFilter:doFilter - Entered /roller/
51,754 PersistenceSessionFilter:doFilter - Entered /roller/
51,756 RequestMappingFilter:doFilter - entering
51,757 RequestMappingFilter:doFilter - trying mapper
org.apache.roller.weblogger.ui.rendering.WeblogRequestMapper
51,759 WeblogRequestMapper:handleRequest - evaluating [/roller/]
51,761 WeblogRequestMapper:handleRequest - potential weblog handle =
51,763 WeblogRequestMapper:isWeblog - checking weblog handle
51,787 WeblogRequestMapper:handleRequest - SKIPPED
51,790 RequestMappingFilter:doFilter - request not mapped
51,799 WebloggerRuntimeConfig:getProperty - fetched property
[site.frontpage.weblog.handle=fmw]
51,800 CharEncodingFilter:doFilter - Processing CharEncodingFilter
51,802 CharEncodingFilter:doFilter - Set request character encoding to UTF-8
51,804 PageServlet:doGet - Entering
51,806 PageServlet:processReferrer - processing referrer for
/roller/roller-ui/rendering/page/fmw
51,808 WeblogRequest:<init> - parsing path /fmw
51,810 WeblogRequest:<init> - handle = fmw
51,812 WeblogRequest:<init> - locale = null
51,814 WeblogRequest:<init> - pathInfo = null
51,815 WeblogPageRequest:<init> - parsing path null
51,817 WeblogPageRequest:<init> - context = null
51,819 WeblogPageRequest:<init> - weblogAnchor = null
51,820 WeblogPageRequest:<init> - weblogDate = null
51,822 WeblogPageRequest:<init> - weblogCategory = null
51,824 WeblogPageRequest:<init> - tags = null
51,825 WeblogPageRequest:<init> - weblogPage = null
51,826 WeblogPageRequest:<init> - pageNum = 0
51,835 WebloggerRuntimeConfig:getProperty - fetched property
[site.frontpage.weblog.aggregated=false]
51,839 WebloggerRuntimeConfig:getProperty - fetched property
[site.frontpage.weblog.handle=fmw]
51,842 PageServlet:processReferrer - referrer = null
51,849 WebloggerRuntimeConfig:getProperty - fetched property
[site.absoluteurl=null]
51,851 ReferrerProcessingJob:execute - PROCESSING:
http://.../roller/roller-ui/rendering/page/fmw
51,853 JPARefererManagerImpl:processReferrer - processing referrer [null]
accessing [http://.../roller/roller-ui/rendering/page/fmw]
51,984 JPAUserManagerImpl:getWebsiteByHandle - weblogHandleToId CACHE HIT -
fmw
52,107 JPARefererManagerImpl:processReferrer - Incrementing hit count on
existing referer: direct
52,197 WeblogRequest:<init> - parsing path /fmw
52,199 WeblogRequest:<init> - handle = fmw
52,201 WeblogRequest:<init> - locale = null
52,203 WeblogRequest:<init> - pathInfo = null
52,205 WeblogPageRequest:<init> - parsing path null
52,207 WeblogPageRequest:<init> - context = null
52,223 WeblogPageRequest:<init> - weblogAnchor = null
52,225 WeblogPageRequest:<init> - weblogDate = null
52,227 WeblogPageRequest:<init> - weblogCategory = null
52,296 WeblogPageRequest:<init> - tags = null
52,298 WeblogPageRequest:<init> - weblogPage = null
52,301 WeblogPageRequest:<init> - pageNum = 0
52,305 JPAUserManagerImpl:getWebsiteByHandle - weblogHandleToId CACHE HIT -
fmw
52,307 WebloggerRuntimeConfig:getProperty - fetched property
[site.frontpage.weblog.aggregated=false]
52,310 WebloggerRuntimeConfig:getProperty - fetched property
[site.frontpage.weblog.handle=fmw]
52,313 ModDateHeaderUtil:respondIfNotModified - since date = -1
52,316 ModDateHeaderUtil:respondIfNotModified - last mod date (trucated to
seconds) = 1208722661000
52,318 WeblogPageCache:get - MISS cache.weblogpage:fmw/page=0
52,321 PageServlet:doGet - MISS cache.weblogpage:fmw/page=0
52,322 PageServlet:doGet - Looking for template to use for rendering
52,417 PageServlet:doGet - page found, dealing with it
52,420 PersistenceSessionFilter:doFilter - Releasing Roller Session
52,423 WebloggerConfig:getProperty - Fetching property
[planet.aggregator.enabled=false]
52,565 CharEncodingFilter:doFilter - Processing CharEncodingFilter
52,566 CharEncodingFilter:doFilter - Set request character encoding to UTF-8
52,569 BootstrapFilter:doFilter - Entered
/roller/roller-ui/styles/roller.css
52,571 PersistenceSessionFilter:doFilter - Entered
/roller/roller-ui/styles/roller.css
52,572 RequestMappingFilter:doFilter - entering
52,573 RequestMappingFilter:doFilter - trying mapper
org.apache.roller.weblogger.ui.rendering.WeblogRequestMapper
52,576 WeblogRequestMapper:handleRequest - evaluating
[/roller/roller-ui/styles/roller.css]
52,577 WeblogRequestMapper:handleRequest - potential weblog handle =
roller-ui
52,579 WeblogRequestMapper:handleRequest - SKIPPED roller-ui
52,581 RequestMappingFilter:doFilter - request not mapped
52,583 RequestMappingFilter:doFilter - exiting
52,585 PersistenceSessionFilter:doFilter - Releasing Roller Session
52,587 WebloggerConfig:getProperty - Fetching property
[planet.aggregator.enabled=false]
52,588 PersistenceSessionFilter:doFilter - Exiting
/roller/roller-ui/styles/roller.css
52,590 BootstrapFilter:doFilter - Exiting
/roller/roller-ui/styles/roller.css

Note it always seems to stop on this roller.css request - I don't see this
roller.css called for other Shared themes. I do have a rolller.css file
here:
<OC4J j2ee>/applications/roller/roller/roller-ui/styles/roller.css

I know it's not reporting an error in the log, but could this be a path
problem as I've had those before? (I'm setting my themes.dir etc in my
roller-custom.properties). I'll see if I can find in the source where
roller.css is being called.

Simon
-- 
View this message in context: http://www.nabble.com/Custom-theme-failing-even-before-any-changes-%28Roller-4.0%2C-Oracle-AS-OC4J-10.1.3%2C-Oracle-10.2-db%29-tp16763352s12275p16806112.html
Sent from the Roller - User mailing list archive at Nabble.com.


Mime
View raw message