arthytrip Posted February 21, 2019 Share Posted February 21, 2019 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 More sharing options...
arthytrip Posted February 21, 2019 Author Share Posted February 21, 2019 Same issue with TIB_js-jrs-cp_6.4.3_win_x86_64.exe Link to comment Share on other sites More sharing options...
hozawa Posted February 21, 2019 Share Posted February 21, 2019 Check that you are using Java8. Link to comment Share on other sites More sharing options...
arthytrip Posted February 22, 2019 Author Share Posted February 22, 2019 I'm using Java jre1.8.0_202 and I verified tha the environment path is correct. Link to comment Share on other sites More sharing options...
arthytrip Posted February 22, 2019 Author Share Posted February 22, 2019 I tried also with jdk1.8.0_151 with same result Link to comment Share on other sites More sharing options...
hozawa Posted February 24, 2019 Share Posted February 24, 2019 Check that tomcat is properly up and running. Then check if postgresql is up. I've had many problems with postgresql installer. It's better to pre-install it and then selected it during JasperReports Server installation. Link to comment Share on other sites More sharing options...
arthytrip Posted February 25, 2019 Author Share Posted February 25, 2019 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 directoryC:Jaspersoftjasperreports-cp-server-7.1.0buildomaticand I launched the commandC:Jaspersoftjasperreports-server-cp-7.1.0apache-antbinant.bat import-ce -DimportFile=install_resources/export/js-catalog-postgresql-ce.zipHere 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.zipBuildfile: C:Jaspersoftjasperreports-server-cp-7.1.0buildomaticbuild.xml [echo] Filtering properties (cleaning out blank spaces)BUILD FAILEDC: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 More sharing options...
arthytrip Posted February 25, 2019 Author Share Posted February 25, 2019 SOLVEDThere 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now