Setting a DATE property in a custom type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 08:40 AM
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2025 03:53 AM - edited ‎03-11-2025 04:14 AM
Hi Marco, do you have ActiveMQ running?
It seems to me that repo is trying to send the node update to ActiveMQ but it's failing.
Remember that if you don't want to send the events, in the alfresco-global.properties you can set
repo.event2.enabled=false
Hope this helps.
Leo Mattioli - Technical Account Manager @Hyland.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 09:57 AM
-Dmessaging.broker.url=\"failovernio://vli-activemq:61616)?timeout=10000&jms.useCompression=true\"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 10:16 AM
Hi Marcog,
it still seems to me some ActiveMQ misconfiguration. In the docker-compose I use this setting
Is in your log any WARN or ERROR message related to ActiveMQ connection?
For a deep dive on ActiveMQ and Alfresco, check this blog. You can see there also how to completely disable the events generation, if you don't need them.
By the way: are you using a Community or an Enterprise? If you are an Enterprise customer, I encourage you to open a case on support portal.
Leo Mattioli - Technical Account Manager @Hyland.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 10:34 AM
Thanks Leo,
Nothing in my log.
I'll try this configuration that you send me.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2025 10:03 AM
Hi Leo.
Not yet.
In my log of ActiveMQ there are:
proj-activemq_1 | INFO: Loading '/opt/activemq/bin/env'
proj-activemq_1 | INFO: Using java '/usr/lib/jvm/jre/bin/java'
proj-activemq_1 | INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
proj-activemq_1 | INFO: Creating pidfile /opt/activemq/data/activemq.pid
proj-activemq_1 | Java Runtime: Red Hat, Inc. 11.0.12 /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64
proj-activemq_1 | Heap sizes: current=63360k free=56369k max=1013632k
proj-activemq_1 | JVM args: -Xms64M -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/opt/activemq/conf/login.config -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Djava.io.tmpdir=/opt/activemq/tmp --add-reads=java.xml=java.logging --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.naming/javax.naming.spi=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED -Dactivemq.classpath=/opt/activemq/conf:/opt/activemq/../lib/: -Dactivemq.home=/opt/activemq -Dactivemq.base=/opt/activemq -Dactivemq.conf=/opt/activemq/conf -Dactivemq.data=/opt/activemq/data
proj-activemq_1 | Extensions classpath:
proj-activemq_1 | [/opt/activemq/lib,/opt/activemq/lib/camel,/opt/activemq/lib/optional,/opt/activemq/lib/web,/opt/activemq/lib/extra]
proj-activemq_1 | ACTIVEMQ_HOME: /opt/activemq
proj-activemq_1 | ACTIVEMQ_BASE: /opt/activemq
proj-activemq_1 | ACTIVEMQ_CONF: /opt/activemq/conf
proj-activemq_1 | ACTIVEMQ_DATA: /opt/activemq/data
proj-activemq_1 | Loading message broker from: xbean:activemq.xml
proj-activemq_1 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@76505305: startup date [Wed Mar 12 14:56:34 UTC 2025]; root of context hierarchy
proj-activemq_1 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/opt/activemq/data/kahadb]
proj-activemq_1 | INFO | PListStore:[/opt/activemq/data/localhost/tmp_storage] started
proj-activemq_1 | INFO | Apache ActiveMQ 5.16.1 (localhost, ID:6c8cd7c01c96-39609-1741791407447-0:1) is starting
proj-activemq_1 | INFO | Listening for connections at: tcp://6c8cd7c01c96:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
proj-activemq_1 | INFO | Connector openwire started
proj-activemq_1 | INFO | Listening for connections at: amqp://6c8cd7c01c96:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600
proj-activemq_1 | INFO | Connector amqp started
proj-activemq_1 | INFO | Listening for connections at: stomp://6c8cd7c01c96:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
proj-activemq_1 | INFO | Connector stomp started
proj-activemq_1 | INFO | Listening for connections at: mqtt://6c8cd7c01c96:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600
proj-activemq_1 | INFO | Connector mqtt started
proj-activemq_1 | INFO | Starting Jetty server
proj-activemq_1 | INFO | Creating Jetty connector
proj-activemq_1 | WARN | ServletContext@o.e.j.s.ServletContextHandler@298d9a05{/,null,STARTING} has uncovered http methods for path: /
proj-activemq_1 | INFO | Listening for connections at ws://6c8cd7c01c96:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600
proj-activemq_1 | INFO | Connector ws started
proj-activemq_1 | INFO | Apache ActiveMQ 5.16.1 (localhost, ID:6c8cd7c01c96-39609-1741791407447-0:1) started
proj-activemq_1 | INFO | For help or more information please see: http://activemq.apache.org
proj-activemq_1 | WARN | Store limit is 102400 mb (current store usage is 0 mb). The data directory: /opt/activemq/data/kahadb only has 47269 mb of usable space. - resetting to maximum available disk space: 47269 mb
proj-activemq_1 | WARN | Temporary Store limit is 51200 mb (current store usage is 0 mb). The data directory: /opt/activemq/data only has 47269 mb of usable space. - resetting to maximum available disk space: 47269 mb
proj-activemq_1 | INFO | ActiveMQ WebConsole available at http://0.0.0.0:8161/
proj-activemq_1 | INFO | ActiveMQ Jolokia REST API available at http://0.0.0.0:8161/api/jolokia/
Nobody errors.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2025 10:45 AM
Hi Marcog,
I see now that you wrote
The name is always saved correctly (except when repo.event2.enabled is false)
this means that if you disable event2 generation the name is not saved?
However, I don't think that event sending is causing the issue, as the events are sent asynchronously or after the transaction that caused them (see docs), so the node properties should be already saved.
Do you have some custom behavior on your installation?
Leo Mattioli - Technical Account Manager @Hyland.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2025 08:33 AM
Hi Leo, thanks for information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2025 08:47 AM
Hi Leo,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2025 08:59 AM
This correct configuration are:
nodeService.setProperty(actionedUponNodeRef, qnameProp, value);
