Hi Team,
I want to add a parm to the “launch” of a wildfly server…
Things seemed to have moved around…
Where do I put this now?
-P C:\dev\wildfly-16.0.0.Final\standalone\data\openshiftsupport\openshiftsupport_system.properties
It tells the server where to look for a property file on startup… in this case for paraemerizing hiberante stuff externally….
<property name=”hibernate.dialect” value=”${openshiftsupport.dialect:org.hibernate.dialect.PostgreSQLDialect}” />
<property name=”hibernate.hbm2ddl.auto” value=”${openshiftsupport.hbmddl.auto:update}” /> <!– create-drop update validate –>
<property name=”hibernate.show_sql” value=”${openshiftsupport.show_sql:true}” />
These were my old instructions:
Alter the startup command (in MyEclipse or whatever) to add in:
-P C:\dev\wildfly-16.0.0.Final\standalone\data\openshiftsupport\openshiftsupport_system.properties
(In MyEclipse go Run->Debug Configurations… and add into the Debug Wildfly settings under Arguments(x) Tab -> Program Arguments)