This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Custom Action Failure
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2012
04:02 AM
Custom Action Failure
Hi All,
We are using one installer this installer will extracts the tomcat.zip and creates the services and also using customcode action to create and edit one xml file into shared folder, this shared folder we are creating manually.in our local machine we are creating the shared folder the installer can able to crate and modify the file using cutomecode action. but Same installer tried in another place we are facing the below error .the file is creating in shared folder but its empty file with zerobytes . Please help me to work on this issue
Below is the Error recorded in the Installer log file:
Custom Action: com.sree.apex.installer.N4ConfigGenAction
Status: ERROR
Additional Notes: ERROR - class com.sree.apex.installer.N4ConfigGenAction.install() runtime exception:
More information:
==============
VAL BEGINNING
System's temporary directory = C:\Users\_svc_sn4\AppData\Local\Temp\3
Registry: Found an Win32 Environment Variable in value, changing type from REG_S
Z to REG_EXPAND_SZ
Calling Refresh Environment...
key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Sparc
sN4 doesn't exist
XMLScriptWriter: No Installation Objects were skipped
0 [installer] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- Loading XML bean definitions from class path resource [InstallerConfigGen.xm
l]
31 [installer] DEBUG org.springframework.beans.factory.xml.DefaultDocumentLoader
- Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
141 [installer] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResol
ver - Loading schema mappings from [META-INF/spring.schemas]
141 [installer] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResol
ver - Loaded schema mappings: {}
24406 [installer] WARN org.springframework.beans.factory.xml.XmlBeanDefinitionRe
ader - Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema documen
t 'http://www.springframework.org/schema/beans/spring-beans.xsd', because 1) cou
ld not find the document; 2) the document could not be read; 3) the root element
of the document is not.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(U
nknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unk
nown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown S
ource)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknow
n Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unkno
wn Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou
rce)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
canRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
ent(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:388)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFa
ctory.java:73)
at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFa
ctory.java:61)
at com.sree.framework.installer.InstallerConfig.configGen(InstallerConf
ig.java:84)
at com.sree.framework.installer.InstallerConfig.getXMLFile(InstallerCon
fig.java:168)
at com.sree.apex.installer.N4ConfigGenAction.install(N4ConfigGenAction.
java:57)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.Installer.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallProgressAction.n(DashoA10*..)
at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(DashoA10*..)
Execute Custom Code
class com.sree.apex.installer.N4ConfigGenAction.install() runtime exception
:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 11 i
n XML document from class path resource [InstallerConfigGen.xml] is invalid; nes
ted exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the decla
ration of element 'beans'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFa
ctory.java:73)
at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFa
ctory.java:61)
at com.sree.framework.installer.InstallerConfig.configGen(InstallerConf
ig.java:84)
at com.sree.framework.installer.InstallerConfig.getXMLFile(InstallerCon
fig.java:168)
at com.sree.apex.installer.N4ConfigGenAction.install(N4ConfigGenAction.
java:57)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.Installer.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallProgressAction.n(DashoA10*..)
at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(DashoA10*..)
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration
of element 'beans'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unkno
wn Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou
rce)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
canRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
ent(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:388)
... 16 more
Retrying Installables deferred in pass 0
Deferral retries done because:
There were no deferrals in the last pass.
Regards,
Sreekanth
We are using one installer this installer will extracts the tomcat.zip and creates the services and also using customcode action to create and edit one xml file into shared folder, this shared folder we are creating manually.in our local machine we are creating the shared folder the installer can able to crate and modify the file using cutomecode action. but Same installer tried in another place we are facing the below error .the file is creating in shared folder but its empty file with zerobytes . Please help me to work on this issue
Below is the Error recorded in the Installer log file:
Custom Action: com.sree.apex.installer.N4ConfigGenAction
Status: ERROR
Additional Notes: ERROR - class com.sree.apex.installer.N4ConfigGenAction.install() runtime exception:
More information:
==============
VAL BEGINNING
System's temporary directory = C:\Users\_svc_sn4\AppData\Local\Temp\3
Registry: Found an Win32 Environment Variable in value, changing type from REG_S
Z to REG_EXPAND_SZ
Calling Refresh Environment...
key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Sparc
sN4 doesn't exist
XMLScriptWriter: No Installation Objects were skipped
0 [installer] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- Loading XML bean definitions from class path resource [InstallerConfigGen.xm
l]
31 [installer] DEBUG org.springframework.beans.factory.xml.DefaultDocumentLoader
- Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
141 [installer] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResol
ver - Loading schema mappings from [META-INF/spring.schemas]
141 [installer] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResol
ver - Loaded schema mappings: {}
24406 [installer] WARN org.springframework.beans.factory.xml.XmlBeanDefinitionRe
ader - Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema documen
t 'http://www.springframework.org/schema/beans/spring-beans.xsd', because 1) cou
ld not find the document; 2) the document could not be read; 3) the root element
of the document is not
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(U
nknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unk
nown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown S
ource)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknow
n Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unkno
wn Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou
rce)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
canRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
ent(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:388)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.
ctory.java:73)
at org.springframework.beans.factory.xml.XmlBeanFactory.
ctory.java:61)
at com.sree.framework.installer.InstallerConfig.configGen(InstallerConf
ig.java:84)
at com.sree.framework.installer.InstallerConfig.getXMLFile(InstallerCon
fig.java:168)
at com.sree.apex.installer.N4ConfigGenAction.install(N4ConfigGenAction.
java:57)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.Installer.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallProgressAction.n(DashoA10*..)
at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(DashoA10*..)
Execute Custom Code
class com.sree.apex.installer.N4ConfigGenAction.install() runtime exception
:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 11 i
n XML document from class path resource [InstallerConfigGen.xml] is invalid; nes
ted exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the decla
ration of element 'beans'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.
ctory.java:73)
at org.springframework.beans.factory.xml.XmlBeanFactory.
ctory.java:61)
at com.sree.framework.installer.InstallerConfig.configGen(InstallerConf
ig.java:84)
at com.sree.framework.installer.InstallerConfig.getXMLFile(InstallerCon
fig.java:168)
at com.sree.apex.installer.N4ConfigGenAction.install(N4ConfigGenAction.
java:57)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.Installer.install(DashoA10*..)
at com.zerog.ia.installer.actions.InstallProgressAction.n(DashoA10*..)
at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(DashoA10*..)
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration
of element 'beans'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unkno
wn Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou
rce)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
canRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
ent(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:388)
... 16 more
Retrying Installables deferred in pass 0
Deferral retries done because:
There were no deferrals in the last pass.
Regards,
Sreekanth
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2012
11:58 PM
could ant body help me to work on this issue..........
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2012
10:42 PM
Hi can anyone help for me on this issue
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 29, 2012
03:39 AM
I think you should better search the web regarding your error.
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 11 in XML document from class path resource [InstallerConfigGen.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
maybe this? https://jira.springsource.org/browse/SPR-3372
--Jerome
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 11 in XML document from class path resource [InstallerConfigGen.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
maybe this? https://jira.springsource.org/browse/SPR-3372
--Jerome
