AnsweredAssumed Answered

Script to modify Management Module??

Question asked by Lucarazzi on Nov 24, 2017
Latest reply on Nov 28, 2017 by Lucarazzi

Hello Community.

I have to design tens of Management Modules which differ only for the labels and the regular expression matching different agents.

Do you know if this can be achived by scripting modifing the xml file in ManagementModule.xml?

 

I am tring to modify it but i get the following error:

 

com.wily.introscope.spec.server.XMLException: XML problem while parsing {0}
at com.wily.introscope.server.enterprise.entity.bootstrap.BundleFileHelper.<init>(BundleFileHelper.java:107)
at com.wily.introscope.server.enterprise.entity.bootstrap.BootstrapBundleLocator.loadFile(BootstrapBundleLocator.java:196)
at com.wily.introscope.server.enterprise.entity.bootstrap.BootstrapBundleLocator.getBundleFileHelpersList(BootstrapBundleLocator.java:84)
at com.wily.introscope.server.enterprise.entity.bootstrap.BundleBootstrapper.createBundleFileHelpers(BundleBootstrapper.java:676)
at com.wily.introscope.server.enterprise.entity.bootstrap.BundleBootstrapper.load(BundleBootstrapper.java:376)
at com.wily.introscope.server.enterprise.entity.bundle.MMHotDeploy.dynamicallyDeploy(MMHotDeploy.java:170)
at com.wily.introscope.server.enterprise.entity.bundle.MMHotDeploy.access$1(MMHotDeploy.java:161)
at com.wily.introscope.server.enterprise.entity.bundle.MMHotDeploy$HotDeployer.run(MMHotDeploy.java:204)
at com.wily.EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:88)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1014)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at com.wily.util.xml.XMLAssistant.parseDocument(XMLAssistant.java:394)
at com.wily.introscope.server.enterprise.entity.bootstrap.BundleFileHelper.<init>(BundleFileHelper.java:95)

 

PLEASE HELP! THANKS GUYS

 

Luca Razzi

Italy

Outcomes