Skip to main content

Posts

Unable to find the driver com.mysql.jdbc.Driver. Register the driver in the Databases tab

This happened when you tried to create an entity from a database. I am currently using Wildfly 8.1.0, and MySQL 5.1.30 on NetBeans 8.0. To resolve this issue, open the standalone-full.xml of JBOSS. Under the datasources > drivers > driver, make sure the driver name is the same as the datasource > driver. For example, make sure the text highlighted in the following code block is the same: < subsystem xmlns = "urn:jboss:domain:datasources:2.0" > < datasources > < datasource jta = "false" jndi-name = "java:jboss/mysql" pool-name = "mysql" enabled = "true" use-ccm = "false" > < connection-url > jdbc:mysql://localhost:3306/client </ connection-url > < driver-class > com.mysql.jdbc.Driver </ driver-class > < driver > mysql </ driver > </ datasource > < drivers > < dr...

Register MySQL On Wildfly 8(JBOSS SERVER 8)

This is quick trick to register MySQL on Wildfly 8.  Goto  WILDFLY_HOME/modules/system/layers/base/com and create another directories mysql/main Inside the main directory, paste the myql.jar<version>  file inside  and create a "module.xml" file with the follow lines without the code     <?xml version="1.0" encoding="UTF-8"?>         <module xmlns="urn:jboss:module:1.1" name="com.mysql">             <resources>                 <resource-root path="mysql-connector-java-5.1.30-bin.jar"/>             </resources>             <dependencies>                 <module name="javax.api"/>                 <module name="javax.transaction.api"/>           ...

iPhone activation required No Sim Card Installed iPhone 4 after IOS 7 Upgrade Problem Fix

To Bypass the activation required screen after you upgrade to IOS 7.  Note that this process worked for me because I have a SIM card. 1. Power on the iPhone, 2. While the phone is booting and you have the apple logo display,  3. Insert your SIM card. 4. Bypass the wireless connection. 5. Viola. Done. This process works for me. I hope its works for you too. NB: Another way around is to keep clicking try again continuously. 

JSF View Parameter And Java EE 7 XML namespaces

After spending several hours trying to figure out why my old sample codes won't run on Glassfish 4.0 and Java EE 7, I found out that the problem was actually with the new XML schemas for Java. You can find more information about the new XML schemas for Java EE deployment descriptors on Oracle's websit e. You can also find more information about GlassFish Server Documentation on GitHub Pages . I figured out that the problem was actually with the XML Schemas below which I had to update back to the old version. xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html"  xmlns:ui="http://xmlns.jcp.org/jsf/facelets"  xmlns:f="http://xmlns.jcp.org/jsf/core" Working Version xmlns="http://www.w3.org/1999/xhtml"  xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui"  xmlns:f="http://java.sun.com/jsf/core" I receive a response from this  site , which answered why t...

Work Around for HP Pavilion DV7 Volume and Wireless Touchpad Not Working

Got an HP Pavilion DV7 which wireless and volume touchpad suddenly stop responding ? The trick below works for me and it is quite simple. Unplug the Laptop from power. Unplug any attached device that is attached to the Laptop Remove the battery. Power on the laptop with the battery removed and no power source attached. Hold the power button down for at least 30 second. Place the battery back to the laptop. Power back the laptop. Its claimed that the problem is caused by   static buildup.  I hope this works for other similar devices with touch-pad problem This trick works perfectly for me as it saves my day. Special credit to this forum .