hello everyone i just started coding in java jee..i want to deploy my app which i develop and deploy on tomecate to wildfly 7..I have a war file who i export and my app use mysql-connector-java-5.1.6-bin to connect to my database who i create on wamp database..i specify this app works very well on tomecate..Can it be possible?
it's tomecat you 're wright..I can see my page but the connection to database doesn't work..IN tomecat i declare: <Resource name="jdbc/MyDtB" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="root" password="" driverClassName="com.mysql.jdbc.Driver"
in context file and i call it in the code ..but in wildfly when i deploy the driver ,the war file and create datasource in the console it gave me just "error" when the page try to connect to database i d'on't know how to proceed