私はglassfish 3.1.1 Webサーバーを持っていて、2つのインスタンスを作成して、Alfresco Explorer 3.4eをデプロイしています。私は他のインスタンスを開始しようとすると、エラーが発生し、そのインスタンスでは屋外が機能しません。Alfresco Exception by MySQLIntegrityConstraintViolationException:重複したエントリ...等
マイセッティング& Env。ある:版14.14按分5.1:GlassFishので作成
- JDK 1.7
- Glassfishの3.1.1
- クラスタ環境
- のMySQL( 同じマシン上で2インスタンスを持っています)。 52、Win64用
- Alfrescoエクスプローラ3.4e(私は tomcatバンドル版のwebappsフォルダからwarファイルを入手しました)
- Windows 7 64bit !!
例外がある:
glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=Thread-2;|14:07:26,077 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 07150002 Failed to write property deltas:
.
.
.
Caused by: org.springframework.dao.DuplicateKeyException: SqlMapClient operation; SQL ;
--- The error occurred in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the alfresco.node.parameter_NodeProperty.
--- Check the statement (update failed).
--- Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '542-69--1-2' for key 'PRIMARY'; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
構成のマイ基準:
- http://wiki.alfresco.com/wiki/Alfresco_on_Glassfish
- http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later
- http://wiki.alfresco.com/wiki/Category:High_Availability
注:この例外は、この例外が最初のインスタンスをシャットダウンして2番目のインスタンスを再起動すると実行できない2番目のインスタンスに記録され、例外は発生せず、インスタンスが実行されます問題なく。
あなたは私の問題ここ &私の設定の詳細を見ることができます:http://forums.alfresco.com/en/viewtopic.php?f=9&t=40252&p=118012#p118012