Skip to Content
author's profile photo Former Member
Former Member

XML Forms delete on create

Hi,

I'm facing a strange behavior. When creating new itens with XML Forms, sometimes, other itens that already existent, are deleted.

Any suggestion?

Regards

John

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2005 at 12:29 PM

    Hi John,

    Are you sure that things are getting deleted, or is

    it possible that they are not being displayed? You

    might try accessing the items using the WebDAV URL

    from one of the folders above that one. You will

    find this in the folder details under Settings >

    Properties, on the Access Links tab. There is an

    MS bug for long webfolder names, so you might have to

    go up a level or two to switch to webfolder browsing.

    Browse into the appropriate folder and look if there

    are some files with long ugly names containing the

    XML data. If these are there, then the problem is

    related to rendering. This could have several causes,

    so first you need to establish if they are gone or

    just invisible. Let me know if this is too sketchy.

    Regards,

    Darin Krasle

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Roland Preussmann

      Hi,

      These are some of the existing exceptions in knowledgemanagment log, referring to the listing of itens of XML Forms:

      #1.5#C000AC020253001D000007BD007798850003EEAE321568A0#1106856862116#com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DBFSContentProvider#irj#com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DBFSContentProvider.registerReader(205)#System#0#####Client_Thread_17##0#0#Warning##Plain###sql error registring reader: [SAP_Portals][Oracle JDBC Driver][Oracle]ORA-01422: exact fetch returns more than requested number of rows

      ORA-06512: at "SAPWCM.CM_REGISTERREADER", line 1

      ORA-06512: at line 1

      , code = 1422, state = HY000 - java.sql.SQLException: [SAP_Portals][Oracle JDBC Driver][Oracle]ORA-01422: exact fetch returns more than requested number of rows

      ORA-06512: at "SAPWCM.CM_REGISTERREADER", line 1

      ORA-06512: at line 1

      at com.sap.portals.jdbc.base.BaseExceptions.createException(Unknown Source)

      at com.sap.portals.jdbc.base.BaseExceptions.getException(Unknown Source)

      at com.sap.portals.jdbc.oracle.OracleImplStatement.execute(Unknown Source)

      at com.sap.portals.jdbc.base.BaseStatement.commonExecute(Unknown Source)

      at com.sap.portals.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)

      at com.sap.portals.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)

      at com.sap.portals.jdbc.base.BasePreparedStatementPoolable.executeUpdate(Unknown Source)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DBFSContentProvider.registerReader(DBFSContentProvider.java:200)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DistributedFSDBContentTracker$InternalBufferedInputStream.touch(DistributedFSDBContentTracker.java:136)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.FSContent.getInputStream(FSContent.java:95)

      at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:99)

      at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:110)

      at com.sapportals.wcm.service.xmlforms.utils.FolderList.getDocfromRes(FolderList.java:676)

      at com.sapportals.wcm.service.xmlforms.utils.FolderList.buildListingDoc(FolderList.java:469)

      at com.sapportals.wcm.service.xmlforms.utils.FolderList.getHTMLStream(FolderList.java:375)

      at com.sapportals.wcm.service.xmlforms.XMLFormImpl.getListStream(XMLFormImpl.java:989)

      at com.sapportals.wcm.service.xmlforms.XMLFormImpl.getListStream(XMLFormImpl.java:945)

      at com.sapportals.wcm.app.xmlforms.ListServlet.doGetAction(ListServlet.java:305)

      at com.sapportals.wcm.app.xmlforms.XMLFormsBaseServlet.doGet(XMLFormsBaseServlet.java:238)

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

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

      at com.sapportals.wcm.app.xmlforms.XMLFormsBaseServlet.service(XMLFormsBaseServlet.java:140)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)

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

      at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)

      at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)

      at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)

      at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)

      at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)

      at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)

      at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)

      at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)

      at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)

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

      at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

      #1.5#C000AC02025300200000001B0005572A0003EEB97B875880#1106905338960#com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DBFSContentProvider#irj#com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DBFSContentProvider.prepareUpdate(173)#System#0#####Client_Thread_5##0#0#Error##Plain###could not replace file D:
      repository
      rep
      ADP
      Noticias
      ad92233f-0101-0010-0794-bd8e55284ad1.layout02 - java.io.FileNotFoundException: D:
      repository
      rep
      ADP
      Noticias
      ad92233f-0101-0010-0794-bd8e55284ad1.layout02 (The system cannot find the file specified)

      at java.io.FileInputStream.open(Native Method)

      at java.io.FileInputStream.<init>(FileInputStream.java:91)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DBFSContentProvider.prepareUpdate(DBFSContentProvider.java:153)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DistributedFSDBContentTracker.contentWillChange(DistributedFSDBContentTracker.java:63)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DefaultFileSystemWrapper.notifyContentTracker(DefaultFileSystemWrapper.java:508)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.DefaultFileSystemWrapper.updateContent(DefaultFileSystemWrapper.java:148)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.PersistenceFSDB.updateDocumentContent(PersistenceFSDB.java:565)

      at com.sapportals.wcm.repository.manager.cm.persistence.fsdb.PersistenceFSDB.updateDocumentContent(PersistenceFSDB.java:516)

      at com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager.setContent(CmNamespaceAndContentManager.java:1824)

      at com.sapportals.wcm.repository.ResourceImpl.internalUpdateContent(ResourceImpl.java:2742)

      at com.sapportals.wcm.repository.ResourceImpl.updateContent(ResourceImpl.java:1376)

      at com.sapportals.wcm.service.xmlforms.XMLFormImpl.createOrUpdateResource(XMLFormImpl.java:2261)

      at com.sapportals.wcm.service.xmlforms.XMLFormImpl.postXMLData(XMLFormImpl.java:1042)

      at com.sapportals.wcm.app.xmlforms.ListServlet.doGetAction(ListServlet.java:162)

      at com.sapportals.wcm.app.xmlforms.XMLFormsBaseServlet.doGet(XMLFormsBaseServlet.java:238)

      at com.sapportals.wcm.app.xmlforms.XMLFormsBaseServlet.doPost(XMLFormsBaseServlet.java:259)

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

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

      at com.sapportals.wcm.app.xmlforms.XMLFormsBaseServlet.service(XMLFormsBaseServlet.java:140)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)

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

      at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)

      at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)

      at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)

      at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)

      at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)

      at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)

      at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)

      at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)

      at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)

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

      at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

      #1.5#C000AC020253002400000188001B62200003EEBAD9A63098#1106911213007#com.sapportals.wcm.app.xmlforms.ListServlet#irj#com.sapportals.wcm.app.xmlforms.ListServlet#System#0#####Client_Thread_7##0#0#Warning##Plain###Catching non xml forms exception! Message was: null#

      I noticed that there are some errors when getting the inpustream, but what's the reason to only happen in the ListShow or ListEdit and not in Show filter, when calling directly the file.

      Thanks and Regards,

      John

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.