Don't give up yet. Paste your full stack trace to get a solution.
javax.portlet.PortletModeException: Portlet mode "edit" is not allowed in current context
at oracle.webdb.wsrp.server.PortletURLImpl.setPortletMode(Unknown Source)
You have a different solution? A short tip here would help you and many other users who saw this issue last week.