List Info

Thread: Re: upgrade 2.32 to 3.1




Re: upgrade 2.32 to 3.1
country flaguser name
United States
2007-02-16 10:53:24


On 2/16/07 11:50 AM, "Brett Leber" <blebercs.cmu.edu> wrote:

> On 2/16/2007 10:58 AM, David Czarnecki wrote:
>> Try removing the + from the category name and
description.
> 
> That did the trick  Might be
worth adding a routine to the upgrade
> utility to do this.

Will do that.

> 
>> And yes, those plugins below do not exist in
blojsom 3.
> 
> I'll try removing them from both the Plugins table in
the db, and
> /WEB-INF/blogs/myblog/plugin.properties.

You can get rid of all those properties files. They're not
used. The only
items used from the filesystem in the individual blogs
directories are the
templates. 

> 
> Thanks,
> Brett
> 
>> On 2/16/07 10:40 AM, "Brett Leber"
<blebercs.cmu.edu> wrote:
>> 
>>> I've merged my customizations (css and
template) with the new v3.1 ones.
>>> Looks good, but I have a few unresolved
issues:
>>> 
>>> - Category links are not working. Here's what's
in the Category table
>>> (nothing in CategoryMetadata):
>>> 
>>> SELECT * FROM blojsom.Category C;
>>> 
>>> category_id blog_id parent_category_id name
description
>>> 1 1  / 
>>> 2 1  /DataShop+News/  DataShop+News
>>> 3 1  /Logging+Format/  Logging+Format
>>> 4 1  /Release+Notes/  Release+Notes
>>> 5 1  /Tutors/  Tutors
>>> 
>>> In Entires table, entries have
blog_category_id's (1-5). The resulting
>>> URL in the blog is, for example:
>>> myserver/blojsom/blog/datashop/DataShop+News/
>>> 
>>> But this just shows all posts.
>>> 
>>> Categories column is:
>>>      * $multilineText
>>>      * DataShop+News
>>>      ...
>>> 
>>> - I still get errors in the log as follows:
>>> 2007-02-16 10:04:42,481 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: referer-log
>>> 2007-02-16 10:04:42,517 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: limiter
>>> 2007-02-16 10:04:42,577 ERROR
[org.blojsom.servlet.BlojsomServlet]
>>> Plugin not available: fetcher-helper
>>> 
>>> Am I trying to enable plugins that no longer
exist?
>>> 
>>> Thanks!
>>> 
>>> Brett
>>> 
>>> On 2/15/2007 8:26 PM, Brett Leber wrote:
>>>> It looks like the upgrade utility was able
to copy the files over to the
>>>> blojsom3 directory, but it doesn't appear
to have written to them.
>>>> 
>>>> Is there any way to rerun the upgrade
utility so that it updates the
>>>> templates but nothing else? If not, I might
just use the default asual
>>>> templates, and integrate my changes.
>>>> 
>>>> I've sent you a server log file (grep -i
'blojsom' server.log) in case
>>>> you'd like to debug.
>>>> 
>>>> Brett
>>>> 
>>>> On 2/15/2007 4:56 PM, David Czarnecki
wrote:
>>>>> Well, the upgrade utility should
upgrade that template code for you. It
>>>>> has
>>>>> code in there to do it.
>>>>> 
>>>>> Even if the blojsom 3 files were output
the application server, it should
>>>>> still be able to write them. But if
there aren't any errors from the
>>>>> upgrade
>>>>> utility, I can't diagnose what's
wrong.
>>>>> 
>>>>> On 2/15/07 4:45 PM, "Brett
Leber" <blebercs.cmu.edu> wrote:
>>>>> 
>>>>>> Thanks, David. I'll give this a try
tonight.
>>>>>> 
>>>>>> Why did this happen? Should the
upgrade instructions mention this, or
>>>>>> was it something I could've
avoided?
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Brett
>>>>>> 
>>>>>> On 2/15/2007 2:39 PM, David
Czarnecki wrote:
>>>>>>> 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/asu
>>>>>>>> al
>>>>>>>> .cs
>>>>>>>> s"
>>>>>>>> type="text/css"
media="screen" />
>>>>>>>> <link
rel="stylesheet" rev="stylesheet"
>>>>>>>> href="http
://pslc-qa.andrew.cmu.edu/blojsom/resources/$BLOJSOM_USE
R/asu
>>>>>>>> al
>>>>>>>> -fi
>>>>>>>> xe
>>>>>>>> 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/asu
>>>>>>>> al
>>>>>>>> -el
>>>>>>>> as
>>>>>>>> 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/asua
>>>>>>>> l.
>>>>>>>> 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+blojso
>>>>>>>>>>>> m+
>>>>>>>>>>>> 2+t
>>>>>>>>>>>> o+
>>>>>>>>>>>> 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
>>>>>>>>>>>> ;h
>>>>>>>>>>>> ash
>>>>>>>>>>>> Co
>>>>>>>>>>>> de
>>>>>>>>>>>> =3
>>>>>>>>>>>> 2913833]:
>>>>>>>>>>>> 
org.springframework.beans.factory.support.DefaultListableBea
nFactor>>>>>>>>>>>>
y
>>>>>>>>>>>> defining
beans
>>>>>>>>>>>>
[servletConfigFactoryBean,dataSource,hibernateSessionFactory
,defaul
>>>>>>>>>>>> tP
>>>>>>>>>>>> rop
>>>>>>>>>>>> er
>>>>>>>>>>>> ti
>>>>>>>>>>>> es
>>>>>>>>>>>>
,xmlrpcProperties,authorizationProvider,eventBroadcaster,fet
cher,re
>>>>>>>>>>>> so
>>>>>>>>>>>> urc
>>>>>>>>>>>> eM
>>>>>>>>>>>> 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
>>>>>>>>>>>> ;h
>>>>>>>>>>>> ash
>>>>>>>>>>>> Co
>>>>>>>>>>>> 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
1b492e
>>>>>>>>>>>> 7]
>>>>>>>>>>>> 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
ticaste
>>>>>>>>>>>> r
>>>>>>>>>>>> 18b
>>>>>>>>>>>> 60
>>>>>>>>>>>> 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
anFacto
>>>>>>>>>>>> ry
>>>>>>>>>>>> defining
beans
>>>>>>>>>>>>
[servletConfigFactoryBean,dataSource,hibernateSessionFactory
,defaul
>>>>>>>>>>>> tP
>>>>>>>>>>>> rop
>>>>>>>>>>>> er
>>>>>>>>>>>> ti
>>>>>>>>>>>> es
>>>>>>>>>>>>
,xmlrpcProperties,authorizationProvider,eventBroadcaster,fet
cher,re
>>>>>>>>>>>> so
>>>>>>>>>>>> urc
>>>>>>>>>>>> eM
>>>>>>>>>>>> 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]

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