Giter Site home page Giter Site logo

gitter-badger / administrationproject Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sercheo87/administrationproject

0.0 1.0 0.0 6.67 MB

Administration general of basic process for project.

JavaScript 68.39% CSS 1.46% R 0.01% Java 28.16% Groovy 1.99%

administrationproject's Introduction

AdministrationProject

Administration general of basic process for project.

#Configuration

  • Change port jboss
  • file: jboss-as-7.1.1.Final\standalone\configuration\standalone.xml
  • Find <socket-binding name="http" port="1313"/>
  • For test run in browser localhost:1313

#Mysql For add the conexion MySql follows step.
1.Create the next path JBOSS_HOME\modules\com\mysql\main
2.Create file module.xml with next content

<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2010, 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="com.mysql">
    <resources>
        <resource-root path="mysql-connector-java-5.1.34-bin.jar"/>
    </resources>
    <dependencies>
        <module name="javax.api"/>
        <module name="javax.transaction.api"/>
    </dependencies>
</module>

3.Copy here the jar MySql-Connector Download MySql Connector Java
4.In the file JBOSS_HOME\standalone\configuration\standalone.xml add or modify the next section.

<subsystem xmlns="urn:jboss:domain:datasources:1.0">
    <datasources>
        <datasource jta="true" jndi-name="java:/projectadmin_db" pool-name="projectadmin_db">
            <connection-url>jdbc:mysql://localhost:3306/projectadmin_db</connection-url>
            <driver>com.mysql</driver>
            <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
            <security>
                <user-name>root</user-name>
                <password>root</password>
            </security>
        </datasource>
        <drivers>
            <driver name="com.mysql" module="com.mysql">
                <driver-class>com.mysql.jdbc.Driver</driver-class>
                <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
            </driver>
        </drivers>
    </datasources>
</subsystem>

#Launching Run server with followind program:jboss-as-7.1.1.Final\bin\standalone.bat
Path rest http://localhost:1313/ProjectAdminMng/rest

#DataBase Mysql: User: root
Pass: root
Port: 127.0.0.1:3306
postgres: port 5432 pass:root

administrationproject's People

Contributors

sercheo87 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.