cancel
Showing results for 
Search instead for 
Did you mean: 

Error during portal theme import

Former Member
0 Kudos

Hi all,

We have to portal servers both EP6 SP9. I am trying to export my custom theme but when I import the theme in my second server I get an error that I have pasted below.

Kindly let me know if there is any fix for this. I have no errors during export. Thanks in advance.

Rgds,

Janvi

com.sapportals.portal.design.CannotPersistItemRuntimeException

at com.sapportals.portal.design.DataManager.copyDesign(DataManager.java:214)

at com.sapportals.portal.design.versionsupport.DesignImporter.prepareDesign(DesignImporter.java:366)

at com.sapportals.portal.design.versionsupport.DesignImporter.importDesign(DesignImporter.java:134)

at com.sapportals.portal.design.versionsupport.ImportManager.importDesign(ImportManager.java:88)

at com.sapportals.portal.design.DataManager.importDesign(DataManager.java:863)

at com.sapportals.portal.design.DataManager.importDesign(DataManager.java:860)

at com.sapportals.portal.styles.stylearchive.StyleArchive.doUploadCustomerDesign(StyleArchive.java:110)

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

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)

at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)

at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)

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

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

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

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

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

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

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

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

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

Caused by:com.sapportals.portal.design.CannotPersistItemException

at com.sapportals.portal.design.persistency.SemanticLayerPersistencyManager.insertDesign(SemanticLayerPersistencyManager.java:389)

at com.sapportals.portal.design.persistency.SemanticLayerPersistencyManager.insertDesign(SemanticLayerPersistencyManager.java:320)

at com.sapportals.portal.design.design.DesignXmlMarshaller.insertDesign(DesignXmlMarshaller.java:248)

at com.sapportals.portal.design.design.DesignManager.copyDesign(DesignManager.java:393)

at com.sapportals.portal.design.DataManager.copyDesign(DataManager.java:212)

at com.sapportals.portal.design.versionsupport.DesignImporter.prepareDesign(DesignImporter.java:366)

at com.sapportals.portal.design.versionsupport.DesignImporter.importDesign(DesignImporter.java:134)

at com.sapportals.portal.design.versionsupport.ImportManager.importDesign(ImportManager.java:88)

at com.sapportals.portal.design.DataManager.importDesign(DataManager.java:863)

at com.sapportals.portal.design.DataManager.importDesign(DataManager.java:860)

at com.sapportals.portal.styles.stylearchive.StyleArchive.doUploadCustomerDesign(StyleArchive.java:110)

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

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)

at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)

at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)

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

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

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

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

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

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

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

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

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

Caused by: javax.naming.NameNotFoundException: Child not found: eBloodbank at portal_content/themes [Root exception is javax.naming.NameNotFoundException: Child not found: eBloodbank at portal_content/themes]

at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:378)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1066)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)

at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1168)

at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1115)

at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:909)

at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:78)

at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:902)

at com.sapportals.portal.design.persistency.StyleManager.lookup(StyleManager.java:1504)

at com.sapportals.portal.design.persistency.StyleManager.getStylesContext(StyleManager.java:176)

at com.sapportals.portal.design.persistency.StyleManager.addStyle(StyleManager.java:432)

at com.sapportals.portal.design.persistency.StyleManager.addStyle(StyleManager.java:407)

at com.sapportals.portal.design.persistency.SemanticLayerPersistencyManager.insertDesign(SemanticLayerPersistencyManager.java:377)

... 40 more

Caused by: javax.naming.NameNotFoundException: Child not found: eBloodbank at portal_content/themes

at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChildAtomicName(XfsContext.java:434)

at com.sapportals.portal.pcd.gl.xfs.XfsContext.lookupAtomicName(XfsContext.java:243)

at com.sapportals.portal.pcd.gl.xfs.BasicContext.lookup(BasicContext.java:868)

at com.sapportals.portal.pcd.gl.PcdPersContext.lookup(PcdPersContext.java:428)

at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:374)

... 53 more

Caused by: javax.naming.NameNotFoundException: Child not found: eBloodbank at portal_content/themes [Root exception is javax.naming.NameNotFoundException: Child not found: eBloodbank at portal_content/themes]

at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:378)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1066)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)

at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1168)

at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1115)

at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:909)

at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:78)

at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:902)

at com.sapportals.portal.design.persistency.StyleManager.lookup(StyleManager.java:1504)

at com.sapportals.portal.design.persistency.StyleManager.getStylesContext(StyleManager.java:176)

at com.sapportals.portal.design.persistency.StyleManager.addStyle(StyleManager.java:432)

at com.sapportals.portal.design.persistency.StyleManager.addStyle(StyleManager.java:407)

at com.sapportals.portal.design.persistency.SemanticLayerPersistencyManager.insertDesign(SemanticLayerPersistencyManager.java:377)

at com.sapportals.portal.design.persistency.SemanticLayerPersistencyManager.insertDesign(SemanticLayerPersistencyManager.java:320)

at com.sapportals.portal.design.design.DesignXmlMarshaller.insertDesign(DesignXmlMarshaller.java:248)

at com.sapportals.portal.design.design.DesignManager.copyDesign(DesignManager.java:393)

at com.sapportals.portal.design.DataManager.copyDesign(DataManager.java:212)

at com.sapportals.portal.design.versionsupport.DesignImporter.prepareDesign(DesignImporter.java:366)

at com.sapportals.portal.design.versionsupport.DesignImporter.importDesign(DesignImporter.java:134)

at com.sapportals.portal.design.versionsupport.ImportManager.importDesign(ImportManager.java:88)

at com.sapportals.portal.design.DataManager.importDesign(DataManager.java:863)

at com.sapportals.portal.design.DataManager.importDesign(DataManager.java:860)

at com.sapportals.portal.styles.stylearchive.StyleArchive.doUploadCustomerDesign(StyleArchive.java:110)

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

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)

at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)

at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)

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

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

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

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

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

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

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

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

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

Caused by: javax.naming.NameNotFoundException: Child not found: eBloodbank at portal_content/themes

at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChildAtomicName(XfsContext.java:434)

at com.sapportals.portal.pcd.gl.xfs.XfsContext.lookupAtomicName(XfsContext.java:243)

at com.sapportals.portal.pcd.gl.xfs.BasicContext.lookup(BasicContext.java:868)

at com.sapportals.portal.pcd.gl.PcdPersContext.lookup(PcdPersContext.java:428)

at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:374)

... 53 more

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Janvi,

When you say export the theme, do you mean via a transport package? I suggest you export and import the theme itself via <b>System Administration --> Portal Display --> Theme Archieve</b>. Just click on the name of the theme you want to display under "Export Themes", save the ZIP file and upload it onto the target system, via the same menu path.

Hope this helps,

BRgds,

Simon