Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Re: Has web application become too successful for SQL Anywhere?

$
0
0

Thanks Jason.. I was hoping I'd get that response.

 

Since March 2011, the production setup has consisted of 2 VMWare VMs.. each running Windows 2003 R2 SP2

the webserver running IIS 6 and ColdFusion 8 (Java Version: 1.6.0_01)**

the database server running SQL Anywhere 10

 

I was never able to get the SQL Anywhere 10 JDBC 3 driver to work with ColdFusion 8 so backed off to the jdbc-odbc bridge.

 

Making the jdbc-odbc bridge functional required

 

1> putting dbjodbc10.dll and jodbc.jar into a folder in the ColdFusion class path* and

2> When defining Data Sources in ColdFusion I had to

a>  choose "Other" from the driver list (since Adobe has not tested any SQL Anywhere drivers) and

b>  fully specify the URL: jdbc:ianywhere:driver=SQL Anywhere 10;dbn=demo;links=tcpip(HOST=nn.nn.nn.nn;PORT=2620);eng=demo  

  [where nn and demo are as you would expect]

c>  specify ianywhere.ml.jdbcodbc.jdbc3.IDriver as the Driver Class

d>  provide username and password where requested

 

I've continued to use same setup even after moving the data to a W2012 Server and SQL Anywhere 16 when I couldn't get the JDBC4 to load (seems ColdFusion does NOT want to have a blank in the Driver Class field of the DataSource definition screen)

 

Relevant ? settings?

Simultaneous request limit: 50

CFThread Pool Size:  10

Max number of running JRUN threads: 50

Max number of queued JRUN threads: 1000

 

 

Database specifics for the largest database involved (there are several):

Login timeout:  30 seconds

Timeout:  1200 seconds

Maintain connections across client requests:  Yes**

Interval:  420 seconds

Disable connections:  No

 

I believe the connection timeout tends to occur when there is a loop of activity which includes saving a copy of an html page (which is dynamically constructed) as well as associated database updates for each page ..for more than 5 html pages in a row

 

*I believe I got the SQL Anywhere 10 ODBC driver installed by installing SQL Anywhere 10 on the webserver; I was thus enabled to use the Windows Driver Manager to verify that a connection could be made

 

 

 

** from http://helpx.adobe.com/coldfusion/kb/database-connections-handled-coldfusion.html

"Maintain Database Connections" is set for a data source, ColdFusion keeps the connection open after its first connection to the database. It does not log out of the database after this first connection.


Viewing all articles
Browse latest Browse all 2182

Trending Articles