struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blurboiboi <blur_boi_...@hotmail.com>
Subject problem deploying my application with weblogic after adding a new form bean
Date Sat, 27 Oct 2007 15:02:28 GMT

Hi all,

Am having problem deploying my application with weblogic after adding a new
form bean and its configuration (<form-bean name="xxxFormBean"
type="sc.xxx.xxxFormBean" />) in the struts-config.xml....

the funny thing is with the configuration intact and the formbean java class
deleted, the deployment goes through successfully..... what could be the
potential problem???...

following is the error log.... help will be very much appreciated.... thanks
for reading....

my guess the problem should lies with these statements(extracted from the
codes i paste below): "[ActionServlet] ERROR: Parsing error processing
resource path
java.lang.reflect.InvocationTargetException
        at
org.apache.commons.digester.Digester.createSAXException(Ljava/lang/String;Ljava/lang/Exception;)"

[CODE]    

[Digester] ERROR: Begin event threw exception
java.lang.reflect.InvocationTargetException
        at
jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Unknown Source)
        at
jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Source)
        at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Sour
ce)
        at
java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown
Source)
        at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(P
ropertyUtils.java:1650)
        at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(P
ropertyUtils.java:1545)
        at
org.apache.commons.beanutils.PropertyUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(Propert
yUtils.java:1574)
        at
org.apache.commons.beanutils.BeanUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(BeanUtils.j
ava:919)
        at
org.apache.commons.beanutils.BeanUtils.populate(Ljava/lang/Object;Ljava/util/Map;)V(BeanUtils.java:726)
        at
org.apache.commons.digester.SetPropertiesRule.begin(Lorg/xml/sax/Attributes;)V(SetPropertiesRule.java:259)
        at
org.apache.commons.digester.Rule.begin(Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V(Rule.java:200)
        at
org.apache.commons.digester.Digester.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/At
tributes;)V(Digester.java:1273)
        at
weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces
/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(AbstractSAXParser.java:459)
        at
weblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apach
e/xerces/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(AbstractXMLDocumentParser.java:221)
        at
weblogic.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerce
s/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLSchemaValidator.java:618)
        at
weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xe
rces/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;Z)V(XMLNamespaceBinder.java:874)
        at
weblogic.apache.xerces.impl.XMLNamespaceBinder.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces/x
ni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLNamespaceBinder.java:591)
        at
weblogic.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces/
xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLDTDValidator.java:748)
        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement()Z(XMLDocumentFragmentScannerImpl.java:747)

        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentSc
annerImpl.java:1477)
        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
        at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DTDConfiguration.java:525)
        at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblogic/apache/xerces/xni/parser/XMLInputSource;)V(DTDConfigura
tion.java:581)
        at
weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic/apache/xerces/xni/parser/XMLInputSource;)V(XMLParser.java:152)

        at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg/xml/sax/InputSource;)V(AbstractSAXParser.java:1175)
        at
weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg/xml/sax/InputSource;)V(WebLogicXMLReader.java:135)
        at
weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg/xml/sax/InputSource;)V(RegistryXMLReader.java:152)
        at
org.apache.commons.digester.Digester.parse(Lorg/xml/sax/InputSource;)Ljava/lang/Object;(Digester.java:1548)
        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(Ljava/lang/String;Ljava/lang/String;Lorg/apache/struts/con
fig/ModuleConfig;Lorg/apache/commons/digester/Digester;Ljava/lang/String;)V(ActionServlet.java:1006)
        at
org.apache.struts.action.ActionServlet.initModuleConfig(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/struts/config/
ModuleConfig;(ActionServlet.java:955)
        at
org.apache.struts.action.ActionServlet.init()V(ActionServlet.java:470)
        at
javax.servlet.GenericServlet.init(Ljavax/servlet/ServletConfig;)V(GenericServlet.java:258)
Caused by: java.lang.NoClassDefFoundError:
org/apache/struts/action/ActionForm
        at
java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;(Unknown
Sour
ce)
        at
java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;(SecureCl
assLoader.java:123)
        at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Ljava/lang/String;)Ljava/lang/Class;(GenericClassLoader.j
ava:480)
        at
weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;(GenericClassLoader.java:1
82)
        at
java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(Unknown
Source)
        at
java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(Unknown
Source)
        at
java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;(Unknown
Source)
        at
weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;(GenericClassLoader.java:2
24)
        at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;(ChangeAwareClassLoade
r.java:41)
        at
org.apache.struts.config.FormBeanConfig.formBeanClass()Ljava/lang/Class;(FormBeanConfig.java:320)
        at
org.apache.struts.config.FormBeanConfig.setType(Ljava/lang/String;)V(FormBeanConfig.java:191)
        at
jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Unknown Source)
        at
jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Source)
        at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Sour
ce)
        at
java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown
Source)
        at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(P
ropertyUtils.java:1650)
        at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(P
ropertyUtils.java:1545)
        at
org.apache.commons.beanutils.PropertyUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(Propert
yUtils.java:1574)
        at
org.apache.commons.beanutils.BeanUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V(BeanUtils.j
ava:919)
        at
org.apache.commons.beanutils.BeanUtils.populate(Ljava/lang/Object;Ljava/util/Map;)V(BeanUtils.java:726)
        at
org.apache.commons.digester.SetPropertiesRule.begin(Lorg/xml/sax/Attributes;)V(SetPropertiesRule.java:259)
        at
org.apache.commons.digester.Rule.begin(Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V(Rule.java:200)
        at
org.apache.commons.digester.Digester.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/At
tributes;)V(Digester.java:1273)
        at
weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces
/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(AbstractSAXParser.java:459)
        at
weblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apach
e/xerces/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(AbstractXMLDocumentParser.java:221)
        at
weblogic.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerce
s/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLSchemaValidator.java:618)
        at
weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xe
rces/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;Z)V(XMLNamespaceBinder.java:874)
        at
weblogic.apache.xerces.impl.XMLNamespaceBinder.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces/x
ni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLNamespaceBinder.java:591)
        at
weblogic.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces/
xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLDTDValidator.java:748)
        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement()Z(XMLDocumentFragmentScannerImpl.java:747)

        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentSc
annerImpl.java:1477)
        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
[ActionServlet] ERROR: Parsing error processing resource path
java.lang.reflect.InvocationTargetException
        at
org.apache.commons.digester.Digester.createSAXException(Ljava/lang/String;Ljava/lang/Exception;)Lorg/xml/sax/SAXExcepti
on;(Digester.java:2540)
        at
org.apache.commons.digester.Digester.createSAXException(Ljava/lang/Exception;)Lorg/xml/sax/SAXException;(Digester.java:
2566)
        at
org.apache.commons.digester.Digester.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/At
tributes;)V(Digester.java:1276)
        at
weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces
/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(AbstractSAXParser.java:459)
        at
weblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apach
e/xerces/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(AbstractXMLDocumentParser.java:221)
        at
weblogic.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerce
s/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLSchemaValidator.java:618)
        at
weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xe
rces/xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;Z)V(XMLNamespaceBinder.java:874)
        at
weblogic.apache.xerces.impl.XMLNamespaceBinder.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces/x
ni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLNamespaceBinder.java:591)
        at
weblogic.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Lweblogic/apache/xerces/xni/QName;Lweblogic/apache/xerces/
xni/XMLAttributes;Lweblogic/apache/xerces/xni/Augmentations;)V(XMLDTDValidator.java:748)
        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement()Z(XMLDocumentFragmentScannerImpl.java:747)

        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentSc
annerImpl.java:1477)
        at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
        at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DTDConfiguration.java:525)
        at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblogic/apache/xerces/xni/parser/XMLInputSource;)V(DTDConfigura
tion.java:581)
        at
weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic/apache/xerces/xni/parser/XMLInputSource;)V(XMLParser.java:152)

        at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg/xml/sax/InputSource;)V(AbstractSAXParser.java:1175)
        at
weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg/xml/sax/InputSource;)V(WebLogicXMLReader.java:135)
        at
weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg/xml/sax/InputSource;)V(RegistryXMLReader.java:152)
        at
org.apache.commons.digester.Digester.parse(Lorg/xml/sax/InputSource;)Ljava/lang/Object;(Digester.java:1548)
        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(Ljava/lang/String;Ljava/lang/String;Lorg/apache/struts/con
fig/ModuleConfig;Lorg/apache/commons/digester/Digester;Ljava/lang/String;)V(ActionServlet.java:1006)
        at
org.apache.struts.action.ActionServlet.initModuleConfig(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/struts/config/
ModuleConfig;(ActionServlet.java:955)
        at
org.apache.struts.action.ActionServlet.init()V(ActionServlet.java:470)
        at
javax.servlet.GenericServlet.init(Ljavax/servlet/ServletConfig;)V(GenericServlet.java:258)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run()Ljava/lang/Object;(ServletStubImpl.java:1094)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/Priv
ilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
        at
weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security
/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
        at
weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax/servlet/Servlet;(ServletStubImpl.java:970)
        at
weblogic.servlet.internal.ServletStubImpl.createInstances()V(ServletStubImpl.java:949)
        at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(Lweblogic/servlet/internal/RequestCallback;)V(ServletStubImpl.
java:888)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(Ljava/lang/String;)V(WebAppServletContext.java:3430)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets()V(WebAppServletContext.java:3375)
        at
weblogic.servlet.internal.WebAppServletContext.preloadResources()V(WebAppServletContext.java:3356)
<Oct 26, 2007 6:02:02 PM SGT> <Error> <HTTP> <BEA-101216> <Servlet:
"action"
failed to preload on startup in Web application: "iri
s".
javax.servlet.UnavailableException: Parsing error processing resource path
        at
org.apache.struts.action.ActionServlet.handleConfigException(Ljava/lang/String;Ljava/lang/Exception;)V(ActionServlet.ja
va:1035)
        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(Ljava/lang/String;Ljava/lang/String;Lorg/apache/struts/con
fig/ModuleConfig;Lorg/apache/commons/digester/Digester;Ljava/lang/String;)V(ActionServlet.java:1014)
        at
org.apache.struts.action.ActionServlet.initModuleConfig(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/struts/config/
ModuleConfig;(ActionServlet.java:955)
        at
org.apache.struts.action.ActionServlet.init()V(ActionServlet.java:470)
        at
javax.servlet.GenericServlet.init(Ljavax/servlet/ServletConfig;)V(GenericServlet.java:258)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run()Ljava/lang/Object;(ServletStubImpl.java:1094)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/Priv
ilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
        at
weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security
/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
        at
weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax/servlet/Servlet;(ServletStubImpl.java:970)
        at
weblogic.servlet.internal.ServletStubImpl.createInstances()V(ServletStubImpl.java:949)
        at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(Lweblogic/servlet/internal/RequestCallback;)V(ServletStubImpl.
java:888)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(Ljava/lang/String;)V(WebAppServletContext.java:3430)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets()V(WebAppServletContext.java:3375)
        at
weblogic.servlet.internal.WebAppServletContext.preloadResources()V(WebAppServletContext.java:3356)
        at
weblogic.servlet.internal.WebAppServletContext.setStarted(Z)V(WebAppServletContext.java:6208)
        at
weblogic.servlet.internal.WebAppModule.start()V(WebAppModule.java:864)
        at
weblogic.j2ee.J2EEApplicationContainer.start([Lweblogic/j2ee/J2EEApplicationContainer$Component;)V(J2EEApplicationConta
iner.java:2134)
        at
weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic/management/configuration/ComponentMBean;)V(J2EEApplicationCo
ntainer.java:2175)
        at
weblogic.j2ee.J2EEApplicationContainer.activate()V(J2EEApplicationContainer.java:2122)
        at
weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(Z)V(SlaveDeployer.java:3099)
        at
weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(ZZ)V(SlaveDeployer.java:1768)
        at
weblogic.management.deploy.slave.SlaveDeployer.resume()V(SlaveDeployer.java:351)
        at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume()V(DeploymentManagerServerLifeCycleImpl.java:229
)
        at
weblogic.t3.srvr.SubsystemManager.resume()V(SubsystemManager.java:136)
        at weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:965)
        at
weblogic.t3.srvr.T3Srvr.run([Ljava/lang/String;)I(T3Srvr.java:360)
        at weblogic.Server.main([Ljava/lang/String;)V(Server.java:32)
>


[/CODE]
-- 
View this message in context: http://www.nabble.com/problem-deploying-my-application-with-weblogic-after-adding-a-new-form-bean-tf4703390.html#a13444026
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message