Hi Jason,
Thanks so much for the library.
I tried to apply the solution to MAS 9 but it failed with error:
[err] javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
I tried:
No issues with the build but it fails on the ui start :( Nothing helped.
Would much appreciate your help!
30 Sep 2024 04:21:48:240 [INFO ] [maximo] BMXAA6453I - The server is connecting to database version: V9000-127
[err] javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
[err] at java.base/com.sun.crypto.provider.CipherCore.unpad(CipherCore.java:1065)
[err] at java.base/com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1145)
[err] at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:919)
[err] at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
[err] at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2202)
[err] at psdi.util.MXCipher.decData(MXCipher.java:293)
[err] at psdi.server.MXServer.getPkgFromJar(MXServer.java:2251)
[err] at psdi.server.MXServer.packagingCheck(MXServer.java:1867)
[err] at psdi.server.MXServer.boot(MXServer.java:1685)
[err] at psdi.server.MXServer.start(MXServer.java:3905)
[err] at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:116)
[err] at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301)
[err] at [internal classes]
[err] at com.ibm.ws.webcontainer.osgi.WebContainer.access$100(WebContainer.java:113)
[err] at com.ibm.ws.webcontainer.osgi.WebContainer$3.run(WebContainer.java:996)
[err] at [internal classes]
[err] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[err] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[err] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[err] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[err] at java.base/java.lang.Thread.run(Thread.java:839)
30 Sep 2024 04:21:59:933 [FATAL] [maximo] BMXAA6473E - The MXSERVER server could not be started. Check the log file for other errors to determine the cause.
psdi.util.MXSystemException: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
at psdi.server.MXServer.getPkgFromJar(MXServer.java:2255) ~[businessobjects.jar:?]
at psdi.server.MXServer.packagingCheck(MXServer.java:1867) ~[businessobjects.jar:?]
at psdi.server.MXServer.boot(MXServer.java:1685) ~[businessobjects.jar:?]
at psdi.server.MXServer.start(MXServer.java:3905) [businessobjects.jar:?]
at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:116) [maximoui.war:?]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301) [com.ibm.ws.webcontainer_1.1.88.jar:?]
at [internal classes]
at com.ibm.ws.webcontainer.osgi.WebContainer.access$100(WebContainer.java:113) [com.ibm.ws.webcontainer_1.1.88.jar:?]
at com.ibm.ws.webcontainer.osgi.WebContainer$3.run(WebContainer.java:996) [com.ibm.ws.webcontainer_1.1.88.jar:?]
at [internal classes]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:839) [?:?]
30 Sep 2024 04:21:59:938 [ERROR] [maximo] BMXAA6538E - Failed to initialize MAXIMO business object services.
psdi.util.MXSystemException: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
at psdi.server.MXServer.getPkgFromJar(MXServer.java:2255) ~[businessobjects.jar:?]
at psdi.server.MXServer.packagingCheck(MXServer.java:1867) ~[businessobjects.jar:?]
at psdi.server.MXServer.boot(MXServer.java:1685) ~[businessobjects.jar:?]
at psdi.server.MXServer.start(MXServer.java:3905) ~[businessobjects.jar:?]
at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:116) [maximoui.war:?]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301) [com.ibm.ws.webcontainer_1.1.88.jar:?]
at [internal classes]
at com.ibm.ws.webcontainer.osgi.WebContainer.access$100(WebContainer.java:113) [com.ibm.ws.webcontainer_1.1.88.jar:?]
at com.ibm.ws.webcontainer.osgi.WebContainer$3.run(WebContainer.java:996) [com.ibm.ws.webcontainer_1.1.88.jar:?]
at [internal classes]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:839) [?:?]
[ERROR ] SRVE0271E: Uncaught init() exception created by servlet [MAXIMOStartupServlet] in application [maximoui]: javax.servlet.ServletException: BMXAA6539E - Failed to initialize the MAXIMOStartupServlet with exception: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:129)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301)
at [internal classes]
[ERROR ] SRVE0276E: Error while initializing Servlet [MAXIMOStartupServlet]: javax.servlet.ServletException: BMXAA6539E - Failed to initialize the MAXIMOStartupServlet with exception: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:129)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301)
at [internal classes]
Oslc servlet.... Server did not started yet. Will wait 30 sec.
------------------------------
Alexey Potanin
Denver Technology
------------------------------