on 2023 Feb 24 3:46 PM
We are using a separate web app running in it's own Tomcat8 to connect to Business Objects BI 4.3 using the BI 4.3 Java SDK
As part of the BI 4.3 install, we needed to copy 3 new files to our web app's Tomcat8/bin/ folder : sapcrypto.dll, slcryptokernel.dll and slcryptokernel.dll.sha256. In addition, we also copied sapjce.jar to our web app's Tomcat8/lib/ext/ folder
However, when we stop and restart our web app's Tomcat8, we can see in the web app's log files that the web app has started, but Tomcat8 won't allow users to access the web app's UI at all.
The hack / work-around is to stop our web app's Tomcat8, then we MOVE sapcrypto.dll out of the Tomcat8/bin/ folder to some temp folder, start up Tomcat8, wait for both Tomcat8 and our web app to start, then MOVE sapcrypto.dll back to our web app's Tomcat8/bin/ folder. Once that is done, our web app can start up and allows users to see the UI, and the web app can start interacting just fine with Business Objects BI 4.3 using Java SDK.
We are hoping to find a better way for our web app's Tomcat8 to stop and restart WITHOUT requiring us to move the sapcrypto.dll before and after the Tomcat8 start.
Request clarification before answering.
The list of all required JAR files and their dependencies is in KBA
1645437 - Which jar files to use for SAP BusinessIntelligence Platform 4.x Java SDK applications
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ayman
Unfortunately, that did not solve the issue at all. I've tried removing lots of jar files and just using these jars, but I ended up having to put most of them back in again. While researching, I just noticed that the BI Java APIs for querying, scheduling, etc. have been deprecated. However, those are what we are still using. Apparently we are supposed to migrate to using the RESTful web services instead.
I guess we will just go ahead and continue using our hack (moving sapcrypto.dll out of our app's TOMCAT/bin/ before we start our app, start TOMCAT, then once it is started, move sapcrypto.dll back to TOMCAT/bin/).
Otherwise, Tomcat prevents users from interacting with our app.
Thank you anyway
Hello Dell
Thank you for your reply.
Before your question, I had been including freessl201.jar but not the cryptojFIPS.jar. Now I have tried with BOTH included in my war file (didn't solve the problem), and have tried with both removed from my war file, but still didn't solve the problem.
Are you suggesting I should have both included in my war file? Or neither included in my war file?
Thank you
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The issue is that whether both jar files are in my war, or neither is in my war file, after I stop and restart Tomcat, the website UI is not showing (I believe Tomcat is intercepting and returning error code 400, so the user's browser won't show anything. The solution (whether the war files have or don't have those 2 jar files you named) is to stop Tomcat, move sapcrypto.dll from Tomcat/bin/ to some other temp folder, start up Tomcat, wait for it to finish starting, then move sapcrypto.dll back to Tomcat/bin/, and voila, the app works (and the user can see the UI) and also the app can interact with Business Objects BI 4.3 using the Java API
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.