You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Murray Furtado <Mu...@lchclearnet.com> on 2004/04/30 13:40:20 UTC

Problem migrating to struts 1.2.0 test release

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please read the disclaimer at the bottom of this e-mail.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hi,

I want to use the validwhen features of struts 1.2 so I downloaded the test distribution and dropped it in the lib directory overwriting struts1.1.

When I restart the ap server (weblogic 8.1) I get a stacktrace as follows:

2004-04-30 12:36:51,632|ERROR|Can't create Tiles definition factory for module ''.
<30-Apr-2004 12:36:51 o'clock BST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web a
 "portalWebApp".
javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles-def.xml'. jakarta.apache.org
        at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:276)
        at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:180)
        at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:868)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
        at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
        at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
        at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
        at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
        at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
        at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
        at weblogic.Server.main(Server.java:32)
>

What could be the cause of this? Are there any refactors that need to take place before struts 1.1 tiles-def.xml is compatible with struts1.2?

Regards,


Murray Furtado

Analyst/Programmer
Portal Team
LCH.Clearnet Ltd

Tel: 020 7426 7589
murray.furtado@lchclearnet.com



**********************************************************************
This email is intended for the named recipient(s) only. Its contents
are  confidential and may only be retained by the named recipient(s)
and may only be copied or  disclosed  with the consent of 
LCH.Clearnet Limited.   If you are not an intended recipient please
delete this e-mail and notify postmaster@lchclearnet.com.

The contents  of this  email are  subject to  contract in all cases, 
and LCH.Clearnet Limited makes no contractual commitment save where
confirmed by hard copy.  LCH.Clearnet Limited accepts no liability, 
including liability for negligence, in respect of any statement in 
this email.

LCH.Clearnet Limited, Registered Office: Aldgate House, 
33 Aldgate High Street, London EC3N 1EA.    Recognised as a Clearing 
House under the Financial Services & Markets Act 2000. Reg in England No.25932 
Telephone: +44 20 7426 7000              Internet: http://www.lchclearnet.com
**********************************************************************