There is an option on User App to import/export Portal data under
'Administration' tab > 'Application Configuration'.

1. Register a new Portlet.
2. Export the Portal data successfully.
3. Unregister the Portlet.
4. Import the Portal data successfully.

Now, when I try to access the page/portlet, I get error on UI
Code:
--------------------
failed to run the portlet: 'SearchListPortlet'. Please contact your System Administrator.
--------------------

Error on server

>
> 2012-04-09 06:59:52,139 INFO [STDOUT] (http-0.0.0.0-8180-5) ERROR
> [RBPM]
> [com.novell.afw.portal.aggregation.EboPortalAggrega tionHelper:logErrorAndRedirect]
> The requested page was not found: Test
> 2012-04-09 07:00:16,188 INFO [STDOUT] (http-0.0.0.0-8180-2) INFO
> [RBPM] [com.novell.idm.nrf.service.RoleService:loadConfigu rationCache]
> Role vault configuration loaded into server lifetime memory.
> 2012-04-09 07:00:17,497 INFO [STDOUT] (http-0.0.0.0-8180-2) INFO
> [RBPM]
> [com.novell.srvprv.impl.vdata.definition.VirtualDat aDefinition:buildEntityDefinitionCache]
> Directory Abstraction Entity Definitions have been loaded into server
> lifetime memory
> 2012-04-09 07:00:26,053 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/IDMProv].[PortalAggregator]]
> (http-0.0.0.0-8180-14) Servlet.service() for servlet PortalAggregator
> threw exception
> java.sql.BatchUpdateException: ORA-00001: unique constraint
> (IDMUSER.PORTLETSETTINGS_PK) violated
>
> at
> oracle.jdbc.driver.DatabaseError.throwBatchUpdateE xception(DatabaseError.java:345)
> at
> oracle.jdbc.driver.OraclePreparedStatement.execute Batch(OraclePreparedStatement.java:10844)
> at
> org.jboss.resource.adapter.jdbc.WrappedStatement.e xecuteBatch(WrappedStatement.java:774)
> at
> org.hibernate.jdbc.BatchingBatcher.doExecuteBatch( BatchingBatcher.java:70)
> at
> org.hibernate.jdbc.AbstractBatcher.executeBatch(Ab stractBatcher.java:268)
> at
> org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:268)
> at
> org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:184)
> at
> org.hibernate.event.def.AbstractFlushingEventListe ner.performExecutions(AbstractFlushingEventListene r.java:321)
> at
> org.hibernate.event.def.DefaultFlushEventListener. onFlush(DefaultFlushEventListener.java:51)
> at org.hibernate.impl.SessionImpl.flush(SessionImpl.j ava:1216)
> at org.hibernate.impl.SessionImpl.managedFlush(Sessio nImpl.java:383)
> at
> org.hibernate.transaction.JDBCTransaction.commit(J DBCTransaction.java:133)
> at
> com.novell.soa.persist.HibernateUtil.commit(Hibern ateUtil.java:211)
> at com.novell.soa.persist.HibernateDAO.commit(Hiberna teDAO.java:450)
> at com.novell.soa.persist.HibernateDAO.add(HibernateD AO.java:128)
> at com.novell.soa.persist.HibernateDAO.add(HibernateD AO.java:108)
> at
> com.novell.afw.portlet.persist.jdbc.impl.EboRegist ryPersistManager.addPortletSettings(EboRegistryPer sistManager.java:358)
> at
> com.novell.afw.portlet.consumer.core.EboPortletCon sumerRegistry.clonePortletEntityInternally(EboPort letConsumerRegistry.java:929)
> at
> com.novell.afw.portlet.consumer.core.EboPortletCon sumerRegistry.createPortletEntity(EboPortletConsum erRegistry.java:711)
> at
> com.novell.afw.portlet.consumer.core.EboPortletCon sumerRegistry.createPortletEntity(EboPortletConsum erRegistry.java:1051)
> at
> com.novell.afw.portal.proxy.EboPortletRegistryProx y.createPortletEntity(EboPortletRegistryProxy.java :300)
> at
> com.novell.afw.portal.aggregation.EboPortletAPIHel per.getPortletEntity(EboPortletAPIHelper.java:609)
> at
> com.novell.afw.portal.aggregation.EboPortalAggrega tionHelper.preparePortletList(EboPortalAggregation Helper.java:1129)
> at
> com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.initiateRendering(EboPortalAggr egationControllerImpl.java:1257)
> at
> com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.renderPortalResponse(EboPortalA ggregationControllerImpl.java:965)
> at
> com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.handlePortalPageRequest(EboPortalAggre gationServlet.java:679)
> at
> com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.callService(EboPortalAggregationServle t.java:371)
> at
> com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.doGet(EboPortalAggregationServlet.java :141)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at
> com.novell.soa.common.i18n.BestLocaleServletFilter .doFilter(BestLocaleServletFilter.java:239)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at
> com.novell.common.AntiCsrfServletFilter.doFilter(A ntiCsrfServletFilter.java:203)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at
> com.novell.afw.portal.i18n.CharacterEncodingFilter .doFilter(CharacterEncodingFilter.java:135)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at
> com.novell.soa.common.i18n.URILoggerServletFilter. doFilter(URILoggerServletFilter.java:63)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at com.novell.common.auth.JAASFilter.doFilter(JAASFil ter.java:104)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at
> com.novell.common.auth.saml.AuthTokenGeneratorFilt er.doFilter(AuthTokenGeneratorFilter.java:88)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at com.novell.common.auth.sso.SSOFilter.doFilter(SSOF ilter.java:87)
> at
> com.novell.common.auth.sso.KerberosFilter.doFilter (KerberosFilter.java:58)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at com.novell.common.auth.sso.SSOFilter.doFilter(SSOF ilter.java:87)
> at com.novell.common.auth.sso.SAPFilter.doFilter(SAPF ilter.java:37)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:235)
> at
> org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
> at
> org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:190)
> at
> org.jboss.web.tomcat.service.session.ClusteredSess ionValve.handleRequest(ClusteredSessionValve.java: 135)
> at
> org.jboss.web.tomcat.service.session.ClusteredSess ionValve.invoke(ClusteredSessionValve.java:94)
> at
> org.jboss.web.tomcat.service.session.LockingValve. invoke(LockingValve.java:62)
> at
> org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:433)
> at
> org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:92)
> at
> org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.process(SecurityContextEstablishment Valve.java:126)
> at
> org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.invoke(SecurityContextEstablishmentV alve.java:70)
> at
> org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:158)
> at
> org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:330)
> at
> org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:829)
> at
> org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:598)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
> at java.lang.Thread.run(Unknown Source)
>



--
invincible_virus
------------------------------------------------------------------------
invincible_virus's Profile: http://forums.novell.com/member.php?userid=125212
View this thread: http://forums.novell.com/showthread.php?t=454525