Increase file upload size in webcenter spaces application

Requirement – To increase the maximum file upload size in WebCenter Spaces
Implementation – In my spaces application, we are not able to upload file size more than 2 MB. Requirement to upload upto 20MB. WebCenter Spaces PS4 should be setup to allow uploads up to 2Gb.After digging a littler found this

Those are the steps to change the default “max-filesize” to your requirement.For this you need to export metadata for application.Check out my previous blog entry on Change metadata in MDS/ Metadata command for weblogic.

->Find webcenter or wlst.cmd and runit.
->Connect to admin server with this command:


->Now export the metadata that defines the “uploadedFileMaxDiskSpace” parameter.


-> Modify the file “webcenter-config.xml” and locate the line with this parameter.


-> Save the file and proceed to the upload, reconnect to and Connect again to admin server


-> Execute the upload command:


-> Restart WC_Spaces managed server .

That’s it.Now you can upload upto 20 MB. Change the requirement according to your specification.

Happy learning with Vinay in techartifact.

Debugging Taskflows in WebCenter Spaces

Requirement – Debugging Taskflows in WebCenter Spaces

One way of setting this up is to modify the (linux) that will start Spaces. This script is located in the /user_projects/domains//bin directory.

In the new file locate the section that declares the JAVA_OPTIONS. Modify the file and add the debug java options:

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n

to the JAVA_OPTIONS. For example, in my file I added this option in front of the existing option already there:

JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"/home/oracle/Middleware/wlserver_10.3/server/lib/cacerts" ${JAVA_OPTIONS}"

Once this is done you will be able to use this script to start Spaces in debug mode. To check to see if the option has been enabled you will see the reference to the debug mode: Listening for transport dt_socket at address: 4000 in the Spaces terminal window.

Configuring JDeveloper

The next step is to enable the remote debugging feature for your project in JDeveloper. To do this, go to your project’s properties. Select the Run/Debug/Profile section, and click the Edit button for the “default” setting. This will bring up a dialog where you can check the Remote Debugging option.

For more information read this

Happy Debugging with Vinay Kumar in techartifact…