roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peter evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ROL-1914) Trivial to render 5.0.0-rc4 unable to start
Date Tue, 29 Mar 2011 14:27:06 GMT

    [ https://issues.apache.org/jira/browse/ROL-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012504#comment-13012504
] 

peter evans commented on ROL-1914:
----------------------------------

Full error trace if it helps:

INFO  2011-03-29 23:07:45,577 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using
configuration type JNDI_NAME
INFO  2011-03-29 23:07:45,580 DatabaseProvider:successMessage - -- Using JNDI datasource name:
java:comp/env/jdbc/rollerdb
INFO  2011-03-29 23:07:45,583 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource
[java:comp/env/jdbc/rollerdb]

INFO  2011-03-29 23:07:46,056 WebloggerFactory:bootstrap - Bootstrapping Roller Weblogger
business tier
INFO  2011-03-29 23:07:46,056 WebloggerFactory:bootstrap - Weblogger Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO  2011-03-29 23:07:46,060 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using
configuration type JNDI_NAME
INFO  2011-03-29 23:07:46,061 DatabaseProvider:successMessage - -- Using JNDI datasource name:
java:comp/env/jdbc/rollerdb
INFO  2011-03-29 23:07:46,062 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource
[java:comp/env/jdbc/rollerdb]
INFO  2011-03-29 23:07:46,062 JPAPersistenceStrategy:<init> - hibernate.transaction.manager_lookup_class:
org.hibernate.transaction.JBossTransactionManagerLookup
INFO  2011-03-29 23:07:46,063 JPAPersistenceStrategy:<init> - hibernate.transaction.factory_class:
org.hibernate.transaction.JTATransactionFactory
INFO  2011-03-29 23:07:46,063 JPAPersistenceStrategy:<init> - openjpa.Log: commons
INFO  2011-03-29 23:07:46,078 IndexManagerImpl:<init> - search enabled: true
INFO  2011-03-29 23:07:46,079 IndexManagerImpl:<init> - index dir: /home/www2/roller_data/search-index
INFO  2011-03-29 23:07:46,094 ReferrerQueueManagerImpl:<init> - Instantiating Referrer
Queue Manager
INFO  2011-03-29 23:07:46,095 ReferrerQueueManagerImpl:<init> - Asynchronous referrer
processing = false
INFO  2011-03-29 23:07:46,095 ThreadManagerImpl:<init> - Instantiating Thread Manager
INFO  2011-03-29 23:07:46,099 WebloggerFactory:bootstrap - Roller Weblogger business tier
successfully bootstrapped
INFO  2011-03-29 23:07:46,100 WebloggerFactory:bootstrap -    Version: 5.0.0-RC4
INFO  2011-03-29 23:07:46,100 WebloggerFactory:bootstrap -    Revision: r1075074
INFO  2011-03-29 23:07:46,100 WebloggerImpl:initialize - Initializing Roller Weblogger business
tier
FATAL 2011-03-29 23:07:46,102 JPAPropertiesManagerImpl:initialize - Failed to initialize runtime
configuration properties.Please check that the database has been upgraded!
java.lang.ClassCastException: org.apache.roller.weblogger.pojos.RuntimeConfigProperty cannot
be cast to org.apache.roller.weblogger.pojos.RuntimeConfigProperty
        at org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getProperties(JPAPropertiesManagerImpl.java:127)
        at org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize(JPAPropertiesManagerImpl.java:77)
        at org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:338)
        at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:161)
        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4690)
        at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:534)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5305)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.enable(ApplicationLifecycle.java:1995)
        at org.glassfish.deployment.admin.EnableCommand.execute(EnableCommand.java:203)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
        at org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:143)
        at org.glassfish.deployment.client.AbstractDeploymentFacility.changeState(AbstractDeploymentFacility.java:147)
        at org.glassfish.deployment.client.AbstractDeploymentFacility.enable(AbstractDeploymentFacility.java:478)
        at org.glassfish.admingui.common.util.DeployUtil.enableApp(DeployUtil.java:171)
        at org.glassfish.admingui.common.util.DeployUtil.reloadApplication(DeployUtil.java:156)
        at org.glassfish.admingui.common.handlers.ApplicationHandlers.reloadApplication(ApplicationHandlers.java:483)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
        at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
        at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
        at com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:150)
        at com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:98)
        at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
        at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)
        at javax.faces.component.UICommand.broadcast(UICommand.java:300)
        at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:166)
        at com.sun.webui.jsf.component.TableRowGroup.broadcast(TableRowGroup.java:1989)
        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
        at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:233)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
        at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:323)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:619)


> Trivial to render 5.0.0-rc4 unable to start
> -------------------------------------------
>
>                 Key: ROL-1914
>                 URL: https://issues.apache.org/jira/browse/ROL-1914
>             Project: Roller
>          Issue Type: Bug
>          Components: Configuration & Settings
>    Affects Versions: 5.0
>         Environment: intel solaris, glassfish 3.1
>            Reporter: peter evans
>            Assignee: Roller Unassigned
>            Priority: Critical
>              Labels: jpa
>
> turn on planet aggregator, forget to set cache directory, boom.
> Exception while loading the app java.lang.Throwable: java.lang.Exception: java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException:
java.lang.ClassCastException: org.apache.roller.weblogger.pojos.RuntimeConfigProperty cannot
be cast to org.apache.roller.weblogger.pojos.RuntimeConfigProperty 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message