Solution for no connections available for: Discussion Forum oracle.webcenter.collab.share.NotFoundException

Requirement- I am working on webcenter spaces application. I am getting this error in spaces server log.Why i am getting this.

error look like –

 <oracle.webcenter.collab.announcement.view.backing.AnnouncementUtil> <WCS-04014> <no connections available for: Discussion Forum
oracle.webcenter.collab.share.NotFoundException: no connections available for: Discussion Forum
        at oracle.webcenter.collab.share.SessionFactoryUtils.lookupConnectionNames(
        at oracle.webcenter.collab.share.SessionFactoryUtils.findDefaultConnection(
        at oracle.webcenter.collab.announcement.view.backing.AnnouncementUtil.doExtAppCheck(
        at oracle.webcenter.collab.announcement.view.backing.AnnouncementActionHandler.doInitializeMiniView(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.sun.el.parser.AstValue.invoke(Unknown Source)
        at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)

Solution – I don’t want this error in my log.And in my spaces application , i am using custom task flow and using as jar in webcenter spaces application.I am not using discussion service.Why we getting that.

By default if you installed WebCenter Spaces, you should have already 3 other Managed Servers like WC_Collab WC_Utils and WC_Portlets, start WC_Collab (or WC_Collaboration in > default WebCenter Spaces is expecting a discussion connection since most of the spaces templates require discussion services, but if you created your own Space Template you should not face this error.Also you should be able to configure the WebCenter Spaces with Discussion even if you are not willing it, since it already comes with the WebCenter installation, so solution will be creating the discussion connection in Enterprise manager (EM).

-> Start WC_Collaboration server in weblogic console as depicted in picture below –


-> In Linux navigate under oracle home with following path –
Use this command – cd oracle/Middleware/user_projects/domains/ucm_domain/bin/
And run this command – ./ WC_Colloaboration
-> Please hit url i.e. http://ipaddress:8890/owc_discussions , if you see page of community forum like below, that specify ,server for WC_Colloaboration is running

-> Login into http://ipaddress:7001/em as weblogic
-> Expand webcenter and then webcenter spaces and right click, select service configuration.


-> Select Discussion and Announcement


-> Click Add and fill information as below


-> Please checked Active Connection checkbox and restart server.
-> Run OCC application, discussion forum error will not come again.

That is all. we are done

BTW , this is 300 post of Techartifact… long way to go… thanks everyone for supporting…

happy learning with Vinay in techartifact…


I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube