LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-31-2010, 12:59 AM   #1
sawgata
LQ Newbie
 
Registered: May 2010
Posts: 15

Rep: Reputation: 0
Smile how create a data source in tomcat 6 that points to mysql


I am using liferay5.2 with tomcat 6.
after installation of liferay5.2 i am unable to configure the datasource
that points to the database mysql.without this liferay wont function.
how to create a mail session in tomcat that points to the mail server.

i am using fedora 6.
kindly help.
 
Old 05-31-2010, 01:13 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://confluence.atlassian.com/disp...+Apache+Tomcat
 
Old 06-01-2010, 01:46 AM   #3
sawgata
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Question thanks

thanks for the help but now another problem--....
whenever i shutdown the fedora and restart liferay does not work.
it shows error--1.> http 404 error or
2.> cannot find /liferay in desired location.
but everything is in its place as it was before shutdown.
i have to reinstall liferay and set the
JAVA_HOME variable everytime i restart the system ????

why????
i have tried it two time but everytime i shutdown i have to reinstall liferay.
 
Old 06-01-2010, 01:48 AM   #4
sawgata
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by sawgata View Post
thanks for the help but now another problem--....
whenever i shutdown the fedora and restart liferay does not work.
it shows error--1.> http 404 error or
2.> cannot find /liferay in desired location.
but everything is in its place as it was before shutdown.
i have to reinstall liferay and set the
JAVA_HOME variable everytime i restart the system ????

why????
i have tried it two time but everytime i shutdown i have to reinstall liferay.
i am pressing the thanks button but it is not showing in left side.
it is showing thanked 0.
 
Old 06-01-2010, 02:41 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
Originally Posted by sawgata View Post
set the JAVA_HOME variable everytime i restart the system
Sounds unnecessary to me, if your Tomcat web server is configured properly. Anyway, this can easily be done through the usual profile/ shell rc (eg bashrc) files.
 
Old 06-01-2010, 11:07 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http 404 error means page does not exist.
the system is looking in the wrong place for its resources.
 
  


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
How do I create mount points using the terminal? nosloj Linux - Newbie 4 11-12-2009 04:23 PM
how to create a new data directory for mysql server 5.1.31 vinaytp Linux - Newbie 6 04-23-2009 04:15 AM
In Gnome, how can I create a menu that points to a folder HGeneAnthony Linux - General 3 08-06-2006 04:56 AM
How do I create system restore points similar to XP. MurX Linux - Software 3 10-24-2005 05:29 AM
Tomcat Works Withouth MySQL and dies with MySQL Guru3 Linux - Software 0 10-19-2003 08:02 AM


All times are GMT -5. The time now is 11:59 AM.

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