Wednesday, April 24, 2013

A COMPENDIUM OF ERRORS

E

CATEGORY: Bash [Linux]
ERROR: Exec format error
AUTHOR: Nii Nai <dwa2pac@gmail.com>,<dwa2pac@yahoo.com>
DATE: 2013-04-22

Detailed Description:
Running a command on the command line fails with the error message;
bash: cannot run command 'xxx': Exec format error

Fix:
This error is because we are running a 64-bit application on a 32-bit operating system.
Fix is simply run the right application on the correct architecture.



G

CATEGORY: glassfishv3 [Windows]
ERROR: Error creating JDBC connection pool
AUTHOR: Nii Nai <dwa2pac@gmail.com>,<dwa2pac@yahoo.com>
DATE: 2013-04-22

Detailed Description:
Ping failed Exception - Class name is wrong or classpath is not set for : com.mysql.jdbc.Driver Please check the server.log for more details

Fix:
Download and copy the mysql jdbc connector to <glassfish>/domains/<domain>/lib/ext, then restart glassfish

References:
1. http://docs.oracle.com/cd/E19316-01/820-4335/gibzk/index.html

No comments:

Post a Comment