Jump to content
We've recently updated our Privacy Statement, available here ×

mc.bechara

Members
  • Posts

    26
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by mc.bechara

  1. I have an adhoc view with date filter in jasper 6.0. I imported that to another instance of jasper 6.1 and the date filter stopped affecting the adhoc view.


    Looking at the adhoc cache, I found out that in v.6.0  my query in jasper used to be and ("PO_DATE" > TIMESTAMP '2015-08-12 00:00:00')


    while in v.6.1 it's and ("PO_DATE" > '2015-08-12 00:00:00') that's why the error.


    My database is Oracle and I checked the semantics file in 6.1, mapping of date is correctly set to java.util.date 


    What could be the problem?


  2. of course I clicked Apply and nothing happened.

    The domain was imported from v.6.0

    and I have this in the log:

    xception calling JRDataSource.next() for query  select * from ( select "PO_DATE", 
    Sum("QUANTITY") as "Sum_QUANTITY", 
    Sum("TOTAL_NET_PRICE_USD") as "Sum_TOTAL_NET_PRICE_USD"
    from "KARLOS"."VIEW_REPORT_PURCHASES"
    where "SCOPE_ID" = 'CB' and 1 = 1 and 1 = 1 and 1 = 1 and EXTRACT(YEAR FROM "PO_DATE") = 2015 and ("PO_DATE" > '2015-08-25 12:29:12')
    group by "PO_DATE"
    order by "PO_DATE"
     ) where ROWNUM <= 200001 
     
    at com.jaspersoft.commons.semantic.dsimpl.JRQueryDataSet$JRDataSetIterator.next(JRQueryDataSet.java:432)
    at com.jaspersoft.commons.datarator.CachedData.fetchData(CachedData.java:219)
    ... 127 more
    Caused by: net.sf.jasperreports.engine.JRException: Error executing SQL statement for: null.
    at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:267)
    at com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRTimezoneJdbcQueryExecuter.createDatasource(JRTimezoneJdbcQueryExecuter.java:168)
    at com.jaspersoft.commons.util.JSControlledJdbcQueryExecuter.run(JSControlledJdbcQueryExecuter.java:156)
    ... 1 more
    Caused by: java.sql.SQLDataException: ORA-01861: literal does not match format string

     

  3. I have Jaspersoft AWS version 6.0. I created an ad hoc view table with many columns grouped by one field.

    I saved the adhoc and created a report based on it.

    In the report not all columns visible in the adhoc view are visible in the report. Any ideas why? Is there a limit for the columns in the report?

  4. I have the Jaspersoft AWS version installed and I have created many adhoc views and reports since long and everything was working perfect. Except few days again, when I click on any of my existing adhocs or reports, it keeps loading and never opens. 

     

    My internet connection is good. My datasource is well connected to oracle.

     

    What is the problem?

  5. I have a folder REPORTS containing all reports created from adhoc views. Another folder datasources containing the datasource.

    Another folder containing the adhoc reports. But I was to give access to  user "R" to see only the REPORTS folder. 

    so I created role_reports and on REports folder put permission of this role to "administer", and on the "Datasources" and "Ad hoc reports" permission no access.

    I then went inside datasources folder and selected the datasource and gave permission "Read-only" Same for the ad hoc reports folder, I selected the adhocs related to the reports and gave permission "Read-only"

    But still after logging to user "R", I see the "Reports" folder and when I try to click on a report it opens and gives me access denied. What am i missing?

  6. when configuring tomcat with the https on CAS server:

            <Connector protocol="org.apache.coyote.http11.Http11NioProtocol"

                       port="8443" SSLEnabled="true" maxThreads="200"

                       scheme="https" secure="true"

                       keystoreFile="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64/jre/lib/security/cacerts"

                       keyAlias="casserver" keystorePass="changeit" clientAuth="false"

                       sslProtocol="TLS" />

     

    cas server doesn't open on https

    error message:

    I have no error messages in /var/lib/tomcat7/logs/catalina.out

  7. I have jaspersoft version 5.6 and I need to make my dashboard as the homepage when I log in. I've modified the home1.jsp as I've found in the wiki but it just doesn't work. As if nothing is affected.

    I've created a role ROLE_DASHBOARD

    and in my home1.jsp here's what I've written:

     

    <authz:authorize ifAllGranted="ROLE_DEMO">
        <%--
            We have special home page for demo user only on PostgreSQL db.
            For other DB's it have same home page as other users.
        --%>
        <c:if test="${demoHomeResourceExists}">
           <c:set  var="homePageRequested">homeForDemo.jsp</c:set>
        </c:if>
        <c:if test="${not demoHomeResourceExists}">
            <c:set  var="homePageRequested">homeForNonDemo.jsp</c:set>
        </c:if>
    </authz:authorize>
    <authz:authorize ifAllGranted="ROLE_DASHBOARD">
        <c:set  var="homePageRequested">homeForDashboard.jsp</c:set>
    </authz:authorize>
    <authz:authorize ifNotGranted="ROLE_DEMO">
        <c:set  var="homePageRequested">homeForNonDemo.jsp</c:set>
    </authz:authorize>
     
    <jsp:include page="${homePageRequested}"/>
     
    Now in homeforDashboard.jsp here's the iframe:
      <iframe id="outerFrame" class="outerDashboardFrame"
                         name="Dashboard" allowtransparency="true" align="center" marginwidth="0" marginheight="0" hspace="0" 
                         vspace="0" frameborder="0" height="100%" width="100%" scrolling="no"
                     src="${pageContext.request.contextPath}/flow.html?_flowId=dashboardRuntimeFlow&dashboardResource=${demoHomeResource}&viewAsDashboardFrame=true&decorate=no&hidden_isJasperAnalysis=<%=licenseManager.isAnalysisFeatureSupported()?"true":"false"%>">
                        </iframe>

     

    What else needs to be changed?

     

     

     

     

×
×
  • Create New...