Dear Ludek,
Thanks your reply.
Since I am using Crystal Report XI API (jar files) to deploy with ear,
I am not sure must be installed the Crystal Report XI again to the server machine then running for the Crystal Report.
Why I say that because I cannot find the crdb_jdbc.dll in the Windows 2012 machine
(Not locate at C:\Windows\System32 or C:\Windows\SysWOW64 or any other place in the machine (by using Windows Search).
propertyBag = new PropertyBag();
propertyBag.put("Trusted_Connection", "false");
propertyBag.put("Server Type", "JDBC (JNDI)");
propertyBag.put("Use JDBC", "true");
propertyBag.put("Database DLL","crdb_jdbc.dll" );
propertyBag.put("JNDIOptionalName", "INTERNAL_DS");
propertyBag.put("Connection URL", "jdbc:sqlserver://localhost:1433;DatabaseName=TDIPDEV;SelectMethod=Cursor");
propertyBag.put("Database Class Name", "com.microsoft.sqlserver.jdbc.SQLServerDriver");
Best Regards,
Bryan