Personal Blog of Thomas Hampel - Creative Mythbusting in Development and Collaboration

Who am I?

Feeds

Register Community Server at Sametime System Console - Error AIDSC0898E Premature end of file

Thomas Hampel
 2 June 2015

Recently I was trying to registering a Sametime Community Server at the Sametime System Console (SSC) using \Console\registerSTServerNode.sh (or .bat on Windows) as described here.
Image:Register Community Server at Sametime System Console - Error AIDSC0898E Premature end of file
Unfortunately the registration failed with this error
AIDSC0898E: The sax exception occurred.Premature end of file.


Analysis

Taking a look into the log file [DominoData]/Console/logs/ConsoleUtility0.log did not show anything obvious, just the same error over and over again. One error for each attempt to register the community server.
com.ibm.sametime.console.deployment.client.util.SCSaxParser        parse        AIDSC0898E: The sax exception occurred.Premature end of file.


The script is getting input from two files, both located in the same directory [DominoData]/Console/
  • "productConfig.properties" is used to set the Community server name and the server display name for SSC
  • "console.properties" is used to define the connection properties like hostname, port, username and password

From your Community Server it was possible to access the Sametime System Console by using the following URL
http://SystemConsoleServer.YourDomain.tld:9080/stpolicy/policy/all
Logging in with the WAS credentials defined in the console.properties file worked fine.

Next step is to make sure your ST Community server responds to the following URL, depending on your configuration either HTTP on port 80 or HTTPS on port 443
http://CommunityServer.YourDomain.tld:80/servlet/auth/scs?xpath
Which also worked fine.

While reviewing the configuration I noticed the console.properties was configured not to use SSL.
SSCSSLEnabled=false

While the Domino community server was configured to redirect TCP traffic to SSL
Image:Register Community Server at Sametime System Console - Error AIDSC0898E Premature end of file
Redirect TCP to SSL was enabled while I had set SSCSSLEnabled=false, so Domino was requesting to authenticate via SSL.
At least it was worth trying to streamline this setting - and guess what, it worked.

Solution
There are two options to fix this problem
Either use SSL by setting SSCSSLEnabled=true and specify the correct SSL port number in the file [DominoData]/Console/console.properties
or (less secure) disable usage of SSL by changing Redirect TCP to SSL to "No" on your Domino server.

References:
Comments [0]
Tagged with: Sametime
Go ElsewhereSubscribe to RSSAboutStay ConnectedAnd More
Thomas Hampel, All rights reserved.