Connections 7 - Error to create a community

Hi everybody,

since upgrade from connections 6.5 CR1 to 7 I can't create a community.

I always get the error:

We've encountered a problem.

Something went wrong. Click the Back button and try again. If this does not work, report the problem in the support forum.

In the community log is the following entry

"ICErrorListen E org.xml.sax.SAXParseException: cvc-elt.1: Die Deklaration von Element 'config' kann nicht gefunden werden"

and in the browser I get the following problem: "ReferenceError: invalidCharInTagMsg is not defined".

Pls can somebody help me.

Thx Thomas

According to the message, you have the XML term "invalidCharInTagMsg" somewhere in your XML config file.

You should check the mentioned XML file.

Maybe you can compare the file to your old XML before the migration. Maybe you used the migration wizard and this tool did something wrong.

For me, that sounds like your LC-config.xml or communities-config.xml or some of the other files have some invalid XML structure.

To do a quick check without restarting everything you should use the wsadmin commands to check-out / check-in the files.
https://help.hcltechsw.com/connections/v7/admin/admin/t_admin_communities_changing_config.html

During the check-in operation, an XSD validation of the XML file is done and then you get some hints, where the structure is wrong.

Usually some lines above or below the error, you see the file that can not be read / is invalid.

Hello Martin,

thx for your reply.

I tried to check-out / check-in the config files.

Nothing changed.

Do you have any other ideas?

Make ist sense to uninstall und install connections on this machine?

What do you think?

Thx Thomas

Hi,

I checked the error in some more detail and found, that the Class "ICErrorListen" where the error happens, is related to the active content filter module. The Class is part of the ic.acf.impl.jar.

Maybe you have some configuration errors in one of these files. A tag "config" exists in the "legacy Active Config filter" files.

https://help.hcltechsw.com/connections/v7/admin/secure/c_admin_security_xss.html

I would never reinstall connections. Too much can go wrong. Usually, it is much easier to fix the bug. You never know what happens when you do a re-install.

Hi Martin,

I've also the same error:

"ICErrorListen E org.xml.sax.SAXParseException: cvc-elt.1: Die Deklaration von Element 'config' kann nicht gefunden werden"

and in the browser I get the following problem: "ReferenceError: invalidCharInTagMsg is not defined".

Now, I've changed the lotusConnections-config.xml for communities:

From

<sloc:serviceReference acf_config_file="acp-configkey__default.xml" bootstrapHost="admin_replace" bootstrapPort="admin_replace" clusterName="CommunitiesCluster" enabled="true" person_card_service_name_js_eval="generalrs.label_personcard_communitieslink" person_card_service_url_pattern="/service/html/allcommunities?userid={userid}" serviceName="communities" ssl_enabled="true">

To

<sloc:serviceReference acf_config_file="acf-config.xml" bootstrapHost="admin_replace" bootstrapPort="admin_replace" clusterName="CommunitiesCluster" enabled="true" person_card_service_name_js_eval="generalrs.label_personcard_communitieslink" person_card_service_url_pattern="/service/html/allcommunities?userid={userid}" serviceName="communities" ssl_enabled="true">

This file contains a "config" element.

And then, I got the info twice:

[30.03.21 17:26:11:184 MESZ] 00000147 ICErrorListen E org.xml.sax.SAXParseException: cvc-elt.1: Die Deklaration von Element 'config' kann nicht gefunden werden.
[30.03.21 17:26:11:257 MESZ] 00000147 ICErrorListen E org.xml.sax.SAXParseException: cvc-elt.1: Die Deklaration von Element 'config' kann nicht gefunden werden.

In the google browser I get the information from dev tools:

I get the following problem: "ReferenceError: invalidCharInTagMsg is not defined".

And after them, I get the message in the browser:

We've encountered a problem.

Something went wrong. Click the Back button and try again. If this does not work, report the problem in the support forum.

Pls can you help me again.

Thx Thomas

Sorry,

now I have no further ideas. Without touching the system by myself, it is always difficult.

I would now start to increase the log level (e.g. by adding *=all) to the server and then see if the extended tracel.log shows any useful result.

In the end, you may need to open a ticket with HCL. They usually know better trace strings than just *=all.

Thx Martin for the fast response,

maybe is the error here:

[30.03.21 07:38:46:794 MESZ] 00000001 TrustAssociat E SECJ0125E: Bei der Initialisierung der Trust-Association konnte die Klasse com.ibm.ess.ic.ic360.security.tai.Ic360ImpersonateUserTAI für die Trust-Association nicht geladen werden.

I think, I have problems with Ic360 on my installation.

This is new since Connections 7 and it tolds me, that the class was not found.

What can I do?

Can you help me again.

Thx Thomas

Hi Thomas,

In the other topic with the PDF Export, Michael Montani from HCL Support posted an interesting KB Entry:

https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0086997

There the issue with the TAI not working is mentioned. Maybe this KB Entry helps to solve this issue.