roller-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Gangolli" <a...@busybuddha.org>
Subject Re: Roller 3.0 branch status?
Date Sat, 22 Jul 2006 22:55:25 GMT

OK.  I managed to figure that out by searching for templatelang and finding 
it in the 240-to-300-migration.sql
but not in createdb.sql.  I can hobble along for now.

--a.


----- Original Message ----- 
From: "Allen Gilliland" <allen.gilliland@sun.com>
To: <roller-dev@incubator.apache.org>
Sent: Saturday, July 22, 2006 3:40 PM
Subject: Re: Roller 3.0 branch status?


> yes, the 3.0 branch should be fairly stable now, but you have run into a 
> few things that are dangling.  these are the current gotchas ...
>
> 1. url migration is still under way, so there are some pieces of old 
> code/macros which still form the old style of urls.  this will result in 
> broken urls from time to time.
>
> 2. because the frontpage is now a weblog it doesn't make sense for it to 
> work like it did in the past on a new install.  Dave and I are planning to 
> make this an online (and simplified) install guide.  So when you get a 
> fresh install it will give a little welcome message and layout the set of 
> things you should do to finish setting up the new installation. right now 
> it's a blank page since we haven't designed it, so the basic steps are 1) 
> register first user, 2) create first weblog, 3) set global admin property 
> "frontpage handle"
>
> 3. the hibernate exception is likely my fault.  i added a few columns to 
> the db yesterday and i only put them in the upgrade script :(  i'll fix 
> that as soon as i get a few more minutes.
>
> -- Allen
>
>
> Anil Gangolli wrote:
>> [NOTE:  This applies only to the roller_3.0 branch.]
>>
>> What's the state of the Roller 3.0 branch?  Is it supposed to build and 
>> mostly run ok?
>>
>> I'm trying to test some changes I have and I ran into the following 
>> problems:
>>
>> (1) If you're starting from a fresh db created with the current 
>> createdb.sql in the branch, you start with no front page blog and it 
>> isn't immediately clear how to navigate somewhere to create one.  OK.  I 
>> managed.
>>
>> (2) I'm able to create a weblog but I get the following strange Hibernate 
>> exception (which I haven't taken the time to diagnose) if I hit the 
>> Settings link to manage the settings on one of my weblogs.  The exception 
>> is ERROR 2006-07-22 14:25:15,976 StandardWrapperValve:invoke - 
>> Servlet.service() fo
>> r servlet action threw exception
>> org.hibernate.exception.SQLGrammarException: could not execute query
>>         at 
>> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
>> ava:65)
>>         at 
>> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
>> er.java:43)
>>         at org.hibernate.loader.Loader.doList(Loader.java:2148)
>>         at 
>> org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
>>         at org.hibernate.loader.Loader.list(Loader.java:2024)
>>         at 
>> org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java
>> :94)
>>         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1552)
>>         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
>>         at 
>> org.apache.roller.business.hibernate.HibernateUserManagerImpl.getPage
>> s(HibernateUserManagerImpl.java:705)
>>         at 
>> org.apache.roller.ui.authoring.struts.actions.WebsiteFormAction.edit(
>> WebsiteFormAction.java:116)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at 
>> org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
>> n.java:276)
>>         at 
>> org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:
>> 196)
>>         at 
>> org.apache.struts.action.RequestProcessor.processActionPerform(Reques
>> tProcessor.java:421)
>>         at 
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
>> va:226)
>>         at 
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
>> 4)
>>         at 
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:252)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.apache.roller.ui.core.filters.RequestFilter.doFilter(RequestFilte
>> r.java:83)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.apache.roller.ui.rendering.filters.RequestMappingFilter.doFilter(
>> RequestMappingFilter.java:95)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.apache.roller.ui.core.filters.InitFilter.doFilter(InitFilter.java
>> :71)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.apache.roller.ui.core.filters.PersistenceSessionFilter.doFilter(P
>> ersistenceSessionFilter.java:60)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:264)
>>         at 
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(Filt
>> erSecurityInterceptor.java:107)
>>         at 
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Fi
>> lterSecurityInterceptor.java:72)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTra
>> nslationFilter.java:110)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFil
>> ter(AnonymousProcessingFilter.java:125)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doF
>> ilter(SecurityContextHolderAwareRequestFilter.java:81)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(Chan
>> nelProcessingFilter.java:138)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(R
>> ememberMeProcessingFilter.java:142)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProces
>> singFilter.java:217)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilte
>> r(HttpSessionContextIntegrationFilter.java:191)
>>         at 
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
>> ilterChainProxy.java:274)
>>         at 
>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.jav
>> a:148)
>>         at 
>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.j
>> ava:90)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.apache.roller.ui.core.filters.SchemeEnforcementFilter.doFilter(Sc
>> hemeEnforcementFilter.java:121)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.apache.roller.ui.core.filters.CharEncodingFilter.doFilter(CharEnc
>> odingFilter.java:104)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>>         at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.java:214)
>>         at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> alve.java:178)
>>         at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> ava:126)
>>         at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>> ava:105)
>>         at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>> ve.java:107)
>>         at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>> a:148)
>>         at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>> :825)
>>         at 
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>> ssConnection(Http11Protocol.java:738)
>>         at 
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
>> int.java:526)
>>         at 
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
>> lowerWorkerThread.java:80)
>>         at 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>> ool.java:684)
>>         at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.sql.SQLException: Unknown column 'this_.templatelang' in 
>> 'field
>> list'
>>         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1997)
>>         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167)
>>         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278)
>>         at com.mysql.jdbc.Connection.execSQL(Connection.java:2251)
>>         at 
>> com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
>> 1586)
>>         at 
>> org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(
>> DelegatingPreparedStatement.java:92)
>>         at 
>> org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
>> 139)
>>         at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
>>         at org.hibernate.loader.Loader.doQuery(Loader.java:662)
>>         at 
>> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
>> ader.java:224)
>>         at org.hibernate.loader.Loader.doList(Loader.java:2145)
>>         ... 73 more
>> INFO  2006-07-22 14:25:36,466 ContinuousWorkerThread:run - future 
>> invalidations
>> thread INTERRUPT: sleep interrupted
>>
> 


Mime
View raw message