eclipse-birt / birt

Eclipse BIRT™ The open source reporting and data visualization project.
http://www.eclipse.org/birt
Eclipse Public License 2.0
457 stars 394 forks source link

can not deploy BiRT report viewer #1971

Closed washaqq closed 1 week ago

washaqq commented 1 week ago

Hi, i installed Tomcat versions 9, 10 and 11 to deploy BiRT Viewer version 4.17.0 by following https://eclipse-birt.github.io/birt-website/docs/integrating/viewer-setup/ but it doesn't work as stated in the instructions, i want to start over so can you tell me which Tomcat and Java versions i should install to make BiRT Viewer 4.17.0 work, i use windows 10.

Below you can see which Tomcat and Java versions are installed, All Tomcat work on different ports.

image image image

image birt doesnt start.

image This is the Error i get on All Tomcat versions Thanks.

speckyspooky commented 1 week ago

You can use only Tomcat 9.x BIRT will not run with Tomcat 10.x. Check you Tomcat log which errors will be written there.

If you need further support please add the server-log and the exactly version of BIRT which you have used because these information are not listed for BIRT like standard runtime or OSGi-runtime.

washaqq commented 1 week ago

Hi @speckyspooky, Thank you for reply, I gave the version I used in the first post as a link, here it is again; https://www.eclipse.org/downloads/download.php?file=/birt/updates/release/4.17.0/downloads/birt-runtime-4.17.0-202409160710.zip

there is no server-log in Tomcat 9 logs but i put all the logs under logs/ folder;

catalina.2024-11-12.log catalina.2024-11-13.log commons-daemon.2024-11-12.log commons-daemon.2024-11-13.log host-manager.2024-11-12.log host-manager.2024-11-13.log localhost.2024-11-12.log localhost.2024-11-13.log localhost_access_log.2024-11-12.txt localhost_access_log.2024-11-13.txt manager.2024-11-12.log manager.2024-11-13.log service-install.log tomcat9-stderr.2024-11-12.log tomcat9-stderr.2024-11-13.log tomcat9-stdout.2024-11-12.log tomcat9-stdout.2024-11-13.log

Kinds.

speckyspooky commented 1 week ago

I have done a test with BIRT 4.17 runtime (none OSGi) according to your version with Tomcat 9.0.88.

Tomcat looks fine. BIRT 4.17 looks fine and standard test reports will be created.

I didn't found directly a hint on your files. May be you can redo your testing. I used your BIRT-version, extracted the zip file and copied folder "WebViewerExample" to the tomcat-webapps folder and renamed the folder to "birt_4.17". I started the tomcat and checked the results with the manager view and all was fine on my side.

grafik

grafik

grafik

washaqq commented 1 week ago

I have done a test with BIRT 4.17 runtime (none OSGi) according to your version with Tomcat 9.0.88.

Tomcat looks fine. BIRT 4.17 looks fine and standard test reports will be created.

grafik

grafik

Thank you for reply, it is like working on my computer :), I don't know what is wrong but it doesn't work in my computer, can you tell me step by step how you deployed it, if possible? what java version (link if possible) you used?

Thanks.

washaqq commented 1 week ago

I have done a test with BIRT 4.17 runtime (none OSGi) according to your version with Tomcat 9.0.88.

Tomcat looks fine. BIRT 4.17 looks fine and standard test reports will be created.

I didn't found directly a hint on your files. May be you can redo your testing. I used your BIRT-version, extracted the zip file and copied folder "WebViewerExample" to the tomcat-webapps folder and renamed the folder to "birt_4.17". I started the tomcat and checked the results with the manager view and all was fine on my side.

grafik

grafik

grafik

I see, i will start over and test again, what java version is used?

washaqq commented 1 week ago

@speckyspooky i did start over with Tomcat version 9.0.88 same version as you tried. but no, it didn't work i have same problem.

new logs; catalina.2024-11-13.log commons-daemon.2024-11-13.log host-manager.2024-11-13.log localhost.2024-11-13.log localhost_access_log.2024-11-13.txt manager.2024-11-13.log service-install.log tomcat9-stderr.2024-11-13.log tomcat9-stdout.2024-11-13.log

claesrosell commented 1 week ago

@washaqq you are using JavaSE-8, you need to use a much more recent version of Java. JavaSE-17 should work bild

washaqq commented 1 week ago

@washaqq you are using JavaSE-8, you need to use a much more recent version of Java. JavaSE-17 should work bild

Hi @claesrosell, Thank you for helping, I tried more recent version jdk-21, it seems working;

image

Thank you.