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

Issue installing JasperReports Server Community 7.1.0 on Windows 10


arthytrip

Recommended Posts

Hi everyone,
I'm trying to install the community version of JasperReports with version 7.1.0 on Windows.
Each time, at the end of the procedure appears the following error.


I launched the installation as an administrator, using the "All Options" option and I left the proposed path.
If I close the prompt, the installation is completed and reaches the last step where it asks whether to start the server service with the HeartBeat option. However, when the server and browser are launched at http://localhost:8080/jasperserver/login.html, an "Internal server error" error message will appear after a few minutes.
The log with more information seems to me to be "localhost.2019-02-21.log" which immediately contains the following error ...
...
Any idea?
Thanks in advance.
a.t.

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

No breakthrough, even using an already installed Postgres server.
The error happens after installing the demo db in Postgres (from the Postgres console I can immediately see the dbs JasperServer, foodmart and sugarcrm, populated with their data).
After closing the error prompt, the installation program finishes his job asking to me to launch the server and to activate the Opt-in option.
Apache Tomcat starts correctly and responds to http://localhost:8080.
Instead, the http://localhost:8080/jasperserver/login.html address produces an "Internal server error" error.

Reading the error (which you can see in my first post), I tried to launch the Windows console as an administrator, I positioned myself in the directory

C:Jaspersoftjasperreports-cp-server-7.1.0buildomatic

and I launched the command

C:Jaspersoftjasperreports-server-cp-7.1.0apache-antbinant.bat import-ce -DimportFile=install_resources/export/js-catalog-postgresql-ce.zip

Here is the error that comes out:

C:Jaspersoftjasperreports-server-cp-7.1.0buildomatic>C:Jaspersoftjasperreports-server-cp-7.1.0apache-antbinant.bat import-ce -DimportFile=install_resources/export/js-catalog-postgresql-ce.zip
Buildfile: C:Jaspersoftjasperreports-server-cp-7.1.0buildomaticbuild.xml
     [echo] Filtering properties (cleaning out blank spaces)

BUILD FAILED
C:Jaspersoftjasperreports-server-cp-7.1.0buildomaticbuild.xml:55: The following error occurred while executing this line:
C:Jaspersoftjasperreports-server-cp-7.1.0buildomaticbinsetup.xml:315: java.lang.VerifyError: (class: org/apache/commons/codec/binary/Base64OutputStream, method: <init> signature: (Ljava/io/OutputStream;ZI[b)V) Incompatible argument to function
        at com.jaspersoft.jasperserver.crypto.KeystoreManager.createKeystore(KeystoreManager.java:257)
        at com.jaspersoft.jasperserver.crypto.KeystoreManager.init(KeystoreManager.java:224)
        at com.jaspersoft.buildomatic.crypto.KeystoreTask.execute(KeystoreTask.java:64)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
        at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:222)
        at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
        at org.apache.tools.ant.Main.runBuild(Main.java:826)
        at org.apache.tools.ant.Main.startAnt(Main.java:235)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 2 seconds

 

Link to comment
Share on other sites

SOLVED
There was a conflict with some other component installed in my PC that used a Base64OutputStream class not compatible with that requested by JasperReport.
I would not know exactly what the incriminated installation was, maybe Eclipse or the Atom editor or something else.
I tried to uninstall some unused environments and clean up the registry file and it worked.
Thanks for your suggestions, bye

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...