How would one deploy java web application which is using javax.mail.jar to send mail and derby database to tomcat?
-
I have created a web application with java using servlets and jsps. My application uses derby for database connections and it is dependent on javax.mail.jar for mail sending operation. I easily deployed my java web application's war file which doesn't have any database connection. However I couldn't deploy the one that with database. I searched it on the web and I found that I have to put resource tag which indicates the database that I am using to the tomcat's context.xml file. But I couldn't succeed. So how would I deploy my app's war file to the tomcat?
-
Answer:
Found this on StackOverflow - http://stackoverflow.com/questions/11428964/connecting-to-derby-database-with-tomcat-as-the-server
Ankit Agarwal at Quora Visit the source
Related Q & A:
- How do I deploy WAR file to Tomcat 6.0?Best solution by Stack Overflow
- How to create a Restful web service in .Net Using MySQL?Best solution by stackoverflow.com
- How to load a Java web app in the terminal?Best solution by stackoverflow.com
- How can i attach word,excel,mp3,picture files to e-mail messages in yahoo mail quickly?Best solution by Yahoo! Answers
- How do I send a message using yahoo mail?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.