Deploy to Azure problem

Hello, I’m new to Linux/Ubuntu/Tomcat/MySql/.war so I decided to install OpenBoxes with a ready script Deploy to Azure button.
I have followed every step of the Azure installation tutorial and I get an error of operation OB-VM/newuserscript:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'newuserscript'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=8\n[stdout]\nto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/java-rmi.cgi to provide /usr/bin/java-rmi.cgi (java-rmi.cgi) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javah to provide /usr/bin/javah (javah) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode\r\nSetting up mysql-server-5.7 (5.7.40-0ubuntu0.18.04.1) ...\r\ndebconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\r\ndebconf: falling back to frontend: Readline\r\nupdate-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode\r\nRenaming removed key_buffer and myisam-recover options (if present)\r\nCreated symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.\r\nSetting up libnginx-mod-http-image-filter (1.14.0-0ubuntu1.10) ...\r\nSetting up nginx-core (1.14.0-0ubuntu1.10) ...\r\nSetting up nginx (1.14.0-0ubuntu1.10) ...\r\nProcessing triggers for systemd (237-3ubuntu10.56) ...\r\nProcessing triggers for man-db (2.8.3-2ubuntu0.1) ...\r\nProcessing triggers for ufw (0.36-0ubuntu0.18.04.2) ...\r\nProcessing triggers for ureadahead (0.100.0-21) ...\r\nProcessing triggers for libc-bin (2.27-3ubuntu1.6) ...\r\n\n[stderr]\nWarning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: key B1998361219BD9C9: public key \"Azul Systems, Inc. (Package signing key.) <pki-signing@azulsystems.com>\" imported\ngpg: Total number processed: 1\ngpg:               imported: 1\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nopenjdk version \"1.8.0_262\"\nOpenJDK Runtime Environment (Zulu 8.48.0.51-CA-linux64) (build 1.8.0_262-b19)\nOpenJDK 64-Bit Server VM (Zulu 8.48.0.51-CA-linux64) (build 25.262-b19, mixed mode)\nhttp://bamboo.pih-emr.org:8085/browse/OPENBOXES-DSOBGM/latest/artifact/shared/Latest-WAR/openboxes.war:\n2022-11-05 13:23:14 ERROR 404: Not Found.\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "}]}

Please if you can help me.

I personally prefer if there is a ready VM ready to download and tests.
Thank you.

It looks like the CI/CD build associated with the Deploy to Azure button is currently failing. I’ll try to take a look next week.

Thanks for the effort, I appreciate it.

In the meantime, can you help me with a ready VM?
I would very much like to recreate our private little organization of warehouses and products. Please message me if you can help me.
Regards, Ivan

And yes, as I mentioned in the other thread we can loan out a VM while you’re evaluating the software. I’ll send details via DM.

I’m pulling out the error message from the JSON to make sure it’s more readable.

http://bamboo.pih-emr.org:8085/browse/OPENBOXES-DSOBGM/latest/artifact/shared/Latest-WAR/openboxes.war:
2022-11-05 13:23:14 ERROR 404: Not Found.

Here’s the full logging from the error message provided by Azure.

Enable failed: failed to execute command: command terminated with exit status=8
[stdout]
to mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/java-rmi.cgi to provide /usr/bin/java-rmi.cgi (java-rmi.cgi) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javah to provide /usr/bin/javah (javah) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
update-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
Setting up mysql-server-5.7 (5.7.40-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service \u2192 /lib/systemd/system/mysql.service.
Setting up libnginx-mod-http-image-filter (1.14.0-0ubuntu1.10) ...
Setting up nginx-core (1.14.0-0ubuntu1.10) ...
Setting up nginx (1.14.0-0ubuntu1.10) ...
Processing triggers for systemd (237-3ubuntu10.56) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.2) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...

