This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes User defined listener org.apache.struts2.tiles.StrutsTilesListener failed: java.lang.NullPointerExce Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "User defined listener org.apache.struts2.tiles.StrutsTilesListener failed: java.lang.NullPointerExce" Watch "User defined listener org.apache.struts2.tiles.StrutsTilesListener failed: java.lang.NullPointerExce" New topic
Author

User defined listener org.apache.struts2.tiles.StrutsTilesListener failed: java.lang.NullPointerExce

Swapneel Killekar
Greenhorn

Joined: Jun 22, 2011
Posts: 14
I am unable to deploy my web application which contains Struts2.1.8 and Tiles 2.0.6

I get the following error when i try to start the weblogic server.

<Nov 20, 2011 11:07:38 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.struts2.tiles.StrutsTilesListener failed: java.lang.NullPointerException.
java.lang.NullPointerException
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
at org.apache.commons.digester.Digester.parse(Digester.java:1887)
at org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(DigesterDefinitionsReader.java:267)
at org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:286)
at org.apache.tiles.definition.UrlDefinitionsFactory.init(UrlDefinitionsFactory.java:130)
Truncated. see log file for complete stacktrace
>
<Nov 20, 2011 11:07:39 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1321767449300' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
at org.apache.commons.digester.Digester.parse(Digester.java:1887)
at org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(DigesterDefinitionsReader.java:267)
at org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:286)
at org.apache.tiles.definition.UrlDefinitionsFactory.init(UrlDefinitionsFactory.java:130)
Truncated. see log file for complete stacktrace
>
<Nov 20, 2011 11:07:39 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 9 task for the application '_appsdir_POC-SSH_dir'.>
<Nov 20, 2011 11:07:39 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_POC-SSH_dir'.>
<Nov 20, 2011 11:07:39 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
at org.apache.commons.digester.Digester.parse(Digester.java:1887)
at org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(DigesterDefinitionsReader.java:267)
at org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:286)
at org.apache.tiles.definition.UrlDefinitionsFactory.init(UrlDefinitionsFactory.java:130)
Truncated. see log file for complete stacktrace


Below my tiles.xml and web.xml, kindly let me know what i am doing wrong.




web.xml



Regards,
Swapneel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: User defined listener org.apache.struts2.tiles.StrutsTilesListener failed: java.lang.NullPointerExce
 
Similar Threads
Facing an issue trying to use Struts 2.0.14 with Tiles 2.0.
module failed to deploy on weblogic server
Log4j in Weblogic - ClassNotFoundException please help
jsfcookmenu problem
weblogic deployment exception