posted 15 years ago
I think you need to provide a lot more information about what you're trying to do, and how it is failing.
Your first sentence seems to say that you have an application in a jar file that successfully uses a database, while the second sentence seems to say the opposite.
Why do you suspect that keeping the application in a jar file has any impact on whether or not it can connect to a database?