struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <...@madigans.org>
Subject Digester: Begin event threw exception
Date Fri, 16 May 2003 20:02:31 GMT
I have a fairly large Struts application that worked great until yesterday.
I added some stuff, went away, and when I came to test it
the Struts ActionServlet configuration exception falted.

I have spent all day trying to detemine what i could have done to cause this
type of error.  Here is an excerpt from the log file showing the events up
to the exception.  It seems to fault when it is trying to configure an
ActionForm.

If anyone has seen this or can help - it would be appreciated.
I can sent the struts-config.xml or anything else that might be helpful!

Excerpt from the log trace:


... Stuff removed from here

DEBUG [main] (ActionServlet.java:902) - Initializing module path ''
configuration from '/WEB-INF/struts-config.xml'

... Stuff removed from here

DEBUG [main] (Digester.java:1129) - ignorableWhitespace(

    )
DEBUG [main] (Digester.java:1229) - startElement(,form-bean,form-bean)
DEBUG [main] (Digester.java:1236) -   Pushing body text ''
DEBUG [main] (Digester.java:1255) -   New
match='struts-config/form-beans/form-bean'
DEBUG [main] (Digester.java:1266) -   Fire begin() for
ObjectCreateRule[className=org.apache.struts.action.ActionFormBean,
attributeName=className]
DEBUG [main] (ObjectCreateRule.java:247) -
[ObjectCreateRule]{struts-config/form-beans/form-bean}New
org.apache.struts.action.ActionFormBean
DEBUG [main] (Digester.java:1266) -   Fire begin() for SetPropertiesRule[]
DEBUG [main] (SetPropertiesRule.java:244) -
[SetPropertiesRule]{struts-config/form-beans/form-bean} Setting property
'name' to 'applicationForm'
DEBUG [main] (SetPropertiesRule.java:244) -
[SetPropertiesRule]{struts-config/form-beans/form-bean} Setting property
'type' to 'com.mbresearch.central.application.form.ApplicationForm'
DEBUG [main] (SetPropertiesRule.java:256) -
[SetPropertiesRule]{struts-config/form-beans/form-bean} Set
org.apache.struts.action.ActionFormBean properties
DEBUG [main] (BeanUtils.java:792) -
BeanUtils.populate(FormBeanConfig[name=null,type=null],
{name=applicationForm,
type=com.mbresearch.central.application.form.ApplicationForm})
DEBUG [main] (BeanUtils.java:873) -
setProperty(FormBeanConfig[name=null,type=null], name, applicationForm)
DEBUG [main] (ConvertUtils.java:369) - Convert string 'applicationForm' to
class 'java.lang.String'
DEBUG [main] (ConvertUtils.java:377) -   Using converter
org.apache.commons.beanutils.converters.StringConverter@2f0df1
DEBUG [main] (BeanUtils.java:873) -
setProperty(FormBeanConfig[name=applicationForm,type=null], type,
com.mbresearch.central.application.form.ApplicationForm)
DEBUG [main] (ConvertUtils.java:369) - Convert string
'com.mbresearch.central.application.form.ApplicationForm' to class
'java.lang.String'
DEBUG [main] (ConvertUtils.java:377) -   Using converter
org.apache.commons.beanutils.converters.StringConverter@2f0df1
ERROR [main] (Digester.java:1270) - Begin event threw exception
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.j
ava:1789)
	at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.j
ava:1684)
	at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:17
13)
	at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)
	at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
	at
org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule.java:2
59)
	at org.apache.commons.digester.Rule.begin(Rule.java:200)
	at org.apache.commons.digester.Digester.startElement(Digester.java:1268)
	at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
	at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
	at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1806)
	at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1182)
	at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
	at org.apache.commons.digester.Digester.parse(Digester.java:1543)
	at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
44)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
	at org.apache.catalina.core.StandardService.start(StandardService.java:388)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Caused by: java.lang.NoClassDefFoundError:
org/apache/struts/action/ActionForm
	at java.lang.ClassLoader.findBootstrapClass(Native Method)
	at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:730)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1320)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1643)
	at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:937)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1372)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1254)
	at
org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.java:32
0)
	at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:191)
	... 47 more


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message