Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WebLogic 5.1 SP10 cannot compile JSPs packaged in WAR files???!!

0 views
Skip to first unread message

Amanpreet Nanner

unread,
Aug 21, 2001, 12:37:08 PM8/21/01
to
I have an application (bunch of JSPs) packaged in a WAR file. JSP
compilation worked fine in WebLogic 5.1 SP8 and SP9, but it is failing in
SP10 for some reason. I get the following exception when JSP compilation
starts (seems to be internal WebLogic error):

Tue Aug 21 11:56:34 EDT 2001:<E> <WebAppServletContext-console> failure
pre-comp
iling JSP's
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at
weblogic.servlet.jsp.ServletJspContext.setAttribute(ServletJspContext
.java:46)
at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:101)
at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:42)
at
weblogic.servlet.internal.ServletContextImpl.precompileJSPs(ServletCo
ntextImpl.java:1392)
at
weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(De
scriptorLoader.java:500)
at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:690)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:644)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:448)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1332)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:844)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)

Tue Aug 21 11:56:34 EDT 2001:<E> <HTTP> Error creating servlet context for
Web a
pplication 'C:/weblogic/BFServer/ControlPanel.war'
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at
weblogic.servlet.jsp.ServletJspContext.setAttribute(ServletJspContext
.java:46)
at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:101)
at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:42)
at
weblogic.servlet.internal.ServletContextImpl.precompileJSPs(ServletCo
ntextImpl.java:1392)
at
weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(De
scriptorLoader.java:500)
at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:690)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:644)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:448)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1332)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:844)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
--------------- nested within: ------------------
weblogic.utils.NestedException: failure pre-compiling JSP's - with nested
except
ion:
[java.lang.NullPointerException]
at
weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(De
scriptorLoader.java:503)
at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:690)
at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:644)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:448)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1332)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:844)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)


If I deploy the WAR in exploded directory format, the JSPs compile fine
without error!

Even more interesting: if the WarClassFinder.class in the
weblogic510sp10.jar file is replaced with the WarClassFinder.class from the
weblogic510sp9.jar file, then this problem does not occur! Did something
change in Service Pack 10 with respect to finding classes in WAR files?

Thanks,
Aman


0 new messages