List Info

Thread: Re: upgrade 2.32 to 3.1




Re: upgrade 2.32 to 3.1
country flaguser name
United States
2007-02-15 12:50:29
I think what's happening is that the upgrade script is
writing back to 
the blojsom3 directory, which as I noted is outside of the
application 
server (JBoss). So those files (including templates) are not
available 
to JBoss.

I've recreated the WAR and deployed to JBoss. The blog now
loads (more 
progress!), but no CSS. Source reads:

<link rel="stylesheet"
rev="stylesheet" 
href="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual.css" 
type="text/css" media="screen" />
<link rel="stylesheet"
rev="stylesheet" 
href="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual-fixed.css" 
title="fixed" type="text/css"
media="screen" />
<link rel="stylesheet"
rev="stylesheet" 
href="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual-elastic.css" 
title="elastic" type="text/css"
media="screen" />

<script type="text/javascript" 
src="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual.js"></script>

In log, I have:

2007-02-15 13:50:02,130 ERROR
[org.blojsom.servlet.BlojsomServlet] 
Plugin not available: referer-log
2007-02-15 13:50:02,146 ERROR
[org.blojsom.servlet.BlojsomServlet] 
Plugin not available: limiter
2007-02-15 13:50:02,154 ERROR
[org.blojsom.servlet.BlojsomServlet] 
Plugin not available: fetcher-helper


Thanks,

Brett


On 2/15/2007 12:49 PM, David Czarnecki wrote:
> Make sure that the /WEB-INF/blogs/(blog-id)/templates/
directory has
> templates. I would've expected the upgrade utility to
copy those files, but
> if there wasn't an error from the utility, I'm not sure
what happened.
> 
> 
> On 2/15/07 12:43 PM, "Brett Leber"
<blebercs.cmu.edu> wrote:
> 
>> No errors from the upgrade utility, no.
>>
>> I'm looking at the database now, and I see data
(!). But accessing the
>> blog from the browser gives me nothing (blank page,
no document, no
>> error). Here are the log lines:
>>
>> 2007-02-15 12:40:15,997 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: referer-log
>> 2007-02-15 12:40:16,014 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: limiter
>> 2007-02-15 12:40:16,023 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: fetcher-helper
>> 2007-02-15 12:40:16,114 ERROR
>>
[org.blojsom.dispatcher.velocity.VelocityDispatcher] Could
not find
>> flavor template for user: asual.vm
>> 2007-02-15 12:40:18,382 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: referer-log
>> 2007-02-15 12:40:18,399 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: limiter
>> 2007-02-15 12:40:18,408 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: fetcher-helper
>> 2007-02-15 12:40:18,544 ERROR
>>
[org.blojsom.dispatcher.velocity.VelocityDispatcher] Could
not find
>> flavor template for user: asual.vm
>> 2007-02-15 12:40:20,798 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: referer-log
>> 2007-02-15 12:40:20,815 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: limiter
>> 2007-02-15 12:40:20,826 ERROR
[org.blojsom.servlet.BlojsomServlet]
>> Plugin not available: fetcher-helper
>> 2007-02-15 12:40:20,938 ERROR
>>
[org.blojsom.dispatcher.velocity.VelocityDispatcher] Could
not find
>> flavor template for user: asual.vm
>>
>> On 2/15/2007 12:33 PM, David Czarnecki wrote:
>>> Are there any errors from the Blojsom 2 to
Blojsom 3 upgrade utility? The
>>> messages below don't indicate anything is
wrong.
>>>
>>> On 2/15/07 12:28 PM, "Brett Leber"
<blebercs.cmu.edu> wrote:
>>>
>>>> I'm trying to upgrade Blojsom 2 to 3.1 on
JBoss/mysql5 following the
>>>> instructions here:
>>>> http://wiki.blojsom.com/wiki/display
/blojsom3/Upgrading+from+blojsom+2+to+bl
>>>> oj
>>>> som+3.
>>>>
>>>> I believe I followed the instructions
correctly, but the blojsom
>>>> database is not being populated. Here are
the relevant lines from the
>>>> log file. Note that the blojsom database is
already created as per the
>>>> instructions. But I don't get any info
lines about reading in a SQL script.
>>>>
>>>> I'm using the blojsom 2->3 upgrade
utility.
>>>>
>>>> Any ideas?
>>>>
>>>> Thanks,
>>>>
>>>> Brett
>>>>
>>>> 2007-02-15 12:10:35,148 INFO 
[org.hibernate.impl.SessionFactoryImpl]
>>>> building session factory
>>>> 2007-02-15 12:10:35,463 INFO
>>>>
[org.hibernate.impl.SessionFactoryObjectFactory] Not binding
factory to
>>>> JNDI, no JNDI name configured
>>>> 2007-02-15 12:10:35,658 ERROR
>>>>
[org.blojsom.plugin.markdown.MarkdownPlugin] No Markdown
execution
>>>> string provided. Use initialization
parameter: plugin-markdown-execution
>>>> 2007-02-15 12:10:36,507 INFO 
[org.blojsom.util.database.DatabaseLoader]
>>>> About to create blojsom database
>>>> 2007-02-15 12:10:36,511 INFO 
[org.blojsom.util.database.DatabaseLoader]
>>>> blojsom database already created
>>>> 2007-02-15 12:10:36,675 INFO
>>>>
[org.blojsom.upgrade.Blojsom2ToBlojsom3Utility] Added
blojsom fetcher:
>>>> org.blojsom2.fetcher.StandardFetcher
>>>> 2007-02-15 12:10:36,689 INFO 
[org.blojsom2.blog.BlojsomConfiguration]
>>>> Attemping to load
/WEB-INF/datashop/blog.properties
>>>> 2007-02-15 12:10:36,705 INFO 
[org.blojsom2.blog.Blog] blojsom home:
>>>>
/oli/private/bleber/blojsom/blogs/datashop/
>>>> 2007-02-15 12:10:37,571 INFO
>>>>
[org.springframework.beans.factory.xml.XmlBeanDefinitionRead
er] Loading
>>>> XML bean definitions from class path
resource [blojsom-xmlrpc.xml]
>>>> 2007-02-15 12:10:37,577 INFO
>>>>
[org.springframework.beans.factory.xml.XmlBeanDefinitionRead
er] Loading
>>>> XML bean definitions from class path
resource
>>>> [blojsom-helper-beans-include.xml]
>>>> 2007-02-15 12:10:37,614 INFO
>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context]
>>>> Bean factory for application context
>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context;hashCode
>>>> =3
>>>> 2913833]: 
>>>>
org.springframework.beans.factory.support.DefaultListableBea
nFactory
>>>> defining beans 
>>>>
[servletConfigFactoryBean,dataSource,hibernateSessionFactory
,defaultProperti
>>>> es
>>>>
,xmlrpcProperties,authorizationProvider,eventBroadcaster,fet
cher,resourceMan
>>>> ag
>>>> er,blogger,metaWeblog,mt,pingback];
>>>> root of BeanFactory hierarchy
>>>> 2007-02-15 12:10:37,614 INFO
>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context] 13
>>>> beans defined in application context
>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context;hashCode
>>>> =3
>>>> 2913833]
>>>> 2007-02-15 12:10:37,614 INFO
>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context]
>>>> Unable to locate MessageSource with name
'messageSource': using default
>>>>
[org.springframework.context.support.DelegatingMessageSource
1b492e7]
>>>> 2007-02-15 12:10:37,614 INFO
>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context]
>>>> Unable to locate
ApplicationEventMulticaster with name
>>>> 'applicationEventMulticaster': using
default
>>>>
[org.springframework.context.event.SimpleApplicationEventMul
ticaster18b603]
>>>> 2007-02-15 12:10:37,615 INFO
>>>>
[org.springframework.beans.factory.support.DefaultListableBe
anFactory]
>>>> Pre-instantiating singletons in factory
>>>>
[org.springframework.beans.factory.support.DefaultListableBe
anFactory
>>>> defining beans 
>>>>
[servletConfigFactoryBean,dataSource,hibernateSessionFactory
,defaultProperti
>>>> es
>>>>
,xmlrpcProperties,authorizationProvider,eventBroadcaster,fet
cher,resourceMan
>>>> ag
>>>> er,blogger,metaWeblog,mt,pingback];
>>>> root of BeanFactory hierarchy]
>>>> 2007-02-15 12:10:37,628 INFO 
[org.hibernate.cfg.HbmBinder] Mapping
>>>> class:
org.blojsom.blog.database.DatabaseBlog -> Blog

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: upgrade 2.32 to 3.1
country flaguser name
United States
2007-02-15 13:39:49
You can change those template references to use something
like:

                <link rel="stylesheet"
rev="stylesheet"
href="#Resource('asual.css')"
type="text/css" media="screen" />
                <link rel="stylesheet"
rev="stylesheet"
href="#Resource('asual-fixed.css')"
title="fixed" type="text/css"
media="screen" />
                <link rel="stylesheet"
rev="stylesheet"
href="#Resource('asual-elastic.css')"
title="elastic" type="text/css"
media="screen" />


On 2/15/07 1:50 PM, "Brett Leber" <blebercs.cmu.edu> wrote:

> I think what's happening is that the upgrade script is
writing back to
> the blojsom3 directory, which as I noted is outside of
the application
> server (JBoss). So those files (including templates)
are not available
> to JBoss.
> 
> I've recreated the WAR and deployed to JBoss. The blog
now loads (more
> progress!), but no CSS. Source reads:
> 
> <link rel="stylesheet"
rev="stylesheet"
> href="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual.css"
> type="text/css" media="screen"
/>
> <link rel="stylesheet"
rev="stylesheet"
> href="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual-fixe
> d.css" 
> title="fixed" type="text/css"
media="screen" />
> <link rel="stylesheet"
rev="stylesheet"
> href="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual-elas
> tic.css" 
> title="elastic" type="text/css"
media="screen" />
> 
> <script type="text/javascript"
> src="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asual.js"><
> /script>
> 
> In log, I have:
> 
> 2007-02-15 13:50:02,130 ERROR
[org.blojsom.servlet.BlojsomServlet]
> Plugin not available: referer-log
> 2007-02-15 13:50:02,146 ERROR
[org.blojsom.servlet.BlojsomServlet]
> Plugin not available: limiter
> 2007-02-15 13:50:02,154 ERROR
[org.blojsom.servlet.BlojsomServlet]
> Plugin not available: fetcher-helper
> 
> 
> Thanks,
> 
> Brett
> 
> 
> On 2/15/2007 12:49 PM, David Czarnecki wrote:
>> Make sure that the
/WEB-INF/blogs/(blog-id)/templates/ directory has
>> templates. I would've expected the upgrade utility
to copy those files, but
>> if there wasn't an error from the utility, I'm not
sure what happened.
>> 
>> 
>> On 2/15/07 12:43 PM, "Brett Leber"
<blebercs.cmu.edu> wrote:
>> 
>>> No errors from the upgrade utility, no.
>>> 
>>> I'm looking at the database now, and I see data
(!). But accessing the
>>> blog from the browser gives me nothing (blank
page, no document, no
>>> error). Here are the log lines:
>>> 
>>> 2007-02-15 12:40:15,997 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: referer-log
>>> 2007-02-15 12:40:16,014 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: limiter
>>> 2007-02-15 12:40:16,023 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: fetcher-helper
>>> 2007-02-15 12:40:16,114 ERROR
>>>
[org.blojsom.dispatcher.velocity.VelocityDispatcher] Could
not find
>>> flavor template for user: asual.vm
>>> 2007-02-15 12:40:18,382 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: referer-log
>>> 2007-02-15 12:40:18,399 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: limiter
>>> 2007-02-15 12:40:18,408 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: fetcher-helper
>>> 2007-02-15 12:40:18,544 ERROR
>>>
[org.blojsom.dispatcher.velocity.VelocityDispatcher] Could
not find
>>> flavor template for user: asual.vm
>>> 2007-02-15 12:40:20,798 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: referer-log
>>> 2007-02-15 12:40:20,815 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: limiter
>>> 2007-02-15 12:40:20,826 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: fetcher-helper
>>> 2007-02-15 12:40:20,938 ERROR
>>>
[org.blojsom.dispatcher.velocity.VelocityDispatcher] Could
not find
>>> flavor template for user: asual.vm
>>> 
>>> On 2/15/2007 12:33 PM, David Czarnecki wrote:
>>>> Are there any errors from the Blojsom 2 to
Blojsom 3 upgrade utility? The
>>>> messages below don't indicate anything is
wrong.
>>>> 
>>>> On 2/15/07 12:28 PM, "Brett
Leber" <blebercs.cmu.edu> wrote:
>>>> 
>>>>> I'm trying to upgrade Blojsom 2 to 3.1
on JBoss/mysql5 following the
>>>>> instructions here:
>>>>> http://wiki.blojsom.com/wiki/display/b
lojsom3/Upgrading+from+blojsom+2+to+
>>>>> bl
>>>>> oj
>>>>> som+3.
>>>>> 
>>>>> I believe I followed the instructions
correctly, but the blojsom
>>>>> database is not being populated. Here
are the relevant lines from the
>>>>> log file. Note that the blojsom
database is already created as per the
>>>>> instructions. But I don't get any info
lines about reading in a SQL
>>>>> script.
>>>>> 
>>>>> I'm using the blojsom 2->3 upgrade
utility.
>>>>> 
>>>>> Any ideas?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Brett
>>>>> 
>>>>> 2007-02-15 12:10:35,148 INFO 
[org.hibernate.impl.SessionFactoryImpl]
>>>>> building session factory
>>>>> 2007-02-15 12:10:35,463 INFO
>>>>>
[org.hibernate.impl.SessionFactoryObjectFactory] Not binding
factory to
>>>>> JNDI, no JNDI name configured
>>>>> 2007-02-15 12:10:35,658 ERROR
>>>>>
[org.blojsom.plugin.markdown.MarkdownPlugin] No Markdown
execution
>>>>> string provided. Use initialization
parameter: plugin-markdown-execution
>>>>> 2007-02-15 12:10:36,507 INFO 
[org.blojsom.util.database.DatabaseLoader]
>>>>> About to create blojsom database
>>>>> 2007-02-15 12:10:36,511 INFO 
[org.blojsom.util.database.DatabaseLoader]
>>>>> blojsom database already created
>>>>> 2007-02-15 12:10:36,675 INFO
>>>>>
[org.blojsom.upgrade.Blojsom2ToBlojsom3Utility] Added
blojsom fetcher:
>>>>> org.blojsom2.fetcher.StandardFetcher
>>>>> 2007-02-15 12:10:36,689 INFO 
[org.blojsom2.blog.BlojsomConfiguration]
>>>>> Attemping to load
/WEB-INF/datashop/blog.properties
>>>>> 2007-02-15 12:10:36,705 INFO 
[org.blojsom2.blog.Blog] blojsom home:
>>>>>
/oli/private/bleber/blojsom/blogs/datashop/
>>>>> 2007-02-15 12:10:37,571 INFO
>>>>>
[org.springframework.beans.factory.xml.XmlBeanDefinitionRead
er] Loading
>>>>> XML bean definitions from class path
resource [blojsom-xmlrpc.xml]
>>>>> 2007-02-15 12:10:37,577 INFO
>>>>>
[org.springframework.beans.factory.xml.XmlBeanDefinitionRead
er] Loading
>>>>> XML bean definitions from class path
resource
>>>>> [blojsom-helper-beans-include.xml]
>>>>> 2007-02-15 12:10:37,614 INFO
>>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context]
>>>>> Bean factory for application context
>>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context;hashCo
>>>>> de
>>>>> =3
>>>>> 2913833]: 
>>>>>
org.springframework.beans.factory.support.DefaultListableBea
nFactory
>>>>> defining beans
>>>>>
[servletConfigFactoryBean,dataSource,hibernateSessionFactory
,defaultProper
>>>>> ti
>>>>> es
>>>>>
,xmlrpcProperties,authorizationProvider,eventBroadcaster,fet
cher,resourceM
>>>>> an
>>>>> ag
>>>>> er,blogger,metaWeblog,mt,pingback];
>>>>> root of BeanFactory hierarchy
>>>>> 2007-02-15 12:10:37,614 INFO
>>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context] 13
>>>>> beans defined in application context
>>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context;hashCo
>>>>> de
>>>>> =3
>>>>> 2913833]
>>>>> 2007-02-15 12:10:37,614 INFO
>>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context]
>>>>> Unable to locate MessageSource with
name 'messageSource': using default
>>>>>
[org.springframework.context.support.DelegatingMessageSource
1b492e7]
>>>>> 2007-02-15 12:10:37,614 INFO
>>>>>
[org.springframework.context.support.ClassPathXmlApplication
Context]
>>>>> Unable to locate
ApplicationEventMulticaster with name
>>>>> 'applicationEventMulticaster': using
default
>>>>>
[org.springframework.context.event.SimpleApplicationEventMul
ticaster18b60
>>>>> 3]
>>>>> 2007-02-15 12:10:37,615 INFO
>>>>>
[org.springframework.beans.factory.support.DefaultListableBe
anFactory]
>>>>> Pre-instantiating singletons in
factory
>>>>>
[org.springframework.beans.factory.support.DefaultListableBe
anFactory
>>>>> defining beans
>>>>>
[servletConfigFactoryBean,dataSource,hibernateSessionFactory
,defaultProper
>>>>> ti
>>>>> es
>>>>>
,xmlrpcProperties,authorizationProvider,eventBroadcaster,fet
cher,resourceM
>>>>> an
>>>>> ag
>>>>> er,blogger,metaWeblog,mt,pingback];
>>>>> root of BeanFactory hierarchy]
>>>>> 2007-02-15 12:10:37,628 INFO 
[org.hibernate.cfg.HbmBinder] Mapping
>>>>> class:
org.blojsom.blog.database.DatabaseBlog -> Blog
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )