[midPoint] Running midPoint at the tomcat root

Aivo Kuhlberg aivo.kuhlberg at rmit.ee
Thu Apr 13 15:01:04 CEST 2017


Hi,
I succeeded to set ip up at last. The problem was in Tomcat configuration. In order to avoid deploying midpoint app 2 times I had to remove all content under ${CATALINA_HOME}/webapps directory and in server.xml file set Host parameters autoDeploy="false" and deployOnStartup="false".
midPoint is now deployed under webapps/ROOT subdirectory.
Regards,
Aivo

________________________________
Saatja: midPoint <midpoint-bounces at lists.evolveum.com> nimelAivo Kuhlberg <aivo.kuhlberg at rmit.ee>
Saadetud: 12. aprill 2017 14:03
Adressaat: midpoint
Teema: [midPoint] Running midPoint at the tomcat root


Hi,
I am trying to run single midPoint instance at the tomcat root level so that my midPoint address should look like http://my.server.name:port instead of http://my.server.name:port/midpoint.
I found that by adding following line to conf/server.xml should solve the problem:

        <Context path="" docBase="midpoint" debug="0" reloadable="false" useHttpOnly="true"></Context>


This line should be added just before </Host> line. And in pronciple it works. Unfortunately after that I see every 10 seconds following errors:

2017-04-12 13:45:55,730 [] [ClusterManagerThread] ERROR (com.evolveum.midpoint.task.quartzimpl.cluster.NodeRegistrar): The record of this node cannot be read (OID d06c11c8-ba05-4abe-a721-0fa992c7b554 not found), but another node record with the name 'DefaultNode' exists. It seems that in this cluster there are two or more nodes with the same name 'DefaultNode'. Stopping the scheduler to minimize the damage., reason: Object of type 'NodeType' with oid 'd06c11c8-ba05-4abe-a721-0fa992c7b554' was not found. (class com.evolveum.midpoint.util.exception.ObjectNotFoundException)
2017-04-12 13:45:55,731 [] [ClusterManagerThread] INFO (com.evolveum.midpoint.task.quartzimpl.execution.LocalNodeManager): Shutting down Quartz scheduler
2017-04-12 13:45:55,731 [] [ClusterManagerThread] INFO (com.evolveum.midpoint.task.quartzimpl.execution.LocalNodeManager): Quartz scheduler was shut down
2017-04-12 13:45:55,731 [] [ClusterManagerThread] WARN (com.evolveum.midpoint.task.quartzimpl.cluster.NodeRegistrar): Scheduler stopped, please check your cluster configuration as soon as possible; kind of error = DUPLICATE_NODE_ID_OR_NAME
2017-04-12 13:45:55,735 [] [ClusterManagerThread] ERROR (com.evolveum.midpoint.task.quartzimpl.cluster.NodeRegistrar): Cannot update registration of this node (name DefaultNode, oid d06c11c8-ba05-4abe-a721-0fa992c7b554), because it does not exist in repository. It is probably caused by cluster misconfiguration (other node rewriting the Node object?) Stopping the scheduler., reason: Object of type 'NodeType' with oid 'd06c11c8-ba05-4abe-a721-0fa992c7b554' was not found. (class com.evolveum.midpoint.util.exception.ObjectNotFoundException)

Does anybody have any ideas what should I do to fix these errors or change my setup.
My environment: midpoint 3.5.1, tomcat 8.0.43, JAVA 1.8.0_121

Thanks,
Aivo Kuhlberg

________________________________
Käesolev e-kiri võib sisaldada asutusesiseseks kasutamiseks tunnistatud teavet.
This e-mail may contain information which is classified for official use.

________________________________
Käesolev e-kiri võib sisaldada asutusesiseseks kasutamiseks tunnistatud teavet.
This e-mail may contain information which is classified for official use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170413/8432634b/attachment.htm>


More information about the midPoint mailing list