Hi,
at database.Bean1.getDatabaseProductName(Bean1.java:108)
It seems that this is the line causing your problem but we have a different piece of code can you post that as well, and sorry if this sounds silly but do you have an anonymous user with access to that database from any host??
Could you also print the stack trace in your catch blocks so we can see some jvm output.
Thanks,
George