Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6346903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:06:28+00:00 2026-05-24T21:06:28+00:00

I have a glassfish 3.1.1 web server, and I create 2 instances on it,

  • 0

I have a glassfish 3.1.1 web server, and I create 2 instances on it, I deploy Alfresco Explorer 3.4e and everything was going well in one instance, but when I try to start the other instance, I got error and the alfresco in that instance not working.

My settings & Specs of Env. are :

  • JDK 1.7
  • Glassfish 3.1.1
  • Cluster Environment created with glassfish (have 2 instance on
    the same machine)
  • MySQL : Ver 14.14 Distrib 5.1.52, for Win64
  • Alfresco Explorer 3.4e (I got war file from webapps folder of
    tomcat bundled version)
  • Windows 7 64bit !!

The exception is:

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:   

My reference of configurations:

  • 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

Note: This exception logged in the second instance that unable to run because this exception, but the first instance is working, if I shutdown the first and restart the second, the exception will not happen and the instance will run without problems.

You can see full details of my problem & my Configuration here: http://forums.alfresco.com/en/viewtopic.php?f=9&t=40252&p=118012#p118012

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:06:29+00:00Added an answer on May 24, 2026 at 9:06 pm

    I Think the problem was that when i start 2 instances on the same time on “New & Clean” schema that cause this problem, Now after I stop all instances, start first one, then shutdown it, then change “Quick Server” & “Vti” ports of second instance, then start 2 instances at the same time, the two instances running successfully.

    Please note that 2nd instance can have his own property file in Glassfish 3.1.1 but in Glassfish 2.1.1 you will unable to do that.

    And If you restart 2nd instance with “–sync full” you need to reset the ports again and restart 2nd instance again, somehow I think the port can be set in domain.xml file and call it from property file, so each instance save it alone and “–sync full” will not be a problem.

    Regards,

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an embedded glassfish server and a small web app. I want to
We have a Java EE-based web application running on a Glassfish app server cluster.
I have create a web service in glassfish v3. The method I am try
I have web services running on GlassFish, but when I try to call WS
I tried to deploy a servlet I have created to Glassfish application server, and
I have a Java-JSF Web Application on GlassFish, in which I want to use
I have a web service and I was deploying it on GlassFish. I accessed
I have a J2EE web-application running on Sun hardware with OpenSolaris/Glassfish stack. We're starting
I have glassfish installed on a server with a JMS ConnectionFactory set up jms/MyConnectionFactory
I have Richfaces application which I deploy to Glassfish v3. For many weeks (almost)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.