Thanks. I solved it. I just created new Connection Pool and JDBC Resource from wizard and it worked. I was solving this problem about 10 days but before this exception I resolved some others too. In the begining it couldn't log into database at all from Java. Anyways thanks, I am very happy that I found solution.
[Message sent by forum member 'chiagng' (chiagng)]
http://forums.java.net/jive/thread.jspa?messageID=224721