1

I'm wondering how to fix this error. We had the wrong Java installed on my machine when I got it, so my boss installed JRocket to fix things.

WebLogic has been having problems ever since. I cannot perform my job functions because I cannot start the admin console to deploy my program.

<Feb 8, 2013 11:12:09 AM EST> <Error> <HTTP> <BEA-101017> <[ServletContext@24724985[app:consoleapp module:console path:/console spec-version
:2.5], request: Workmanager: consoleWorkManager, Version: 0, Scheduled=true, Started=true, Started time: 175 ms
[
GET /console/login/LoginForm.jsp HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: JSESSIONID=jmWQRTxQGg3X2VKts2cQPwgQ2Qnw1WHNfdfmyGPGsxL9BDYB552v!1725644840; ADMINCONSOLESESSION=wdxyRVWTT368HDwVky3SM8VWT20Y0DC5Y6VK
93TpphPdl5C7yVzH!-418537281
Connection: keep-alive
Cache-Control: max-age=0

]] Root cause of ServletException.
java.lang.ClassFormatError: javax/servlet/jsp/jstl/fmt/LocalizationContext : Missing Code attribute
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        Truncated. see log file for complete stacktrace
>

Actually, here is the full error:

[
GET /console/login/LoginForm.jsp HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: JSESSIONID=jmWQRTxQGg3X2VKts2cQPwgQ2Qnw1WHNfdfmyGPGsxL9BDYB552v!1725644840; ADMINCONSOLES
ESSION=wnNQRVwM2hDDd6TyKhT3pVhKKJJjnJJ6xBpScC2flWhXVLxKdzDy!-592106223
Connection: keep-alive
Cache-Control: max-age=0

]] Root cause of ServletException.
java.lang.ClassFormatError: javax/servlet/jsp/jstl/fmt/LocalizationContext : Missing Code attribu
te
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
        at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:1
01)
        at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:8
6)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
        at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.ja
va:43)
        at com.bea.console.utils.ResourceBundleCache.getBundle(ResourceBundleCache.java:49)
        at com.bea.console.taglib.html.SetBundle.doStartTag(SetBundle.java:33)
        at jsp_servlet._login.__loginform._jsp__tag0(__loginform.java:401)
        at jsp_servlet._login.__loginform._jspService(__loginform.java:190)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelp
er.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125
)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416
)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:327)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppS
ervletContext.java:3730)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServl
etContext.java:3696)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321
)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.jav
a:2273)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
  • How do you start the WebLogic Admin Console? – Mircea Vutcovici Feb 8 '13 at 19:38
  • Has something perhaps been deployed into the AdminServer managed server that was compiled with a newer / different Java. Shame you're not using a more recent Java, but then you didn't say what version of WLS you are using? – Cameron Kerr May 23 '17 at 9:12
0

This seems a CLASSPATH issue. You need to check your class path and make sure you have the right jars in the CLASSPATH.

0

When you change your JDK/JRE there are a few places where you might need to update it to work properly. Make sure it's using the correct version (check with ps).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.