cancel
Showing results for 
Search instead for 
Did you mean: 

xml forms - Error handling HTTP request

Former Member
0 Kudos
159

Hello,

We have installed portal 6.0

I've made some forms with the xml form builder, imported them into IViews (KM navigation IView) and assigned the IViews to a role

The Iview shows the RenderListItem form

Every Iview (RenderListItem form) has a "new item" button

Every record of the iview has a edit-delete action

When I press the "new item" button or the edit button (or save button) I get the following error:

Error handling HTTP request. Check the log file for more information.

java.lang.RuntimeException: Context is unavailable!

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.(DMSRMConnection.java:83)

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getGenericValueList(DMSRMR3FunctionCalls.java:6532)

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryList(DMSRMR3FunctionCalls.java:6360)

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMLaboratoryValueProvider.getAllowedValues(DMSRMLaboratoryValueProvider.java:79)

at com.sapportals.wcm.service.propertyconfig.config.MetaName.getAllowedValues(MetaName.java:781)

at com.sapportals.wcm.service.propertyconfig.config.MetaName.allowedValueIterator(MetaName.java:472)

at com.sapportals.wcm.service.xmlforms.ResourceProperties.appendAllowedValues(ResourceProperties.java:713)

at com.sapportals.wcm.service.xmlforms.ResourceProperties.mergeProperty(ResourceProperties.java:682)

at com.sapportals.wcm.service.xmlforms.ResourceProperties.mergePropertiesIntoDom(ResourceProperties.java:611)

at com.sapportals.wcm.service.xmlforms.transformation.HtmlGenerator.getHtmlStream(HtmlGenerator.java:116)

at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:391)

at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:336)

at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:188)

at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:165)

at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)

at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doPost(XFBaseServlet.java:261)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)

at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

This error doesn't always appear, there are times that the portal works correct and when I can add items, edit them and save my changes

Does anyone have an idea where the error comes from? In what direction I have to search? How I can solve this problem?

Thanks in advance, points will be distributed for helpfull answers

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vicky,

I had the same problem and solved it with this steps:

1.Open XML forms

2.Click on menu "option" and then choose "Path"

3. Write the path where the xml forms definition should be placed. In my case it was "/etc/xmlforms"

4. save project

5. Generate project

6. Exit

7 test it

Regards,

Mesut Efe

Former Member
0 Kudos

Thank you very much for your answer, it solved my problem

Points are awarded

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Vicky,

if I understand you correctly, you placed the save,etc. buttons on the form on the RenderListItem and not to the Edit Form.

Than you have to place this buttons on the Edit form and not on the RenderListForm.

The edit and delete buttons can be added with choosing the correct LayoutSet (Or creating your own) for example NewsExplorer.

This LayoutSet allows you as well to create new items with the menu of the folder (New -> form)

Hope this helps,

Axel

Former Member
0 Kudos

Hi,

I didn't place a save button on the RenderListItem but on the Edit form so this couldn't be the issue...

I solved the error I got when I wanted to save my form

The edit and delete buttons also work correct...

I only get the error mentioned above when I press the "new form" button, I created that button with the CreateXMLForms action group that I added in my Collection Grid renderer settings (option collection command group)

Then I changed my form availibility (System administration ->system configuration ->KM->CM->form based publishing->form availibility->folder settings)

I created the following folder settings:

foldername//priority//path//forms to exclude//forms to include

library//10 //documents/testlibrary//Smarties, QnA,SAP_APP_News//library

News //10 //documents/News//smarties, library, QnA// SAP_APP_News

QnA //10 //documents/testQuestionAnswer// SAP_APP_News, smarties, library //QnA

Smarties //10 /documents/testSmarties

Did I do something wrong here? What can cause this error? In what direction should I search?

Former Member
0 Kudos

Vicky:

I'm having the same problem.

Please if you find any solution before I do let me know.

Refer to Thread https://forums.sdn.sap.com/thread.jspa?threadID=260621&tstart=0

Kind regards,

Ivan

Former Member
0 Kudos

Hi,

I didn't find a solution yet but recently I installed Internet Explorer 7 and the error doesn't appear as often as before...