Could not parse license file streambase-license.xml

Could not parse license file streambase-license.xml

book

Article ID: KB0075192

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7.x

Description

Error

com.streambase.sb.sbd.SBD - System error message was: Could not parse license file /opt/streambase/etc/streambase-license.xml: org.xml.sax.SAXParseException: Content is not allowed in prolog. _

Issue/Introduction

Could not parse license file streambase-license.xml

Resolution

This error is sometimes generated because the license file is a renamed .zip file and not plain-text XML.

Background


Because many email servers reject both .xml and .zip attachments, StreamBase ships licenses by zipping the XML and renaming the .zip.

FIX

  • Try to open the streambase-license.xml in a text file editor.
  • If it has non-text characters or will not open, rename the file to streambase-license.zip, extract, and check the resulting streambase-license.xml.
  • If the content of the extracted file appears to be XML text, then place this file in '/opt/streambase/etc/'.
  • Check to see if this fixes the problem
NOTE: TIBCO Streaming 10.x and later do not have a physical license file referenced by the server.