Can't load class problems migrating from PE 8.1 to PE 8.2
Hi. I'm in the process of migrating an application from an old server that runs PE 8.1_02 to a new server that runs PE 8.2.
The application is coded and built in Creator 2.0; the resulting .war file deploys alright into both servers, and operates correctly on the 8.1 server, but throws various "Can't load class" errors on my 8.2 server. One of them looks like this:
exception
javax.servlet.ServletException: Missing Class: Can't load class 'com.talentmap.talentexitadmintool.fields.TextBoxField'.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
java.security.AccessController.doPrivileged(Native Method)
com.talentmap.talentexitadmintool.utils.security.SecurityCheckFilter.doFilter(S ecurityCheckFilter.java:91)
root cause
javax.faces.FacesException: Missing Class: Can't load class 'com.talentmap.talentexitadmintool.fields.TextBoxField'.
com.sun.faces.util.TreeStructure.createComponent(TreeStructure.java:130)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateM anagerImpl.java:464)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateM anagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateM anagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateM anagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateM anagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateM anagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateM anagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:31 4)
com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:230)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.restoreView(ViewHandlerImpl.j ava:337)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:157)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:225)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:193)
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
java.security.AccessController.doPrivileged(Native Method)
com.talentmap.talentexitadmintool.utils.security.SecurityCheckFilter.doFilter(S ecurityCheckFilter.java:91)
The class that is "missing" (TextBoxField) is very definitely there in the usual place under WEB-INF/classes. I can't figure out why it can't be loaded. The weird part is that a lot of the code still works, but these errrors have broken many of the major functions of our software.
On a hunch I realized that perhaps Creator 2.0 was using some 8.1 specific libraries to build, so I replaced the following libraries with versions found in my appserv tree:
activation.jar
appserv-jstl.jar
appserv-tags.jar
commons-logging.jar
j2ee.jar
jax-qname.jar
jaxr-api.jar
jaxr-impl.jar
jaxrpc-api.jar
jaxrpc-impl.jar
jsf-api.jar
jsf-impl.jar
mail.jar
saaj-api.jar
saaj-impl.jar
Rebuilding with those copied libraries made no difference.
Anyone know what could be causing this? Is there a workaround or fix? Do I need to update Creator with something? Should I revert to 8.1? Should I try moving to 9.0?

