Deployment Manager Fails On WebLogic When Custom Web App Deployed With / Context Root

(Doc ID 1214516.1)

Last updated on AUGUST 08, 2017

Applies to:

Identity Manager - Version 9.1.0.2 and later
Information in this document applies to any platform.
**Checked For Relevance on 02-Aug-2013**

Symptoms

Deployment Manager Import / Export will not open. (Nor will other components in OIM implemented with Nexaweb technology, such as Workflow Renderer.) The Deployment Manager window displays the message "Error. Click for details", and clicking on that the following error is displayed:

java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Truncated class file


Or, else, the following error may be displayed instead:

app debug level=-1
Call startup on application:xlWebApp/dm/dmViewer.jsp
An exception occured:
java.lang.NullPointerException
at f.ka(Unknown Source)
at com.nexaweb.client.applet.Application.Zg(Unknown Source)
at com.nexaweb.client.applet.Application.processMsg(Unknown Source)
at com.nexaweb.client.applet.Application.processInitMsg(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.nexaweb.client.util.MethodInvoker.O(Unknown Source)
at com.nexaweb.client.util.MethodInvoker.run(Unknown Source)


Checking the server log file, the following error is seen:

ERROR,23 Sep 2010 10:06:05,811,[com.nexaweb.server.clientmgmt.ClientClassLoader],ClientClassLoader.processRequest:/xlWebApp/ClientClassServlet/xlWebApp/com/nexaweb/client/launcher/JVMDetector.class
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at com.nexaweb.server.util.WebApplicationContext.<init>(WebApplicationContext.java:58)
at com.nexaweb.server.util.WebApplicationContextResolver.getWebApplicationContext(WebApplicationContextResolver.java:78)
at com.nexaweb.server.clientmgmt.ClientClassLoader.processRequest(ClientClassLoader.java:143)
at com.nexaweb.server.admin.ServerAdmin.callClientClassLoader(ServerAdmin.java:396)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.nexaweb.loader.xMethodInvoker.runInThread(xMethodInvoker.java:69)
at com.nexaweb.server.api.admin.ServerAdminProxy.callClientClassLoader(ServerAdminProxy.java:572)
at com.nexaweb.redirect.RedirectServlet.doGet(RedirectServlet.java:21)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Changes

There is a custom web app deployed to the / context root in order to provide an index.html implement a redirect from / to /xlWebApp, such as that implemented by the attached file redirect.ear. The Deployment Manager worked fine before this redirect.ear was deployed, but since it has been deployed it no longer functions.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms