roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Error while installing Roller 4.0.1on WAS 6.1.0.27
Date Mon, 06 Sep 2010 12:01:44 GMT
As far as I know, Roller 4.0.1 will not work with OpenJPA 2.0.

See if you can disable OpenJPA 2.0 and use the JPA that is included in
Roller instead.

- Dave



On Fri, Aug 27, 2010 at 3:07 PM, dhanashri deshpande
<contactdhanashri@gmail.com> wrote:
> Hi,
> Need help in resolving the following error which we are getting while
> installing *Apache Roller 4.0.1 on IBM WebSphere Appllication Server
> 6.1.0.27
>
> The database used is: DB2 *
> Java version : 1.5
> Operating system : Windows XP
> Browser : Mozilla , IE 6,7 8
>
> We have used* openjpa-2.0.0* since the version which comes along with the
> Roller.war i.e *openjpa-0.9.7-incubating.jar* is not working with
> Roller4.0.1 on WAS 6.1.
>
> The Roller home page appears but with the following options
> *site.shortName | Main Menu | Login*
> and when we click on the New User Registration Page
> </roller/roller-ui/register.rol>link under create User link we get the
> following message on the browser window
> *"The administrator of this site has disabled user registrations at this
> time. Please contact the system administrators if you think this is
> incorrect."*
>
>
> In the LOG FILE( SYSOUT LOGS ) we are getting the following error :
>
> [8/27/10 19:09:10:172 IST] 00000020 SystemOut     O JPAPersistenceStrategy.
> getNamedQuery() ex::::<openjpa-2.0.0-r422266:935683 fatal user error>
> *org.apache.openjpa.persistence.ArgumentException:
> The type "class org.apache.roller.weblogger.pojos.WeblogBookmark" has not
> been enhanced.
> [8/27/10 19:09:10:188 IST] 00000020 ServletWrappe I   SRVE0242I:
> [roller_war] [/roller] [FilterProxyServlet]: Initialization successful.
> [8/27/10 19:09:10:219 IST] 00000020 ServletWrappe I   SRVE0242I:
> [roller_war] [/roller] [/index.jsp]: Initialization successful.
> [8/27/10 19:09:10:235 IST] 00000020 WebloggerRunt W
> org.apache.roller.weblogger.config.WebloggerRuntimeConfig getProperty
> Trouble accessing property: site.frontpage.weblog.handle
>                                 <openjpa-2.0.0-r422266:935683 fatal
user
> error> org.apache.openjpa.persistence.ArgumentException: The type
> "class *org.apache.roller.weblogger.pojos.RuntimeConfigProperty"
> has not been enhanced.
>    at
> org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:1812)
>    at
> org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1786)
>    at
> org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:790)
>    at
> org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:693)
>    at
> org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:617)
>    at
> org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:385)
>    at
> org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:358)
>    at
> org.apache.openjpa.kernel.BrokerImpl.newObjectId(BrokerImpl.java:1225)
>    at
> org.apache.openjpa.kernel.DelegatingBroker.newObjectId(DelegatingBroker.java:308)
>    at
> org.apache.openjpa.persistence.EntityManagerImpl.find(EntityManagerImpl.java:475)
>    at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.load(JPAPersistenceStrategy.java:216)
>    at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getProperty(JPAPropertiesManagerImpl.java:108)
>    at
> org.apache.roller.weblogger.config.WebloggerRuntimeConfig.getProperty(WebloggerRuntimeConfig.java:67)
>    at com.ibm._jsp._index._jspService(_index.java:64)
>    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1101)
>    at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
>    at
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)
>    at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
>    at
> org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
>    at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
>    at
> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:97)
>    at
> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:138)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:153)
>    at
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>    at
> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
>    at
> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>    at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
>    at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
>
>
> ...............................
>    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
>    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
> *
> [8/27/10 19:09:10:297 IST] 00000020 ActionValidat I
> com.opensymphony.xwork2.validator.ActionValidatorManagerFactory <clinit>
> Detected AnnotationActionValidatorManager, initializing it...
> [8/27/10 19:09:10:328 IST] 00000020 SystemOut     O
> JPAPersistenceStrategy.getNamedQuery():: Start Query
> name::::::[User.getCountEnabledDistinct]
> [8/27/10 19:09:10:531 IST] 00000020 SystemOut     O
> JPAPersistenceStrategy.getNamedQuery() ex::::<openjpa-2.0.0-r422266:935683
> nonfatal user error> org.apache.openjpa.persistence.ArgumentException: An
> error occurred while parsing the query filter "SELECT COUNT(u) FROM User u
> WHERE u.enabled = ?1". Error message: The name "User" is not a recognized
> entity or identifier. Perhaps you meant RuntimeConfigProperty, which is a
> close match. Known entity names: [RuntimeConfigProperty]
> *[8/27/10 19:09:10:547 IST] 00000020 Setup         E
> org.apache.roller.weblogger.ui.struts2.core.Setup execute Error getting
> user/weblog counts
>
> org.apache.roller.weblogger.WebloggerException
>    at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuery(JPAPersistenceStrategy.java:288)
>    at
> org.apache.roller.weblogger.business.jpa.JPAUserManagerImpl.getUserCount(JPAUserManagerImpl.java:1157)
>    at
> org.apache.roller.weblogger.ui.struts2.core.Setup.execute(Setup.java:61)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:618)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
>    at
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
>    at
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>    at
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>    at
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
>    at
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
>    at
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>    at
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>    at
> org.apache.roller.weblogger.ui.struts2.util.UIActionPrepareInterceptor.intercept(UIActionPrepareInterceptor.java:52)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>    at
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>    at
> org.apache.roller.weblogger.ui.struts2.util.UISecurityInterceptor.intercept(UISecurityInterceptor.java:93)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>    at
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>    at
> org.apache.roller.weblogger.ui.struts2.util.UIActionInterceptor.intercept(UIActionInterceptor.java:82)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>    at
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>    at
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>    at
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>    at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>    at
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:167)
>    at
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
>
>
> Thanks & Regards
> Dhanashri
>

Mime
View raw message