Seems like you have another (non-tomcat) service running at port 8080. I see you have enabled apache+php, is this something you need? maybe its a service you can disable?
Thanks Morten, the error went off but Tomcat seems not to be running. It shows that below.
[Tomcat] Attempting to start Tomcat app…
11:16:03 AM [Tomcat] Java is already running on port 8005!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Java is already running on port 8009!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Attempting to start Tomcat app…
···
From: Morten Olav Hansen [mailto:mortenoh@gmail.com] Sent: Friday, June 26, 2015 12:33 AM To: Bridget Magoba Cc: DHIS 2 Users list Subject: Re: [Dhis2-users] Error in configuring tomcat in XXAMP
Hi
Seems like you have another (non-tomcat) service running at port 8080. I see you have enabled apache+php, is this something you need? maybe its a service you can disable?
I often see this error on systems with skype running. If you have skype open and running, try quitting out of it entirely before starting the tomcat server. Skype defaults its services to a few commonly used ports for webservers. If I recall correctly, skype will gracefully pick a different port if tomcat/apache is using its preferred port.
Thanks Morten, the error went off but Tomcat seems not to be running. It shows that below.
[Tomcat] Attempting to start Tomcat app…
11:16:03 AM [Tomcat] Java is already running on port 8005!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Java is already running on port 8009!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Attempting to start Tomcat app…
From: Morten Olav Hansen [mailto:mortenoh@gmail.com] Sent: Friday, June 26, 2015 12:33 AM To: Bridget Magoba Cc: DHIS 2 Users list Subject: Re: [Dhis2-users] Error in configuring tomcat in XXAMP
Hi
Seems like you have another (non-tomcat) service running at port 8080. I see you have enabled apache+php, is this something you need? maybe its a service you can disable?
Was that the entire log? did it also say something about 8080 being bound already? First of all, try and restart your laptop, and see if that fixes it (you might have two processes starting xxampp).
Also, is there a reason for using xamp? You say you are trying to run dhis2 live, and it should run out of the box? (I’m including Knut, out dhis2-live expert)
Dhis2 live is fine if you are doing a bit of initial experimentation, but its not really meant for any kind of actual production system, and even if you just want to install on your local computer, it might be worth the effort to setup postgresql + tomcat properly (it seems you already have postgresql, and adding tomcat is just one more component… you don’t really need xamp)
···
On Fri, Jun 26, 2015 at 10:51 PM, Timothy Harding hardingt@gmail.com wrote:
Bridget,
I often see this error on systems with skype running. If you have skype open and running, try quitting out of it entirely before starting the tomcat server. Skype defaults its services to a few commonly used ports for webservers. If I recall correctly, skype will gracefully pick a different port if tomcat/apache is using its preferred port.
Thanks Morten, the error went off but Tomcat seems not to be running. It shows that below.
[Tomcat] Attempting to start Tomcat app…
11:16:03 AM [Tomcat] Java is already running on port 8005!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Java is already running on port 8009!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Attempting to start Tomcat app…
From: Morten Olav Hansen [mailto:mortenoh@gmail.com] Sent: Friday, June 26, 2015 12:33 AM To: Bridget Magoba Cc: DHIS 2 Users list Subject: Re: [Dhis2-users] Error in configuring tomcat in XXAMP
Hi
Seems like you have another (non-tomcat) service running at port 8080. I see you have enabled apache+php, is this something you need? maybe its a service you can disable?
As Morten says, you don’t really need xampp. It is quite feasible to run Tomcat with Xampp though you probably need to change the default port (or quit Skype as Timothy said).
Still, you might just as well use DHIS2 Live for local use on your laptop - it is very easy to link it to Postgres also. Just change the content of the hibernate.properties file in the conf folder to something like this (use your own database name and user/password):
On Fri, Jun 26, 2015 at 6:02 PM, Morten Olav Hansen mortenoh@gmail.com wrote:
Hi Bridget,
Was that the entire log? did it also say something about 8080 being bound already? First of all, try and restart your laptop, and see if that fixes it (you might have two processes starting xxampp).
Also, is there a reason for using xamp? You say you are trying to run dhis2 live, and it should run out of the box? (I’m including Knut, out dhis2-live expert)
Dhis2 live is fine if you are doing a bit of initial experimentation, but its not really meant for any kind of actual production system, and even if you just want to install on your local computer, it might be worth the effort to setup postgresql + tomcat properly (it seems you already have postgresql, and adding tomcat is just one more component… you don’t really need xamp)
–
–
Morten
On Fri, Jun 26, 2015 at 10:51 PM, Timothy Harding hardingt@gmail.com wrote:
Bridget,
I often see this error on systems with skype running. If you have skype open and running, try quitting out of it entirely before starting the tomcat server. Skype defaults its services to a few commonly used ports for webservers. If I recall correctly, skype will gracefully pick a different port if tomcat/apache is using its preferred port.
Thanks Morten, the error went off but Tomcat seems not to be running. It shows that below.
[Tomcat] Attempting to start Tomcat app…
11:16:03 AM [Tomcat] Java is already running on port 8005!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Java is already running on port 8009!
11:16:03 AM [Tomcat] Is Tomcat already running?
11:16:03 AM [Tomcat] Attempting to start Tomcat app…
From: Morten Olav Hansen [mailto:mortenoh@gmail.com] Sent: Friday, June 26, 2015 12:33 AM To: Bridget Magoba Cc: DHIS 2 Users list Subject: Re: [Dhis2-users] Error in configuring tomcat in XXAMP
Hi
Seems like you have another (non-tomcat) service running at port 8080. I see you have enabled apache+php, is this something you need? maybe its a service you can disable?