Jump to: navigation, search

Upgrade Errors and Error Messages

Diagram File Upgrades

Composer does not support upgrading diagram files from 8.0.4 versions to 8.1.2 or higher versions. If a diagram upgrade is required. first upgrade the Projects to 8.1.1 versions and then upgrade to 8.1.2 or higher versions.

Tomcat version mismatch errors

One or more of these errors may be observed:

  • Compilation errors in Eclipse console

Errors seen on building the Composer Project.

 [javac] warning: C:\Program Files (x86)\Sun\JRE\7u5\lib\rt.jar(java/net/ProtocolException.class): 
 major version 51 is  newer than 50, the highest major version supported by this compiler.
 [javac] It is recommended that the compiler be upgraded.
 [javac] warning: C:\Program Files (x86)\Sun\JRE\7u5\lib\rt.jar(javax/net/ssl/KeyManager.class): 
 major version 51 is newer than 50, the highest major version supported by this compiler.
 [javac] It is recommended that the compiler be upgraded.
 [javac] Note: Some input files use or override a deprecated API.
 [javac] Note: Recompile with -Xlint:deprecation for details.
 [javac] Note: <your project path>\WEB-INF\src\org\apache\jsp\include\getWebRequestData_jsp.java 
 uses unchecked or unsafe operations.
 [javac] Note: Recompile with -Xlint:unchecked for details.
  • Tomcat logs
 Tomcat logs error:-
 Tomcat localhost log file we get the following error:
 15-mei-2014 15:04:17 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: 
 Servlet.service() for servlet jsp threw exception
 java.lang.UnsupportedClassVersionError: com/genesyslab/studio/backendlogic/db/CVDBBackendHandler : 
 Unsupported major.minor version 51.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1819)
 at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
 at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:128)
 at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)

Root Cause:

Composer 8.1.3 requires Tomcat with JVM 1.7 (please check system-level guide, Genesys Supported Operating Environment Reference Guide, for the most updated version information). This is required both

  • At design time while working on your application in the Composer/Eclipse Integrated Development Environment.
  • At runtime when the exported application is deployed on production or test servers where Composer is not installed.

Resolution:

  1. Ensure Tomcat JAVA version is set to the correct version as mentioned above or as per the latest information in the Composer Deployment Guide.
  2. Restart Composer Tomcat
  3. Clean the Project in Composer from the Project menu.
  4. Build the project.

Note: If you continue to see errors, please ensure that the JVM version set as the default in the operating system (JAVA_HOME) is the same as the version being used in Tomcat (check version from Tomcat scripts/utilities).

java version mismatch and unsupported class version errors

After upgrading to Composer 8.1.3 from prior versions, java version mismatch and unsupported class version errors may appear in the console window. For example:

 15-mei-2014 15:04:17 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() 
 for servlet jsp threw exception java.lang.UnsupportedClassVersionError: 
 com/genesyslab/studio/backendlogic/db/CVDBBackendHandler : Unsupported major.minor version 51.0

As a workaround, use the Composer workbench Project Clean to clean all the Projects. This will remove all the temporary jsp compiler-related files inside the WEB-INF folder files and do a new Composer Project build.

This page was last edited on November 30, 2018, at 18:47.
Comments or questions about this documentation? Contact us for support!