IBM Connections: Configurando notificacoes em pt BR: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
IBM Connections: Configurando notificações em Português do Brasil
Passos para configurar no linux
Passos para configurar no linux


Line 12: Line 14:
   
   
  Connections Administration initialized
  Connections Administration initialized
Verificando a Cell
'''wsadmin> print AdminControl.getCell() '''
'''connectionsCell01 '''


Faça o CheckOut dos Arquivos
Faça o CheckOut dos Arquivos
   
   
  '''wsadmin> LCConfigService.checkOutNotificationConfig("/root/Temp","COLOQUE_AQUI_O_NOME_DA_CELL")'''
  '''wsadmin> LCConfigService.checkOutNotificationConfig("/root/Temp",AdminControl.getCell())'''
Connections notification configuration file successfully checked out
Exemplo:
'''wsadmin> LCConfigService.checkOutConfig("/root/Temp","connectionsCell01")'''
   
   
  Connections notification configuration file successfully checked out
  Connections notification configuration file successfully checked out
Line 37: Line 29:
  ...
  ...
  ...
  ...
  <defaultLanguage>'''pt_BR'''</defaultLanguage>
  <defaultLanguage>'''pt_br'''</defaultLanguage>


Salve e Feche o arquivo
Salve e Feche o arquivo
Line 64: Line 56:
   
   
  '''wsadmin> exit'''
  '''wsadmin> exit'''
= Ver também =
* [[IBM Connections:Reorg Connections Databases]]
* [[IBM Connections:Limpeza de diretórios]]
* Mais Artigos sobre IBM Connections [[IBM Connections]]
[[Category:IBM Connections]]
[[Category:Tuning IBM Connections]]

Latest revision as of 15:13, 27 August 2014

IBM Connections: Configurando notificações em Português do Brasil

Passos para configurar no linux

# mkdir /root/Temp

# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

Executar wsadmin.sh

# ./wsadmin.sh -lang jython -username wasadmin -password senha

wsadmin> execfile("connectionsConfig.py")

Connections Administration initialized

Faça o CheckOut dos Arquivos

wsadmin> LCConfigService.checkOutNotificationConfig("/root/Temp",AdminControl.getCell())

Connections notification configuration file successfully checked out

Em outro terminal, edite o arquivo notification-config.xml

<defaultEmailPreferences>
...
  <useLanguageFromCallingComponent>false</useLanguageFromCallingComponent>
...
...
<defaultLanguage>pt_br</defaultLanguage>

Salve e Feche o arquivo


Faça o CheckIn dos Arquivos

wsadmin>LCConfigService.checkInNotificationConfig()
Using configuration arguments :
       workingDirectory: /root/Temp
       cellName: connectionsCell01
       nodeName: None
       serverName: None
Loading schema file for validation: /root/Temp/notification-config.xsd
/root/Temp/notification-config.xml is valid
Connections notification configuration file successfully checked in


Sincronize os nós

wsadmin> synchAllNodes()

Nodes synchronized

Saia do wsadmin

wsadmin> exit


Ver também