Startup Error 2.21

Dear Devs,

I’m running multiple instances of tomcat 7 on an ubuntu server. I upgraded JDK to version 8 and tried to run the new instance of 2.21. But I receive following error on logs. Any idea what’s causing this.

I can run previous versions just fine.

Oct 26, 2015 9:26:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/tomcat-southern/webapps/dhis.war
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/dhis] startup failed due to previous errors
Oct 26, 2015 9:26:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-6081”]
Oct 26, 2015 9:26:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18010 ms

Thank you

···

Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

There should be more in the log than this? did you properly clean out your webapps directory before you put the new war there?

···

On Mon, Oct 26, 2015 at 12:07 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Devs,

I’m running multiple instances of tomcat 7 on an ubuntu server. I upgraded JDK to version 8 and tried to run the new instance of 2.21. But I receive following error on logs. Any idea what’s causing this.

I can run previous versions just fine.

Oct 26, 2015 9:26:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/tomcat-southern/webapps/dhis.war
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/dhis] startup failed due to previous errors
Oct 26, 2015 9:26:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-6081”]
Oct 26, 2015 9:26:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18010 ms


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

Thank you


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

Dear Morten,

Thank you for the reply. Attached herewith is the catalina.out file in logs for 26th October. I deleted both the war file and the created directory in webapps before putting the war file using below commands.

sudo rm -rf dhis

sudo rm dhis.war

catalina.2015-10-26.log (22.3 KB)

···

On Mon, Oct 26, 2015 at 9:42 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

There should be more in the log than this? did you properly clean out your webapps directory before you put the new war there?


Morten

On Mon, Oct 26, 2015 at 12:07 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Devs,

I’m running multiple instances of tomcat 7 on an ubuntu server. I upgraded JDK to version 8 and tried to run the new instance of 2.21. But I receive following error on logs. Any idea what’s causing this.

I can run previous versions just fine.

Oct 26, 2015 9:26:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/tomcat-southern/webapps/dhis.war
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/dhis] startup failed due to previous errors
Oct 26, 2015 9:26:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-6081”]
Oct 26, 2015 9:26:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18010 ms


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

Thank you


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

Its hard to see anything specific from the logs. Did you restart the server after upgrading everything?

I notice that its says fbh.war, and not dhis? but I guess maybe you just renamed? (and did rm -rf fbh etc?)

···

On Mon, Oct 26, 2015 at 12:26 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Morten,

Thank you for the reply. Attached herewith is the catalina.out file in logs for 26th October. I deleted both the war file and the created directory in webapps before putting the war file using below commands.

sudo rm -rf dhis

sudo rm dhis.war


Morten

On Mon, Oct 26, 2015 at 9:42 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

There should be more in the log than this? did you properly clean out your webapps directory before you put the new war there?


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org


Morten

On Mon, Oct 26, 2015 at 12:07 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Devs,

I’m running multiple instances of tomcat 7 on an ubuntu server. I upgraded JDK to version 8 and tried to run the new instance of 2.21. But I receive following error on logs. Any idea what’s causing this.

I can run previous versions just fine.

Oct 26, 2015 9:26:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/tomcat-southern/webapps/dhis.war
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/dhis] startup failed due to previous errors
Oct 26, 2015 9:26:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-6081”]
Oct 26, 2015 9:26:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18010 ms


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

Thank you


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Dear Morten,

fhb.war was the initial renamed 2.21 instance. Following the first startup failure i completely removed “fhb” directory and “fhb.war” from webapps directory. following war files were just kept in the standard name “dhis.war”. Thinking it was due to not upgrading to jdk version 8, I upgraded to version 8 and did a restart of the server prior to starting it up.

The other tomcat 7 instances are working well. I tried installing a 2.20 on the same instance and that seems to work fine.

···

On Mon, Oct 26, 2015 at 10:08 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

Its hard to see anything specific from the logs. Did you restart the server after upgrading everything?

I notice that its says fbh.war, and not dhis? but I guess maybe you just renamed? (and did rm -rf fbh etc?)


Morten

On Mon, Oct 26, 2015 at 12:26 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Morten,

Thank you for the reply. Attached herewith is the catalina.out file in logs for 26th October. I deleted both the war file and the created directory in webapps before putting the war file using below commands.

sudo rm -rf dhis

sudo rm dhis.war

On Mon, Oct 26, 2015 at 9:42 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

There should be more in the log than this? did you properly clean out your webapps directory before you put the new war there?


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org


Morten

On Mon, Oct 26, 2015 at 12:07 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Devs,

I’m running multiple instances of tomcat 7 on an ubuntu server. I upgraded JDK to version 8 and tried to run the new instance of 2.21. But I receive following error on logs. Any idea what’s causing this.

I can run previous versions just fine.

Oct 26, 2015 9:26:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/tomcat-southern/webapps/dhis.war
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/dhis] startup failed due to previous errors
Oct 26, 2015 9:26:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-6081”]
Oct 26, 2015 9:26:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18010 ms


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

Thank you


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

Figured it out. Though my java- version showed I’m using Java 8, Tomcat was still using JRE7. Had to update it on setenv.sh and now working fine.

Thanx

···

On Mon, Oct 26, 2015 at 10:14 AM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Morten,

fhb.war was the initial renamed 2.21 instance. Following the first startup failure i completely removed “fhb” directory and “fhb.war” from webapps directory. following war files were just kept in the standard name “dhis.war”. Thinking it was due to not upgrading to jdk version 8, I upgraded to version 8 and did a restart of the server prior to starting it up.

The other tomcat 7 instances are working well. I tried installing a 2.20 on the same instance and that seems to work fine.

On Mon, Oct 26, 2015 at 10:08 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

Its hard to see anything specific from the logs. Did you restart the server after upgrading everything?

I notice that its says fbh.war, and not dhis? but I guess maybe you just renamed? (and did rm -rf fbh etc?)


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org


Morten

On Mon, Oct 26, 2015 at 12:26 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Morten,

Thank you for the reply. Attached herewith is the catalina.out file in logs for 26th October. I deleted both the war file and the created directory in webapps before putting the war file using below commands.

sudo rm -rf dhis

sudo rm dhis.war

On Mon, Oct 26, 2015 at 9:42 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

There should be more in the log than this? did you properly clean out your webapps directory before you put the new war there?


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org


Morten

On Mon, Oct 26, 2015 at 12:07 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear Devs,

I’m running multiple instances of tomcat 7 on an ubuntu server. I upgraded JDK to version 8 and tried to run the new instance of 2.21. But I receive following error on logs. Any idea what’s causing this.

I can run previous versions just fine.

Oct 26, 2015 9:26:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/tomcat-southern/webapps/dhis.war
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 26, 2015 9:26:42 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/dhis] startup failed due to previous errors
Oct 26, 2015 9:26:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-6081”]
Oct 26, 2015 9:26:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18010 ms


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

http://ehealthasia.org

Thank you


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.