3 Replies Latest reply: Jun 3, 2009 2:40 AM by 422463 RSS

    Problem in Uploading file to Content DB

    596581
      Hi All,

      We are trying to upload files to Content DB by right clicking and selecting default upload functionality in CDB. Files with small size are uploading fine. But when we try to upload the files of size in MBs the page is processing for some time and after that it is giving Internet Explorer cannot display the Web page without uploading the file. The Library to which we are trying to upload is having enough quota to upload large size files.

      Can anyone please give us the solution for the problem we are getting?

      Thanks
      Eswari
        • 1. Re: Problem in Uploading file to Content DB
          422463
          you have the same behavior with Firefox? I am able to upload files of 20 Mb in less than 10 seconds. what is the size of the file you are trying to upload?
          regards
          • 2. Re: Problem in Uploading file to Content DB
            596581
            Hi Florin,

            Thanks for our reply.

            We tried to upload files of size more than 100 MB. Files of size upto 50MB are able to upload normally, but files of size more than 50 MB are failing to upload. Even we tried in firefox and not able to upload. Checked in the log of CDB AS and found the exception as displayed below

            09/06/02 03:00:08 content: [oracle.ifs.fdk.impl.LoginManagerImpl] [31] 29483191 orcladmin INFO: User: orcladmin; FdkSessions = 0

            09/06/02 03:00:08 content: [oracle.ifs.fdk.impl.FdkUserSessionImpl] [31] 29483191 orcladmin INFO: LibrarySession pool: [User: orcladmin;
              Avail = 0; In Use = 0; Total = 0; References = 0; MaxUsed = 4]

            09/06/02 03:00:42 content: [oracle.ifs.fdk.ExceptionLogger] [43] 29462173 rlmsadmin SEVERE: Exception ID: 3-1243926042991

            ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError

            at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:181)

            at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:74)

            at oracle.ifs.fdk.impl.FileManagerImpl.createDocumentDefinitions(FileManagerImpl.java:1110)

            at oracle.ifs.fdk.impl.FileManagerImpl.createDocumentDefinition(FileManagerImpl.java:963)

            at oracle.ifs.web.webapp.EcmUploadedFileProcessor.processFile(EcmUploadedFileProcessor.java:115)

            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doUploadFile(AdfFacesFilterImpl.java:367)

            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:231)

            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)

            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)

            at oracle.ifs.web.webapp.FilesApplicationFilter.doFilter(FilesApplicationFilter.java:93)

            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)

            at oracle.ifs.web.webapp.SetEncodingFilter.doFilter(SetEncodingFilter.java:43)

            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)

            at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:124)

            at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)

            at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)

            at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)

            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)

            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)

            at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)

            at java.lang.Thread.run(Thread.java:534)

            Caused by: oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject

            oracle.ifs.common.IfsException: IFS-32211: Error transferring content into media

            com.evermind.server.http.HttpIOException: Broken pipe

            at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:10296)

            at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:10333)

            at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:10315)

            at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:10113)

            at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:11394)

            at oracle.ifs.beans.PublicObject.handleCreate(PublicObject.java:2493)

            at oracle.ifs.ecm.beans.EcmDocument.handleCreate(EcmDocument.java:1692)

            at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:4583)

            at oracle.ifs.beans.DefinitionObject.createContentProperties(DefinitionObject.java:838)

            at oracle.ifs.beans.DefinitionObject.updateDefinition(DefinitionObject.java:462)

            at oracle.ifs.beans.DefinitionObject.postCreate(DefinitionObject.java:256)

            at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:4592)

            at oracle.ifs.beans.DefinitionObject.createEmbeddedDefinitionObject(DefinitionObject.java:884)

            at oracle.ifs.beans.DefinitionObject.createDefinitionProperties(DefinitionObject.java:704)

            at oracle.ifs.beans.DefinitionObject.updateDefinition(DefinitionObject.java:456)

            at oracle.ifs.beans.DefinitionObject.postCreate(DefinitionObject.java:256)

            at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:4592)

            at oracle.ifs.fdk.impl.FileManagerImpl.createDocumentDefinitions(FileManagerImpl.java:1104)

            ... 18 more

            Caused by: oracle.ifs.common.IfsException: IFS-32211: Error transferring content into media

            com.evermind.server.http.HttpIOException: Broken pipe

            at oracle.ifs.server.S_Media.transferContent(S_Media.java:3456)

            at oracle.ifs.server.S_Media.setContentStream(S_Media.java:2725)

            at oracle.ifs.server.S_Media.setContent(S_Media.java:2521)

            at oracle.ifs.server.S_ContentObject.setContent(S_ContentObject.java:537)

            at oracle.ifs.server.S_ContentObject.extendedPreInsert(S_ContentObject.java:327)

            at oracle.ifs.server.S_LibraryObject.preInsert(S_LibraryObject.java:1924)

            at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:3178)

            at oracle.ifs.server.S_LibrarySession.createSystemObjectInstance(S_LibrarySession.java:10498)

            at oracle.ifs.server.S_Document.setContentObject(S_Document.java:693)

            at oracle.ifs.server.S_Document.extendedPreInsert(S_Document.java:381)

            at oracle.ifs.server.S_LibraryObject.preInsert(S_LibraryObject.java:1924)

            at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:3178)

            at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:10292)

            ... 35 more

            Caused by: com.evermind.server.http.HttpIOException: Broken pipe

            at com.evermind.server.http.EvermindServletInputStream.read(EvermindServletInputStream.java:92)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:265)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler.access$000(MultipartFormHandler.java:36)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler$MultipartFormItemImpl$MultipartInputStream.readLine(MultipartFormHandler.java:669)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler$MultipartFormItemImpl$MultipartInputStream.read(MultipartFormHandler.java:712)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler$MultipartFormItemImpl$MultipartInputStream.read(MultipartFormHandler.java:737)

            at oracle.ifs.server.S_Media.transferContent(S_Media.java:3420)

            ... 47 more

            FdkException Details: oracle.ifs.fdk.FdkException: ErrorCode = ORACLE.FDK.UnexpectedError; DetailedErrorCode = ORACLE.FDK.ServerError;
            Cause = IFS-30002: Unable to create new LibraryObject; ServerStackTraceId = 3-1243926042991; Info = null; Entries = null

            09/06/02 03:00:42 content: [oracle.ifs.web.webapp.EcmUploadedFileProcessor] [43] 29462173 rlmsadmin SEVERE: oracle.ifs.fdk.FdkException:
            ErrorCode = ORACLE.FDK.UnexpectedError; DetailedErrorCode = ORACLE.FDK.ServerError; ServerStackTraceId = 3-1243926042991; Info = null;
            Entries = null

            Exception Stack Trace:

            ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError

            at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:181)

            at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:74)

            at oracle.ifs.fdk.impl.FileManagerImpl.createDocumentDefinitions(FileManagerImpl.java:1110)

            at oracle.ifs.fdk.impl.FileManagerImpl.createDocumentDefinition(FileManagerImpl.java:963)

            at oracle.ifs.web.webapp.EcmUploadedFileProcessor.processFile(EcmUploadedFileProcessor.java:115)

            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doUploadFile(AdfFacesFilterImpl.java:367)

            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:231)

            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)

            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)

            at oracle.ifs.web.webapp.FilesApplicationFilter.doFilter(FilesApplicationFilter.java:93)

            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)

            at oracle.ifs.web.webapp.SetEncodingFilter.doFilter(SetEncodingFilter.java:43)

            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)

            at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:124)

            at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)

            at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)

            at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)

            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)

            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)

            at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)

            at java.lang.Thread.run(Thread.java:534)

            Caused by: oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject

            oracle.ifs.common.IfsException: IFS-32211: Error transferring content into media

            com.evermind.server.http.HttpIOException: Broken pipe

            at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:10296)

            at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:10333)

            at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:10315)

            at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:10113)

            at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:11394)

            at oracle.ifs.beans.PublicObject.handleCreate(PublicObject.java:2493)

            at oracle.ifs.ecm.beans.EcmDocument.handleCreate(EcmDocument.java:1692)

            at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:4583)

            at oracle.ifs.beans.DefinitionObject.createContentProperties(DefinitionObject.java:838)

            at oracle.ifs.beans.DefinitionObject.updateDefinition(DefinitionObject.java:462)

            at oracle.ifs.beans.DefinitionObject.postCreate(DefinitionObject.java:256)

            at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:4592)

            at oracle.ifs.beans.DefinitionObject.createEmbeddedDefinitionObject(DefinitionObject.java:884)

            at oracle.ifs.beans.DefinitionObject.createDefinitionProperties(DefinitionObject.java:704)

            at oracle.ifs.beans.DefinitionObject.updateDefinition(DefinitionObject.java:456)

            at oracle.ifs.beans.DefinitionObject.postCreate(DefinitionObject.java:256)

            at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:4592)

            at oracle.ifs.fdk.impl.FileManagerImpl.createDocumentDefinitions(FileManagerImpl.java:1104)

            ... 18 more

            Caused by: oracle.ifs.common.IfsException: IFS-32211: Error transferring content into media

            com.evermind.server.http.HttpIOException: Broken pipe

            at oracle.ifs.server.S_Media.transferContent(S_Media.java:3456)

            at oracle.ifs.server.S_Media.setContentStream(S_Media.java:2725)

            at oracle.ifs.server.S_Media.setContent(S_Media.java:2521)

            at oracle.ifs.server.S_ContentObject.setContent(S_ContentObject.java:537)

            at oracle.ifs.server.S_ContentObject.extendedPreInsert(S_ContentObject.java:327)

            at oracle.ifs.server.S_LibraryObject.preInsert(S_LibraryObject.java:1924)

            at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:3178)

            at oracle.ifs.server.S_LibrarySession.createSystemObjectInstance(S_LibrarySession.java:10498)

            at oracle.ifs.server.S_Document.setContentObject(S_Document.java:693)

            at oracle.ifs.server.S_Document.extendedPreInsert(S_Document.java:381)

            at oracle.ifs.server.S_LibraryObject.preInsert(S_LibraryObject.java:1924)

            at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:3178)

            at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:10292)

            ... 35 more

            Caused by: com.evermind.server.http.HttpIOException: Broken pipe

            at com.evermind.server.http.EvermindServletInputStream.read(EvermindServletInputStream.java:92)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:265)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler.access$000(MultipartFormHandler.java:36)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler$MultipartFormItemImpl$MultipartInputStream.readLine(MultipartFormHandler.java:669)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler$MultipartFormItemImpl$MultipartInputStream.read(MultipartFormHandler.java:712)

            at oracle.adfinternal.view.faces.share.util.MultipartFormHandler$MultipartFormItemImpl$MultipartInputStream.read(MultipartFormHandler.java:737)

            at oracle.ifs.server.S_Media.transferContent(S_Media.java:3420)

            ... 47 more

            Thanks
            Eswari
            • 3. Re: Problem in Uploading file to Content DB
              422463
              Hi,

              a. What CDB version do you use?

              b. are you able to upload the desired file via other protocols : FTP, WebDav, odrive?

              c. there is a setting for malicious upload in the Administrator's Guide:
              Malicious Uploads
              Because user quota is managed asynchronously through the Quota Agent, it is possible for a malicious user to upload a very large file for filling up disk space. To prevent such attacks, you can limit the size of any single file uploaded to Oracle Content DB by setting the IFS.DOMAIN.MEDIA.CONTENTTRANSFER.
              ContentLimit domain property. If you try to upload a file beyond the specified limit, then the upload fails. This limit does not apply to administrators.
              When this property is set to 0, the default value, the content limit is disabled. You will be able to upload any file whose size is within the last calculated available quota, as of the beginning of the upload.
              If you choose to set this limit, make sure the value you specify is not too low so that regular users do not encounter upload failures when uploading large files.
              See "Changing Domain Properties" on page 8-1 for more information about setting the IFS.DOMAIN.MEDIA.CONTENTTRANSFER.ContentLimit property.

              By default is zero.

              d. Are you able to upload the files via the provided WS?

              e. maybe try to open a SR with oracle support with the log of CDB instance

              regards,
              Florin