[stderr]
Warning: apt-key output should not be parsed (stdout is not a terminal)
gpg: key B1998361219BD9C9: public key \"Azul Systems, Inc. (Package signing key.) <pki-signing@azulsystems.com>\" imported
gpg: Total number processed: 1
gpg:               imported: 1
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
openjdk version \"1.8.0_262\"
OpenJDK Runtime Environment (Zulu 8.48.0.51-CA-linux64) (build 1.8.0_262-b19)
OpenJDK 64-Bit Server VM (Zulu 8.48.0.51-CA-linux64) (build 25.262-b19, mixed mode)
http://bamboo.pih-emr.org:8085/browse/OPENBOXES-DSOBGM/latest/artifact/shared/Latest-WAR/openboxes.war:
2022-11-05 13:23:14 ERROR 404: Not Found.

More information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot

As of last night, it looks like the builds are succeeding again.

https://bamboo.pih-emr.org/browse/OPENBOXES-DSOBGM/latest

One caveat: The Deploy to Azure button is an experimental feature that deploys an alpha version of OpenBoxes (0.9.0-alpha) to Azure. This version of OpenBoxes is currently in development and probably won’t be released until next summer, at the earliest. This means that it could be very buggy and is not recommended for use in a production environment.

With that said, we have plans to configure Deploy to … buttons for all of the major cloud hosting providers (AWS, GCP, Azure, DigitalOcean, etc). These will deploy the latest official release of OpenBoxes to these cloud providers. I’ll keep you all posted on this.

Lastly, there are partner organizations within this community that would be happy to provide paid hosting and support. It would be awesome if some of these organizations would promote their services here. And I’ll work with these organizations to put together an official “partners” page on the website if we get some responses.

Thank you Justin,
This is very good news!

I agree to idea Deploy to … buttons for cloud hosting providers to deploy recommended version for use in a production environment.

Regards, Ivan

Edit: tested again, same problem, same place:

http://bamboo.pih-emr.org:8085/browse/OPENBOXES-DSOBGM/latest/artifact/shared/Latest-WAR/openboxes.war:
2022-11-13 09:31:50 ERROR 404: Not Found.

{
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
  "details": [
    {
      "code": "VMExtensionProvisioningError",
      "message": "VM has reported a failure when processing extension 'newuserscript'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=8\n[stdout]\nto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/java-rmi.cgi to provide /usr/bin/java-rmi.cgi (java-rmi.cgi) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javah to provide /usr/bin/javah (javah) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/zulu-8-amd64/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode\r\nSetting up mysql-server-5.7 (5.7.40-0ubuntu0.18.04.1) ...\r\ndebconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\r\ndebconf: falling back to frontend: Readline\r\nupdate-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode\r\nRenaming removed key_buffer and myisam-recover options (if present)\r\nCreated symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.\r\nSetting up libnginx-mod-http-image-filter (1.14.0-0ubuntu1.10) ...\r\nSetting up nginx-core (1.14.0-0ubuntu1.10) ...\r\nSetting up nginx (1.14.0-0ubuntu1.10) ...\r\nProcessing triggers for systemd (237-3ubuntu10.56) ...\r\nProcessing triggers for man-db (2.8.3-2ubuntu0.1) ...\r\nProcessing triggers for ufw (0.36-0ubuntu0.18.04.2) ...\r\nProcessing triggers for ureadahead (0.100.0-21) ...\r\nProcessing triggers for libc-bin (2.27-3ubuntu1.6) ...\r\n\n[stderr]\nWarning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: key B1998361219BD9C9: public key \"Azul Systems, Inc. (Package signing key.) <pki-signing@azulsystems.com>\" imported\ngpg: Total number processed: 1\ngpg:               imported: 1\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nopenjdk version \"1.8.0_262\"\nOpenJDK Runtime Environment (Zulu 8.48.0.51-CA-linux64) (build 1.8.0_262-b19)\nOpenJDK 64-Bit Server VM (Zulu 8.48.0.51-CA-linux64) (build 25.262-b19, mixed mode)\nhttp://bamboo.pih-emr.org:8085/browse/OPENBOXES-DSOBGM/latest/artifact/shared/Latest-WAR/openboxes.war:\n2022-11-13 09:31:50 ERROR 404: Not Found.\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "
    }
  ]
}

Oops, forgot about that. Our devops team added a cron job on our CI/CD server that clean up all existing build artifacts every weekend.

The “latest” artifact is back again as of two hours ago.
https://bamboo.pih-emr.org/browse/OPENBOXES-DSOBGM/latest/artifact

I’m going through the Deploy to Azure process tonight and I’m at the final step. One thing I was wondering … when you encounter this error, does it destroy all of the resources? Or does it just fail to finish launching the application?

If you get to the deployment step and it fails, it’s pretty trivial to deploy the WAR if you can ssh into the server.

Deployment was “successful”.

But when I ssh’d into the VM the deployment was not actually successful. I’m guessing this has something to do with changes we’ve been making to that branch of the code, so I’ll have to get back to you on that.

Nov 17 04:25:34 OB-VM java[5434]: 2022-11-17 04:25:34,118  INFO [main      ] org.hibernate.Version                   : HHH000412: Hibernate Core {5.2.18.Final}
Nov 17 04:25:34 OB-VM java[5434]: 2022-11-17 04:25:34,121  INFO [main      ] org.hibernate.cfg.Environment           : HHH000206: hibernate.properties not found
Nov 17 04:25:34 OB-VM java[5434]: 2022-11-17 04:25:34,185  WARN [main      ] ationConfigEmbeddedWebApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.spring
Nov 17 04:25:34 OB-VM java[5434]: 2022-11-17 04:25:34,197  INFO [main      ] utoConfigurationReportLoggingInitializer:
Nov 17 04:25:34 OB-VM java[5434]: Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
Nov 17 04:25:35 OB-VM java[5434]: 2022-11-17 04:25:34,204 ERROR [main      ] o.springframework.boot.SpringApplication: Application startup failed
Nov 17 04:25:35 OB-VM java[5434]: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'methodValidationPostProcessor' defined in class path resource [org/springframewo
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:225)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:703)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:123)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:666)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:353)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.SpringApplication.run(SpringApplication.java:300)
Nov 17 04:25:35 OB-VM java[5434]:         at grails.boot.GrailsApp.run(GrailsApp.groovy:84)
Nov 17 04:25:35 OB-VM java[5434]:         at grails.boot.GrailsApp.run(GrailsApp.groovy:393)
Nov 17 04:25:35 OB-VM java[5434]:         at grails.boot.GrailsApp.run(GrailsApp.groovy:380)
Nov 17 04:25:35 OB-VM java[5434]:         at grails.boot.GrailsApp$run.call(Unknown Source)
Nov 17 04:25:35 OB-VM java[5434]:         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
Nov 17 04:25:35 OB-VM java[5434]:         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
Nov 17 04:25:35 OB-VM java[5434]:         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:136)
Nov 17 04:25:35 OB-VM java[5434]:         at org.pih.warehouse.Application.main(Application.groovy:8)
Nov 17 04:25:35 OB-VM java[5434]:         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Nov 17 04:25:35 OB-VM java[5434]:         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Nov 17 04:25:35 OB-VM java[5434]:         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Nov 17 04:25:35 OB-VM java[5434]:         at java.lang.reflect.Method.invoke(Method.java:498)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)
Nov 17 04:25:35 OB-VM java[5434]: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateDatastoreServiceRegistry': Cannot resolve reference to bean 'hibernat
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1196)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:927)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:804)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:573)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:432)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:206)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1263)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1097)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
Nov 17 04:25:35 OB-VM java[5434]:         ... 32 common frames omitted
Nov 17 04:25:35 OB-VM java[5434]: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateDatastore': Bean instantiation via constructor failed; nested excepti
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1196)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
Nov 17 04:25:35 OB-VM java[5434]:         ... 48 common frames omitted
Nov 17 04:25:35 OB-VM java[5434]: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.grails.orm.hibernate.HibernateDatastore]: Constructor threw exception; nested excepti
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:157)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)
Nov 17 04:25:35 OB-VM java[5434]:         ... 57 common frames omitted
Nov 17 04:25:35 OB-VM java[5434]: Caused by: javax.validation.ValidationException: HV000183: Unable to initialize 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on the classpath, or use Pa
Nov 17 04:25:35 OB-VM java[5434]:         at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.buildExpressionFactory(ResourceBundleMessageInterpolator.java:102)
Nov 17 04:25:35 OB-VM java[5434]:         at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.<init>(ResourceBundleMessageInterpolator.java:45)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.datastore.gorm.validation.javax.JavaxValidatorRegistry.buildConfigurationFor(JavaxValidatorRegistry.groovy:71)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.datastore.gorm.validation.javax.JavaxValidatorRegistry.buildConfiguration(JavaxValidatorRegistry.groovy:57)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.datastore.gorm.validation.javax.JavaxValidatorRegistry.<init>(JavaxValidatorRegistry.groovy:45)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory.buildConfiguration(HibernateConnectionSourceFactory.java:114)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory.create(HibernateConnectionSourceFactory.java:85)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.orm.hibernate.connections.AbstractHibernateConnectionSourceFactory.create(AbstractHibernateConnectionSourceFactory.java:39)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.orm.hibernate.connections.AbstractHibernateConnectionSourceFactory.create(AbstractHibernateConnectionSourceFactory.java:23)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.datastore.mapping.core.connections.AbstractConnectionSourceFactory.create(AbstractConnectionSourceFactory.java:64)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.datastore.mapping.core.connections.AbstractConnectionSourceFactory.create(AbstractConnectionSourceFactory.java:52)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.datastore.mapping.core.connections.ConnectionSourcesInitializer.create(ConnectionSourcesInitializer.groovy:24)
Nov 17 04:25:35 OB-VM java[5434]:         at org.grails.orm.hibernate.HibernateDatastore.<init>(HibernateDatastore.java:201)
Nov 17 04:25:35 OB-VM java[5434]:         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Nov 17 04:25:35 OB-VM java[5434]:         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Nov 17 04:25:35 OB-VM java[5434]:         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Nov 17 04:25:35 OB-VM java[5434]:         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:145)
Nov 17 04:25:35 OB-VM java[5434]:         ... 59 common frames omitted
Nov 17 04:25:35 OB-VM java[5434]: Caused by: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
Nov 17 04:25:35 OB-VM java[5434]:         at javax.el.FactoryFinder.newInstance(FactoryFinder.java:101)
Nov 17 04:25:35 OB-VM java[5434]:         at javax.el.FactoryFinder.find(FactoryFinder.java:197)
Nov 17 04:25:35 OB-VM java[5434]:         at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:189)
Nov 17 04:25:35 OB-VM java[5434]:         at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:160)
Nov 17 04:25:35 OB-VM java[5434]:         at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.buildExpressionFactory(ResourceBundleMessageInterpolator.java:98)
Nov 17 04:25:35 OB-VM java[5434]:         ... 76 common frames omitted
Nov 17 04:25:35 OB-VM java[5434]: Caused by: java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
Nov 17 04:25:35 OB-VM java[5434]:         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
Nov 17 04:25:35 OB-VM java[5434]:         at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
Nov 17 04:25:35 OB-VM java[5434]:         at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
Nov 17 04:25:35 OB-VM java[5434]:         at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
Nov 17 04:25:35 OB-VM java[5434]:         at javax.el.FactoryFinder.newInstance(FactoryFinder.java:87)
Nov 17 04:25:35 OB-VM java[5434]:         ... 80 common frames omitted
Nov 17 04:25:35 OB-VM systemd[1]: openboxes.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 04:25:35 OB-VM systemd[1]: openboxes.service: Failed with result 'exit-code'.

