Giter VIP home page Giter VIP logo

nextreports-server's Introduction

Current build status: Build Status

For more information about NextReports Server see the product page link.

How to build

Requirements:

  • Git
  • JDK 7 (test with java -version)
  • Apache Ant (test with ant -version)

Steps:

  • create a local clone of this repository (with git clone https://github.com/nextreports/nextreports-server.git)
  • go to project's folder (with cd nextreports-server)
  • build the artifacts (with ant clean release)

After above steps a folder artifacts is created and all goodies are in that folder.

How to run

It's very simple to run the nextreports-server. First, you must build the project using above steps. After building process go to dist folder and replace some variables:

  • @httpPort@ in ./etc/jetty.xml (for example you can replace this variable with 8081)
  • @reportsHome@ in ./contexts/reports.xml (for example you can replace this variable with reports)

Execute the script:

  • run.bat (for windows)
  • run.sh (for linux/unix)

Start an internet browser immediately after the server starts (it displays in command prompt something like "Started [email protected]:8081") and type http://localhost:@httpPort@/nextreports-server (for example http://localhost:8081/nextreports-server). In login page enter the default username and password: admin as username and 1 as password.

Using Maven

NextReports Server comes with some web services that allows other applications to interact with the server using a simple API on following levels:

  • storage level: list reports, charts, folders, data sources; create folders; publish reports, charts and data sources; download reports and charts (these methods are also used by NextReports Designer)
  • process level: run reports on the server from your proprietary applications with your specific parameters values

In your pom.xml you must define the dependencies to nextreports-server-clients artifacts with:

<dependency>
    <groupId>ro.nextreports</groupId>
    <artifactId>nextreports-server-client</artifactId>
    <version>${nextreports-server-client.version}</version>
</dependency>

where ${nextreports-server-client.version} is the last nextreports-server-client version.

You may want to check for the latest released version using Maven Search

nextreports-server's People

Contributors

alexandruboboc avatar decebals avatar dpmihai avatar nextreports avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nextreports-server's Issues

jasper reports from new jasper-studion don't work

Hi

The reports created in ireport designer works fine.
But if you use the new jasper-studion .. and open the same report and save it. and load it to next-report server .. then you click run it crashes ..

build failed

[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: ro.nextreports#nextreports-engine;7.2-SNAPSHOT
[ivy:resolve] ==== local: tried
[ivy:resolve] /home/asp3ctus/DevTools/next-rep/nextreports-server/lib/ro.nextreports/nextreports-engine-7.2-SNAPSHOT.xml
[ivy:resolve] -- artifact ro.nextreports#nextreports-engine;7.2-SNAPSHOT!nextreports-engine.jar:
[ivy:resolve] /home/asp3ctus/DevTools/next-rep/nextreports-server/lib/ro.nextreports/nextreports-engine-7.2-SNAPSHOT.jar
[ivy:resolve] ==== public: tried
[ivy:resolve] http://repo1.maven.org/maven2/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.pom
[ivy:resolve] -- artifact ro.nextreports#nextreports-engine;7.2-SNAPSHOT!nextreports-engine.jar:
[ivy:resolve] http://repo1.maven.org/maven2/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.jar
[ivy:resolve] ==== snapshots: tried
[ivy:resolve] https://oss.sonatype.org/content/repositories/snapshots/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.pom
[ivy:resolve] -- artifact ro.nextreports#nextreports-engine;7.2-SNAPSHOT!nextreports-engine.jar:
[ivy:resolve] https://oss.sonatype.org/content/repositories/snapshots/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.jar
[ivy:resolve] ==== se-jcr: tried
[ivy:resolve] https://src.springframework.org/svn/se-jcr/repo/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.pom
[ivy:resolve] -- artifact ro.nextreports#nextreports-engine;7.2-SNAPSHOT!nextreports-engine.jar:
[ivy:resolve] https://src.springframework.org/svn/se-jcr/repo/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.jar
[ivy:resolve] ==== ftp4j: tried
[ivy:resolve] http://repo.laubenberger.net/maven2/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.pom
[ivy:resolve] -- artifact ro.nextreports#nextreports-engine;7.2-SNAPSHOT!nextreports-engine.jar:
[ivy:resolve] http://repo.laubenberger.net/maven2/ro/nextreports/nextreports-engine/7.2-SNAPSHOT/nextreports-engine-7.2-SNAPSHOT.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: ro.nextreports#nextreports-engine;7.2-SNAPSHOT: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :::: ERRORS

API example for permitions set

Hi

I's their an option in api to set permission for users on published reports with api.
Because i have to go and sent them by hand ..

It also be great to change settings with api . and add users and groups ..

Users permitions

Hi

When i upload new reports to server with api client to all of my instances (over 30) then i have to manually add execute permissions to users which is very time consuming.
I need a user type who can see and execute all reports.

Build failed

Tried to build the latest version 9.1 NextReports Server using ANT CLEAN RELEASE

and got quite a way thru until a number of error. See attached log for details.

Environment: Windows 2016

Help please?
NR Build Error Log.txt

empty parameters

I use jasper reports

I create a parameter type String with default value let's say "06:00"
And after that i change mandatroy setting https://www.uploady.com/download/CxlQQCUTL6i/7FSwW2enwc6g60j0

And if i lease the parameter blank .. and run report i can see in console :
Runtime parameters for
time_from = null

and jasper doesn't set se default value ....
but if i change jasper property "Use as a prompt"
the parameter is not displayed on the run time (as expected)
and it also not sent to jasper no time_from = null in console ..
And jasper set's the default value ... as expected ...

So if value left blank it shouldn't be passed to jasper ....

PDF Cyrillic

hi
I have read the doc and about this 2 parameters in config
nextreports.pdf.encoding=Cp1251
nextreports.pdf.font=

i still have problems with russian text in pdf ..
I use jasper designer ireport ... and in ireport it solved by adding font to editor ... and then it works ...
I want to use next-report as a server and ireport as designer .... please help me with some ideas how to get it solved ....
Also hard coding one font is not a good idea ... report can use a coule of fonts ...

I have managed to get russian text to show but it all aligned in one letter... and if i select them and copy and paste it in text editor i get a good word

thanks

doesn't start up

I have noticed that some times nextreports doesn't start up ...

it ends on
[03/22/2015 20:15:18] DEBUG (ro.nextreports.server.web.NextServerApplication:275) - Add jobs in scheduler...
[03/22/2015 20:15:18] DEBUG (ro.nextreports.server.web.NextServerApplication:293) - Added jobs in scheduler in 106 ms
[03/22/2015 20:15:18] DEBUG (ro.nextreports.server.web.NextServerApplication:325) - Run user synchronizer job ...
[03/22/2015 20:15:18] DEBUG (ro.nextreports.server.schedule.UserSynchronizerJob:55) - Synchronize users
[03/22/2015 20:15:18] DEBUG (ro.nextreports.server.web.NextServerApplication:338) - Users synchronized in 1 ms

and just sits there .... it doesn't start to listen 8081 port ... and it doesn't fully boot..

the only thing comes to my mind ... it that reports datasourse is not reachable ....
because if i run clean copy it starts ....

is it a known bug ?
i had it on 7.1 version .. and now have on 8.0 version ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.