struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinit Sharma <>
Subject Struts 1.1 migration
Date Fri, 25 Jul 2003 06:10:59 GMT
I'm migrating from Struts 1.0 to Struts 1.1. My old struts-config.xml file does not work properly
here. I've defined a form bean as follows:
   <form-bean  name="user"
                      type="com.temp.user" >
             <set-property property="name" value="test" />                     

I got following error while I start my Weblogic server:
javax.servlet.UnavailableException: Parsing error processing resource path
        at org.apache.struts.action.ActionServlet.handleConfigException(
        at org.apache.struts.action.ActionServlet.parseModuleConfigFile(
        at org.apache.struts.action.ActionServlet.initModuleConfig(
        at org.apache.struts.action.ActionServlet.init(
        at javax.servlet.GenericServlet.init(
        at weblogic.servlet.internal.ServletStubImpl.createServlet(
        at weblogic.servlet.internal.ServletStubImpl.createInstances(
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(
        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(
        at weblogic.servlet.internal.HttpServer.preloadServlets(
        at weblogic.servlet.internal.WebService.preloadServlets(
Line no. 1035 in is:
throw new UnavailableException(internal.getMessage("configParse", paths));
and line no. 1014 in is inside a catch block of SAXException. I thought
it is due to XML parsing error. May be because my weblogic server is using older version of
JAXP, but Weblogic 6.1 use the version 1.1
If I remove the line for set-property, it works fine.
Can any body help me in that??
Thanks and regards.

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message