Thank you Justin,

I manually delete all resources before deploying the new resource. I tried the “Retry deployment” feature on an existing Resource group, but the result is the same.
The other day I got a “Deployments 1 Succeeded” message, but when I try to access the public DNS-URL (http://obwms.eastus.cloudapp.azure.com/) I get the following message:

502 Bad Gateway
nginx/1.14.0 (Ubuntu)

Probably for the same reason that VM ssh’d console script ended with errors.

Yeah give me a few days to work out the problem. It’s 99% working … just need to get a stable build of OpenBoxes. One thing to make clear again is that this is for an alpha version of OpenBoxes 0.9.0. We are currently supporting 0.8.20 so this is a future release that is in development and probably very buggy due to the fact that we’re migrating to a newer version of Grails.

So the deployment is failing with the following exception

Nov 18 22:20:04 OB-VM java[23857]: Caused by: javax.validation.ValidationException: HV000183: Unable to initialize 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on the classpath, or use P
Nov 18 22:20:04 OB-VM java[23857]:         at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.buildExpressionFactory(ResourceBundleMessageInterpolator.java:102)
Nov 18 22:20:04 OB-VM java[23857]:         at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.<init>(ResourceBundleMessageInterpolator.java:45)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.datastore.gorm.validation.javax.JavaxValidatorRegistry.buildConfigurationFor(JavaxValidatorRegistry.groovy:71)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.datastore.gorm.validation.javax.JavaxValidatorRegistry.buildConfiguration(JavaxValidatorRegistry.groovy:57)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.datastore.gorm.validation.javax.JavaxValidatorRegistry.<init>(JavaxValidatorRegistry.groovy:45)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory.buildConfiguration(HibernateConnectionSourceFactory.java:114)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory.create(HibernateConnectionSourceFactory.java:85)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.orm.hibernate.connections.AbstractHibernateConnectionSourceFactory.create(AbstractHibernateConnectionSourceFactory.java:39)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.orm.hibernate.connections.AbstractHibernateConnectionSourceFactory.create(AbstractHibernateConnectionSourceFactory.java:23)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.datastore.mapping.core.connections.AbstractConnectionSourceFactory.create(AbstractConnectionSourceFactory.java:64)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.datastore.mapping.core.connections.AbstractConnectionSourceFactory.create(AbstractConnectionSourceFactory.java:52)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.datastore.mapping.core.connections.ConnectionSourcesInitializer.create(ConnectionSourcesInitializer.groovy:24)
Nov 18 22:20:04 OB-VM java[23857]:         at org.grails.orm.hibernate.HibernateDatastore.<init>(HibernateDatastore.java:201)
Nov 18 22:20:04 OB-VM java[23857]:         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Nov 18 22:20:04 OB-VM java[23857]:         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Nov 18 22:20:04 OB-VM java[23857]:         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Nov 18 22:20:04 OB-VM java[23857]:         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
Nov 18 22:20:04 OB-VM java[23857]:         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:145)
Nov 18 22:20:04 OB-VM java[23857]:         ... 59 common frames omitted
Nov 18 22:20:04 OB-VM java[23857]: Caused by: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
Nov 18 22:20:04 OB-VM java[23857]:         at javax.el.FactoryFinder.newInstance(FactoryFinder.java:101)
Nov 18 22:20:04 OB-VM java[23857]:         at javax.el.FactoryFinder.find(FactoryFinder.java:197)
Nov 18 22:20:04 OB-VM java[23857]:         at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:189)
Nov 18 22:20:04 OB-VM java[23857]:         at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:160)
Nov 18 22:20:04 OB-VM java[23857]:         at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.buildExpressionFactory(ResourceBundleMessageInterpolator.java:98)
Nov 18 22:20:04 OB-VM java[23857]:         ... 76 common frames omitted
Nov 18 22:20:04 OB-VM java[23857]: Caused by: java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
Nov 18 22:20:04 OB-VM java[23857]:         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
Nov 18 22:20:04 OB-VM java[23857]:         at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
Nov 18 22:20:04 OB-VM java[23857]:         at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
Nov 18 22:20:04 OB-VM java[23857]:         at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
Nov 18 22:20:04 OB-VM java[23857]:         at javax.el.FactoryFinder.newInstance(FactoryFinder.java:87)
Nov 18 22:20:04 OB-VM java[23857]:         ... 80 common frames omitted

Checking the deployment script we were reminded that for this deployment, we are using an embedded Tomcat instance rather than the full installation.

Basically, there’s a dependency in the standalone version that is included in a Tomcat installation, but not in the embedded Tomcat that executes when you run the WAR file.

So we need to figure out a way to get the missing dependency included for the standalone JAR using an embedded Tomcat and excluded for the WAR that would be deployed to Tomcat.