I got this problem when adding chinese characters to mysql database
using mysql .net connector. After changing the database encoding to
utf-8 and the page encoding to utf-8, i still get ??? when inserting
information into the database. Finally, the problem is solved by insert
'charset=utf8' to the connection string, so it looks something like
this:
Database=<dbname>;Data Source=<source>;User Id=<userid>;Password=<password>;
charset=utf8
=)
If you got framework error while deploying a war / jar file under admin
console of Sun Appserver, do not panic. Below are several ways you can
do to remedy it rather than reinstalling the entire appserver
War file
1. Press F5 to refresh the browser
2. Click on Deploy Web Application (.war file)
3. Deploy the file.
4. If you cannot deploy, go to folder domain/<your domain> and delete the folder your application is under
5. Restart appserver
6. Try to deploy again
Jar file
1. Redeploy using deploy tool
Framework error occures when you deploy your war / jar file halfway and your mouse click on some other link.
Problem : AppServer refuse to start up even thought you have properly shut it down BUT improperly shutdown your windows.
My Solution :
Go to
C:\Sun\AppServer\domains\<domain name>\imq\instances\imqbroker
there is a file 'lock' inside. Delete that and try again.