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(SessionFactoryUtils.java:121) at oracle.webcenter.collab.share.SessionFactoryUtils.findDefaultConnection(SessionFactoryUtils.java:172) at oracle.webcenter.collab.announcement.view.backing.AnnouncementUtil.doExtAppCheck(AnnouncementUtil.java:196) at oracle.webcenter.collab.announcement.view.backing.AnnouncementActionHandler.doInitializeMiniView(AnnouncementActionHandler.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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 > 18.104.22.168).By 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 – ./startManagedWebLogic.sh 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…