-
1. Re: wildfly 16 running OpenJDK11 Error
ctomc Nov 19, 2019 11:11 AM (in response to bigbenzzz)with what config do you run the server? with standalone.xml or with standalone-full.xml?
only standalone-full.xml includes JMS subsystem which makes JMS classes available to deployments.
try running server with standalone.sh|bat|ps1 -c standalone-full.xml
and it should probably work.
-
2. Re: wildfly 16 running OpenJDK11 Error
bigbenzzz Nov 19, 2019 8:03 PM (in response to ctomc)Hi Tomaz,
the wildfly server run with standalone.xml config file.
I runned my ear file with wildfly 11 is all right, and now try upgrade to wildfly 16 then face the problem about jms.
as per checked, all config setup correctly (compare with the previous wildfly config file)
Its so confusing. -
3. Re: wildfly 16 running OpenJDK11 Error
ctomc Nov 20, 2019 4:21 AM (in response to bigbenzzz)Hey, older versions of WildFly mistakenly added all EE dependencies (modules) available to all ear/war/ejb deployments even if subsystems for such dependencies ware not enabled.
In your case your code requires jms annotations for message driven beans, such dependencies are now added when subsystem implementing JMS support is enabled. in this case messaging-activemq
another option is to manually add jboss-deployment-structure.xml with dependancy to javax.jms.api module for more details on how to do that see Developer Guide
but as I said, i would recommend enabling jms subsystem, with fastest way to do so to run standalone-full.xml configuration.