Alfresco http://forums.alfresco.com/en/index.php Support forums for the Alfresco Enterprise Content Management System en (c) Copyright 2007 by Alfresco noreply@alfresco.com (Alfresco) phpBB3 RSS2 Syndication Mod by Manchumahara(Sabuj Kundu) 1 Thu, 18 Mar 2010 10:59:29 +0000 IMAP and TransactionalCache full error (2) http://forums.alfresco.com/en/viewtopic.php?f=9&t=24183#p83603 <br /><br /> by tcld0 (Posted 18 Mar 2010, 10:55)<br/><br /><br /> Has anyone found any more information on this?<br /><br />I'm experiencing the same issue with a client's system. I'm unable to browse the repository via IMAP in their prod environment (RHEL/MySQL/Alfresco 3.2r). It authenticates fine, and running netstat -nap|grep java|grep 143 shows that the IMAP service is running and the email client is connecting to it. But for whatever reason, Alfresco isn't listing the sites/folders. The exact same config worked fine in a test environment (only difference was the OS - MacOS rather than Linux).<br /><br />The only clue I can find is the presence of this warning in the log files, but I'm not sure if it's related: Transactional update cache 'org.alfresco.storeAndNodeIdTransactionalCache' is full (10000)<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=9&t=24183">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 10:55:02 +0000 tcld0 http://forums.alfresco.com/en/viewtopic.php?f=9&t=24183#p83603 TEST - EN 1 (6) http://forums.alfresco.com/en/viewtopic.php?f=8&t=25718#p83602 <br /><br /> by dsadowski (Posted 18 Mar 2010, 10:54)<br/><br /><br /> live reply test<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=8&t=25718">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 10:54:26 +0000 dsadowski http://forums.alfresco.com/en/viewtopic.php?f=8&t=25718#p83602 Share Calendar Events saved through Alfresco Browser (2) http://forums.alfresco.com/en/viewtopic.php?f=47&t=25517#p83592 <br /><br /> by drake (Posted 18 Mar 2010, 04:58)<br/><br /><br /> Hi, I'm pretty new to Alfresco, but I'm having success creating events in Share by POSTing a JSON request to this webscript:<br /><!-- m --><a class="postlink" href="http://localhost:8080/alfresco/service/calendar/create">http://localhost:8080/alfresco/service/calendar/create</a><!-- m --><br /><br />The JSON looks something like this:<br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>{<br />  "site":"siteName",<br />  "from":"Month DD, YYYY",<br />  "start":"HH:MM",<br />  "to":"Month DD, YYYY",<br />  "end":"HH:MM",<br />  "what":"Event Name",<br />  "where":"Location",<br />  "desc":"Description",<br />  "tags":"space separated list"<br />}<br /></code></dd></dl><br /><br />I realize it's not exactly what you asked for, but this is the easiest way I found to get events into Alfresco from the outside. The way Alfresco handles the event nodes and ICS files looks like Voodoo to me - zero byte ICS files?<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=47&t=25517">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 04:58:21 +0000 drake http://forums.alfresco.com/en/viewtopic.php?f=47&t=25517#p83592 How to get super-state name through java code (0) http://forums.alfresco.com/en/viewtopic.php?f=3&t=25717#p83591 <br /><br /> by nobel (Posted 18 Mar 2010, 04:57)<br/><br /><br /> I want to get super-state name through java code. Can anybody tell me how to get the super-state name?<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=3&t=25717">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 04:57:09 +0000 nobel http://forums.alfresco.com/en/viewtopic.php?f=3&t=25717#p83591 New to Alfresco (0) http://forums.alfresco.com/en/viewtopic.php?f=14&t=25716#p83590 <br /><br /> by alfinterested (Posted 18 Mar 2010, 04:16)<br/><br /><br /> Hello people,<br />I have recently joined a company and I have been asked to work on Alfresco document managemnet system. Can anyone please advice me as to where I need to begin?<br /><br />Regards,<br />Matt.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=14&t=25716">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 04:16:51 +0000 alfinterested http://forums.alfresco.com/en/viewtopic.php?f=14&t=25716#p83590 Alfresco Share 3.2r2, inactive buttons. (3) http://forums.alfresco.com/en/viewtopic.php?f=47&t=25636#p83589 <br /><br /> by mehos (Posted 18 Mar 2010, 04:16)<br/><br /><br /> Yes, problem is exists even if I log on as Admin account.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=47&t=25636">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 04:16:06 +0000 mehos http://forums.alfresco.com/en/viewtopic.php?f=47&t=25636#p83589 Call Web Script from Share using Link Dashlet Requires Login (1) http://forums.alfresco.com/en/viewtopic.php?f=47&t=25713#p83588 <br /><br /> by MikeH (Posted 18 Mar 2010, 02:09)<br/><br /><br /> Call through the authenticating proxy that Surf provides. e.g. /share/proxy/alfresco/api/metadata in place of /alfresco/wcs/api/metadata<br /><br />Thanks,<br />Mike<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=47&t=25713">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 02:09:04 +0000 MikeH http://forums.alfresco.com/en/viewtopic.php?f=47&t=25713#p83588 UTF-8 Character encoding issue (14) http://forums.alfresco.com/en/viewtopic.php?f=14&t=10286#p83587 <br /><br /> by Dgildeh (Posted 18 Mar 2010, 01:47)<br/><br /><br /> Here is step-by-step instructions on how to recover a production environment with this issue so you don't lose any data:<br /><br />1. Stop Alfresco<br />2. Run the PHP Script below to convert the database into UTF-8:<br /><br /><?php<br />$db = mysql_connect('localhost','root','root_password');<br />if(!$db) echo "Cannot connect to the database - incorrect details";<br />mysql_select_db('alfresco');<br />mysql_query('ALTER DATABASE CHARACTER SET utf8');<br />$result=mysql_query('show tables');<br />while($tables = mysql_fetch_array($result)) {<br />foreach ($tables as $key => $value) {<br />mysql_query("ALTER TABLE $value CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci");<br />}}<br />echo "The collation of your database has been successfully changed!";<br />?><br /><br />3. Delete the lucene-indexes directory under the Alfresco data directory<br />4. Edit alfresco-global.properties in tomcat/shared/classes directory for the following:<br /><br />CHANGE: index.recovery.mode=AUTO -> index.recovery.mode=FULL<br />CHANGE: db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}?useUnicode=true&characterEncoding=utf-8<br /><br />5. Restart Alfresco<br />6. Remember to change index.recover.mode back to AUTO.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=14&t=10286">Read the main topic related to this post</a><hr /> Thu, 18 Mar 2010 01:47:26 +0000 Dgildeh http://forums.alfresco.com/en/viewtopic.php?f=14&t=10286#p83587 repositoryService.query not returning metadata (0) http://forums.alfresco.com/en/viewtopic.php?f=27&t=25715#p83586 <br /><br /> by mwildam (Posted 17 Mar 2010, 23:53)<br/><br /><br /> I searched for a document file (content node) and wanted to get back all the properties of the found node.<br /><br />But although using<br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>QueryResult qresult = repositoryService.query(spacesStore, query, true);</code></dd></dl><br />(last boolean parameter should mean that meta-information is included in the results) I only get the path in the ResultRows after using<br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>ResultSet results = qresult.getResultSet();<br />ResultSetRow[] rows = results.getRows();</code></dd></dl><br />Am I doing something wrong or is it possible that there is a bug?<br />If this is not working, which other possibility do I have to retrieve all the properties of a node?<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=27&t=25715">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 23:53:55 +0000 mwildam http://forums.alfresco.com/en/viewtopic.php?f=27&t=25715#p83586 APIs full of Array usages (0) http://forums.alfresco.com/en/viewtopic.php?f=11&t=25714#p83585 <br /><br /> by mwildam (Posted 17 Mar 2010, 23:49)<br/><br /><br /> Hi folks,<br /><br />can anybody explain why the whole Remote-APIs are so contaminated with the use of arrays?<br /><br />I didn't use them for the last 10 years or so and was so happy that those were history. Why is Alfresco using them and not - let's say - ArrayLists instead?<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=11&t=25714">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 23:49:02 +0000 mwildam http://forums.alfresco.com/en/viewtopic.php?f=11&t=25714#p83585 Steps to consume web services (5) http://forums.alfresco.com/en/viewtopic.php?f=27&t=23157#p83584 <br /><br /> by mwildam (Posted 17 Mar 2010, 23:41)<br/><br /><br /> <blockquote><div><cite>_VALERIO_ wrote:</cite>but I didn't understand how to consume these examples, where to find them in my Alfresco and how to develop and deploy one ws of mine.</div></blockquote><br />I either did not find out how to run them (but I am on NetBeans and I know that Alfresco is built on Eclipse) - although there is an import tool, I prefered creating my own code and just used the examples as input how to do it (approximately).<br /><br /><blockquote><div><cite>_VALERIO_ wrote:</cite>I hope someone could help me, because I think the wiki pages takles these issues superficially</div></blockquote><br />Indeed for a newcomer the Wiki informaion is in general quite superficial. I am still on finding out some needed things by trial and error.<br /><br />BTW: Category handling is not mentioned in the samples how to deal with them.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=27&t=23157">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 23:41:46 +0000 mwildam http://forums.alfresco.com/en/viewtopic.php?f=27&t=23157#p83584 Wervices SOAP Header error (soapEnvelopeHeader) (0) http://forums.alfresco.com/en/viewtopic.php?f=27&t=25712#p83582 <br /><br /> by baltaromero (Posted 17 Mar 2010, 22:18)<br/><br /><br /> Hi I've the same problem you reported on the first post. When I execute the update method of the RepositoryServiceStub generated using Axis i get the following exception.<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>org.apache.axis2.AxisFault: WSDoAllReceiver: Request does not contain required Security header</code></dd></dl><br /><br />Debugging RepositoryServiceStub's code i can see that the generated SoapEnvelope does not contain the Header it only contains the body <env:body>.<br /><br />Patrickov you said you have solved the problem using the wsdd file. Can you give any tips in how to using cause i'm a begginer with Axis and not sure how this should work.<br /><br /><br /><blockquote class="uncited"><div>I fixed the problem by making use of the sample client deployment WSDD file.</div></blockquote><br /><br /><br /><br />You can see in this part of the update method i's creating the soap envelope and intends to attach the header but debugging i can see it makes no difference.<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>env = toEnvelope(<br />               getFactory(_operationClient.getOptions()<br />                     .getSoapVersionURI()),<br />               update23,<br />               optimizeContent(new javax.xml.namespace.QName(<br />                     "http://www.alfresco.org/ws/service/repository/1.0",<br />                     "update")));<br /><br />           _serviceClient.addHeadersToEnvelope(env);<br />          // set the message context with that soap envelope<br />         _messageContext.setEnvelope(env);<br /><br />         // add the message contxt to the operation client<br />         _operationClient.addMessageContext(_messageContext);<br /><br />         // execute the operation client<br />         _operationClient.execute(true);</code></dd></dl><br /><br /><br />Here's the complete code for the update method<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>public RepositoryServiceStub.UpdateResponse update(<br /><br />   RepositoryServiceStub.Update update23)<br /><br />   throws java.rmi.RemoteException<br /><br />   , RepositoryFaultException {<br />      org.apache.axis2.context.MessageContext _messageContext = null;<br />      try {<br />         org.apache.axis2.client.OperationClient _operationClient = _serviceClient<br />               .createClient(_operations[8].getName());<br />         _operationClient.getOptions().setAction(<br />               "http://www.alfresco.org/ws/service/repository/1.0/update");<br />         _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(<br />               true);<br /><br />         addPropertyToOperationClient(<br />               _operationClient,<br />               org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,<br />               "&");<br /><br />         // create a message context<br />         _messageContext = new org.apache.axis2.context.MessageContext();<br /><br />         // create SOAP envelope with that payload<br />         org.apache.axiom.soap.SOAPEnvelope env = null;<br /><br />         env = toEnvelope(<br />               getFactory(_operationClient.getOptions()<br />                     .getSoapVersionURI()),<br />               update23,<br />               optimizeContent(new javax.xml.namespace.QName(<br />                     "http://www.alfresco.org/ws/service/repository/1.0",<br />                     "update")));<br /><br />         // adding SOAP soap_headers<br />         //_serviceClient.addHeader(header);<br />          Options options = _serviceClient.getOptions();<br /><br />            options.setUserName("admin");<br />            options.setPassword("admin");<br /><br />            _serviceClient.addHeadersToEnvelope(env);<br />             _serviceClient.setOptions(options);<br />         // set the message context with that soap envelope<br />         _messageContext.setEnvelope(env);<br /><br />         // add the message contxt to the operation client<br />         _operationClient.addMessageContext(_messageContext);<br /><br />         // execute the operation client<br />         _operationClient.execute(true);<br /><br />         org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient<br />               .getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);<br />         org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext<br />               .getEnvelope();<br /><br />         java.lang.Object object = fromOM(_returnEnv.getBody()<br />               .getFirstElement(),<br />               RepositoryServiceStub.UpdateResponse.class,<br />               getEnvelopeNamespaces(_returnEnv));<br /><br />         return (RepositoryServiceStub.UpdateResponse) object;<br /><br />      } catch (org.apache.axis2.AxisFault f) {<br /><br />         org.apache.axiom.om.OMElement faultElt = f.getDetail();<br />         if (faultElt != null) {<br />            if (faultExceptionNameMap.containsKey(faultElt.getQName())) {<br />               // make the fault by reflection<br />               try {<br />                  java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap<br />                        .get(faultElt.getQName());<br />                  java.lang.Class exceptionClass = java.lang.Class<br />                        .forName(exceptionClassName);<br />                  java.lang.Exception ex = (java.lang.Exception) exceptionClass<br />                        .newInstance();<br />                  // message class<br />                  java.lang.String messageClassName = (java.lang.String) faultMessageMap<br />                        .get(faultElt.getQName());<br />                  java.lang.Class messageClass = java.lang.Class<br />                        .forName(messageClassName);<br />                  java.lang.Object messageObject = fromOM(faultElt,<br />                        messageClass, null);<br />                  java.lang.reflect.Method m = exceptionClass.getMethod(<br />                        "setFaultMessage",<br />                        new java.lang.Class[] { messageClass });<br />                  m.invoke(ex, new java.lang.Object[] { messageObject });<br /><br />                  if (ex instanceof RepositoryFaultException) {<br />                     throw (RepositoryFaultException) ex;<br />                  }<br /><br />                  throw new java.rmi.RemoteException(ex.getMessage(), ex);<br />               } catch (java.lang.ClassCastException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.ClassNotFoundException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.NoSuchMethodException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.reflect.InvocationTargetException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.IllegalAccessException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.InstantiationException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               }<br />            } else {<br />               throw f;<br />            }<br />         } else {<br />            throw f;<br />         }<br />      } finally {<br />         _messageContext.getTransportOut().getSender().cleanup(<br />               _messageContext);<br />      }<br />   }</code></dd></dl><br /><br /><br /><br />Thanks for your time<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=27&t=25712">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 22:18:07 +0000 baltaromero http://forums.alfresco.com/en/viewtopic.php?f=27&t=25712#p83582 OnCreateNode policy and archiveStore (1) http://forums.alfresco.com/en/viewtopic.php?f=4&t=25122#p83581 <br /><br /> by tfrith (Posted 17 Mar 2010, 21:18)<br/><br /><br /> You are correct that onCreateNode is called for the new archive store node.<br /><br />You should be able to just check which store the node is being created in and then just don't create subfolders for those in the archive store.<br /><br />I think you can do something like this:<br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>if (StoreRef.PROTOCOL_WORKSPACE.equals(childAssocRef.getChildRef().getStoreRef().getProtocol())) {<br />    // Create subfolders, etc<br />}</code></dd></dl><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=4&t=25122">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 21:18:43 +0000 tfrith http://forums.alfresco.com/en/viewtopic.php?f=4&t=25122#p83581 Create Wiki entries programatically (0) http://forums.alfresco.com/en/viewtopic.php?f=48&t=25711#p83580 <br /><br /> by sselvan (Posted 17 Mar 2010, 20:55)<br/><br /><br /> I need to create wiki entries programatically in Alfresco Share.<br /><br />Basically, I am trying to migrate the wiki content of some other Wiki Application into that of Alfresco Share.<br />The source database is either HSQLDB or MySQLDB.<br /><br />Ideally, I need to write code to read the database, but that has to be written into Alfresco Share Wiki.<br />Which API I can use for this and how to do it?<br /><br />Please advice me on how to do this. Any help is appreciated!!<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=48&t=25711">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 20:55:34 +0000 sselvan http://forums.alfresco.com/en/viewtopic.php?f=48&t=25711#p83580 alfreso / gentoo / imagemagick issues... (0) http://forums.alfresco.com/en/viewtopic.php?f=8&t=25710#p83579 <br /><br /> by cardinal_baseball (Posted 17 Mar 2010, 20:45)<br/><br /><br /> alfresco 3.2r2, gentoo, tomcat 6.<br />when starting tomcat, i get these errors in the catalina.out file.<br />i am very much a newbie so please be kind if it's obvious or some step i overlooked...<br />is there something w gentoo, that something's running as a different user/permissions, or in a different directory, or some setting i can check? imagemagick is installed - i followed the instructions at: <!-- m --><a class="postlink" href="http://en.gentoo-wiki.com/wiki/Alfresco">http://en.gentoo-wiki.com/wiki/Alfresco</a><!-- m --><br />thanks in advance, <br />mike<br />--<br />where the catalina.out errors start...<br />09:46:39,154 User:System INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]<br />09:46:39,522 User:System ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 02170000 Failed to perform ImageMagick transformation: <br />Execution result: <br /> os: Linux<br /> command: [./ImageMagick/bin/convert, /var/tmp/tomcat-6/Alfresco/ImageMagickContentTransformerWorker_init_source_443899680972795840.gif[0], /var/tmp/tomcat-6/Alfresco/ImageMagickContentTransformerWorker_init_target_6091877690952583018.png]<br /> succeeded: false<br /> exit code: 1<br /> out: <br /> err: Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory<br />09:46:39,546 User:System ERROR [content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer: <br />Execution result: <br /> os: Linux<br /> command: [./bin/pdf2swf, -V]<br /> succeeded: false<br /> exit code: 1<br /> out: <br /> err: Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory<br />09:46:39,564 User:System ERROR [util.exec.RuntimeExecBootstrapBean] Bootstrap command failed: <br />Execution result: <br /> os: Linux<br /> command: [soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///var/lib/alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]<br /> succeeded: false<br /> exit code: 2<br /> out: <br /> err: Cannot run program "soffice": java.io.IOException: error=2, No such file or directory<br />09:46:39,637 User:System WARN [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=8&t=25710">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 20:45:00 +0000 cardinal_baseball http://forums.alfresco.com/en/viewtopic.php?f=8&t=25710#p83579 New User Creation (0) http://forums.alfresco.com/en/viewtopic.php?f=27&t=25709#p83578 <br /><br /> by pat2man (Posted 17 Mar 2010, 19:19)<br/><br /><br /> I am trying to create a new user and I am getting an error message: operation description is missing parameter description!<br /><br />Below is my request and the response. This is all coming out of code generated by wsdl2ruby with a custom header code for the ticket. Everything works with queryUsers etc but creating users does not work.<br /><br /><span style="font-size: 150%; line-height: 116%;">Request:<br /></span><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code><?xml version="1.0" encoding="utf-8" ?><br /><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"<br />    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br />    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><br />  <env:Header><br />        <Security env:mustUnderstand="1"<br />            xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><br />          <Timestamp xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"></Timestamp><br />          <UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"<br />              xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><br />            <Username>admin</Username><br />            <Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">TICKET_TICKETREMOVEDFORSECURITY</Password><br />          </UsernameToken><br />        </Security><br />  </env:Header><br />  <env:Body><br />    <n1:createUsers xmlns:n1="http://www.alfresco.org/ws/service/administration/1.0"><br />      <n1:userName>testuser</n1:userName><br />      <n1:password>Password1</n1:password><br />      <n1:properties xmlns:n2="http://www.alfresco.org/ws/model/content/1.0"><br />        <n2:name>firstName</n2:name><br />        <n2:isMultiValue xsi:nil="true"></n2:isMultiValue><br />        <n2:value>FIRST NAME</n2:value><br />      </n1:properties><br />    </n1:createUsers><br />  </env:Body><br /></env:Envelope><br /></code></dd></dl><br /><br /><span style="font-size: 150%; line-height: 116%;">Error:<br /></span><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>HTTP/1.1 500 Internal Server Error<br />Date: Wed, 17 Mar 2010 19:00:07 GMT<br />Server: Apache-Coyote/1.1<br />Content-Type: text/xml;charset=utf-8<br />Via: 1.1 share.iscompass.com<br />Vary: Accept-Encoding<br />Connection: close<br />Transfer-Encoding: chunked<br /><br />ba6<br /><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException: operation description is missing parameter description!</faultstring><detail><ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: operation description is missing parameter description!<br />   at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:202)<br />   at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)<br />   at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)<br />   at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)<br />   at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)<br />   at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)<br />   at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:81)<br />   at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)<br />   at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)<br />   at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)<br />   at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)<br />   at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)<br />   at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)<br />   at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)<br />   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br />   at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)<br />   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br />   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br />   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br />   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br />   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<br />   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br />   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br />   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)<br />   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)<br />   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<br />   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)<br />   at java.lang.Thread.run(Thread.java:619)<br /></ns1:stackTrace><ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">share01</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope><br />0<br /><br />! CONNECTION CLOSED<br /><br /></code></dd></dl><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=27&t=25709">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 19:19:25 +0000 pat2man http://forums.alfresco.com/en/viewtopic.php?f=27&t=25709#p83578 Action, setExecuteAsynchronously Timeout? (1) http://forums.alfresco.com/en/viewtopic.php?f=4&t=25695#p83577 <br /><br /> by mrogers (Posted 17 Mar 2010, 17:59)<br/><br /><br /> No there's no timeout. And running code will not not be touched by the GC. <br /><br />The most likely problem with a long running transaction is some sort of transaction deadlock ... <br /><br />Also if you have lots of long async actions consider increasing the size of the action thread pool or run your actions on their <br />own pool so they dont affect the other actions.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=4&t=25695">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 17:59:08 +0000 mrogers http://forums.alfresco.com/en/viewtopic.php?f=4&t=25695#p83577 Empty AD Group Membership (0) http://forums.alfresco.com/en/viewtopic.php?f=9&t=25708#p83576 <br /><br /> by brostekm (Posted 17 Mar 2010, 17:26)<br/><br /><br /> I am trying to sync Alfresco 3.2r Community Edition with my AD. I am able to get all the users and group names imported, and I can log in with the imported users. It is even synchronizing the users and groups every minute. The problem is the groups have no members in Alfresco. When I change a group's membership in AD, the alfresco detects the changed group and the log says it processed the group, but still no group members show up in Alfresco. Here is the ldap-ad-authentication.properties file:<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>ldap.authentication.active=true<br />ldap.authentication.allowGuestLogin=true<br />ldap.authentication.userNameFormat=%s@company.com<br />ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory<br />ldap.authentication.java.naming.provider.url=ldap://x.x.x.x:389<br />ldap.authentication.java.naming.security.authentication=simple<br />ldap.authentication.escapeCommasInBind=false<br />ldap.authentication.escapeCommasInUid=false<br />ldap.authentication.defaultAdministratorUserNames=Administrator<br />ldap.synchronization.active=true<br />ldap.synchronization.java.naming.security.principal=xxx@company.com<br />ldap.synchronization.java.naming.security.credentials=Creds<br />ldap.synchronization.queryBatchSize=1000<br />ldap.synchronization.groupQuery=(objectclass\=group)<br />ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(!(whenChanged<\={0})))<br />ldap.synchronization.personQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))<br />ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged<\={0})))<br />ldap.synchronization.groupSearchBase=ou\=Security Groups,ou\=Alfresco,dc\=company,dc\=com<br />ldap.synchronization.userSearchBase=ou\=User Accounts,ou\=Alfresco,dc\=company,dc\=com<br />ldap.synchronization.modifyTimestampAttributeName=whenChanged<br />ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'<br />ldap.synchronization.userIdAttributeName=sAMAccountName<br />ldap.synchronization.userFirstNameAttributeName=givenName<br />ldap.synchronization.userLastNameAttributeName=sn<br />ldap.synchronization.userEmailAttributeName=mail<br />ldap.synchronization.userOrganizationalIdAttributeName=company<br />ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider<br />ldap.synchronization.groupIdAttributeName=cn<br />ldap.synchronization.groupType=group<br />ldap.synchronization.personType=user<br />ldap.synchronization.groupMemberAttributeName=member<br />ldap.synchronization.enableProgressEstimation=true</code></dd></dl><br /><br />Anyone have any suggestions?<br /><br />Thanks<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=9&t=25708">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 17:26:42 +0000 brostekm http://forums.alfresco.com/en/viewtopic.php?f=9&t=25708#p83576 soapUI: how create Document From Source? (2) http://forums.alfresco.com/en/viewtopic.php?f=45&t=25688#p83575 <br /><br /> by _VALERIO_ (Posted 17 Mar 2010, 17:05)<br/><br /><br /> nobody can answer to my question? <img src="./images/smilies/icon_sad.gif" alt=":(" title="Sad" /><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=45&t=25688">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 17:05:03 +0000 _VALERIO_ http://forums.alfresco.com/en/viewtopic.php?f=45&t=25688#p83575 soapUI:how retrieve IDs ? (7) http://forums.alfresco.com/en/viewtopic.php?f=27&t=25618#p83574 <br /><br /> by _VALERIO_ (Posted 17 Mar 2010, 17:02)<br/><br /><br /> I found the answer to my question. With the method updateProperties I'm able to add and set the custom aspect I want simply filling the field of the soap envelope in the following way:<br />[code]<br /> <ns1:propertyId propertyDefinitionId="custom:Property" localName="?" displayName="?" queryName="?"><br /> <!--Zero or more repetitions:--><br /> <ns1:value>VALUE</ns1:value><br />[code]<br /><br />hope this post will help other people with the same issue <img src="./images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=27&t=25618">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 17:02:18 +0000 _VALERIO_ http://forums.alfresco.com/en/viewtopic.php?f=27&t=25618#p83574 soapUI:how to fill <ns:extension> element (3) http://forums.alfresco.com/en/viewtopic.php?f=45&t=25650#p83573 <br /><br /> by _VALERIO_ (Posted 17 Mar 2010, 16:57)<br/><br /><br /> I found the answer on <a href="http://docs.oasis-open.org/cmis/CMIS/v1.0/cd06/cmis-spec-v1.0.html#_Toc243905616" class="postlink">http://docs.oasis-open.org/cmis/CMIS/v1.0/cd06/cmis-spec-v1.0.html#_Toc243905616</a><br /><blockquote class="uncited"><div>4.3.3 Extensions<br /><br />On all input messages and some output messages exists an element called extension. This element is used to provide vendor or repository-specific information between client and server.<br /><br />All of the types referenced by the schema also support xs:any for vendor or repository-specific information. </div></blockquote><br /><br />Hope this will help other people with the same issue<br /><br />Best regards<br />Valerio <img src="./images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=45&t=25650">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 16:57:40 +0000 _VALERIO_ http://forums.alfresco.com/en/viewtopic.php?f=45&t=25650#p83573 Assignees from group (0) http://forums.alfresco.com/en/viewtopic.php?f=34&t=25707#p83572 <br /><br /> by abben (Posted 17 Mar 2010, 16:50)<br/><br /><br /> Hi all,<br /><br />My problem is to select two different users (assignees) from a chosen group and all from workflow wizard. The user that start the workflow have to :<br />1. Select a group<br />2. Select a user 1 witch belongs to the selected group<br />3. Select a user 2 witch belongs to the select group<br /><br />In my model a defined thse aspects:<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>  <aspects><br />        <aspect name="scwf:assigneeValidateur"><br />            <associations><br />                <association name="scwf:assigneeValidateur"><br />                    <source><br />                        <mandatory>false</mandatory><br />                        <many>false</many><br />                    </source><br />                    <target><br />                        <class>cm:person</class><br />                        <mandatory>false</mandatory><br />                        <many>false</many><br />                    </target><br />                </association><br />            </associations><br />         </aspect><br />         <aspect name="scwf:assigneeApprobateur"><br />            <associations><br />                <association name="scwf:assigneeApprobateur"><br />                    <source><br />                        <mandatory>false</mandatory><br />                        <many>false</many><br />                    </source><br />                    <target><br />                        <class>cm:person</class><br />                        <mandatory>false</mandatory><br />                        <many>false</many><br />                    </target><br />                </association><br />            </associations><br />       </aspect><br />    </aspects><br /></code></dd></dl><br /><br />and in my web-client-config-custom.xml: <br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code><show-association name="scwf:assigneeValidateur" /><br /><show-association name="scwf:assigneeApprobateur" />   <br /></code></dd></dl><br /><br />All this works fine.<br />My question is how to add a constraint to my aspect so that i can select users from selected group?<br /><br />Any help would be appreciated.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=34&t=25707">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 16:50:58 +0000 abben http://forums.alfresco.com/en/viewtopic.php?f=34&t=25707#p83572 Alfresco advanced search in a dashlet? (10) http://forums.alfresco.com/en/viewtopic.php?f=48&t=24798#p83571 <br /><br /> by targa2000 (Posted 17 Mar 2010, 16:41)<br/><br /><br /> Great!! Thanks for the news! I'll give it a try!!<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=48&t=24798">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 16:41:57 +0000 targa2000 http://forums.alfresco.com/en/viewtopic.php?f=48&t=24798#p83571 get current user of Share? (2) http://forums.alfresco.com/en/viewtopic.php?f=4&t=25703#p83570 <br /><br /> by targa2000 (Posted 17 Mar 2010, 16:40)<br/><br /><br /> Great! That's a relief! Thanks for the reply!!<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=4&t=25703">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 16:40:52 +0000 targa2000 http://forums.alfresco.com/en/viewtopic.php?f=4&t=25703#p83570 Adding a custom field with a link (0) http://forums.alfresco.com/en/viewtopic.php?f=5&t=25706#p83569 <br /><br /> by chantren (Posted 17 Mar 2010, 16:34)<br/><br /><br /> Hello everyone,<br /><br />I have created a new field for my documents which purpose is to link to a Jira Issue. I am able to edit that field using webservices but I would like to have a link in that field instead of a simple String, to directly point the Jira issue. Is that possible ?<br /><br />Thanks.<br /><br />Nathan.<br /><br />ps : I am using Alfresco 3.0<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=5&t=25706">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 16:34:36 +0000 chantren http://forums.alfresco.com/en/viewtopic.php?f=5&t=25706#p83569 Copying file with CIFS (2) http://forums.alfresco.com/en/viewtopic.php?f=9&t=25697#p83568 <br /><br /> by telesto (Posted 17 Mar 2010, 16:31)<br/><br /><br /> i resolved my problem !<br />I used a specific tool (“supercopier2″) to replace windows copy function. After closed this tool, all is correct.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=9&t=25697">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 16:31:29 +0000 telesto http://forums.alfresco.com/en/viewtopic.php?f=9&t=25697#p83568 Get group name of current user (1) http://forums.alfresco.com/en/viewtopic.php?f=9&t=24749#p83567 <br /><br /> by Jenn_l (Posted 17 Mar 2010, 15:54)<br/><br /><br /> Hoi there!<br /><br />I have figured it out! I 'd like to share it with you.<br />Here's the syntax:<br /><br />//FIND THE GROUPNAME OF THE CURRENT LOGGED ON USER<br /> <br /> var currentUserName = person.properties.userName;<br /> <br /> var currentPerson = people.getPerson(currentUserName);<br /> <br /> var groupNameCurrentUser = people.getContainerGroups(currentPerson);<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=9&t=24749">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 15:54:58 +0000 Jenn_l http://forums.alfresco.com/en/viewtopic.php?f=9&t=24749#p83567 Webscript access to workflow api (1) http://forums.alfresco.com/en/viewtopic.php?f=34&t=25704#p83566 <br /><br /> by Seth at Rothbury (Posted 17 Mar 2010, 15:06)<br/><br /><br /> <!-- m --><a class="postlink" href="http://wiki.alfresco.com/wiki/Workflow_JavaScript_API">http://wiki.alfresco.com/wiki/Workflow_JavaScript_API</a><!-- m --><br /><br />or<br /><br />http://{your-server}:8080/alfresco/service/index/package/org/alfresco/repository/workflow<br /><br />And if you're up to it, you could dig through the scripts behind the Workflow Console.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=34&t=25704">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 15:06:31 +0000 Seth at Rothbury http://forums.alfresco.com/en/viewtopic.php?f=34&t=25704#p83566 No document preview (1) http://forums.alfresco.com/en/viewtopic.php?f=47&t=25705#p83565 <br /><br /> by MikeH (Posted 17 Mar 2010, 14:58)<br/><br /><br /> Did you follow the installation instructions regarding OpenOffice, pdf2swf and ImageMagick?<br /><br />Thanks,<br />Mike<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=47&t=25705">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 14:58:31 +0000 MikeH http://forums.alfresco.com/en/viewtopic.php?f=47&t=25705#p83565 FTP does not behave as normal servers do (2) http://forums.alfresco.com/en/viewtopic.php?f=46&t=25698#p83564 <br /><br /> by tbee (Posted 17 Mar 2010, 14:58)<br/><br /><br /> Done.<br /><!-- m --><a class="postlink" href="https://issues.alfresco.com/jira/browse/JLAN-104">https://issues.alfresco.com/jira/browse/JLAN-104</a><!-- m --><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=46&t=25698">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 14:58:31 +0000 tbee http://forums.alfresco.com/en/viewtopic.php?f=46&t=25698#p83564 About Uploading/Changing Space/Content and Email (1) http://forums.alfresco.com/en/viewtopic.php?f=9&t=25696#p83559 <br /><br /> by kyriakos (Posted 17 Mar 2010, 14:41)<br/><br /><br /> Guys i made the configuration from the wiki and i trigger notification and this is the error i see on log...any idea?<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>16:35:07,212 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] Failed to send email to ksar<br />org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Exception reading response;<br />  nested exception is:<br />   java.net.SocketTimeoutException: Read timed out<br />Caused by: javax.mail.MessagingException: Exception reading response;<br />  nested exception is:<br />   java.net.SocketTimeoutException: Read timed out<br />   at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)<br />   at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:645)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:397)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:332)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:347)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336)<br />   at org.alfresco.repo.action.executer.MailActionExecuter.executeImpl(MailActionExecuter.java:382)<br />   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)<br />   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)<br />   at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:72)<br />   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)<br />   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)<br />   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:648)<br />   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:510)<br />   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)<br />   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy25.executeAction(Unknown Source)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executeRule(RuleServiceImpl.java:928)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRule(RuleServiceImpl.java:896)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRulesImpl(RuleServiceImpl.java:867)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRules(RuleServiceImpl.java:840)<br />   at org.alfresco.repo.rule.RuleTransactionListener.beforeCommit(RuleTransactionListener.java:63)<br />   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:744)<br />   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:724)<br />   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:680)<br />   at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)<br />   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:835)<br />   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:645)<br />   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)<br />   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)<br />   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:467)<br />   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:349)<br />   at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:130)<br />   at org.alfresco.web.bean.dialog.DialogManager.finish(DialogManager.java:534)<br />   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)<br />   at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)<br />   at javax.faces.component.UICommand.broadcast(UICommand.java:109)<br />   at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)<br />   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)<br />   at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)<br />   at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)<br />   at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)<br />   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)<br />   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br />   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />   at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)<br />   at sun.reflect.GeneratedMethodAccessor514.invoke(Unknown Source)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy194.doFilter(Unknown Source)<br />   at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)<br />   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br />   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />   at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)<br />   at sun.reflect.GeneratedMethodAccessor514.invoke(Unknown Source)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy194.doFilter(Unknown Source)<br />   at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)<br />   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br />   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br />   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br />   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<br />   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br />   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br />   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)<br />   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)<br />   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<br />   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br />   at java.lang.Thread.run(Thread.java:619)<br />Caused by: java.net.SocketTimeoutException: Read timed out<br />   at java.net.SocketInputStream.socketRead0(Native Method)<br />   at java.net.SocketInputStream.read(SocketInputStream.java:129)<br />   at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)<br />   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)<br />   at java.io.BufferedInputStream.read(BufferedInputStream.java:237)<br />   at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)<br />   at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)<br />   ... 94 more<br />16:35:07,868 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] Failed to send email to ksar<br />org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Exception reading response;<br />  nested exception is:<br />   java.net.SocketTimeoutException: Read timed out<br />Caused by: javax.mail.MessagingException: Exception reading response;<br />  nested exception is:<br />   java.net.SocketTimeoutException: Read timed out<br />   at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)<br />   at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:645)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:397)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:332)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:347)<br />   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336)<br />   at org.alfresco.repo.action.executer.MailActionExecuter.executeImpl(MailActionExecuter.java:382)<br />   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)<br />   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)<br />   at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:72)<br />   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)<br />   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)<br />   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:648)<br />   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:510)<br />   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)<br />   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy25.executeAction(Unknown Source)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executeRule(RuleServiceImpl.java:928)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRule(RuleServiceImpl.java:896)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRulesImpl(RuleServiceImpl.java:867)<br />   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRules(RuleServiceImpl.java:840)<br />   at org.alfresco.repo.rule.RuleTransactionListener.beforeCommit(RuleTransactionListener.java:63)<br />   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:744)<br />   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:724)<br />   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:680)<br />   at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)<br />   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:835)<br />   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:645)<br />   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)<br />   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)<br />   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:467)<br />   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:349)<br />   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)<br />   at org.alfresco.email.server.EmailServiceImpl$4.doWork(EmailServiceImpl.java:224)<br />   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)<br />   at org.alfresco.email.server.EmailServiceImpl.processMessage(EmailServiceImpl.java:227)<br />   at org.alfresco.email.server.EmailServiceImpl.importMessage(EmailServiceImpl.java:156)<br />   at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.processDelivery(SubethaEmailServer.java:192)<br />   at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.data(SubethaEmailServer.java:134)<br />   at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:56)<br />   at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:58)<br />   at org.subethamail.smtp.server.ConnectionHandler.run(ConnectionHandler.java:113)<br />Caused by: java.net.SocketTimeoutException: Read timed out<br />   at java.net.SocketInputStream.socketRead0(Native Method)<br />   at java.net.SocketInputStream.read(SocketInputStream.java:129)<br />   at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)<br />   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)<br />   at java.io.BufferedInputStream.read(BufferedInputStream.java:237)<br />   at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)<br />   at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)<br />   ... 55 more<br />16:35:08,540 ERROR [org.alfresco.email.server.impl.subetha.SubethaEmailServer] 02170052 Email message processing failed<br />org.alfresco.error.AlfrescoRuntimeException: 02170052 Email message processing failed<br />   at org.alfresco.email.server.EmailServiceImpl.processMessage(EmailServiceImpl.java:244)<br />   at org.alfresco.email.server.EmailServiceImpl.importMessage(EmailServiceImpl.java:156)<br />   at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.processDelivery(SubethaEmailServer.java:192)<br />   at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.data(SubethaEmailServer.java:134)<br />   at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:56)<br />   at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:58)<br />   at org.subethamail.smtp.server.ConnectionHandler.run(ConnectionHandler.java:113)<br />Caused by: org.alfresco.service.cmr.repository.DuplicateChildNodeNameException: Duplicate child name not allowed: test email server<br />   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.writeChildAssocChanges(HibernateNodeDaoServiceImpl.java:2035)<br />   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.newChildAssoc(HibernateNodeDaoServiceImpl.java:2070)<br />   at sun.reflect.GeneratedMethodAccessor365.invoke(Unknown Source)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)<br />   at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:68)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.domain.hibernate.DirtySessionMethodInterceptor.invoke(DirtySessionMethodInterceptor.java:419)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)<br />   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy9.newChildAssoc(Unknown Source)<br />   at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode(DbNodeServiceImpl.java:319)<br />   at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)<br />   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:110)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy11.createNode(Unknown Source)<br />   at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)<br />   at $Proxy12.createNode(Unknown Source)<br />   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:279)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:188)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:188)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy11.createNode(Unknown Source)<br />   at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)<br />   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />   at java.lang.reflect.Method.invoke(Method.java:597)<br />   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)<br />   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)<br />   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)<br />   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)<br />   at $Proxy11.createNode(Unknown Source)<br />   at org.alfresco.email.server.handler.AbstractEmailMessageHandler.addContentNode(AbstractEmailMessageHandler.java:283)<br />   at org.alfresco.email.server.handler.AbstractEmailMessageHandler.addContentNode(AbstractEmailMessageHandler.java:305)<br />   at org.alfresco.email.server.handler.FolderEmailMessageHandler.addAlfrescoContent(FolderEmailMessageHandler.java:117)<br />   at org.alfresco.email.server.handler.FolderEmailMessageHandler.processMessage(FolderEmailMessageHandler.java:82)<br />   at org.alfresco.email.server.EmailServiceImpl$3.execute(EmailServiceImpl.java:216)<br />   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)<br />   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)<br />   at org.alfresco.email.server.EmailServiceImpl$4.doWork(EmailServiceImpl.java:224)<br />   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)<br />   at org.alfresco.email.server.EmailServiceImpl.processMessage(EmailServiceImpl.java:227)<br />   ... 6 more</code></dd></dl><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=9&t=25696">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 14:41:33 +0000 kyriakos http://forums.alfresco.com/en/viewtopic.php?f=9&t=25696#p83559 What is CMR? (1) http://forums.alfresco.com/en/viewtopic.php?f=14&t=25694#p83558 <br /><br /> by mrogers (Posted 17 Mar 2010, 14:32)<br/><br /><br /> It's an important package since it contains (or should contain) the public interfaces of the various Alfresco Java Services.<br /><br />I don't know what the initials "cmr" stand for, but its been there since the early versions of Alfresco.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=14&t=25694">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 14:32:15 +0000 mrogers http://forums.alfresco.com/en/viewtopic.php?f=14&t=25694#p83558 Getting Content Type of a document (0) http://forums.alfresco.com/en/viewtopic.php?f=36&t=25702#p83554 <br /><br /> by stallapragada (Posted 17 Mar 2010, 13:51)<br/><br /><br /> Hi<br /><br />I have a lot of content types defined in my Alfresco deployment. I have a requrement to display the custom content type of the document in the properties tab of the selected document along with its custom properties. My requirement is to invoke a web script to get this information. <br /><br />I did not find any readily available web scripts for doing this. Can any one help me with any pointers as to how I can retrieve this information?<br /><br />-Thanks<br />Srikant<br /><!-- m --><a class="postlink" href="http://www.introspeqt.com">http://www.introspeqt.com</a><!-- m --><br />Download Document Capture for Alfresco <a href="http://www.introspeqt.com/iCapture.htm" class="postlink">http://www.introspeqt.com/iCapture.htm</a><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=36&t=25702">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 13:51:51 +0000 stallapragada http://forums.alfresco.com/en/viewtopic.php?f=36&t=25702#p83554 Web-script transactions (4) http://forums.alfresco.com/en/viewtopic.php?f=36&t=25657#p83553 <br /><br /> by msvoren (Posted 17 Mar 2010, 13:40)<br/><br /><br /> Thank you for your answer, will see what can be done here.<br /> <img src="./images/smilies/icon_idea.gif" alt=":idea:" title="Idea" /><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=36&t=25657">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 13:40:23 +0000 msvoren http://forums.alfresco.com/en/viewtopic.php?f=36&t=25657#p83553 Migrating content with metadata to Alfresco (0) http://forums.alfresco.com/en/viewtopic.php?f=14&t=25701#p83552 <br /><br /> by viralshah (Posted 17 Mar 2010, 13:38)<br/><br /><br /> Was looking out for options to migrate bulk content [custom content type] along with its metadata [It may or maynot have : properties ( some mandatory), aspects ( inbuilt & custom), associations ( peer & child)] into Alfresco. <br /><br />Based on various forums & articles there seem to be multiple options as below:<br /><br /><ul>-Using SOAP webservice to add content & metadata<br />-Adding content via CIFS/FTP & update content metadata via Webscripts<br />-Adding content & metadata boith via webscript [is this possible?]<br />-Using JCR 170 API to add content<br />-Using ACPGenerator ( from Alfresco Forge) to create ACP file to import<br />-Using 3rd party tool like Talend<br />-Exporting dummy custom content via ACP and then manually updating the XML file & creating ACP file to import the content<br /></ul><br />Are all these valid options?<br />So what is the best option out of these ? <br />What are the pros & cons? How does one select the approach without trying all these options?<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=14&t=25701">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 13:38:01 +0000 viralshah http://forums.alfresco.com/en/viewtopic.php?f=14&t=25701#p83552 Getting the NodeRef of Company Home/承èªå¾Œ (0) http://forums.alfresco.com/en/viewtopic.php?f=4&t=25700#p83551 <br /><br /> by Nicolas Raoul (Posted 17 Mar 2010, 13:30)<br/><br /><br /> Hello,<br /><br />I want to get a NodeRef to my "<span style="font-weight: bold">Company Home/承èªå¾Œ</span>" directory. So I wrote:<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");<br /><br />ResultSet rs = searchService.query(storeRef, SearchService.LANGUAGE_XPATH,<br />   "/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}承èªå¾Œ");<br /><br />NodeRef my = rs.getNodeRef(0);</code></dd></dl><br /><br />But the resultset only contains one noderef: the root "/". Not the directory I indicated in the query.<br />What am I doing wrong?<br />Note: Even if I remplace 承èªå¾Œ by its equivalent \u627f\u8a8d\u5f8c, same result.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=4&t=25700">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 13:30:55 +0000 Nicolas Raoul http://forums.alfresco.com/en/viewtopic.php?f=4&t=25700#p83551 Workflow failed to signal transition 'null' from wrkflw task (0) http://forums.alfresco.com/en/viewtopic.php?f=34&t=25699#p83550 <br /><br /> by Jenn_l (Posted 17 Mar 2010, 13:27)<br/><br /><br /> Hoi All,<br /><br />I have deployed my customized review_pooled_processdefinition.xml in Alfresco 3.2r Community.<br />When I tried to start a pooled workflow I get the following system error in my webclient:<br /><span style="font-style: italic">Please correct the errors below then click Finish.</span><br /><span style="font-style: italic">system error happened during the operation: 02170018 Failed to signal transition 'null' from workflow task 'jbpm$77</span><br /><br />The second time I tried I get this:<br /><span style="font-style: italic">Please correct the errors below then click Finish.<br /> A system error happened during the operation: 02170020 Failed to signal transition 'null' from workflow task 'jbpm$78'<br /></span><br /><br />The catalina.out displays this:<br /><span style="font-style: italic">at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)<br /> at org.mozilla.javascript.gen.c6._c0(AlfrescoJS:1)<br /> at org.mozilla.javascript.gen.c6.call(AlfrescoJS)<br /> at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)<br /> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)<br /> at org.mozilla.javascript.gen.c6.call(AlfrescoJS)<br /> at org.mozilla.javascript.gen.c6.exec(AlfrescoJS)<br /> at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:457)<br /> at org.alfresco.repo.jscript.RhinoScriptProcessor.executeString(RhinoScriptProcessor.java:250)<br /> ... 124 more<br /><br /></span><br />My customized procesdefinition.xml looks like this:<br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code><?xml version="1.0" encoding="UTF-8"?><br /><br /><process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wf:reviewpooled"><br /><br />    <swimlane name="initiator" /><br /><br />    <start-state name="start"><br />        <task name="wf:submitGroupReviewTask" swimlane="initiator" /><br />        <transition name="" to="review" /><br />    </start-state><br /><br />    <swimlane name="reviewer"><br />        <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment"><br />            <pooledactors>#{bpm_groupAssignee}</pooledactors><br />        </assignment>    <br />    </swimlane><br /><br />    <task-node name="review"><br />        <task name="wf:reviewTask" swimlane="reviewer"><br />            <event type="task-create"><br />                <script><br />                   if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;<br />                   if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;<br />                </script><br />            </event><br />            <event type="task-end"><br />               <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"><br />                  <script><br />                     <variable name="bpm_assignee" access="write"/><br />                     <expression><br />                        if (taskInstance.actorId != null)<br />                           people.getPerson(taskInstance.actorId);<br />                        else<br />                           person;<br />                     </expression><br />                  </script><br />               </action><br />            </event><br />        </task><br />         <event type="node-enter"><br />             <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"><br />                 <script><br />            <br />            for (var i = 0; i &lt; bpm_package.children.length; i++)<br />                    {<br />                        var group = bpm_groupAssignee.properties["usr:authorityName"];<br />                  if (logger.isLoggingEnabled()) logger.log("Setting permission Coordinator for " + group);<br />                  var document = bpm_package.children[i];<br />                  var parent = bpm_package.children[i].getParent();<br />                  /* Make it visible. */<br />                  document.setPermission("Coordinator",group);<br />                  /* Enable check-out/check-in. */<br />                  parent.setPermission("Coordinator",group);<br />               }<br />         <br />             </script><br />           </action><br />          </event><br />        <transition name="reject" to="rejected"><br />            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"><br />                 <script><br />            <br />            for (var i = 0; i &lt; bpm_package.children.length; i++)<br />                    {<br />                       var group = bpm_groupAssignee.properties["usr:authorityName"];<br /><br />                  if (logger.isLoggingEnabled()) logger.log("Removing permission Coordinator for " + group);<br />                  var document = bpm_package.children[i];<br />                  var parent = bpm_package.children[i].getParent();<br />                  /* Hide it. */<br />                  document.removePermission("Coordinator",group);<br />                  /* Disable check-out/check-in*/<br />                  parent.removePermission("Coordinator",group);<br />               }<br />         <br />                </script><br />           </action><br />        </transition><br />        <transition name="approve" to="approved"><br />            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"><br />                 <script><br />            <br />             for (var i = 0; i &lt; bpm_package.children.length; i++)<br />                    {<br />                        var group = bpm_groupAssignee.properties["usr:authorityName"];<br />                  <br />                  if (logger.isLoggingEnabled()) logger.log("Removing permission Coordinator for " + group);<br />                  var document = bpm_package.children[i];<br />                  var parent = bpm_package.children[i].getParent();<br />                  /* Hide it. */<br />                  document.removePermission("Coordinator",group);<br />                  /* Disable check-out/check -in. */<br />                  parent.removePermission("Coordinator",group);<br />                    }<br />               <br />            </script><br />           </action><br />        </transition><br />    </task-node><br /><br />    <task-node name="rejected"><br />        <task name="wf:rejectedTask" swimlane="initiator" /><br />        <transition name="" to="end" /><br />    </task-node><br /><br />    <task-node name="approved"><br />        <task name="wf:approvedTask" swimlane="initiator" /><br />        <transition name="" to="end" /><br />    </task-node><br /><br />    <end-state name="end" /><br /><br /></process-definition></code></dd></dl><br /><br />The funny thing is that this processdefinition.xml works fine in Alfresco enterprise 3.0 and Alfresco enterprise 3.1.<br />Can anyone help me out ?<br /><br />Thanks in advance.<br />Kind regards,<br />Jenny<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=34&t=25699">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 13:27:48 +0000 Jenn_l http://forums.alfresco.com/en/viewtopic.php?f=34&t=25699#p83550 Alfresco 3.3 Advanced Search in Share DM (6) http://forums.alfresco.com/en/viewtopic.php?f=47&t=24508#p83549 <br /><br /> by IP-TechLabs (Posted 17 Mar 2010, 13:26)<br/><br /><br /> Hi fpp,<br /><br />I'm pleased to tell you that Share advanced search extension is available for both 3.2CE and 3.2.0rEE Alfresco versions now.<br /><br />Regards,<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=47&t=24508">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 13:26:18 +0000 IP-TechLabs http://forums.alfresco.com/en/viewtopic.php?f=47&t=24508#p83549 Alfresco Share Search in Metadata (17) http://forums.alfresco.com/en/viewtopic.php?f=47&t=25119#p83548 <br /><br /> by IP-TechLabs (Posted 17 Mar 2010, 13:22)<br/><br /><br /> Hi Eddie,<br /><br />Is there any new ?<br /><br />Regards,<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=47&t=25119">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 13:22:58 +0000 IP-TechLabs http://forums.alfresco.com/en/viewtopic.php?f=47&t=25119#p83548 Russian Language pack (47) http://forums.alfresco.com/en/viewtopic.php?f=16&t=2896#p83546 <br /><br /> by coursar (Posted 17 Mar 2010, 12:51)<br/><br /><br /> СпаÑибо за перевод!<br /><br />Ðо возникла проблема - при уÑтановке руÑÑкого Ñзыка в Share не загружаетÑÑ WYSIWYG-редактор в некоторых меÑтах (при Ñоздании диÑкуÑÑии и Ñ‚.д.). Ð’ итоге не активируетÑÑ ÐºÐ½Ð¾Ð¿ÐºÐ° Сохранить (вообще при незагруженном TinyMCE она активируетÑÑ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ еÑли Ñначала ввеÑти Ñообщение, а потом тему - но потом еÑли отвечать на Ñообщение в диÑÑкуÑÑии, то уже никак не активируешь).<br /><br />Кто-нибудь ÑталкивалÑÑ Ñ Ñтой проблемой? Или Ñ…Ð¾Ñ‚Ñ Ð±Ñ‹ в каком направлении веÑти поиÑки?<br /><br />ЕÑли переключить обратно на английÑкий Ñзык - редактор подгружаетÑÑ Ð½Ð¾Ñ€Ð¼Ð°Ð»ÑŒÐ½Ð¾ и вÑÑ‘ работает отлично.<br /><br />Ð’ Explorer при Ñоздании Ñвоего контента при руÑÑком Ñзыке TinyMCE подгружаетÑÑ Ð½Ð¾Ñ€Ð¼Ð°Ð»ÑŒÐ½Ð¾ и проблем нет.<br /><br />Пробовал Ñ Ñ€Ð°Ð·Ð½Ñ‹Ñ… браузеров (Firefox и Opera), кÑш чиÑтил - вÑÑ‘ также.<br /><br />Alfresco 3.2r уÑтановлен на RHEL 5.4.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=16&t=2896">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 12:51:28 +0000 coursar http://forums.alfresco.com/en/viewtopic.php?f=16&t=2896#p83546 Grab All Space's Files (3) http://forums.alfresco.com/en/viewtopic.php?f=4&t=25631#p83542 <br /><br /> by vbfischer (Posted 17 Mar 2010, 12:10)<br/><br /><br /> thanks. That helps.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=4&t=25631">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 12:10:17 +0000 vbfischer http://forums.alfresco.com/en/viewtopic.php?f=4&t=25631#p83542 Workflow completes immediately (6) http://forums.alfresco.com/en/viewtopic.php?f=34&t=25412#p83540 <br /><br /> by sgartner (Posted 17 Mar 2010, 02:00)<br/><br /><br /> I still don't have any idea why this is happening. Could someone offer any advise?<br /><br />Thanks in advance,<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=34&t=25412">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 02:00:48 +0000 sgartner http://forums.alfresco.com/en/viewtopic.php?f=34&t=25412#p83540 Multiple versions when copying over cifs (2) http://forums.alfresco.com/en/viewtopic.php?f=13&t=25361#p83538 <br /><br /> by chrismott (Posted 17 Mar 2010, 01:31)<br/><br /><br /> I'm experiencing the same problem. I sometimes get 3 new versions created when I copy a new file over an existing one in Explorer on a CIFS mapped network drive.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=13&t=25361">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 01:31:18 +0000 chrismott http://forums.alfresco.com/en/viewtopic.php?f=13&t=25361#p83538 Service Retrieval Problems (3) http://forums.alfresco.com/en/viewtopic.php?f=4&t=153#p83537 <br /><br /> by baltaromero (Posted 17 Mar 2010, 00:59)<br/><br /><br /> Hi I've the same problem you reported on the first post. When I execute the update method of the RepositoryServiceStub generated using Axis i get the following exception.<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>org.apache.axis2.AxisFault: WSDoAllReceiver: Request does not contain required Security header</code></dd></dl><br /><br />Debugging RepositoryServiceStub's code i can see that the generated SoapEnvelope does not contain the Header it only contains the body <env:body>.<br /><br />Patrickov you said you have solved the problem using the wsdd file. Can you give any tips in how to using cause i'm a begginer with Axis and not sure how this should work.<br /><br /><blockquote class="uncited"><div>I fixed the problem by making use of the sample client deployment WSDD file.</div></blockquote><br /><br /><br />You can see in this part of the update method i's creating the soap envelope and intends to attach the header but debugging i can see it makes no difference.<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>env = toEnvelope(<br />               getFactory(_operationClient.getOptions()<br />                     .getSoapVersionURI()),<br />               update23,<br />               optimizeContent(new javax.xml.namespace.QName(<br />                     "http://www.alfresco.org/ws/service/repository/1.0",<br />                     "update")));<br /><br />           _serviceClient.addHeadersToEnvelope(env);<br />          // set the message context with that soap envelope<br />         _messageContext.setEnvelope(env);<br /><br />         // add the message contxt to the operation client<br />         _operationClient.addMessageContext(_messageContext);<br /><br />         // execute the operation client<br />         _operationClient.execute(true);</code></dd></dl><br /><br /><br />Here's the complete code for the update method<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>   public RepositoryServiceStub.UpdateResponse update(<br /><br />   RepositoryServiceStub.Update update23)<br /><br />   throws java.rmi.RemoteException<br /><br />   , RepositoryFaultException {<br />      org.apache.axis2.context.MessageContext _messageContext = null;<br />      try {<br />         org.apache.axis2.client.OperationClient _operationClient = _serviceClient<br />               .createClient(_operations[8].getName());<br />         _operationClient.getOptions().setAction(<br />               "http://www.alfresco.org/ws/service/repository/1.0/update");<br />         _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(<br />               true);<br /><br />         addPropertyToOperationClient(<br />               _operationClient,<br />               org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,<br />               "&");<br /><br />         // create a message context<br />         _messageContext = new org.apache.axis2.context.MessageContext();<br /><br />         // create SOAP envelope with that payload<br />         org.apache.axiom.soap.SOAPEnvelope env = null;<br /><br />         env = toEnvelope(<br />               getFactory(_operationClient.getOptions()<br />                     .getSoapVersionURI()),<br />               update23,<br />               optimizeContent(new javax.xml.namespace.QName(<br />                     "http://www.alfresco.org/ws/service/repository/1.0",<br />                     "update")));<br /><br />         // adding SOAP soap_headers<br />         //_serviceClient.addHeader(header);<br />          Options options = _serviceClient.getOptions();<br /><br />            options.setUserName("admin");<br />            options.setPassword("admin");<br /><br />            _serviceClient.addHeadersToEnvelope(env);<br />             _serviceClient.setOptions(options);<br />         // set the message context with that soap envelope<br />         _messageContext.setEnvelope(env);<br /><br />         // add the message contxt to the operation client<br />         _operationClient.addMessageContext(_messageContext);<br /><br />         // execute the operation client<br />         _operationClient.execute(true);<br /><br />         org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient<br />               .getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);<br />         org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext<br />               .getEnvelope();<br /><br />         java.lang.Object object = fromOM(_returnEnv.getBody()<br />               .getFirstElement(),<br />               RepositoryServiceStub.UpdateResponse.class,<br />               getEnvelopeNamespaces(_returnEnv));<br /><br />         return (RepositoryServiceStub.UpdateResponse) object;<br /><br />      } catch (org.apache.axis2.AxisFault f) {<br /><br />         org.apache.axiom.om.OMElement faultElt = f.getDetail();<br />         if (faultElt != null) {<br />            if (faultExceptionNameMap.containsKey(faultElt.getQName())) {<br />               // make the fault by reflection<br />               try {<br />                  java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap<br />                        .get(faultElt.getQName());<br />                  java.lang.Class exceptionClass = java.lang.Class<br />                        .forName(exceptionClassName);<br />                  java.lang.Exception ex = (java.lang.Exception) exceptionClass<br />                        .newInstance();<br />                  // message class<br />                  java.lang.String messageClassName = (java.lang.String) faultMessageMap<br />                        .get(faultElt.getQName());<br />                  java.lang.Class messageClass = java.lang.Class<br />                        .forName(messageClassName);<br />                  java.lang.Object messageObject = fromOM(faultElt,<br />                        messageClass, null);<br />                  java.lang.reflect.Method m = exceptionClass.getMethod(<br />                        "setFaultMessage",<br />                        new java.lang.Class[] { messageClass });<br />                  m.invoke(ex, new java.lang.Object[] { messageObject });<br /><br />                  if (ex instanceof RepositoryFaultException) {<br />                     throw (RepositoryFaultException) ex;<br />                  }<br /><br />                  throw new java.rmi.RemoteException(ex.getMessage(), ex);<br />               } catch (java.lang.ClassCastException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.ClassNotFoundException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.NoSuchMethodException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.reflect.InvocationTargetException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.IllegalAccessException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               } catch (java.lang.InstantiationException e) {<br />                  // we cannot intantiate the class - throw the original<br />                  // Axis fault<br />                  throw f;<br />               }<br />            } else {<br />               throw f;<br />            }<br />         } else {<br />            throw f;<br />         }<br />      } finally {<br />         _messageContext.getTransportOut().getSender().cleanup(<br />               _messageContext);<br />      }<br />   }</code></dd></dl><br /><br />Thanks for your time<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=4&t=153">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 00:59:32 +0000 baltaromero http://forums.alfresco.com/en/viewtopic.php?f=4&t=153#p83537 Lucene file search not returning file properties (0) http://forums.alfresco.com/en/viewtopic.php?f=4&t=25693#p83536 <br /><br /> by rscottm (Posted 17 Mar 2010, 00:19)<br/><br /><br /> Hi! Alfresco newbie here. I'm using java code like this to search for files:<br /><br /><br /><br />private static List<ISearchResult> perform(final ISearchConfig config) throws RemoteException {<br /> boolean INCLUDE_META_DATA = TRUE;<br /><br /> RepositoryServiceSoapBindingStub repository = WebServiceFactory.getRepositoryService();<br /> Store store = new Store(WORKSPACE_STORE, ALF_SPACES_STORE);<br /><br /> Query query = new Query(QUERY_LANG_LUCENE, config.getQueryString());<br /> QueryResult result = repository.query(store, query, INCLUDE_META_DATA);<br /><br /> return config.processSearchResults(result);<br />}<br /><br /><br /><br />The query string is something like this:<br /><br /> +PATH:"/app:company_home/cm:Forms_x0020_Management_x0020_Solution//*" +@fms\:client:"HMN" +@fms\:product:"INSC"<br /><br />and the search successfully finds files.<br /><br />The problem is that the rows in the resultset don't contain file properties, neither standard or custom. Nodes and aspect info, but no property info. How do I get property info into the resultset?<br /><br />Thanks!<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=4&t=25693">Read the main topic related to this post</a><hr /> Wed, 17 Mar 2010 00:19:15 +0000 rscottm http://forums.alfresco.com/en/viewtopic.php?f=4&t=25693#p83536 Alfresco SSO with Atlassian Crowd (0) http://forums.alfresco.com/en/viewtopic.php?f=48&t=25692#p83535 <br /><br /> by carbotex (Posted 16 Mar 2010, 21:00)<br/><br /><br /> Since I can not figure out how to use the external authentication chain to get Alfresco SSO with Atlassian Crowd, I created a filter based on the code found here <!-- m --><a class="postlink" href="http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration">http://wiki.alfresco.com/wiki/Central_A ... figuration</a><!-- m --> . The filter detects a valid Crowd cookies, then gets the principal name, then logs the principal into Alfresco with the following code:<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>        authComponent.setCurrentUser(crowdUser);<br /><br />        UserTransaction tx = transactionService.getUserTransaction();<br />        NodeRef homeSpaceRef = null;<br />        User user;<br /><br />        try {<br />            tx.begin();<br />            user = new User(userName, authService.getCurrentTicket(), personService.getPerson(crowdUser));<br />            homeSpaceRef = (NodeRef) nodeService.getProperty(personService.getPerson(crowdUser), ContentModel.PROP_HOMEFOLDER);<br />            if(homeSpaceRef == null) {<br />                    logger.warn("Home Folder is null for user '" + crowdUser + "', using company_home.");<br />                    homeSpaceRef = (NodeRef) nodeService.getRootNode(Repository.getStoreRef());<br />            }<br />            user.setHomeSpaceId(homeSpaceRef.getId());<br />            tx.commit();<br />        } catch (Throwable ex) {<br />            logger.error(ex);<br /><br />            try {<br />                    tx.rollback();<br />            } catch (Exception ex2) {<br />                    logger.error("Failed to rollback transaction", ex2);<br />            }<br /><br />            if (ex instanceof RuntimeException) {<br />                    throw (RuntimeException) ex;<br />            } else {<br />                    throw new RuntimeException("Failed to set authenticated user", ex);<br />            }<br />        }<br /><br />        httpSess.setAttribute(AuthenticationHelper.AUTHENTICATION_USER, user);<br />   httpSess.setAttribute(LoginBean.LOGIN_EXTERNAL_AUTH, Boolean.TRUE);<br /><br />        if(req.getRequestURI().endsWith(getLoginPage()) == true) {<br />            res.sendRedirect(req.getContextPath() + "/faces/jsp/browse/browse.jsp");<br />            return;<br />        }<br />        else {<br />          fc.doFilter(req, res);<br />          return;<br />        }<br /></code></dd></dl><br /><br />However, I can't use the same code to log into Alfresco Share. Below is the code to log user into Alfresco Share programmatically, but it requires password.<br /><br /><dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></dt><dd><code>         UserFactory userFactory = FrameworkHelper.getUserFactory();<br />         boolean authenticated = userFactory.authenticate(req, userName, "mypassword123!");<br />         if (authenticated) {<br />             AuthenticationUtil.login(req, res, userName);<br />         }<br /><br /></code></dd></dl><br /><br />Is there a similar solution to Alfresco Explorer where I can log user into Alfresco Share ONLY with their username?<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=48&t=25692">Read the main topic related to this post</a><hr /> Tue, 16 Mar 2010 21:00:55 +0000 carbotex http://forums.alfresco.com/en/viewtopic.php?f=48&t=25692#p83535 Finance planning (0) http://forums.alfresco.com/en/viewtopic.php?f=7&t=25691#p83534 <br /><br /> by hudbrog (Posted 16 Mar 2010, 20:55)<br/><br /><br /> Hello everybody, I'm absolutely new to alfresco, actively reading all info I can find.<br />Currently, I'm trying to figure out how can I use smthing like alfresco+liferay to get rid of our corporate sharepoint. One of the most important things I can't figure out how to do yet is financial planning.<br />Basically, what we have now is:<br />1) user can create an entity "payment request", which includes info like sum, due date, partner, currency, and has a scan of invoice attached to it<br />2) user can create an entity "budget request", which is a payment request without scan of invoice attached<br />3) budget request can be converted to payment request by attaching an invoice<br />4) user can check a list of his requested payments and status of each (i.e. paid, approved, cancelled)<br />5) each request has a simple workflow of approvement<br />6) after request is approved, it's put into a table we call "payments plan", which contains all requests which are due to be paid on planned period<br />7) backoffice specialist changes status of requests manually<br /><br />I want to do something like that using alfresco. <br />I'm thinking that payment request can be just an invoice with additional metadata and a workflow. But how should I handle "budget requests"? And how to create a simple "table" form of requests for backoffice managers, how to create "payments plan" automatically?<br />I would appreciate any suggestions on what to read =)<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=7&t=25691">Read the main topic related to this post</a><hr /> Tue, 16 Mar 2010 20:55:18 +0000 hudbrog http://forums.alfresco.com/en/viewtopic.php?f=7&t=25691#p83534 Manual Disposition - CutOff not working? (1) http://forums.alfresco.com/en/viewtopic.php?f=51&t=25690#p83532 <br /><br /> by carlos.miguens (Posted 16 Mar 2010, 20:53)<br/><br /><br /> First thing last - a cutoff of a folder by implication always closes a folder for further filing.<br /><br />Completion of the event will make the folder (assuming that its a folder level disposition - somthing to check) <span style="font-style: italic">eligible </span>for cutoff. This is easy to see because the <span style="font-weight: bold">cutoff </span>action becomes available on the folder. You can then cutoff the folder manually.<br /><br />Cutoff is the only action which is automated by default, but the process which does this is asynchronous and runs infrequently. (Sorry can't remember the frequency so will have to check). I suspect that this is the behaviour you are seeing where sometimes the cutoff appears to happen almost straight away and other times it does not.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=51&t=25690">Read the main topic related to this post</a><hr /> Tue, 16 Mar 2010 20:53:47 +0000 carlos.miguens http://forums.alfresco.com/en/viewtopic.php?f=51&t=25690#p83532 Alfresco web script portlet (2) http://forums.alfresco.com/en/viewtopic.php?f=36&t=25484#p83531 <br /><br /> by nmcminn (Posted 16 Mar 2010, 20:38)<br/><br /><br /> My Liferay and Alfresco instances are (and will remain) on separate servers, so your method wouldn't work. That's why I wrote the portlet that is linked to in my original post.<br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=36&t=25484">Read the main topic related to this post</a><hr /> Tue, 16 Mar 2010 20:38:25 +0000 nmcminn http://forums.alfresco.com/en/viewtopic.php?f=36&t=25484#p83531 Error when uploading 80M file Using webservice? (3) http://forums.alfresco.com/en/viewtopic.php?f=27&t=25147#p83530 <br /><br /> by treqx (Posted 16 Mar 2010, 19:44)<br/><br /><br /> You can also use the upload servlet described <a href="http://wiki.alfresco.com/wiki/URL_Addressability#UploadContentServlet" class="postlink">here</a><br /><br /><br /><br /> <a href="http://forums.alfresco.com/en/viewtopic.php?f=27&t=25147">Read the main topic related to this post</a><hr /> Tue, 16 Mar 2010 19:44:10 +0000 treqx http://forums.alfresco.com/en/viewtopic.php?f=27&t=25147#p83530