This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################## | |
## Alfresco | |
########################## | |
**/alf_data_dev | |
**/solr_home | |
**/solr.log* | |
**/share.log* | |
**/alfresco.log* | |
########################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<webscript> | |
<shortname>Java based Sample Webscript</shortname> | |
<description>This simple WebScript prints Hello World</description> | |
<url>/dedunu/helloworld</url> | |
<authentication>user</authentication> | |
<format default="html"></format> | |
</webscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${helloMessage} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.dedunu.alfresco; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.springframework.extensions.webscripts.Cache; | |
import org.springframework.extensions.webscripts.DeclarativeWebScript; | |
import org.springframework.extensions.webscripts.Status; | |
import org.springframework.extensions.webscripts.WebScriptRequest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import javax.mail.Folder; | |
import javax.mail.Session; | |
import javax.mail.Store; | |
Properties props = System.getProperties(); | |
props.setProperty("mail.store.protocol","imap"); | |
Session session = Session.getDefaultInstance(props, null); | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.dedunu.imap; | |
import java.util.Properties; | |
import javax.mail.Folder; | |
import javax.mail.Session; | |
import javax.mail.Store; | |
public class IMAPTest { | |
public static void main(String []args) { | |
Properties props = System.getProperties(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void nextTuple() { | |
if(listIterator!= null && listIterator.hasNext()) { | |
// Returning node by node | |
Map<String, Object> item = listIterator.next(); | |
JSONObject jsonObject = new JSONObject(); | |
for (Map.Entry<String, Object> mapEntry : item.entrySet()) { | |
jsonObject.put(mapEntry.getKey(), mapEntry.getValue()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-14 10:04:16,607 ERROR [repo.content.JodConverterSharedInstance] [localhost-startStop-1] Unable to start JodConverter library. The following error is shown for informational purposes only. | |
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect | |
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:68) | |
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101) | |
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:66) | |
at org.alfresco.enterprise.repo.content.JodConverterSharedInstance.afterPropertiesSet(JodConverterSharedInstance.java:239) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1572) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1510) | |
at org.springframework.b |