Return-Path: Delivered-To: apmail-incubator-roller-dev-archive@www.apache.org Received: (qmail 56890 invoked from network); 23 Jul 2006 00:17:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jul 2006 00:17:45 -0000 Received: (qmail 74091 invoked by uid 500); 23 Jul 2006 00:17:44 -0000 Delivered-To: apmail-incubator-roller-dev-archive@incubator.apache.org Received: (qmail 74056 invoked by uid 500); 23 Jul 2006 00:17:44 -0000 Mailing-List: contact roller-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: roller-dev@incubator.apache.org Delivered-To: mailing list roller-dev@incubator.apache.org Received: (qmail 74045 invoked by uid 99); 23 Jul 2006 00:17:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jul 2006 17:17:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.249] (HELO nwkea-pix-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jul 2006 17:17:43 -0700 Received: from d1-sfbay-04.sun.com ([192.18.39.114]) by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k6N0HMXB012351 for ; Sat, 22 Jul 2006 17:17:22 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-04.sun.com by d1-sfbay-04.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J2T00G01Y4X8S00@d1-sfbay-04.sun.com> (original mail from Allen.Gilliland@Sun.COM) for roller-dev@incubator.apache.org; Sat, 22 Jul 2006 17:17:21 -0700 (PDT) Received: from [172.16.1.39] ([69.106.227.85]) by d1-sfbay-04.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J2T00EKDY4SUM30@d1-sfbay-04.sun.com> for roller-dev@incubator.apache.org; Sat, 22 Jul 2006 17:17:21 -0700 (PDT) Date: Sat, 22 Jul 2006 17:17:17 -0700 From: Allen Gilliland Subject: Re: Roller 3.0 branch status? In-reply-to: <000301c6ade1$eb44cf80$6701a8c0@HALFDOME> Sender: Allen.T.Gilliland@Sun.COM To: roller-dev@incubator.apache.org Message-id: <44C2C00D.9030403@Sun.COM> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <000601c6add6$86955ce0$6701a8c0@HALFDOME> <44C2A974.9010908@sun.com> <000301c6ade1$eb44cf80$6701a8c0@HALFDOME> User-Agent: Thunderbird 1.5 (X11/20060113) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Anil, i've just submitted a few tweaks to fix up these problems. i added the right columns to the createdb script now and verified things are working properly by running the unit tests, which i should have done in the first place :( i also added a little bit more to that new installation page so that it at least tells you what you need to do on a fresh install and provides links. i just did a fresh rebuild and tested this out and it's working fine for me. sorry for the confusion. -- Allen Anil Gangolli wrote: > > 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" > > To: > 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 >>> >> >