The script below will install on a local server. If Administrative security is on, then it will prompt for authentication.
#install the application
AdminApp.install('D:/workspace/java/jsfks/deploy/jsfks.ear', '[ -nopreCompileJSPs -distributeApp -nouseMetaDataFromBinary -nodeployejb -appname jsfks_test_ear -createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -noprocessEmbeddedConfig -filepermission .*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 -noallowDispatchRemoteInclude -noallowServiceRemoteInclude]' );
#save
AdminConfig.save();
#install the application
AdminApp.install('D:/workspace/java/jsfks/deploy/jsfks.ear', '[ -nopreCompileJSPs -distributeApp -nouseMetaDataFromBinary -nodeployejb -appname jsfks_test_ear -createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -noprocessEmbeddedConfig -filepermission .*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 -noallowDispatchRemoteInclude -noallowServiceRemoteInclude]' );
#save
AdminConfig.save();
No comments:
Post a Comment