Vidya Sagar Pallikonda

Greenhorn
+ Follow
since Apr 29, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Vidya Sagar Pallikonda

I too got the same error. do you have any solustion for this.I am using the struts frame work.
here is my complete error.
[Reams and reams of error message removed. Please pare your error down to the pertinent details. bear]
[ October 22, 2003: Message edited by: Bear Bibeault ]
21 years ago
Hello all,
I am using JNI to call c code that accesses sybase database from my java application.
In that I need to call a c routine which takes a void * as a parameter. Wht would be the equivalent parameter in Java for C's void * parameter that I can send while I make the call to that function.
This is how the function in C looks like..that I am calling from JNI..!!!
int CTInit(void *ref, int debugLevel)
What is that I should send for void *ref from java whenever I call CTInit function ?
An urgent help is highly appreciated since this is very urgent !!!
Thnks in adv,
SAGAR
22 years ago
Hi All,
I am using Websphere4.0. And i created one datasource for oracle database.I am using this datasource in JSP's.Is it necessary to close connection every time when i use it in JSP???
I am not closing connection in each page..after accessing 4 to 5 pages i am getting StaleConnection: connection closed
If any body know about this please let me know.
sagar
[ April 30, 2002: Message edited by: Vidya Sagar Pallikonda ]
23 years ago

Originally posted by mahadevan raja:
try changing ur connection pool settings in the admin console.... this normally occurs due to the timeout being less


Hi Mahadevan,
Thanks for immedidate replay.
Here i am giving my connection settings i am using in datasource
Minimum Pool Size: 10
Maximum Pool Size: 60
Connection Timeout: 180
Idle Timeout: 1800
Orphan Timeout:60
Statement Cache Size: 1000
can you suggest better settings to avoid staleconnection exception..
thanks in idvance
sagar
23 years ago
Hi All,
I am using oracle as a database. I created a datasource for it. when i am using this datasource,after 4 to 5 pages i am getting the error "Staled Connection" ..connection closed.
If any one know about this error.pl. let me know...
sagar
23 years ago