...
- Development - sky-app-1
- Production - sea-app-1
Moves should be configured on a standalone container and NOT ON A CLUSTER. The code is not cluster safe due to scheduling and log file restrictions.
Anchor | ||||
---|---|---|---|---|
|
Truststores and
...
Keystores
The trustore for Moves must include the MIT Certificate Authority. The keystore requirements are the same as for any other apps. (The keystore is required to access the roles database).
The standard location for the truststore and keystore are
- Trust Store: ${OC4J installation Directory}/j2ee/home/config/serverTrustStore.jks
- Key Store: ${OC4J installation Directory}/j2ee/home/config/moves-test.jks (Test/Development) OR ${OC4J installation Directory}/j2ee/home/config/moves.jks (Production)
Properties file
A commented properties file is included below. Developers are encouraged to change server trust store to the values in Trustores and Keystores
On Windows boxes, please don't use
. I recommend forward slashes.... so C:/product/version/j2ee/home/config/serverTrustStore.jks should work fine.
No Format |
---|
# The truststore and keystore must be correctly configured in moves. webservices.trustStore=${user.home}/serverTrustStore.jks webservices.trustStorePassword=XXXXXXX webservices.keyStore=config/moves-test.jks webservices.keyStorePassword=changeit # Since moves uses the roles database, we need to specify a roles # web service url and a function category. The following should work. roles.function.category=APPM webservices.mitroles.url=https://ws-test.mit.edu/uaws/services/ua # If you are a developer, you may want to uncomment the following lines. These # Allow you to use login locally, with all roles, instead of using the roles web service. # Change username and password to whatever you like. # local.user.name=eotoole # local.user.password=eotoole # local.mitroles = MOVES_ADMIN, MOVES_MANAGER, MOVES_DEV, MOVES_QA, MOVES_TEST, MOVES_PROD # local.authentication = true # These properties are used to access the maven repository. mit.maven.repository.username=moves#string mit.maven.repository.password=dvtlsais # Moves operates under the assumption The moves Appthat all oc4j containers in an environment type # WILL HAVE THE SAME ADMINISTRATOR USERNAME AND PASSWORD. # Environment Types are Production, QA, Dev etc. # The username is typically oc4jadmin, but the password is different for each environment type. # (So all Production containers will have the same username and password, all Test containers # will have another password etc). # # Moves also allows you to create environments. The standard environments are #an arbitrary environment types. # So today there exists P (Production), Q (QA), D (Development)., Belowbut wein havethe propertiesfuture towe setmight the oc4jadd # usernames and passwords for theseU (User acceptance testing) or other environments.Since Ifit youwas adda newrequirement environmentsthat youthese needusernames # toexist addin newthe properties file, we use the convention: # oc4j.deployer.username.[environmentTypeId]=[oc4j username] # oc4j.deployer.password.[environmentTypeId]=[oc4j password] # # See examples below # # The moves App allows you to create arbitrary environments. The standard environments are # P (Production), Q (QA), D (Development). Below we have properties to set the oc4j # usernames and passwords for these environments. If you add new environments you need # to add new properties # # So for example, if you add a UAT environment (U) you would add # oc4j.deployer.username.U=[oc4j username] # oc4j.deployer.password.U=[oc4j password] # # OC4J username and password to deploy applications to Dev environments (environmentTypeId=D) oc4j.deployer.username.D=oc4jadmin oc4j.deployer.password.D=adminXXXXXXX # # OC4J username and password to deploy applications to QA environments (environmentTypeId=Q) # oc4j.deployer.username.Q=oc4jadmin # oc4j.deployer.password.Q=admin[password] # OC4J username and password to deploy applications to prod environments (environmentTypeId=P) # oc4j.deployer.username.P=oc4jadmin # oc4j.deployer.password.P=admin webservices.mitroles.url=https://ws-test.mit.edu/uaws/services/ua local.user.name=eotoole local.user.password=eotoole local.mitroles = MOVES_ADMIN, MOVES_MANAGER, MOVES_DEV, MOVES_QA, MOVES_TEST, MOVES_PROD local.authentication = true webservices.keyStore=C:/product/oc4j_extended_101350/j2ee/home/config/moves-test.jks webservices.keyStorePassword=changeit webservices.trustStore=C:/product/oc4j_extended_101350/j2ee/home/config/serverTrustStore.jks webservices.trustStorePassword=changeit[password] |