How is it right to put the server on WildFly 9 on another car?
Good time of day, how do you put it rightly?
I tried that: - I'm copying the standalone file. I'm changing my name, attaching to the originals and the empty car, starting the team:
Then the question arose as to how to correctly unload the MySQL module? In my car, I built this article as a module: http://hpehl.info/jdbc-driver-setup.html
A simple way to set a module is to use it. Command Line Interface (CLI):
Example postgresql Driver:
jboss-cli.shin the catalogue
%JBOSS_HOME%/binAnd we're doing the team:
module add -name=org.postgres -resources=E:\TMP\postgresql-9.4-1201.jdbc41.jar -dependencies=javax.api,javax.transaction.api
In this case
—name=org.postgres- the name of the module.
—resources=E:\TMP\postgresql-9.4-1201.jdbc41.jar- the way to Jar's archive with.
Everything is similar to mysql. Change the name and path to the driveway.
I think we can stop it if you've moved on.
standalone.xmlFrom one server to another.
But you can't move.
standalone.xmlAnd also through CLI to create the necessary
Driver registration team:
Datasource Registration Team:
data-source add —jndi-name=java:/LiferayDS —name=LiferayPool —connection-url=jdbc:postgresql://localhost/liferay —driver-name=postgres —user-name=dbuser —password=dbuserpwd
These teams should be modified under mysql. There's a class in the driveway.
com.mysql.jdbc.DriverThe name and name of the module.