Upgrade to version 2.22

Hi DHIS2 Community,

I have been trying to upgrade to version 2.22 from version 2.20, however i encounter an error in catalina.out. I have done what is advised on the upgrade notes but still encounter an error.

The error is "SEVERE: Error deploying web application archive ROOT.war

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18"

Kindly assist as to where i may be wrong?

Charles.

Hi Charles,

which version of Java and Tomcat are you running?

Java 8 is required for DHIS 2.22.

Seems this could be a bug in Tomcat 8. Try upgrading to latest version.

https://bz.apache.org/bugzilla/show_bug.cgi?id=53735

regards,

Lars

···

On Tue, Feb 16, 2016 at 12:52 PM, charles waka charlwak@gmail.com wrote:

Hi DHIS2 Community,

I have been trying to upgrade to version 2.22 from version 2.20, however i encounter an error in catalina.out. I have done what is advised on the upgrade notes but still encounter an error.

The error is "SEVERE: Error deploying web application archive ROOT.war

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18"

Kindly assist as to where i may be wrong?

Charles.


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

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

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

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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Hi Lars,

I am using Java 8 version 1.8.0_72; as for tomcat am on version 7.08

Is tomcat the problem?

···

On Tue, Feb 16, 2016 at 3:02 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Charles,

which version of Java and Tomcat are you running?

Java 8 is required for DHIS 2.22.

Seems this could be a bug in Tomcat 8. Try upgrading to latest version.

https://bz.apache.org/bugzilla/show_bug.cgi?id=53735

regards,

Lars

On Tue, Feb 16, 2016 at 12:52 PM, charles waka charlwak@gmail.com wrote:

Hi DHIS2 Community,

I have been trying to upgrade to version 2.22 from version 2.20, however i encounter an error in catalina.out. I have done what is advised on the upgrade notes but still encounter an error.

The error is "SEVERE: Error deploying web application archive ROOT.war

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18"

Kindly assist as to where i may be wrong?

Charles.


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

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

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

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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Tomcat 7 is ok, but you should upgrade to the latest (7.0.67)

···

On Tue, Feb 16, 2016 at 7:47 PM, charles waka charlwak@gmail.com wrote:

Hi Lars,

I am using Java 8 version 1.8.0_72; as for tomcat am on version 7.08

Is tomcat the problem?


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

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

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

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

On Tue, Feb 16, 2016 at 3:02 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Charles,

which version of Java and Tomcat are you running?

Java 8 is required for DHIS 2.22.

Seems this could be a bug in Tomcat 8. Try upgrading to latest version.

https://bz.apache.org/bugzilla/show_bug.cgi?id=53735

regards,

Lars

On Tue, Feb 16, 2016 at 12:52 PM, charles waka charlwak@gmail.com wrote:

Hi DHIS2 Community,

I have been trying to upgrade to version 2.22 from version 2.20, however i encounter an error in catalina.out. I have done what is advised on the upgrade notes but still encounter an error.

The error is "SEVERE: Error deploying web application archive ROOT.war

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18"

Kindly assist as to where i may be wrong?

Charles.


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

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

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

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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Morten

Hi,

So i managed to upgrade from version 2.20 to version 2.22. However i can no longer add items to the dashboard, previously entered data is not appearing on the data entry application for their respective organistion units. Also, if i create a new dashboard, the name will not appear.

What can be the cause of this?

Am using java 8, tomcat 8 build 32 on ubuntu server 14.04

Thanks.

Charles.

···

On Tue, Feb 16, 2016 at 4:31 PM, Morten Olav Hansen morten@dhis2.org wrote:

Tomcat 7 is ok, but you should upgrade to the latest (7.0.67)

On Tue, Feb 16, 2016 at 7:47 PM, charles waka charlwak@gmail.com wrote:

Hi Lars,

I am using Java 8 version 1.8.0_72; as for tomcat am on version 7.08

Is tomcat the problem?


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

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

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

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

Morten

On Tue, Feb 16, 2016 at 3:02 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Charles,

which version of Java and Tomcat are you running?

Java 8 is required for DHIS 2.22.

Seems this could be a bug in Tomcat 8. Try upgrading to latest version.

https://bz.apache.org/bugzilla/show_bug.cgi?id=53735

regards,

Lars

On Tue, Feb 16, 2016 at 12:52 PM, charles waka charlwak@gmail.com wrote:

Hi DHIS2 Community,

I have been trying to upgrade to version 2.22 from version 2.20, however i encounter an error in catalina.out. I have done what is advised on the upgrade notes but still encounter an error.

The error is "SEVERE: Error deploying web application archive ROOT.war

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18"

Kindly assist as to where i may be wrong?

Charles.


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

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

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

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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org