It appears your classloader is picking up the wrong jar. If this is
websphere 6, it comes with a jdom.jar that has given us problems similar
to yours. Attempt to use the parent-first parent last setting; match
with your working environment. It should be under the server(or node)
properties. If this does not work, there is an article on ibm.com that I
can try to find for you, a workaround for this issue.

Duane


-----Original Message-----
From: Adari, Chandra [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 12, 2006 4:00 PM
To: Struts Users Mailing List
Subject: Problem loading/invoking struts app

I am getting the following error during run time (ERROR Stack during
Runtime) when I invoke the Login.do. Please find the error stack down
below. I tried to put some debug statements and what I found was "module
config" is coming "null". I tried the same exact ear on a different
machine and it works just fine(included the debug messages as well). I
don't do any custom configuration to the app server so I am not sure
what the difference is.

 

DEBUG STATEMENT from a non-working machine :

 

[6/12/06 18:32:50:715 GMT] 00000055 SystemOut     O Page
/Login.do?from=index

 

[6/12/06 18:32:50:715 GMT] 00000055 SystemOut     O module config   null

 

 

DEBUG STATEMENT from a working machine :

 

[6/4/06 15:46:24:138 PDT] 000000f3 SystemOut     O Page
/Login.do?from=index

 

[6/4/06 15:46:24:138 PDT] 000000f3 SystemOut     O module config
[EMAIL PROTECTED]

 

ERROR Stack during app server start up from non-working machine :

 

[6/4/06 8:27:15:492 GMT] 0000000a Digester      E
org.apache.commons.digester.Digester getParser Digester.getParser:

                                 org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/validation/dynamic

        at
oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:12
8)

        at
org.apache.commons.digester.parser.XercesParser.configureXerces(XercesPa
rser.java:185)

        at
org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParse
r.java:138)

        at
org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(Pars
erFeatureSetterFactory.java:73)

        at
org.apache.commons.digester.Digester.getParser(Digester.java:682)

        at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)

        at
org.apache.commons.digester.Digester.parse(Digester.java:1572)

        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:708)

        at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja
va:670)

        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:329)

        at javax.servlet.GenericServlet.init(GenericServlet.java:256)

        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:
274)

        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper
.java:1398)

        at
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServlet
Wrapper(WebExtensionProcessor.java:86)

        at
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:788)

        at
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.ja
va:515)

        at
com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:404)

        at
com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:
115)

        at
com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:1
28)

        at
com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:924)

        at
com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java
:877)

 

 

 

ERROR Stack during Run time from non-working machine :

 

"[6/12/06 18:32:50:717 GMT] 00000055 ServletWrappe E   SRVE0068E: Could
not invoke the service() method on servlet /index.jsp. Exception thrown
: java.lang.NullPointerException

        at org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1118)

        at
org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.ja
va:466)

        at
org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.ja
va:329)

        at
org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL(RedirectT
ag.java:296)

        at
org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:270
)

        at
com.ibm._jsp._index._jspx_meth_logic_redirect_0(_index.java:101)

        at com.ibm._jsp._index._jspService(_index.java:75)

        at
com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1282)

        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:673)

        at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(G
enericServletWrapper.java:117)

        at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(
JSPExtensionServletWrapper.java:178)

        at
com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPEx
tensionProcessor.java:252)

        at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:322)

        at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleReques
t(DefaultExtensionProcessor.java:482)

        at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2965)

        at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)

        at
com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)

        at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:193
1)

        at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
4)

        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:472)

        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:411)

        at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC
LReadCallback.java:101)

        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
nager.java:566)

        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
java:619)

        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
java:952)

        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
.java:1039)

        at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))"

 

 

Any help is greatly appreciated.

 

Chandra.


-----------------------------------------
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from any system and destroy any
copies.

Thank you.

-----------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to