Unable to launch oneclick java client - The element type "meta" must be terminated by the matching end-tag
search cancel

Unable to launch oneclick java client - The element type "meta" must be terminated by the matching end-tag

book

Article ID: 219687

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction


When trying to launch the java client via the command line I get the following error:

JNLParseException[ Could not parse launch file. Error at line 9.]
 at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
 at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
 at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
 at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
 at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
 at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
 at com.sun.javaws.Main.launchApp(Unknown Source)
 at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
 at com.sun.javaws.Main.access$000(Unknown Source)
 at com.sun.javaws.Main$1.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 6; The element type "meta" must be terminated by the matching end-tag "</meta>".
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
 at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
 at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
 ... 11 more

Environment

Release : 21.2.1

Component : Spectrum OneClick

Cause

Due to an added security restraint on the oneclick.jnlp file in NetOps 21.2.1 the console cannot be launched directly from the commandline.

ex.
C:\Program Files\Java\jre1.8.0_271\bin>javaws https://hostname.domain.net:8443/spectrum/oneclick.jnlp

Resolution


Due to an added security restraint on the oneclick.jnlp file in NetOps 21.2.1 the console cannot be launched directly from the commandline.

As an alternative, download and copy the oneclick.jnlp file to the desktop and launch the console from a local copy of the file.

Additional Information


Launch File Tab

 

Exception Tab