0
0ssk0
Hello
Web Server : Sun One Web Server 6.1
I want to do some DB activity using JDBC Conn Pool resource ref during
webapp startup.
I tried putting the code in
- contextInitialized()
- filter init()
- servlet init()
None of them worked. Even though the code is executed, its unable to
fetch the JDBC Conn Pool ref since the ref is getting initialzied only
after these init methods are executed.
Any workarounds? Is there a way to make Resource Ref to initialize
first?
thanks
ssk
Web Server : Sun One Web Server 6.1
I want to do some DB activity using JDBC Conn Pool resource ref during
webapp startup.
I tried putting the code in
- contextInitialized()
- filter init()
- servlet init()
None of them worked. Even though the code is executed, its unable to
fetch the JDBC Conn Pool ref since the ref is getting initialzied only
after these init methods are executed.
Any workarounds? Is there a way to make Resource Ref to initialize
first?
thanks
ssk