Skip to content

Instantly share code, notes, and snippets.

View akoidan's full-sized avatar
👀
Looking for an employment

Andrew Koidan akoidan

👀
Looking for an employment
View GitHub Profile
This file has been truncated, but you can view the full file.
24.11.2015 17:51:49,876 DEBUG org.springframework.jndi.JndiTemplate Looking up JNDI object with name [java:comp/env/properties/startup.enable]
24.11.2015 17:51:49,939 INFO org.springframework.web.context.ContextLoader Root WebApplicationContext: initialization started
24.11.2015 17:51:49,989 DEBUG org.springframework.core.env.AbstractEnvironment Initializing new StandardServletEnvironment
24.11.2015 17:51:49,990 DEBUG org.springframework.core.env.MutablePropertySources Adding [servletConfigInitParams] PropertySource with lowest search precedence
24.11.2015 17:51:49,990 DEBUG org.springframework.core.env.MutablePropertySources Adding [servletContextInitParams] PropertySource with lowest search precedence
24.11.2015 17:51:49,992 DEBUG org.springframework.core.env.MutablePropertySources Adding [jndiProperties] PropertySource with lowest search precedence
24.11.2015 17:51:49,992 DEBUG org.springframework.core.env.MutablePropertySources Adding [systemProperties] PropertySource with lowest search precedence
24.11.
This file has been truncated, but you can view the full file.
24.11.2015 17:51:36,852 DEBUG com.bea.console.utils.BreadcrumbBacking PageLabel URL = http://127.0.0.1:7001/console/console.portal?_nfpb=true
24.11.2015 17:51:36,853 DEBUG com.bea.console.utils.BreadcrumbBacking Looking at parameters = AppApplicationInstallPortlet_actionOverride
24.11.2015 17:51:36,853 DEBUG com.bea.console.utils.BreadcrumbBacking Looking at parm value = /com/bea/console/actions/app/install/finish
24.11.2015 17:51:36,853 DEBUG com.bea.console.utils.BreadcrumbBacking Looking at parameters = AppApplicationInstallPortletfrsc
24.11.2015 17:51:36,854 DEBUG com.bea.console.utils.BreadcrumbBacking Looking at parm value = 0xf1d73b142a88124e653a2a1d83befc58823fba64afa16929
24.11.2015 17:51:36,854 DEBUG com.bea.console.utils.BreadcrumbBacking Looking at parameters = AppApplicationInstallPortletnoStageSourcePath
24.11.2015 17:51:36,854 DEBUG com.bea.console.utils.BreadcrumbBacking Looking at parm value = /home/andrew/Downloads/alfrescoMAN.war
24.11.2015 17:51:36,854 DEBUG com.bea.console.utils.Breadcrum
This file has been truncated, but you can view the full file.
springframework.beans.factory.xml.DefaultDocumentLoader Using JAXP provider [org.alfresco.xmlfactory.DocumentBuilderFactoryXercesImpl]
25.11.2015 11:06:11,928 DEBUG org.springframework.beans.factory.xml.BeansDtdResolver Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath: spring-beans.dtd
25.11.2015 11:06:11,939 DEBUG org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader Loading bean definitions
25.11.2015 11:06:11,945 DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver Looking for matching resources in jar file [/run/media/andrew/gnome/lol2/user_projects/domains/roamstar/servers/AdminServer/tmp/_WL_user/alfresco/hp7x2s/war/WEB-INF/lib/alfresco-repository-5.0.d.jar]
25.11.2015 11:06:11,956 DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver Resolved location pattern [classpath*:alfresco/extension/bootstrap/*-context.xml] to resources []
25.11.2015 11:06:11,957 DEBUG org.springframework.beans.factory.support.
[ 1.528]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[ 1.528] X Protocol Version 11, Revision 0
[ 1.528] Build Operating System: Linux 4.2.3-1-ARCH x86_64
[ 1.528] Current Operating System: Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[ 1.528] Kernel command line: initrd=\initramfs-linux.img root=/dev/nvme0n1p5 rw
[ 1.528] Build Date: 18 November 2015 08:07:09AM
[ 1.528]
[ 1.528] Current version of pixman: 0.32.8
[ 1.969]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[ 1.969] X Protocol Version 11, Revision 0
[ 1.969] Build Operating System: Linux 4.2.3-1-ARCH x86_64
[ 1.969] Current Operating System: Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[ 1.969] Kernel command line: initrd=\initramfs-linux.img root=/dev/nvme0n1p5 rw
[ 1.969] Build Date: 18 November 2015 08:07:09AM
[ 1.969]
[ 1.969] Current version of pixman: 0.32.8
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 358.16 (buildmeister@swio-display-x64-rhel04-12) Mon Nov 16 19:59:11 PST 2015
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.2.5-1-ARCH (builduser@tobias) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015
[ 0.000000] Command line: initrd=\initramfs-linux.img root=/dev/nvme0n1p5 rw
[ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100
[ 0.000000] x86/fpu: xstate_offset[3]: 03c0, xstate_sizes[3]: 0040
[ 0.000000] x86/fpu: xstate_offset[4]: 0400, xstate_sizes[4]: 0040
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
Hi, I'm new to Alfresco. I need to get inbound emails from Alfresco. Unfortunately I didn't found a better way than just crawl the emailable directory for files. So to get all users' emails I use:
import org.apache.chemistry.opencmis.client.util.FileUtils;
AfrescoDocumentImpl doc = FileUtils.getObject("emailDir/userEmail/", session);
List<CmisObject> allEmails = doc.getChilder()
Every single object has email properties, for example "cm:sentdate" or "cm:subjectline".
Now I stuck with the issue when an email has attachments and I need to get them as well. I can't find a property in AlfrescoDocumentImpl that matches my needs. I also note that if an email has attachments it would also have "attachable" aspect. I even can fetch all document that have attachments with a query: "SELECT * FROM cm:attachable" but they don't refer to the attached files. The query should be something like "Select* from cm:attachments" but attachments table isn't quaryable.
I found that /share application shows emails attachments. An
[ 14.672]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[ 14.672] X Protocol Version 11, Revision 0
[ 14.672] Build Operating System: Linux 4.2.3-1-ARCH x86_64
[ 14.672] Current Operating System: Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[ 14.672] Kernel command line: initrd=\initramfs-linux.img root=/dev/nvme0n1p5 rw
[ 14.672] Build Date: 18 November 2015 08:07:09AM
[ 14.672]
[ 14.672] Current version of pixman: 0.32.8
@akoidan
akoidan / -
Created December 5, 2015 02:05
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.2.5-1-ARCH (builduser@tobias) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015
[ 0.000000] Command line: initrd=\initramfs-linux.img root=/dev/nvme0n1p5 rw
[ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100
[ 0.000000] x86/fpu: xstate_offset[3]: 03c0, xstate_sizes[3]: 0040
[ 0.000000] x86/fpu: xstate_offset[4]: 0400, xstate_sizes[4]: 0040
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'