cancel
Showing results for 
Search instead for 
Did you mean: 

XML form error

Former Member
0 Kudos

Hi,

Currently I'm using EP 7.0

I've recently set up xml forms where I performed the following actions

- create forms with the xml form builder

- create new layoutset, resource renderer, collection renderer, action group,...

- create KM navigation iView

- added the iView to a page

Everything worked just fine untill we installed service pack 10

Now I can't see my "RenderListItem" page correctly

In some forms I get the error "Resource cannot be displayed with XMLResourceRenderer", in other forms I don't get an error displayed on the screen. The screen is just empty.

There is one "renderlistitem" screen that works correctly but normally when I press the link for more information I get the "show" form

Now I get the xml form (so without the layout)

When I press the "new form" button I get the following error:

XML - Forms

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.DMSRMR3FunctionCalls.getLaboratoryDescription(DMSRMR3FunctionCalls.java:6385)

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMLaboratoryValueProvider.getValueLabel(DMSRMLaboratoryValueProvider.java:47)

at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:48)

at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.getLocalizedPropertyValue(PropertyLocalizer.java:294)

at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.localize(PropertyLocalizer.java:208)

at com.sapportals.wcm.service.xmlforms.transformation.TransformationHelper.localizeProperties(TransformationHelper.java:64)

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

at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderTemplate(Transformation.java:265)

at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:279)

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

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

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

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:333)

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:645)

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:522)

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:401)

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

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

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

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

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

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

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

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)

OK

This error doesn't only appear for my xmlforms but for every xml form. Even the ones SAP created and delivered standard with the portal.

When I create a new form and assign it to an iView, I also get the java error

Any one an idea what to do?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

My problem had nothing to do with the installation of the SP10 but with the propagation of properties form

I accedently changed the Item type of the forms. The item type of the xml forms must remain "Form-based publishing."

This resolved the problem of not viewing the forms correctly

There was also some kind of synchronization problem due to the installation of the DMS connector

We don't use the connector any more so I unployed it using the SDM tool... There went something wrong because the undeployement didn't affect the properties linked to the dms connector

When checking the properties (System Administration -> System Configu-

ration -> Knowledge Management -> Content Management -> Global Services

-> Property Metadata -> Properties) I could see that the properties

were not changed by the new deployment. So I manually changed property

dmsrm_laboratory ('Folder Validity Pattern' and 'Document Validity

Pattern' changed from '/' to '/dmsrm/**').

This resolved the problem of creating new xml forms

Former Member
0 Kudos

Hi Vicky,

Am facing the same problem, we are on SP10.

Could you further explain how you resolved this problem ? When you mean xml forms must remain "form-based publishing" where exactly can I change this ?

It would be grateful, if you can provide me with these details..as we are facing the exact problem and the java error, you had faced.

Thanks much in advance,

Anupama

Former Member
0 Kudos

First check whether you can create new xml forms

If not go to content management --> metadata -->properties and change all the properties of the dms connector (they all start with dmsrm)

Change the documents and folder vadility to /dmsrm/** in stead of /

Normally your problem to create xmlforms should be solved

Now to view your xmlforms you have to:

If you go to the folder where your xmlforms are stored (for example /documents/newsitems)

Then you choose details --> properties

The property "type" under the system group should be "Form-based publishing"

If not, I used the excel integration to change the property

more info on:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9bfc45ba-0b01-0010-4890-da85753f...

the best way to change the itemtype to the right value is to create a new xml form and just copy the value of the item type property using the excel

Former Member
0 Kudos

Vicky,

Thanks very much, it is working now. I am not sure why dmsrm could cause the problem.

How do I award points for you Vicky, your answer has helped us.

Have a good day !

Cheers,

Anupama

Former Member
0 Kudos

Hi,

You can't award points to me because I opened the question

Maybe you can be generous the next time

Have a nice day

Former Member
0 Kudos

Hi Vicky,

I have awarded full points to you in the other question I had raised regarding the XML forms builder...

cheers,

Anu