8 Kasım 2010 Pazartesi

mysqldump problem

mysqldump is a powerful tool for exporting, importing databases but it has
really big problems with different mysql versions. Even one or two version changes makes tool to produce unstable results. When you execute a command like
mysqldump -u root any_database < dumped.sql
it just shows some comments on the console but any changes reflected to database. After losing about 3 or 4 hours i've found another way to import exported data. On the command line,
$ mysql -u root

mysql>use any_database;

mysql>\. /path/to/sql/file or
mysql>source /path/to/sql/file

After that mysql starts to execute the sql file and problem goes away...

5 Temmuz 2010 Pazartesi

Jboss Seam Mail Attachment Problem

jboss-seam-mail 2.2.0.GA library has a bug which causes mails to be rendered without attachments. An issue has been opened in Jboss's issue tracker and a patch has been released about it. (JBSEAM-4442) In spite of applying patch to the library the bug is still alive. If you are experiencing the same problem, you should switch to an older and stable version like 2.0.2 to overcome this bug.