Home

Manual de Instalação e Configuração do Projeto

image

Contents

1. m b E AppCheckBox Oben Perspective b i AppSession q Bookmarks i ina c b Exercicio7 AulaServlet RafaelGomes B z a g RE m El Console Ak Shift Q C x RE Data Source Explorer gt TES jdbc Save Perspective s amp JSF 02 Teste Reset Perspective i Markers BJ n x b m JSF 03 Teste ta Navigator b ES JsF 03b pads Dz Outline Alt Shift Q O qnia Close All Perspectives b az ProjetoFinal Progress p E Revisao Navigation gt z P p Servers B Project Explorer 2 ucbliv EB Properties gt 2y ucblive trunk Search Alt Shift Q S b E ucblive escrita trunk I Servers P i V Raptors is Snippets El Task List Alt Shift Q K Alt Shift Q Q Properties 8 Data Source Explorer 5 Snippets EJ Console X uo Progress 4 Search No consoles to display at this time Ds 0 items selected Segundo digite a op o Servers e de OK Java EE Eclipse File Edit Navigate Search Project Tomcat Run Window Help Rei vor SD Hr 0O Q Ei O MI E AppCheckBox i3 AppSession E Exercicio7 AulaServlet RafaelGomes Hibernate 01 i jdbc S JSF 02 Teste S JSF 03 Teste ES JSF 03b e ProjetoFinal E Revisao le Servers J ucbliv fes ucblive trunk E ucblive escrita trunk TE VRaptor3 4 gt JBoss Tools Web Services 28 Web Service Tester 4 gt Server B Server Log N Eg Progress A Search
2. E Add and Remove Add and Remove Modify the resources that are configured on the server v 0 Qq gB amp ls 7 q Move resources to the right to configure them on the server Available F3 SS RR A b Alt Shift W Ctrl C Ctrl V Delete F2 Ctrl Alt D Ctrl Alt R Ctrl Alt S Ctri Alt P Alt Enter E Hibernate 01 E JSF 02 Teste E JSF 03 Teste E JSF 03b E ProjetoFinal D ucbliv E VRaptor3 Add All gt gt lt lt Remove All OnTic ecd D ucblive V If server is started publish changes immediately a Tomcat v7 0 er at localhost Stopped D ucblive IX XML Configuration 5 Filesets A Quinto passo de um clique com o bot o direito no servidor e escolha a op o start para iniciar ele agora escolha um browser e acesse o projeto atrav s da url http localhost 8080 ucblive Substitua a parte ucblive para o nome o qual foi dado ao projeto caso n o tenha sido seguido este padr o
3. No consoles to display at this time n 0 items selected Em terceiro selecione a nova aba Servers e escolha o servidor do tomcat clique com o bot o direito e escolha a op o Add and Remove para adicionar o projeto ao servidor 48 Java EE Eclipse File Edit Navigate Search Project Tomcat Run Window Help Fi BASRE KR Project Explorer 23 ic AppCheckBox i2 AppSession a Exercicio7 AulaServlet RafaelGomes 2i Hibernate 01 i jdbc ES JSF 02 Teste ES JSF 03 Teste ES JSF 03b 22 ProjetoFinal Eg Revisao le Servers 2 ucbliv 3 ucblive trunk gg ucblive escrita trunk TE VRaptor3 Li EL 1 items selected Quarto passo selecione o projeto ucblive clique em add escolha finish 16 Java EE Eclipse File Edit Navigate Search Project Tomcat Run Window Help ri HS o C5 Project Explorer 23 E AppCheckBox m AppSession 42 Exercicio7AulaServlet RafaelGomes ES Hibernate 01 i jdbc ES JSF 02 Teste ES JSF 03 Teste ES JSF 03b e ProjetoFinal cS Revisao t Servers 2 ucbliv es ucblive trunk gg ucblive escrita trunk 2 VRaptor3 E El 1 items selected 0 9S B8 e zd EITA New Open Show In Copy Paste X Delete Rename Debug O stat E Profile Stop SO Publish Clean t Add and Remove Monitoring Clean Tomcat Work Directory E Propertie 4 m To ucblive Xj XML Configuration 3 Filesets Properties
4. connectionURL jdbc mysql localhost ucb driverNamez com mysgl jdbc Driver userTable usuario userNamecCol login userCredCol senha userRoleTablez autorizacao roleNameCol papel gt C Java EE Servers Tomcat v7 0 Server at localhost config server xml Eclipse File Edit Source Navigate Search Project Tomcat Run Window Help Hn g amp amp iHritorsri 0 Q 8 h amp os TIGGA Q ddd c G 6 9 2 38 rs Project Explorer A E E II al T EE T B topicoistahiml E E m N b E AppCheckBox mere e E ms gt T AppSession lt You should set jvmRoute to support load balancing via AJP ie Engine b i Exercicio7 AulaServlet RafaelGomes gt S Hibernate 01 b TES jdbc S JSF 02 Teste gt ES JSF 03 Teste gt S JSF 03b gt 2 ProjetoFinal omcat v7 0 Server at localhost config b m lib f catalina policy m b ES catalina properties mh X serverxml X tomcat users xml b gi web xml F F ucblive trunk gt fam Deployment Descriptor ucblive t SP JAX WS Web Services b 25 Java Resources t E JavaScript Resources gt Lg Deployed Resources gt E Banco t Ep build b Ep docs gt im WebContent b eg ucblive escrita trunk b VRaptor3 name Catalina defaultHost localhost jvmRoute jvml gt lt Engine defaultHost Localhost names Catalina lt For clustering please take a look at documentation at docs cluster howto ht simple how to docs conf
5. 03 07 2012 11 33 Executable Jar File 249 KB E Documentos ii ec 3 7 2 Jar 03 07 2012 11 33 Executable Jar File 1 709 KB i Imagens el api jar 03 07 2012 11 33 Executable Jar File 4b KB a M sicas l Jasper jar 03 07 2012 11 33 Executable Jar File 5 8 KB B V deos l Jasper el jar 03 07 2012 11 33 Executable Jar File 121 KB jsp api jar 03 07 2012 11 33 Executable Jar File 8 KB JE Computador mysql connector java 5 1 18 bin Jar 02 11 2012 11 17 Executable Jar File 712 KB amp os c l mysgl connector java 5 1 23 bin jar 26 02 2013 11 23 Executable Jar File 824 KB Unidade de DVD RW servlet api jar 03 07 2012 11 33 Executable Jar File 174 KB tomcat api Jar 03 07 2012 11 33 Executable Jar File 7 KB Rede amp tomcat coyote Jar 03 07 2012 11 33 Executable Jar File 7 3 KB tomcat dbcp Jar 03 07 2012 11 33 Executable Jar File 230 KB tomcat ilBn es Jar 03 07 2012 11 33 Executable Jar File T5 KB tomcat ilSn fr Jar 03 07 2012 11 33 Executable Jar File 48 KB tomcat ilSn Ja Jar 03 07 2012 11 33 Executable Jar File 51 KB tomcat Jdbc Jar 03 07 2012 11 33 Executable Jar File 121 KB tomcat util jar 03 07 2012 11 33 Executable Jar File 23 KB Terceiro passo Alterar as configura es do Tomcat Pelo Eclipse edite Servers gt gt server xml Incluir logo abaixo de lt Host appBase o seguinte c digo Realm className org apache catalina realm JDBCRealm connectionName root connectionPassword root
6. Manual de Instala o e Configura o do Projeto Instalando e Configurando o ambiente 1 Baixar o JDK7 atrav s do link http www oracle com technetwork java javase downloads jdk7 downloads 1880260 html 2 Instalar o JDK7 3 Baixar o JRE7 atrav s do link http www oracle com technetwork java javase downloads jre7 downloads 1880261 html 4 Instalar o JRE7 5 Baixar o tomcat 7 atrav s do link http tomcat apache org download 70 cei 6 Descompactar o arquivo em um diret rio em que o usu rio do computador tenha permiss o completa 7 Baixar o Eclipse Eclipse IDE for Java EE Developers atrav s do link http www eclipse org downloads 8 Descompactar o arquivo com a pasta do programa em algum diret rio do computador 9 Baixar o MySQL Server e o Workbench atrav s do link http dev mysgl com downloads Instru o do Sistema UCBLive Para facilitar a execu o do projeto este documento um passo a passo dos requisitos que s o necess rio para a utiliza o do UCBLive Programas necess rios Iremos citar os programas utilizados pela equipe do projeto e que ser o necess rios para a execu o do mesmo 1 Eclipse Indigo ou Juno 2 MySql Workbench Utilizada versao 5 2 3 Apache TomCat Passo a Passo 1 Exportacao do projeto O projeto j estar exportado dentro do cd com a extens o WAR e com o nome ucblive war p JCJ E gt uciive Organizar v B Ab
7. d tag templates b ss RA UNA Oni DESA RAM LL 3 6 9 2 RE Te Servers F Data Source Esporer E Snippets E Console ii a Progress Search play at this time n 0 items selected Em terceiro escolha onde arquivo WAR est localizado e d um nome ao projeto Em seguida aperte a op o Finish 8 Java EE Eclipse File Edit Navigate Search Project Tomcat Run Window Help E Import n C a a WAHL srs 9 2 WAR Import Import a WAR file from the file system WAR file CAUsersiRafaeNDesktop Material de TALPNucblive war Web project ucblive TCC Target runtime Apache Tomcat v7 0 EAR membership Add project to an EAR EAR ervers l Data Source Explorer 5 Snippets E Console 52 Eg Progress 4 Search lt Back ay at this time E O items selected Agora o projeto j foi exportado para a rea do eclipse para ser utilizado Clique agora em Window gt Preferences Na janela que ir aparecer no canto esquerdo abra os itens de menu Server e clique sobre Runtime Environments Ap s isso clique em add na janela que ir aparecer no canto direito da tela aberta 8 ie TET Ee O A Er A DVD BE or Ej its 52 uL EE 8 Preferences RA m ucblive type filter text Server Runtime Environments General Ant Data Management Server runtime environments ed Dynamic Languages Name Tvpe Help HQL editor Install Update Java Java EE Java Pers
8. ig cluster html reference documentation gt 1 Cluster className org apache catalina ha tcp SimpleTcpCluster gt lt Use the LockOutRealm to prevent attempts to guess user passwords via a brute force attack gt Host appBase webapps autoDeploy true name Localhost unpackWARs true Realm className org apache catalina realm JDBCRealm connectionName root connectionPasswor l SingleSignOn valve share authentication between web applications Documentation at docs config valve html gt 1 Valve className org apache catalina authenticator SingleSignOn y lt Access log processes all example Documentation at docs config valve ht Note The pattern used is equivalent to using pattern common gt Valve className org apache catalina valves AccessLogValve directory logs Design Source Em Properties mn Servers N Data Source Explorer E Snippets E Console 53 NB Progress y Search No consoles to display at this time Iniciando o Projeto Primeiro deve ser adicionada a aba do servidor para isso acesse a aba superior Window e em seguida a op o show view e other 16 Java EE Eclipse File Edit Navigate Search Project Tomcat Run Window f Help F3 ll amp e dN 49 o New Window New Editor ERTER TTR
9. istence JavaScript JBoss Tools Mylyn PHP Plug in Development Remote Systems Run Debug Server Audio Launching Profilers Runtime Environments Team Terminal Tomcat Usage Data Collector Validation Web H Web Services H XML Add remove or edit server runtime environments ze RI EIE BEI REL REL REI REL REL RE O Na janela a seguir abra a pasta Apache e selecione Apache Tomcat Server v7 0 selecione o checkbox Create a new local server e clique em Next ei Hew Server Runtime Environment New Server Runtime Environment Define a new server runtime environment Download additional server adapters Select the type of runtime environment type filter text B Apache Apache Tomcat v3 2 BH Apache Tomcat v4 0 H Apache Tomcat v4 1 Apache Tomcat v5 0 H Apache Tomcat v5 5 H apache Tomcat v6 0 BH Apache Tomcat v7 0 gt Basic bel TEM gt JBoss mug Ass LUTA L Apache Tomcat v7 0 supports J2EE 1 2 1 3 1 4 and Java EE 5 and 6 Web madules amp reate a new local server ER Na tela que ir aparecer clique em Browse e selecione o diret rio que o arquivo do tomcat est extra do Ap s isso clique em Finish e depois de um OK na tela anterior que ir aparecer novamente e Hew Server Runtime Environment Tomcat Server Specify the installation directory Mame Apache Tomcat v7 Tomcat installation directory C Documents and Settings Adminis
10. rir v Compartilhar com v Gravar Nova pasta Nome Data de modifica Tipo Tamanho 5X Favoritos BE rea de Trabalho 8 ucblivewar 26 05 2013 22 36 Arquivo WAR 11 541 KB Locais Downloads ima Bibliotecas Documentos i Imagens d M sicas EE V deos s Computador amp os C 2 Unidade de DVD RW e Rede Primeiro abra o eclipse e escolha a aba file e escolha a op o import New Alt Shift N Open File Close Ctri W Close All Ctrl Shift W a Save Ctrl S Save As 1 Save All Ctrl Shift S Revert Move 7 Rename F2 Refresh F5 Convert Line Delimiters To gt Print Ctrl P Switch Workspace b Restart I EL NENNEN RZj Export Properties Alt Enter 1 server xml Servers 2 LEIAME bt ucblive docs 3 JBoss Central 4 topicoListxhtml ucblive alu Exit g 0 items selected E Properties sii Servers IM Data Source Explorer 5 Snippets Console 3 gt E Progress 4 Search No consoles to display at this time Em segundo ter que escolher a op o web e clicar em War File MB Java EE Edipse TE Import an external WAR file into a Web Project Select an import source type Titer text gt gt Plug in Development gt gt Remote Systems gt amp Run Debug b amp SVN b g Tasks gt amp Team 4 gt Web b E Web services b E XML 4 Other 31 JSF Project E JSF Project From war User specifie
11. trador Meus docume Browse apache temcat 7 0 12 Download and Install JRE Workbench default JRE v Installed JREs m Condi es para funcionamento do sistema V na raiz do CD entre na pasta Script e execute o script no MySgl O banco ser criado com os seguintes inserts pr definidos TABELA usuario insert into usuario values adm 4 adm123 TABELA autorizacao insert into autorizacao values adm adm insert into autorizacao values adm mod insert into autorizacao values adm pro insert into autorizacao values adm alu Esses dados s o referentes ao administrador e a partir dele pode se criar os demais usu rios do sistema bem como as demais opera es do sistema Segundo passo copiar o driver do MySQL para a pasta do Tomcat Copiar o JAR mysql que est localizado nas bibliotecas do projeto para dentro da pasta lib do Tomcat QU n k Material de TALP Bapache tomcat 7 0 29 lib Organizar Abrir Compartilhar com Gravar Nova pasta nd Favoritos Nome i Data de modifica Tipo Tamanho EE rea de Trabalho annotations api jar 03 07 2012 11 33 Executable Jar File 15 KB Ei Locais catalina jar 03 07 2012 11 33 Executable Jar File 1 512 KB dg Downloads catalina ant jar 03 07 2012 11 33 Executable Jar File 54 KB catalina ha jar 03 07 2012 11 33 Executable Jar File 129 KB y Bibliotecas catalina tribes jar

Download Pdf Manuals

image

Related Search

Related Contents

Product Sheet - Projector Central  Icon - Medical Informatics Laboratory  MANUAL DE INSTRUÇÕES    FinePix JX280 使用説明書  Fujitsu Prestige Backpack 17  Manual de instruções VEGAPULS WL 61  Integral IN2T4GEWBEX memory module  Ref. 3002, 3003, 3018, 3013  Autres accessoires jeux vidéos  

Copyright © All rights reserved.
Failed to retrieve file