Páginas filhas
  • Instalação do Servidor - Server (JBoss EAP 6.3.0.GA)

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

  • Para o manual de instalação no JBoss 4.2.3. clique aqui.
  • Para o manual de instalação no JBoss 7.1.1. clique aqui.

...

 teste
Para quem se destina o manual

...

  • Considerando intellector.datadir=/home/intellector como diretório raiz:
    1. /home/intellector/acessos -  diretório de instalação dos plugins de acesso; o TOTVS Intellector cria uma pasta para cada acesso;
    2. /home/intellector/key -  diretório para as licenças do TOTVS Intellector;
    3. /home/intellector/dados -  diretório raiz para persistência de cadastros (usuários, perfis, plugins, auditorias, etc.)
    4. /home/intellector/dados/person -  persistência de usuários cadastrados
    5. /home/intellector/dados/audit -  persistência de auditoria de execução de políticas (intellector.auditpolicy=true/false)
    6. /home/intellector/dados/plugin - persistências dos dados dos plugins instalados
    7. /home/intellector/dados/layouts - persistências de todos os layouts das políticas
    8. /home/intellector/dados/policy - persistências de todos as políticas enviadas do servidor
    9. /home/intellector/politicas - onde serão mantidas as classes das políticas compiladas
    10. /home/intellector/politicas/classes
    11. /home/intellector/politicas/classes/br
    12. /home/intellector/politicas/classes/br/com
    13. /home/intellector/politicas/classes/br/com/tools
    14. /home/intellector/politicas/classes/br/com/tools/politicas
    15. /home/intellector/tarifacao - pasta para os arquivos de Tarifação
 
Configurações do Application Server para o TOTVS Intellector

...

 

Bloco de código
languagexml
title$JBOSS_HOME\\modules\\system\\layers\\base\\org\\springframework\\spring\\main\\module.xml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2011, Red Hat, Inc., and individual contributors
  ~ as indicated by the @author tags. See the copyright.txt file in the
  ~ distribution for a full listing of individual contributors.
  ~
  ~ This is free software; you can redistribute it and/or modify it
  ~ under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ This software is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~ Lesser General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public
  ~ License along with this software; if not, write to the Free
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->
<module xmlns="urn:jboss:module:1.1" name="org.springframework.spring">
    <resources>
    <resource-root path="spring-aop-3.0.7.RELEASE.jar"/>
    <resource-root path="spring-asm-3.0.7.RELEASE.jar"/>
    <resource-root path="spring-beans-3.0.7.RELEASE.jar"/>
	<resource-root path="spring-context-3.0.7.RELEASE.jar"/>
	<resource-root path="spring-core-3.0.7.RELEASE.jar"/>
    <resource-root path="spring-expression-3.0.7.RELEASE.jar"/>
	<resource-root path="spring-jms-3.0.7.RELEASE.jar"/>
	<resource-root path="spring-tx-3.0.7.RELEASE.jar"/>
	<resource-root path="spring-web-3.0.7.RELEASE.jar"/>
    </resources>
    <dependencies>
        <module name="javax.api" />
        <module name="javax.jms.api" />
        <module name="javax.annotation.api" />
        <module name="org.apache.commons.logging" />
        <module name="org.jboss.vfs" />
    </dependencies>
</module>

 

jTDS JDBC Driver -  MSSQL Server

    • Criar módulo $JBOSS_HOME\modules\system\layers\base\net\sourceforge\jtds\main.
    • Baixar o jar jtds-1.2.7jar e colocar no diretório criado no item anterior.
    • Criar o arquivo module.xml no diretório main e inserir o conteúdo abaixo:
Bloco de código
languagexml
title$JBOSS_HOME\\modules\\system\\layers\\base\\net\\sourceforge\\jtds\\main\\module.xml
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="net.sourceforge.jtds">
  <resources>
    <resource-root path="jtds-1.2.7.jar"/>
        <!-- Insert resources here -->
  </resources>
  <dependencies>
    <module name="javax.api"/>
    <module name="javax.transaction.api"/>
  </dependencies>
