huwtrimet.org Posted December 9, 2009 Share Posted December 9, 2009 I have recently developed a ACD report against the Cisco Voip database which is running on a Windows 2003 server using MS SQL server version 2000, the database was set up to accept named pipe connection only, No TCP/IP.I was using the jtds jdbc driver from here: https://sourceforge.net/projects/jtds/I was able to connect to the database using iReport datasource like this:Jdbc:jtds:sqlserver://ipcccs1/db_cra;namedPipe=true;instance=CRSSQL;user=HelpDeskReports;password=password!;domain=companyname.comAnd, the report preview works just fine, it ran for about 90 seconds. My PC is a Windows XP machine. After I uploaded the acd.jrxml and try to run it on the JS CE 3.5, it keeps timeout at 30 seconds. After a week long back and forth with the guy from JTDS, I learned I have to set the following property in the JS CE BIN directory in the catalina.sh file to make the JCIFS timeout values to increase to the amount needed.Add this to the catalina.sh in the start section-Djcifs.smb.client.responseTimeout=300000 \-Djcifs.smb.client.soTimeout=300000 \Now my report runs just fine on JS CE 3.5.I hope this will help others. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now