Attribute "server" was already specified for element "Connector".

Document ID : KB000032889
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

After installing PIM 12.8 CF3 ENTM Web UI is not opening, Jboss logs the following in C:\jboss-4.2.3.GA\server\default\log\server.log file: 

 

ERROR [org.apache.commons.digester.Digester] Parse Fatal Error at line 17 column 50: Attribute "server" was already specified for element "Connector". 
org.xml.sax.SAXParseException; systemId: file:/C:/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/server.xml; lineNumber: 17; columnNumber: 50; Attribute "server" was already specified for element "Connector". 

Environment:

Privileged Account Manager 12.8

 

Resolution:

This is because there is duplicated value in one entry, to fix this you have to edit the following file:

 

C:\jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\server.xml

 

Go to line 17, column 50 and you will find the "server" token, note that it should not be duplicated as in the example below: 

<Connector SSLEnabled="true" server="PIM" server="PIM" URIEncoding="UTF-8"...

If it is duplicated then remove one of the two server="PIM" values.

 

Note that this could be also needed to be applied in line 26 which is also listed below:

<Connector URIEncoding="UTF-8" server="PIM" server="PIM" acceptCount="150"...  

 

After correcting this restart JBoss and ENTM Web UI should be accessible again.