</module>

 

Simple API For CSS

    • Criar módulo $JBOSS_HOME\modules\system\layers\base\org\w3c\css\sac\main.
    • Baixar o jar sac-1.3.jar e colocar no diretório criado no item anterior.
    • Criar o arquivo module.xml no diretório main e inserir o conteúdo abaixo:

      Bloco de código
      languagexml
      title$JBOSS_HOME\\modules\\system\\layers\\base\\org\\w3c\\css\\sac\\main\\module.xml
      <?xml version="1.0" encoding="UTF-8"?>
      
      <!--
        ~ JBoss, Home of Professional Open Source.
        ~ Copyright 2011, Red Hat, Inc., and individual contributors
        ~ as indicated by the @author tags. See the copyright.txt file in the
        ~ distribution for a full listing of individual contributors.
        ~
        ~ This is free software; you can redistribute it and/or modify it
        ~ under the terms of the GNU Lesser General Public License as
        ~ published by the Free Software Foundation; either version 2.1 of
        ~ the License, or (at your option) any later version.
        ~
        ~ This software is distributed in the hope that it will be useful,
        ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
        ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
        ~ Lesser General Public License for more details.
        ~
        ~ You should have received a copy of the GNU Lesser General Public
        ~ License along with this software; if not, write to the Free
        ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
        ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
        -->
      
      <module xmlns="urn:jboss:module:1.1" name="org.w3c.css.sac">
      
          <properties>
              <property name="jboss.api" value="private"/>
          </properties>
      
          <resources>
              <resource-root path="sac-1.3.jar"/>
              <!-- Insert resources here -->
          </resources>
      
          <dependencies>
              <module name="net.sourceforge.cssparser"/>
          </dependencies>
      </module>

