LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



Reply
 
Search this Thread
Old 08-06-2009, 06:53 AM   #1
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Rep: Reputation: 16
Tomcat6 error


I have installed tomcat6 by using CLI btw i am using solaris express developer edition 1/08 and it installed without any problems ,after that I enabled tomcat6 service by typing below command in CLI

Code:
bash-3.2# svcadm enable svc:/network/cswtomcat6:default
when i typed in web-browser it is not coming btw i have already installed apache with port number:80,while installing tomcat6 system has not shown any assigned port.so what i have to do
 
Old 08-06-2009, 10:10 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
I haven't use the CSWtomcat6 package, but I think the service name should be tomcat6.
Anyway the following commands should tell you if tomcat is running and listening on the default port (8080)
Code:
ps -ef|grep tomcat
netstat -an|grep 8080
If it isn't running, you can use
Code:
svcs -xv <servicename>
to see more details why it fails (replace servicename with the correct name of the tomcat6 service).
 
Old 08-07-2009, 02:11 AM   #3
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Original Poster
Rep: Reputation: 16
Tomcat6 error

thanks for your reply and only thing i did blindly is i have already installed apache with port number 8080,and tomcat also taken 8080 port number,once i stopped the apache server and i started tomcat6 ,its working and now i have two services running on same port ,can you tell me how can i change port number for any of these two services and which one is better to change

Last edited by srinivasmiriyalu; 08-07-2009 at 02:12 AM. Reason: spelling mistakes
 
Old 08-07-2009, 04:11 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
I guess that you have to change apache port back to the default for webserver port 80. To do this edit httpd.conf, find the "Listen" directive and edit it accordingly.
If you want to change the tomcat default port read this.

Regards

Last edited by bathory; 08-07-2009 at 04:59 AM.
 
Old 08-07-2009, 06:23 AM   #5
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Original Poster
Rep: Reputation: 16
Thanks bathory
I changed the apache port number now both are working fine
 
  


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
Install tomcat6.0.18 JAVA_HOME/JRE_HOME problem gogoabc Linux - Software 2 11-13-2008 03:32 PM
Installing TOMCAT6.0.14 - JAVA_HOME problem snowball2 Linux - Newbie 11 11-11-2008 03:37 AM
enable tomcat6 service Jordan&&&& Suse/Novell 2 09-21-2008 09:58 AM
tomcat6+httpd issue nileshgr Linux - Server 1 10-25-2007 02:09 PM
Apache2.24-Tomcat6.0.1- JK 1.2.21 how to ?? Idrisk Linux - Software 1 03-08-2007 03:04 AM


All times are GMT -5. The time now is 03:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration