← Back to team overview

dhis2-devs team mailing list archive

Re: Fwd: Integrating Birt Reports

 

Ok. I had this
hibernate.hbm2ddl.auto = update
hibernate.hbm2ddl.auto = create/drop

I just removed the last and aparently things are going to happen as it
should, and dhis2 contex on tomcat manager starts.
But when I try to login I get a new error:

==========================================================
[-] <javascript:toggle(%200%20)> Exception
(org.apache.velocity.exception.MethodInvocationException): Invocation of
method 'hasAccess' in class org.hisp.dhis.security.AcegiActionAccessResolver
threw exception java.lang.IllegalArgumentException: Module doesn't exist:
'null' @ /dhis-web-portal/redirect.vm[3,29]

   -
   org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
   -
   org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
   -
   org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396)
   -
   org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111)
   -
   org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64)
   -
   org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86)
   -
   org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
   - org.apache.velocity.runtime.directive.Parse.render(Parse.java:224)
   -
   org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
   -
   org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
   -
   org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
   -
   org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
   -
   org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
   - org.apache.velocity.Template.merge(Template.java:254)
   -
   com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:120)
   -
   com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)
   -
   com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.webwork.interceptor.WebWorkDisplayPropertyInterceptor.intercept(WebWorkDisplayPropertyInterceptor.java:90)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.webwork.interceptor.WebWorkSortOrderInterceptor.intercept(WebWorkSortOrderInterceptor.java:124)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.security.intercept.WebWorkSecurityInterceptor.intercept(WebWorkSecurityInterceptor.java:98)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.webwork.interceptor.WebWorkExceptionInterceptor.intercept(WebWorkExceptionInterceptor.java:89)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
   -
   com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)
   -
   com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
   -
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   -
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
   -
   org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:131)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:107)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
   -
   org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   -
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   -
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   -
   org.hisp.dhis.servlet.filter.OpenSessionInViewFilter.doFilter(OpenSessionInViewFilter.java:71)
   -
   org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
   -
   org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
   -
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   -
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   -
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   -
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   -
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   -
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   -
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   -
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   -
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   -
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   - org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   - java.lang.Thread.run(Unknown source)

 [-] <javascript:toggle(%201%20)> Caused by
(java.lang.IllegalArgumentException): Module doesn't exist: 'null'

   -
   org.hisp.dhis.security.AcegiActionAccessResolver.hasAccess(AcegiActionAccessResolver.java:89)
   - sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown source)
   - sun.reflect.NativeMethodAccessorImpl.invoke(Unknown source)
   - sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown source)
   - java.lang.reflect.Method.invoke(Unknown source)
   -
   org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
   -
   org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
   -
   org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
   -
   org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396)
   -
   org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111)
   -
   org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64)
   -
   org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86)
   -
   org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
   - org.apache.velocity.runtime.directive.Parse.render(Parse.java:224)
   -
   org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
   -
   org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
   -
   org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
   -
   org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
   -
   org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
   - org.apache.velocity.Template.merge(Template.java:254)
   -
   com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:120)
   -
   com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)
   -
   com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.webwork.interceptor.WebWorkDisplayPropertyInterceptor.intercept(WebWorkDisplayPropertyInterceptor.java:90)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.webwork.interceptor.WebWorkSortOrderInterceptor.intercept(WebWorkSortOrderInterceptor.java:124)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.security.intercept.WebWorkSecurityInterceptor.intercept(WebWorkSecurityInterceptor.java:98)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   org.hisp.dhis.webwork.interceptor.WebWorkExceptionInterceptor.intercept(WebWorkExceptionInterceptor.java:89)
   -
   com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   -
   com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
   -
   com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)
   -
   com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
   -
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   -
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
   -
   org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:131)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:107)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
   -
   org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
   -
   org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
   -
   org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   -
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   -
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   -
   org.hisp.dhis.servlet.filter.OpenSessionInViewFilter.doFilter(OpenSessionInViewFilter.java:71)
   -
   org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
   -
   org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
   -
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   -
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   -
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   -
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   -
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   -
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   -
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   -
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   -
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   -
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   - org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   - java.lang.Thread.run(Unknown source)


==========================================================

Thanks in advance for your kindly help














2009/4/5 Lars Helge Øverland <larshelge@xxxxxxxxx>

>
>
> 2009/4/5 Cintia Marisa <cintia.banze@xxxxxxxxx>
>
>> Hi,
>>
>> I donwloaded the new war. But i can't get it to work. I got this in the
>> logs:
>>
>> * INFO  19:08:27,640 Executing startup routine [1 of 11, runlevel 0]:
>> DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java
>> [http-8080-1])
>> * WARN  19:08:29,078 SQL Error: 1054, SQLState: 42S22
>> (JDBCExceptionReporter.java [http-8080-1])
>> * ERROR 19:08:29,078 Unknown column 'this_.url' in 'field list'
>> (JDBCExceptionReporter.java [http-8080-1])
>> * INFO  19:08:37,687 System property dhis2.home not set
>> (DefaultLocationManager.java [http-8080-1])
>> * INFO  19:08:37,703 Environment variable DHIS2_HOME points to C:\DHIS
>> (DefaultLocationManager.java [http-8080-1])
>> * INFO  19:08:38,671 Hibernate properties file found:
>> jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.0.1-SNAPSHOT.jar!/hibernate-default.properties
>> (DefaultHibernateConfigurationProvider.java [http-8080-1])
>> * INFO  19:08:38,671 Hibernate properties file found:
>> jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/dhis/WEB-INF/lib/dhis-web-maintenance-dataadmin.jar!/hibernate.properties
>> (DefaultHibernateConfigurationProvider.java [http-8080-1])
>> * INFO  19:08:38,671 Hibernate properties file found:
>> C:\DHIS\hibernate.properties (DefaultHibernateConfigurationProvider.java
>> [http-8080-1])
>> * INFO  19:08:50,796 Executing startup routine [1 of 11, runlevel 0]:
>> DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java
>> [http-8080-1])
>> * WARN  19:08:52,187 SQL Error: 1054, SQLState: 42S22
>> (JDBCExceptionReporter.java [http-8080-1])
>> * ERROR 19:08:52,187 Unknown column 'this_.url' in 'field list'
>> (JDBCExceptionReporter.java [http-8080-1])
>>
>>
>
> Make sure you include this line in hibernate.properties:
>
> hibernate.hbm2ddl.auto = update
>
>
>
>


-- 
Cintia Marisa

References