Service not Starting with YF Upgrade 7.3 with Java 9.0.1
Hi Team YF,
I have a customer where we upgraded YF to 7.3 from 7.1 and java to Jre 9.0.1 from Jre 1.8.0_5.
YF upgraded successfully from 7.1 to 7.3 but when i tried to start the service and it does not start and error shows up in Yellowfin logs -
"2018-02-26 14:16:49 Commons Daemon procrun stdout initialized -Djava.endorsed.dirs=C:\Yellowfin\appserver\endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules."
attached are the logs.
When i tried to change the Java_Home in Catalina.bat and Services.bat to Jre 1.8.0_5, Removed and reinstalled the service - service starts and Yellowfin works as expected. But we need to remove Jre 1.8.0_5 and keep Jre 9.0.1 only.
Can you please help me to make this work.
Thanks,
Mansi Sharma,
Hi Mansi,
7.3 was updated to be compatible with Java 9 from December 2017 onwards, which build of 7.3 did your customer upgrade to?
regards,
David
Hi Mansi,
7.3 was updated to be compatible with Java 9 from December 2017 onwards, which build of 7.3 did your customer upgrade to?
regards,
David
Hi Dave,
I went ahead and used the 7.3 installer which was release after December 2017 and upgraded YF on Java 9 but i still see the same error and logs.
I tried to run Catalina.bat but i see below error -
Can you please help me and let me know what can be the issue. YF service is not starting and Its getting critical at customer environment.
Thanks,
Mansi Sharma.
Hi Dave,
I went ahead and used the 7.3 installer which was release after December 2017 and upgraded YF on Java 9 but i still see the same error and logs.
I tried to run Catalina.bat but i see below error -
Can you please help me and let me know what can be the issue. YF service is not starting and Its getting critical at customer environment.
Thanks,
Mansi Sharma.
Hi Dave, Any update on this issue ??
Hi Dave, Any update on this issue ??
Hi Mansi,
I'll look after this while Dave is away.
From what I understand, you cannot start Yellowfin if pointing to Java 9, and you still have 8 on your system.
The error you get is 'endorsed is not supported.'
By removing 8, everything works.
From what I can find, that error is related to Tomcat 7 not working with Java 9, so removing 8 should not make a difference.
I performed my own tests with upgrading from Java 8 > 9, and I found the following:
- The existing service works fine once I point it to Java 9 (JRE)
- If I remove the service and re-install, it keeps finding the Java 8 JDK (also on my system) and the service fails to run.
If I then remove the system variable for Java_HOME it complains that it needs it, and that it needs to point to a JDK.
Pretty annoying really, and finding articles saying how it's Windows being a pain. I'm sure there is a way around this.
However, it sounds like there are 2 options to get this working for you right now:
-Ensure you remove everything but Java 9
-Stick with Java 8.
You can then mirror the environment and run some tests to figure out which procedure/order works for your environment. As I'm still not convinced this is not a Tomcat issue.
Please let me know if I've missed anything, or if a remote session is in order.
Thanks,
David
Hi Mansi,
I'll look after this while Dave is away.
From what I understand, you cannot start Yellowfin if pointing to Java 9, and you still have 8 on your system.
The error you get is 'endorsed is not supported.'
By removing 8, everything works.
From what I can find, that error is related to Tomcat 7 not working with Java 9, so removing 8 should not make a difference.
I performed my own tests with upgrading from Java 8 > 9, and I found the following:
- The existing service works fine once I point it to Java 9 (JRE)
- If I remove the service and re-install, it keeps finding the Java 8 JDK (also on my system) and the service fails to run.
If I then remove the system variable for Java_HOME it complains that it needs it, and that it needs to point to a JDK.
Pretty annoying really, and finding articles saying how it's Windows being a pain. I'm sure there is a way around this.
However, it sounds like there are 2 options to get this working for you right now:
-Ensure you remove everything but Java 9
-Stick with Java 8.
You can then mirror the environment and run some tests to figure out which procedure/order works for your environment. As I'm still not convinced this is not a Tomcat issue.
Please let me know if I've missed anything, or if a remote session is in order.
Thanks,
David
Hi David,
Thanks for taking this up.
I am little confused here - Just to clear - You mean i should removed Java 8 and other java versions and only keep Java 9.
Then re-run the upgrade installer to upgrade Yellowfin from 7.1 (i took the backup before upgrade so can restore the YF7.1 by backup) to 7.3 ?
Sticking with Java 8 is not an option as my client is rigid to keep Java 9.
Thanks,
Mansi Sharma.
Hi David,
Thanks for taking this up.
I am little confused here - Just to clear - You mean i should removed Java 8 and other java versions and only keep Java 9.
Then re-run the upgrade installer to upgrade Yellowfin from 7.1 (i took the backup before upgrade so can restore the YF7.1 by backup) to 7.3 ?
Sticking with Java 8 is not an option as my client is rigid to keep Java 9.
Thanks,
Mansi Sharma.
Hi Mansi,
Yeah while I cannot replicate your issue from the info you've provided it sounds like you only have 1 option.
-Ensure you remove everything but Java 9
You will not be able to use Java 9 when using 7.1 as it initially shipped with an older Tomcat. You could upgrade Tomcat to get it working, but it sounds like you're needing to upgrade Yellowfin. So I would think the following process should get you up and running.
1. Upgrade Yellowfin to 7.3
2. Confirm YF starts ok
3. Point YF to Java 9. Confirm YF starts ok when using the startup.bat. Then stop Yellowfin
4. Start Yellowfin using Windows service to make sure it starts ok. Then stop the service
5. Modify the service to point to java 9, then give that a try.
There should be no need to remove the service, just re-point the existing.
Please let me know how this all goes!
Regards,
David
Hi Mansi,
Yeah while I cannot replicate your issue from the info you've provided it sounds like you only have 1 option.
-Ensure you remove everything but Java 9
You will not be able to use Java 9 when using 7.1 as it initially shipped with an older Tomcat. You could upgrade Tomcat to get it working, but it sounds like you're needing to upgrade Yellowfin. So I would think the following process should get you up and running.
1. Upgrade Yellowfin to 7.3
2. Confirm YF starts ok
3. Point YF to Java 9. Confirm YF starts ok when using the startup.bat. Then stop Yellowfin
4. Start Yellowfin using Windows service to make sure it starts ok. Then stop the service
5. Modify the service to point to java 9, then give that a try.
There should be no need to remove the service, just re-point the existing.
Please let me know how this all goes!
Regards,
David
Thanks David.
Thanks David.
No problems. Please let us know how it all goes.
No problems. Please let us know how it all goes.
Hi David,
I followed the steps you suggested above and my reporting service is started but the Catalina.bat does not run and throws error -
I commented the perm size parameters in Catalina.bat and the error with Perm Size support is resolved but Error with Djava.Endorsed.dir is still showing up and i can not access YF with java 9.0.4.
I googled a bit and found this - https://stackoverflow.com/questions/45917401/tomcat-7-0-73-doesnt-work-with-java-9
Please suggest me what should i do next.
Its really really critical for me to fix this issue.
Thanks,
Mansi Sharma.
Hi David,
I followed the steps you suggested above and my reporting service is started but the Catalina.bat does not run and throws error -
I commented the perm size parameters in Catalina.bat and the error with Perm Size support is resolved but Error with Djava.Endorsed.dir is still showing up and i can not access YF with java 9.0.4.
I googled a bit and found this - https://stackoverflow.com/questions/45917401/tomcat-7-0-73-doesnt-work-with-java-9
Please suggest me what should i do next.
Its really really critical for me to fix this issue.
Thanks,
Mansi Sharma.
Replies have been locked on this page!