cancel
Showing results for 
Search instead for 
Did you mean: 

custom properties not showing up in Share

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hello,
I created a custom aspect ([Tomcat-home]/webapps/alfresco/WEB-INF/classes/alfresco/extension) and set it on a folder in Alfresco Explorer.  I want to be able to see those properties in Share as well.  I looked through some of the blogs and one of them said to put the customisations in [Tomcat-home]/shared/classes/alfresco/extension.  That didn't work.  Help!

Thanks!
21 REPLIES 21

loftux
Star Contributor
Star Contributor
… Does this sound familiar?  Do you have any idea what I should do?
Yep, has happened to me to.
But really, this could be anything. You need to post the contents of alfresco.log (put it in the code tag so it wont be so long). Without that - sorry, can't help you.

lucille_arkenst
Champ in-the-making
Champ in-the-making
Sure!  Thanks for your help.  Sorry it took me so long.  I forgot to start the MySQL Server… repeatedly #Smiley Sad  But this time I remembered and this is the log:

ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
ERROR [org.alfresco.fileserver] org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:472)
ERROR [org.alfresco.fileserver]    at java.lang.Thread.run(Thread.java:637)
ERROR [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Permission denied
ERROR [org.alfresco.fileserver] java.net.BindException: Permission denied
ERROR [org.alfresco.fileserver]    at java.net.PlainSocketImpl.socketBind(Native Method)
ERROR [org.alfresco.fileserver]    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.bind(ServerSocket.java:319)
ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:185)
ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:141)
ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:555)
ERROR [org.alfresco.fileserver]    at java.lang.Thread.run(Thread.java:637)
14:11:25,165 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455.125MB is less than recommended 512MB

loftux
Star Contributor
Star Contributor
14:11:25,165 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455.125MB is less than recommended 512MB
You should add more memory for your appserver. Edit JAVA_OPTS in alfresco.sh. For testing, -Xmx800m can work, depending on available memory in you machine. For production, 64 bit system is recommended so you can use more than 1,5 Gb of memory. http://wiki.alfresco.com/wiki/JVM_Tuning

The SMB and FTP errors are because you try to run them on privileged ports, edit the config to use non-privileged ports.
http://wiki.alfresco.com/wiki/File_Server_Subsystem#Running_SMB.2FCIFS_from_a_normal_user_account

lucille_arkenst
Champ in-the-making
Champ in-the-making
Thanks for catching that.  Adding more memory resolved the first issue.  I edited file-servers.properties and used the property setting in the wiki but it didn't work…?

cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139

loftux
Star Contributor
Star Contributor
You should not edit file-servers.properties. You put this in alfresco-global.properties. Read the whole page about subsystems.

lucille_arkenst
Champ in-the-making
Champ in-the-making
Fixed.  Got Alfresco to start, got my custom properties to work in Share, thank you very much.  By the way, would you happen to have written a blog on how to expose custom workflows in Share?

mikeh
Star Contributor
Star Contributor
In 3.3G you can add them to the relevant config section in share-config-custom.xml

Thanks,
Mike

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hello Mike,

I have been looking inside Alfresco 3.3G for a clue on how to set up the configuration.  So far I still don't know.  Can you give me a hint?  What should config evaluator type be, and what should the config condition be?

Thanks!

mikeh
Star Contributor
Star Contributor
You can't configure much more than the workflow name in v3.3. We're planning to add dedicated Task & Workflow handling in the next version due at the end of this year.

In the meantime, please see the following section of config:
      <!–
         Used by the "Assign Workflow" action.

         For custom workflow definitions, remember to also add the relevant i18n string(s):
            workflow.wf_mydefinition=My Workflow Definition
      –>
      <workflows>
         <workflow definition="wf:review" />
         <workflow definition="wf:adhoc" />
      </workflows>

Thanks,
Mike

lucille_arkenst
Champ in-the-making
Champ in-the-making
I grep'd for "<workflows>" and did not see any other file but web-client-config-wcm.xml.  Is that the file you are referring to?  Because it doesn't look like the one you posted.  This is from 3.3 and 3.3G:
<alfresco-config>
   <config>
      <wcm>
         <!– Comma separated list of the workflows to display in the Create Web Form and
              Create Web Project wizards. The Name identifers of the workflows should be specified. –>
         <workflows>
            wcmwf:submit
         </workflows>