Did you specify "prefer-web-inf-classes" in the weblogic.xml file?  If
you don't do this, the app will use the Struts jars that are installed
with WebLogic, which would be an earlier version. 

> -----Original Message-----
> From: Sridhar Srigiriraju [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, February 07, 2007 7:53 AM
> To: [email protected]
> Subject: Error while running struts blank on Weblogic 8.1
> 
> Hello All,
> 
> I am facing a strange problem. I am trying to deploy and 
> navigate to the welcome page of Struts blank application that 
> comes with the struts binary distribution and I face the 
> following error stack trace. I did not face this problem 
> while I deployed it in TOMCAT. I am hoping someone has faced 
> this problem and could give me some direction. The trace is as follows
> 
>  Error 500--Internal Server Error
> 
> java.lang.NullPointerException
>       at 
> org.apache.struts.tiles.xmlDefinition.FactorySet.getDefinition
> (FactorySet.java:114)
>       at 
> org.apache.struts.tiles.definition.ComponentDefinitionsFactory
> Wrapper.getDefinition(ComponentDefinitionsFactoryWrapper.java:84)
>       at 
> org.apache.struts.tiles.TilesRequestProcessor.processTilesDefi
> nition(TilesRequestProcessor.java:152)
>       at 
> org.apache.struts.tiles.TilesRequestProcessor.internalModuleRe
> lativeForward(TilesRequestProcessor.java:341)
>       at 
> org.apache.struts.action.RequestProcessor.processForward(Reque
> stProcessor.java:572)
>       at 
> org.apache.struts.action.RequestProcessor.process(RequestProce
> ssor.java:221)
>       at 
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1196)
>       at 
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at 
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct
ion.run(ServletStubImpl.java:1006)
>       at 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java:419)
>       at 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java:315)
>       at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocati
onAction.run(WebAppServletContext.java:6718)
>       at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe
> nticatedSubject.java:321)
>       at 
> weblogic.security.service.SecurityManager.runAs(SecurityManage
> r.java:121)
>       at 
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(W
> ebAppServletContext.java:3764)
>       at 
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe
> questImpl.java:2644)
>       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>       at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> 
> Thanks
> 
> Sridhar
> 

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

Reply via email to