CXF 2.6.4

    • Remover o conteúdo do diretório $JBOSS_HOME\modules\system\layers\base\org\apache\cxf\impl\main.
    • Baixar os jars da lista a seguir e colocar no diretório criado no item anterior
    • Criar o arquivo module.xml no diretório main e inserir o conteúdo abaixo:

      Bloco de código
      languagexml
      title$JBOSS_HOME\\modules\\system\\layers\\base\\org\\apache\\cxf\\impl\\main\\module.xml
       <?xml version="1.0" encoding="UTF-8"?>
      <!--
        ~ JBoss, Home of Professional Open Source.
        ~ Copyright 2012, Red Hat, Inc., and individual contributors
        ~ as indicated by the @author tags. See the copyright.txt file in the
        ~ distribution for a full listing of individual contributors.
        ~
        ~ This is free software; you can redistribute it and/or modify it
        ~ under the terms of the GNU Lesser General Public License as
        ~ published by the Free Software Foundation; either version 2.1 of
        ~ the License, or (at your option) any later version.
        ~
        ~ This software is distributed in the hope that it will be useful,
        ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
        ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
        ~ Lesser General Public License for more details.
        ~
        ~ You should have received a copy of the GNU Lesser General Public
        ~ License along with this software; if not, write to the Free
        ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
        ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
        -->
      <module xmlns="urn:jboss:module:1.1" name="org.apache.cxf.impl">
          <properties>
              <property name="jboss.api" value="private"/>
          </properties>
          <resources>
              <resource-root path="cxf-rt-bindings-coloc-2.6.4.jar"/>
              <resource-root path="cxf-rt-bindings-object-2.6.4.jar"/>
              <resource-root path="cxf-rt-bindings-soap-2.6.4.jar"/>
              <resource-root path="cxf-rt-bindings-xml-2.6.4.jar"/>
              <resource-root path="cxf-rt-core-2.6.4.jar"/>
              <resource-root path="cxf-rt-databinding-aegis-2.6.4.jar"/>
              <resource-root path="cxf-rt-databinding-jaxb-2.6.4.jar"/>
              <resource-root path="cxf-rt-frontend-jaxws-2.6.4.jar"/>
              <resource-root path="cxf-rt-frontend-simple-2.6.4.jar"/>
              <resource-root path="cxf-rt-management-2.6.4.jar"/>
              <resource-root path="cxf-rt-transports-http-2.6.4.jar"/>
              <resource-root path="cxf-rt-transports-jms-2.6.4.jar"/>
              <resource-root path="cxf-rt-transports-local-2.6.4.jar"/>
              <resource-root path="cxf-rt-ws-addr-2.6.4.jar"/>
              <resource-root path="cxf-rt-ws-mex-2.6.4.jar"/>
              <resource-root path="cxf-rt-ws-policy-2.6.4.jar"/>
              <resource-root path="cxf-rt-ws-rm-2.6.4.jar"/>
              <resource-root path="cxf-rt-ws-security-2.6.4.jar"/>
              <resource-root path="cxf-services-sts-core-2.6.4.jar"/>
              <resource-root path="cxf-tools-common-2.6.4.jar"/>
              <resource-root path="cxf-tools-java2ws-2.6.4.jar"/>
              <resource-root path="cxf-tools-validator-2.6.4.jar"/>
              <resource-root path="cxf-tools-wsdlto-core-2.6.4.jar"/>
              <resource-root path="cxf-tools-wsdlto-databinding-jaxb-2.6.4.jar"/>
              <resource-root path="cxf-tools-wsdlto-frontend-jaxws-2.6.4.jar"/>
              <resource-root path="cxf-xjc-boolean-2.6.1.jar"/>
              <resource-root path="cxf-xjc-dv-2.6.1.jar"/>
              <resource-root path="cxf-xjc-ts-2.6.1.jar"/>
          </resources>
          <dependencies>
              <module name="asm.asm" />
              <module name="javax.api" />
              <module name="javax.annotation.api" />
              <module name="javax.jms.api" />
              <module name="javax.jws.api" />
              <module name="javax.mail.api" />
              <module name="javax.resource.api" />
              <module name="javax.servlet.api" />
              <module name="javax.wsdl4j.api" />
              <module name="javax.xml.bind.api" services="import"/>
              <module name="com.sun.xml.bind" services="import"/>
              <module name="javax.xml.soap.api" />
              <module name="javax.xml.stream.api" />
              <module name="javax.xml.ws.api" />
              <module name="org.apache.commons.lang" />
              <module name="org.apache.neethi" />
              <module name="org.apache.velocity" />
              <module name="org.apache.xml-resolver" />
              <module name="org.apache.ws.xmlschema" />
              <module name="org.apache.ws.security" />
              <module name="org.apache.santuario.xmlsec" />
              <module name="org.joda.time" />
              <module name="org.opensaml" />
              <module name="org.springframework.spring" optional="true"/> 
              <module name="org.apache.cxf" export="true"/> 
          </dependencies>
      </module>

Instalando uma Licença para o TOTVS Intellector

...

  1. Enterprise -  totalmente livre para execução de qualquer política sem data de expiração;
  2. Limited -      determinada por um tipo específico e uma data de expiração ou não;
  3. Trial -          tipos de políticas livres e com uma data de expiração.
 
Configurando Pool de Conexões - JNDI

...

  1. Copiar intellector-ear.ear dentro do diretório $JBOSS_HOME/standalone/deployments;
  2. Se for uma atualização de versão, simplesmente remova o intellector-ear.ear, ANTES de extrair a nova versão. As pastas log, tmp e work situadas abaixo da instância, neste caso: $JBOSS_HOME/standalone/log, $JBOSS_HOME/standalone/tmp e $JBOSS_HOME/standalone/work poderão ser guardadas, mas é uma boa prática excluí-las.
 
Iniciando o JBoss

Se os passos foram seguidos e tudo correu bem, então é hora de iniciar o JBoss. No diretório $JBOSS_HOME/bin, inicie o batch simplesmente digitando ./run-intellector.sh (linux/unix) ou run.bat (Windows). Segue abaixo o início e o fim do bootstrap do JBoss:

...