linagora / linshare-core Goto Github PK
View Code? Open in Web Editor NEWOpen Source secure files sharing
Home Page: http://www.linshare.org
License: GNU Affero General Public License v3.0
Open Source secure files sharing
Home Page: http://www.linshare.org
License: GNU Affero General Public License v3.0
Linshare team,
I am running Linshare Core Version 6.1.0. All has been working until recently. Now when I upload a file to Linshare and when I attempt to download I get the error "File wasn't available on-site". I have checked quotas and diskspace and both are fine. I reviewed the Tomcat logs and see the following error. What could be causing this issue?
[ERROR]:http-nio-8080-exec-8:20240110.130117:org.linagora.linshare.webservice.interceptor.BusinessExceptionMapper:toResponse:A BusinessException was caught : code=WORK_GROUP_DOCUMENT_NOT_FOUND, The underlying revision/document was not found. can not process request.
26002 The underlying revision/document was not found. can not process request.Thanks for your help
We use the new 2.2.0 feature creating workgroups from LDAP group trees.
The following constellation leads to the exception later:
`
dn: cn=workgroup-specifications (project xy),ou=fileshare,dc=adncc,dc=gro
ups,dc=top
objectClass: top
objectClass: organizationalRole
cn: workgroup-specifications (adn.adncustzone)
dn: cn=writers,cn=workgroup-specifications (project xy),ou=fileshare,dc=a
dncc,dc=groups,dc=top
objectClass: top
objectClass: organizationalRole
cn: writers
roleOccupant: uid=martin,ou=emp,ou=people,dc=OrgXy,dc=users,dc=top
`
Exception:
[ERROR]:org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-7:20181011.095000:org.linagora.linshare.ldap.JScriptGroupLdapQuery:dnToObject:The field 'extended_group_member_attr' (ldap attribute : 'roleOccupant') must exist in your ldap directory, it is required by the system. [ERROR]:org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-7:20181011.095000:org.linagora.linshare.core.batches.impl.SynchronizeLDAPGroupsInWorkgroupsBatchImpl:execute:Failure during the synchro of the domain with uuida05c6257-f282-4164-a55e-245c902519fc java.lang.NullPointerException at org.linagora.linshare.core.service.impl.LDAPGroupQueryServiceImpl.getMembers(LDAPGroupQueryServiceImpl.java:138) at org.linagora.linshare.core.service.impl.LDAPGroupQueryServiceImpl.listMembers(LDAPGroupQueryServiceImpl.java:120) at org.linagora.linshare.core.service.impl.LDAPGroupSyncServiceImpl.executeBatch(LDAPGroupSyncServiceImpl.java:274) at org.linagora.linshare.core.batches.impl.SynchronizeLDAPGroupsInWorkgroupsBatchImpl.execute(SynchronizeLDAPGroupsInWorkgroupsBatchImpl.java:102)
Version:
linshare_backend tag 2.2.0 from dockerhub.
Workaround:
Adding a dummy reader to every cn=worker- object to prevent the NPE.
Side-effect of this behavior: If this wokraround user is also a writer or contributor, he does not get the additional privileges but remains a Reader.
Note, that we use this 2nd configuration as a workgroup pattern, because your proposed posixGroup pattern is not supported by our directory (OpenLDAP) and also not according to https://ldapwiki.com/wiki/PosixGroup. You might want to adopt your sample setup and test data at https://github.com/linagora/linshare-core/blob/master/src/apacheds/resources/test.ldif.
[ { "description": "default-group-pattern", "groupMember": "member", "groupName": "cn", "groupPrefix": "workgroup-", "label": "Ldap groups", "memberFirstName": "givenName", "memberLastName": "sn", "memberMail": "mail", "searchAllGroupsQuery": "ldap.search(baseDn, \"(&(objectClass=posixGroup)(cn=workgroup-*))\");", "searchGroupQuery": "ldap.search(baseDn, \"(&(objectClass=posixGroup)(cn=workgroup-\" + pattern + \"))\");", "searchPageSize": 100, "uuid": "dfaa3523-51b0-423f-bb6d-95d6ecbfcd4c" }, { "description": "Workgroup membership management via LDAP groups.", "groupMember": "roleOccupant", "groupName": "cn", "groupPrefix": "workgroup-", "label": "sdpidm-groups", "memberFirstName": "givenName", "memberLastName": "sn", "memberMail": "mail", "searchAllGroupsQuery": "ldap.search(baseDn, \"(&(objectClass=organizationalRole)(cn=workgroup-*))\");", "searchGroupQuery": "ldap.search(baseDn, \"(&(objectClass=organizationalRole)(cn=workgroup-\"+pattern+\"))\");", "searchPageSize": 100, "uuid": "fbb6d64d-d96f-46d8-9189-76deba98621c" } ]
Thanks for fixing.
Would it be possible to implement multi buckets usage as nextcloud does?
It would be awesome to be able to use multiple buckets linagora/Twake#639
During an empirical study to understand the nature of cryptographic misuses in enterprise-driven projects on GitHub, we randomly inspected a few of the misuses. One of the misuses for which we could confirm as a true positive of the analysis, CogniCryptSAST, is in this project.
The class AbstractDocumentBusinessServiceImpl only initialises MessageDigest without calling any subsequent call. Thus, the usage is considered as a misuse of the JCA class.
I hope that the report help you to improve your project.
When configuring the 'max file size' quota parameter (for personal and shared spaces) in linshare-core 2.2.0. The limitation is shown on all domains (top and sub-domains) but it's still possible to upload files bigger than the configured size.
Configuration applied (to test the limitation functionality):
Result:
Expectation:
Minor thing but the very sophisticated quota module on the linshare_ui-admin component raises higher expectations ;-)
In linshare v2 , anonymous dowload URL pattern are as follow:
/#/external/anonymous/SOME-RANDOM-UUID
As #
is basically just an anchor, the URL requested to the server is simply /
(as anchors never go on the wire).
This makes it impossible, for instance, to apply specific policy based on URL pattern. As a concrete example it is not possible to use an SSO system that would take care of linshare user UI (served at the root of the site) authentication but still allow anonymous users to download files shared via Linshare (as from the server perspective, the URL is identical).
Hi,
I setup LinShare on tomcat9 and java11. (Debian 10)
I tried to login to admin panel, only login form repeatedly appears and can't login.
127.0.0.1 - - [08/Dec/2019:09:06:09 +0900] "GET /linshare/webservice/rest/user/v2/authentication/authorized HTTP/1.1" 401 1168
127.0.0.1 - - [08/Dec/2019:09:06:49 +0900] "GET /linshare/webservice/rest/admin/authentication/authorized?ignoreAuthModule=true HTTP/1.1" 200 358
127.0.0.1 - - [08/Dec/2019:09:06:50 +0900] "GET /linshare/webservice/rest/admin/authentication/version HTTP/1.1" 401 1168
127.0.0.1 - - [08/Dec/2019:09:06:50 +0900] "GET /linshare/webservice/rest/admin/upgrade_tasks HTTP/1.1" 401 1168
127.0.0.1 - - [08/Dec/2019:09:06:50 +0900] "GET /linshare/webservice/rest/admin/authentication/authorized HTTP/1.1" 401 1168
127.0.0.1 - - [08/Dec/2019:09:06:50 +0900] "GET /linshare/webservice/rest/admin/authentication/authorized?ignoreAuthModule=true HTTP/1.1" 401 1122
127.0.0.1 - - [08/Dec/2019:09:06:50 +0900] "GET /linshare/webservice/rest/admin/authentication/authorized?ignoreAuthModule=true HTTP/1.1" 401 1122
127.0.0.1 - - [08/Dec/2019:09:06:50 +0900] "GET /linshare/webservice/rest/admin/authentication/authorized?ignoreAuthModule=true HTTP/1.1" 401 1122
Anyone can help me?
Hi,
I'm trying to deploy LinShare using a docker image but am facing the following error.
I tried the image linshare-backend:4.2.3 (and different other versions) with the associated linshare-database image. The indicated sequence exists in the database.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [/usr/local/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/usr/local/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing sequence [hibernate_sequence]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1702)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1447)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 56 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/usr/local/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing sequence [hibernate_sequence]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1799)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 66 more
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing sequence [hibernate_sequence]
at org.hibernate.tool.schema.internal.AbstractSchemaValidator.validateSequence(AbstractSchemaValidator.java:184)
at org.hibernate.tool.schema.internal.AbstractSchemaValidator.performValidation(AbstractSchemaValidator.java:100)
at org.hibernate.tool.schema.internal.AbstractSchemaValidator.doValidation(AbstractSchemaValidator.java:68)
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:73)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:318)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:468)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:616)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:600)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1858)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1795)
Can you help please?
This link will return to the home page of the group
Seems that anonymous sharing needs some additional love:
[ERROR]:http-nio-8080-exec-5:20181003.134413:org.linagora.linshare.webservice.interceptor.GenericExceptionMapper:toResponse:A NullPointerException was caught : null. java.lang.NullPointerException at org.linagora.linshare.core.notifications.dto.Share.<init>(Share.java:89) at org.linagora.linshare.core.notifications.emails.impl.ShareNewShareEmailBuilder.buildMailContainer(ShareNewShareEmailBuilder.java:91) at org.linagora.linshare.core.notifications.emails.impl.EmailBuilder.build(EmailBuilder.java:256) at org.linagora.linshare.core.notifications.service.impl.MailBuildingServiceImpl.build(MailBuildingServiceImpl.java:320) at org.linagora.linshare.core.service.impl.AnonymousShareEntryServiceImpl.create(AnonymousShareEntryServiceImpl.java:152) at org.linagora.linshare.core.service.impl.ShareServiceImpl.create(ShareServiceImpl.java:197) at org.linagora.linshare.core.facade.webservice.user.impl.ShareFacadeImpl.create(ShareFacadeImpl.java:227)
Seems that the expirationDate on the way from linshare_ui-user to this code get's lost.
I also had the problem, that in additional options to set an expiration date was not possible in my firefox/62.0.2 and chrome/68.0.3440.106 using the mouse (using cursor keys to move the date or writting it manually was ok), so the linshare_ui-user SPA's widget seems to not do what calendar widgets usually do.
No big deal, we currently do not intend to use the anonymous sharing.
Hi all,
I've 2 OU with user in my AD.
Actually, the OU is mentioned in the BaseDN field and i can attribute a differente domain for each user.
I search the solution to have 2 OU in one query ldap.
Any idea?
Hello,
I have successfully installed Linshare and LDAP to my local ubuntu 16.04 server
I now need to connect Linshare to LDAP, but I can't get the application to connect and pull users information
Please help on this
S3 storage mode doesn't work for AWS regions not supporting requests signature version 2. Tested on eu-central-1, here is the exception in the logs
org.jclouds.http.HttpResponseException: request: HEAD https://s3-eu-central-1.amazonaws.com/redacted HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request
same setup on eu-west-1 is working
jclouds supports V4 signature in the version included in linshare
I don't have much time to work on this mostly because I'm new to linshare. If the effort is light I'd appreciate some pointers to fix this
I have similar Problem like DRAKUN in his synchronisation AD#1 issue.
I already set log4j.category.org.linagora.linshare=debug for debugging.
I use Version 1.5.5.
Lap Connection seems to work. Also some kind of query gives results....
But after Query my user called Hammer I get this (I get also this error for any other user):
[DEBUG]:http-bio-8080-exec-10:20140605.212112:org.linagora.linshare.ldap.JScriptLdapQuery:logLqlQuery:lql command ldap.search(domain, "(&(objectClass=user)(mail="+mail+")(givenName="+first_name+")(sn="+last_name+"))");
[DEBUG]:http-bio-8080-exec-10:20140605.212112:org.linagora.linshare.ldap.JScriptLdapQuery:logLqlQuery:first_name: *
[DEBUG]:http-bio-8080-exec-10:20140605.212112:org.linagora.linshare.ldap.JScriptLdapQuery:logLqlQuery:last_name: Hammer
[DEBUG]:http-bio-8080-exec-10:20140605.212112:org.linagora.linshare.ldap.JScriptLdapQuery:logLqlQuery:ldap filter : ldap.search(domain, "(&(objectClass=user)(mail=)(givenName=)(sn=Hammer))");
[DEBUG]:http-bio-8080-exec-10:20140605.212112:org.linagora.linshare.ldap.LinShareDnList:getDnListWithPagination:entry name : CN=Hammer, Anna,OU=AAV,OU=AA
[DEBUG]:http-bio-8080-exec-10:20140605.212112:org.linagora.linshare.ldap.LinShareDnList:getDnListWithPagination:entry name : CN=Hammer, Marcus,OU=IT
[ERROR]:http-bio-8080-exec-10:20140605.212112:org.linid.dm.authorization.lql.ScriptableObject:wrap:Programmatic error : java.lang.reflect.InvocationTargetException
...
And all Following Exceptions and InnerExceptions.... So it seems the User Query for the user works (returned me and my wife from Active Directory). But the follow up commands seems to Crash. I can provide the whole StackTrace if needed....
This are my Domain query policies. I checked them with the AD custom query, they are working. So the AD query syntax seems not to be the problem.
auth Command
ldap.search(domain, "(&(objectClass=user)(mail=)(givenName=)(sn=*)(|(mail="+login+")))");
searchUser command
ldap.search(domain, "(&(objectClass=user)(mail="+mail+")(givenName="+first_name+")(sn="+last_name+"))");
Auto Complete Command On All Attributes:
ldap.search(domain, "(&(objectClass=user)(mail=)(givenName=)(sn=*)(|(mail=" + pattern + ")(sn=" + pattern + ")(givenName=" + pattern + ")))");
Auto Complete Command On First and Last Name:
ldap.search(domain, "(&(objectClass=user)(mail=)(givenName=)(sn=*)(|(&(sn=" + first_name + ")(givenName=" + last_name + "))(&(sn=" + last_name + ")(givenName=" + first_name + "))))");
hello,
I can not syncrhoniser ad and LinShare, here is an overview of my configuration files..
identifiant : MY_LDAP
url ldap://192.168.1.2:389
Principal : CN=admin,DC=drak,DC=corp
credentials : P@ssw0rd
commande auth
ldap.search(domain, "(&(objectClass=User)(mail=*)(givenName=*)(cn=*)(|(mail="+login+")(sAMAccountName="+login+")))");
commande searchuser
ldap.search(domain, "(&(objectClass=user)(mail="+mail+")(givenName="+firstName+")(sn="+lastName+"))");
attribut email : mail
attribut prénom : givenName
attribut nom de famille : sn
ldap uid : sAMAccountName
autocomplete commande on all
ldap.search(domain, "(&(objectClass=*)(mail=*)(givenName=*)(sn=*)(|(mail=" + pattern + ")(sn=" + pattern + ")(givenName=" + pattern + ")))");
autocomplete commande on first
ldap.search(domain, "(&(objectClass=*)(mail=*)(givenName=*)(sn=*)(|(&(sn=" + firstName + ")(givenName=" + lastName + "))(&(sn=" + lastName + ")(givenName=" + firstName + "))))");
propriété du domaine
clé diférentielle : dc=drake,dc=corp
Please someone can help me
Is there a way to create folders? If not let it be a feature-request. Thanks
Hi there,
When I share a file from internal account to another internal account, the mail language is always English, impossible to have another one (like french, that is supported in the GUI).
On the other hand, from internal account to external, it is OK.
I have setup Linshare v2 and it seems to work.
I can upload files and share them with external users.
Recipient receives the notification email with valid links ( although some images do not display properly... but that's a different topic).
However when recipient clicks on the link, the anonymous download page is displayed properly but when I click on the file or on the download button, nothing happens (the progress bar loads forever) and I get the exception bellow on the core side:
[ERROR]:http-nio-8080-exec-7:20170510.015828:org.apache.cxf.jaxrs.utils.JAXRSUtils:logMessageHandlerProblem:Problem with writing the data, class java.io.FileInputStream, ContentType: application/x-matroska
[ERROR]:http-nio-8080-exec-7:20170510.015828:org.linagora.linshare.webservice.interceptor.GenericExceptionMapper:toResponse:A NullPointerException was caught : java.net.SocketTimeoutException.
org.apache.catalina.connector.ClientAbortException: java.net.SocketTimeoutException
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:389)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:344)
at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:414)
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:402)
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:197)
at org.apache.cxf.helpers.IOUtils.copyAndCloseInput(IOUtils.java:156)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.copyInputToOutput(BinaryDataProvider.java:194)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:154)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1381)
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:120)
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:83)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:253)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:222)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:207)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1580)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1537)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketTimeoutException
at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:134)
at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:173)
at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:139)
at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:197)
at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41)
at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:320)
at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:84)
at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:257)
at org.apache.coyote.Response.doWrite(Response.java:492)
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:384)
... 58 more
[ERROR]:http-nio-8080-exec-7:20170510.015828:org.apache.cxf.jaxrs.utils.JAXRSUtils:logMessageHandlerProblem:No message body writer has been found for class org.linagora.linshare.core.facade.webservice.common.dto.ErrorDto, ContentType: application/x-matroska
[INFO]:http-nio-8080-exec-7:20170510.015828:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:GET:/linshare/webservice/rest/external/anonymousurl/075b7b20-fcc7-43fb-8b5d-35127b0b27d4/96ed489e-06d7-49eb-8a49-c11a3ce018c7/download : Request time: 176689 ms
[ERROR]:http-nio-8080-exec-6:20170510.015829:org.apache.cxf.jaxrs.utils.JAXRSUtils:logMessageHandlerProblem:Problem with writing the data, class java.io.FileInputStream, ContentType: application/x-matroska
[ERROR]:http-nio-8080-exec-6:20170510.015829:org.linagora.linshare.webservice.interceptor.GenericExceptionMapper:toResponse:A NullPointerException was caught : java.net.SocketTimeoutException.
org.apache.catalina.connector.ClientAbortException: java.net.SocketTimeoutException
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:389)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:344)
at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:414)
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:402)
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:197)
at org.apache.cxf.helpers.IOUtils.copyAndCloseInput(IOUtils.java:156)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.copyInputToOutput(BinaryDataProvider.java:194)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:154)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1381)
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:120)
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:83)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:253)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:222)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:207)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1580)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1537)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketTimeoutException
at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:134)
at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:173)
at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:139)
at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:197)
at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41)
at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:320)
at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:84)
at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:257)
at org.apache.coyote.Response.doWrite(Response.java:492)
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:384)
... 58 more
[ERROR]:http-nio-8080-exec-6:20170510.015829:org.apache.cxf.jaxrs.utils.JAXRSUtils:logMessageHandlerProblem:No message body writer has been found for class org.linagora.linshare.core.facade.webservice.common.dto.ErrorDto, ContentType: application/x-matroska
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.