LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2011, 03:15 AM   #1
sridaran
LQ Newbie
 
Registered: Jan 2011
Posts: 19

Rep: Reputation: 0
JSP Postgresql Connection Problem


I need to execute Postgresql database from JSP in Linux OS. I installed apache-tomcat-6.0.32 and postgresql 9.0.3. Also copied Postgresql-9.0-801.jdbc3.jar file into /var/lib/tomcat5/common/lib folder. Now I was unable to start postgresql since I don't have postgresql startup file in /etc/rc.d/init.d location. How to start postgresql and how to connect postgresql from JSP. I am new to linux. Can anyone help me please?

R.Sridaran
 
Old 04-15-2011, 09:04 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,811

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Quote:
Originally Posted by sridaran View Post
I need to execute Postgresql database from JSP in Linux OS. I installed apache-tomcat-6.0.32 and postgresql 9.0.3. Also copied Postgresql-9.0-801.jdbc3.jar file into /var/lib/tomcat5/common/lib folder. Now I was unable to start postgresql since I don't have postgresql startup file in /etc/rc.d/init.d location. How to start postgresql and how to connect postgresql from JSP. I am new to linux. Can anyone help me please?

R.Sridaran
What version of Linux? In your other threads, you say you're using RedHat Enterprise, and have been told numerous times to call them for support, since you're paying for RHEL. And how did you install postgres and tomcat? If you pulled them down via yum, you should have the files there...if you built from source, read the instructions that came with them, and it should tell you how to fire things up. And what have you tried/done to get this started??

Also, I (for one), am VERY hesitant to help you, since in your other threads:
http://www.linuxquestions.org/questi...-linux-861313/
http://www.linuxquestions.org/questi...roblem-854814/

you explicitly mention you're trying to build a system that sends out large volumes of advertising emails. Explain to us why we should help someone send out spam, please???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postgresql jdbc connection error dsids Programming 3 12-29-2006 06:27 AM
postgresql connection soulblstr Programming 7 07-29-2005 12:15 AM
[ JSP/JAVA ] MySQL connection fails White R4bbit Programming 4 04-27-2005 08:31 AM
NetBeans 4.1 Suse JSP Debug "Connection refused" EddyHahn Programming 0 04-21-2005 02:14 AM
Postgresql Connection Sabeer Linux - General 2 08-14-2003 10:09 AM


All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration