Linux – Problems using Crystal reports infoview over the internet

crystalreportslinuxsaptomcat

We have a Bobje installation and use crystal reports infoview to share some of our reports with our customers over the internet. Most reports will work ok however any reports that take 'longer' seem to fail. Longer being about 3-4 mins. If we run the same reports on the local network they work fine. In fact we have some reports that take 10-15 mins that return fine locally but not over the internet.

We have been in contact with SAP about this and have not had any satisfactory solution (so far!!). Mostly getting browser and java version. We have also increased as many timeouts as we can but this has had no effect.

We are now at a loss about what to do next. One suggestion is that it may be 'network' related but I am unsure as to where to start on that one. another idea is that it may be an OS socket timeout ??

Additional Information:

  • Server RH 4
  • Bobje version XI 3.1 fix pack 1.5
  • Oracle 10g RAC

Any help would be much appreciated.

James

Best Answer

I think I found something you may be able to use:

http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/

The solution that we ended up with was to work around this issue on the Oracle end. We modified the sqlnet.expire_time parameter in sqlnet.ora on the Oracle 10g server down from the default “30″ (30 minutes) to “1″ (1 minute).

The parameter SQLNET.EXPIRE_TIME is used to specify the time interval, in minutes, to send a probe to verify that client/server connections are active. If the probe finds a terminated connection, or a connection that is no longer in use, it returns an error, causing the server process to exit. This parameter is primarily intended for the database server so that it can free up server-side resources that are not in use.

A side-effect of the probe is that there is TCP-IP activity between the client and the server each time the probe is executed, and the firewall designates the link as an active one. By lowering the probe interval down to a minute, we managed to fool the firewall into leaving the database connections in the connection pool alone, and not terminate them even though the client may not execute a query using the connection for an extended period of time.