Coder Social home page Coder Social logo

karlnicholas / dukes-forest Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 6.0 1006 KB

Port of dukes-forest to Wildfly 9 and MySql 5.6.

Java 51.27% CSS 3.49% JavaScript 0.39% HTML 44.85%
dukes-forest dukes-payment dukes-shipment dukes-store mysql wildfly

dukes-forest's People

Contributors

karlnicholas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dukes-forest's Issues

MySQL is case sensitive

Hello,

MySQL is case sensitive so the database name should be uppercase in standalone-full.xml .

User logout can leave user in a restricted page.

If a user of dukes-store logs out without first going to HOME then the user will be left in an restricted page and nothing will show on the screen. There may have been an catchall error page or something that gave a better error that it is currently showing, but for now it's an issue.

Table FOREST.ORDER_STATUS has two columns only

Hello,

INSERT INTO FOREST.ORDER_STATUS (ID,STATUS,DESCRIPTION) VALUES (1,'Pending processing','');
DESCRIBE FOREST.ORDER_STATUS
# Field, Type, Null, Key, Default, Extra
ID, int(11), NO, PRI, , auto_increment
STATUS, varchar(45), NO, , , 

Suggestion to XA Datasource for MySQL

Hello,

I would like to suggest the following XA Datasource for MySQL (you can create such configuration on Wildfly Server Configuration online):

<datasources>
<xa-datasource jndi-name="java:/databaseXADS" pool-name="databaseXADS" enabled="true" use-ccm="true">
    <xa-datasource-property name="ServerName">
        localhost
    </xa-datasource-property>
    <xa-datasource-property name="DatabaseName">
        databasedb
    </xa-datasource-property>
    <driver>com.mysql</driver>
    <security>
        <user-name>username</user-name>
        <password>password</password>
    </security>
    <validation>
        <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/>
        <background-validation>true</background-validation>
        <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/>
    </validation>
</xa-datasource>
<drivers>
    <driver name="com.mysql" module="com.mysql">
        <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
    </driver>
</drivers>
</datasources>

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.