• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Need some help on Weblogic 7 SP5

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I wanted to precompile the jsps in Weblogic 7 SP5 so I added the following into my weblogic.xml

<jsp-descriptor>
<jsp-param>
<param-name>precompile</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>




and tried to deploy my app and getting the following error during deployment .. for me it looks like its trying to find the struts tag classes.. but I am new to weblogic

Please let me know if I made any mistake .. your help is highly appreciated!


<Failures detected initiating weblogic.management.ManagementException: 149233

Start server side stack trace:
java.lang.ExceptionInInitializerError: java.lang.NullPointerException
at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:498)
at org.apache.struts.taglib.bean.IncludeTag.<clinit>(IncludeTag.java:116)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at org.apache.strutsel.taglib.bean.ELIncludeTagBeanInfo.class$(ELIncludeTagBeanInfo.java:48)
at org.apache.strutsel.taglib.bean.ELIncludeTagBeanInfo.getPropertyDescriptors(ELIncludeTagBeanInfo.java:48)
at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:344)
at java.beans.Introspector.getBeanInfo(Introspector.java:294)
at java.beans.Introspector.getBeanInfo(Introspector.java:126)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1317)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1255)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:250)
at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:315)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:144)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5025)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4863)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4709)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2089)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1875)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1748)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1204)
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1182)
at weblogic.servlet.jsp.JspLexer.buildTimeInclude(JspLexer.java:933)
at weblogic.servlet.jsp.JspLexer.mINCLUDE_DIRECTIVE(JspLexer.java:4961)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4719)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2089)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1875)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1748)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:90)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:217)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:169)
at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:55)
at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppServletContext.java:4331)
at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppServletContext.java:4324)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:2041)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:1112)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:1048)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:599)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:386)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationContainer.java:1770)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:743)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:559)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1116)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:784)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
--------------- nested within: ------------------
weblogic.management.ManagementException: 149233 - with nested exception:
[java.lang.ExceptionInInitializerError]
at weblogic.management.deploy.slave.SlaveDeployer.convertThrowable(SlaveDeployer.java:888)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1234)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:784)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
End server side stack trace
- with nested exception:
[java.lang.ExceptionInInitializerError:


Vanniarajan Arumugam
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

It looks like it's not finding your .properties configuration file for struts, make sure it's deployed in the correct path under your application.

regards.
 
Sri Ram
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

my app works fine if I remove

<jsp-descriptor>
<jsp-param>
<param-name>precompile</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>

from the weblogic.properties.

But if I include the above jsp-descriptor it fails during deployment .. please shed some light .. thanks.
 
Can't .... do .... plaid .... So I did this tiny ad instead:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic