Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
nishita_jain Absent Member.
Absent Member.
228 views

Portal Data Import Utility Error


Hi,

We are using Novell Identity Manager Roles Based Provisioning Module
Version 4.0.1 Build Revision 37294.

We are trying to use the Portal Data Import utility provided in UserApp
to import the portlets & pages from one test-bed to another. When the
data is imported for the first time in a fresh userapp installation, the
import works successfully (shared pages + portlets) are imported. But
when we so it the next time, the import of portlets (that are already
existing) fails. Error on jboss server logs is

======================================================================================================================================
2012-04-25 23:37:22,074 INFO [STDOUT] (http-0.0.0.0-8180-5) ERROR
[RBPM] [com.novell.afw.tools.imex.DataImportExportReport:addInternal]
Report Failed: Portlet Registration, Header Portlet, Failed
2012-04-25 23:37:22,080 INFO [STDOUT] (http-0.0.0.0-8180-5) ERROR
[RBPM] [com.novell.soa.persist.HibernateUtil:rollback] Error rolling
back transaction
org.hibernate.SessionException: Session is closed!
======================================================================================================================================

Also container page import also fails most of the times.

Is there any process that needs to be followed while using the import
utility?

Thanks!


--
nishita_jain
------------------------------------------------------------------------
nishita_jain's Profile: http://forums.novell.com/member.php?userid=124011
View this thread: http://forums.novell.com/showthread.php?t=455155

Labels (1)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Portal Data Import Utility Error

On 04/26/2012 08:06 AM, nishita jain wrote:
>
> Hi,
>
> We are using Novell Identity Manager Roles Based Provisioning Module
> Version 4.0.1 Build Revision 37294.
>
> We are trying to use the Portal Data Import utility provided in UserApp
> to import the portlets& pages from one test-bed to another. When the
> data is imported for the first time in a fresh userapp installation, the
> import works successfully (shared pages + portlets) are imported. But
> when we so it the next time, the import of portlets (that are already
> existing) fails. Error on jboss server logs is
>
> ======================================================================================================================================
> 2012-04-25 23:37:22,074 INFO [STDOUT] (http-0.0.0.0-8180-5) ERROR
> [RBPM] [com.novell.afw.tools.imex.DataImportExportReport:addInternal]
> Report Failed: Portlet Registration, Header Portlet, Failed
> 2012-04-25 23:37:22,080 INFO [STDOUT] (http-0.0.0.0-8180-5) ERROR
> [RBPM] [com.novell.soa.persist.HibernateUtil:rollback] Error rolling
> back transaction
> org.hibernate.SessionException: Session is closed!
> ======================================================================================================================================
>
> Also container page import also fails most of the times.
>
> Is there any process that needs to be followed while using the import
> utility?
>
> Thanks!
>
>

Greetings,
What database server are you using? Also, did you select the option
to overwrite during the import?

--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
nishita_jain Absent Member.
Absent Member.

Re: Portal Data Import Utility Error


Hi,

We are using PostgreSQL that comes with JBOSS in IDM 4.0.1.
Yes, we did select the overwrite option while importing the portlets
second time.

Thanks!
Nishita


--
nishita_jain
------------------------------------------------------------------------
nishita_jain's Profile: http://forums.novell.com/member.php?userid=124011
View this thread: http://forums.novell.com/showthread.php?t=455155

0 Likes
nishita_jain Absent Member.
Absent Member.

Re: Portal Data Import Utility Error


Following is the error that comes up in server.log file while doing
second import of portlets:

2012-04-30 22:14:44,633 INFO [STDOUT] (http-0.0.0.0-8180-3) INFO
[RBPM] [com.novell.pwdmgt.util.PasswordHelper:loginPortal]
[Login_Success] uaadmin successfully logged in.
2012-04-30 22:15:50,244 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/IDMProv].[PortalDataExportServlet]]
(http-0.0.0.0-8180-3) Servlet.service() for servlet
PortalDataExportServlet threw exception
java.lang.NullPointerException
at
com.novell.afw.tools.imex.DataExport.savePortletRegistrations(DataExport.java:397)
at
com.novell.afw.tools.imex.DataExport.emitExportFile(DataExport.java:268)
at
com.novell.afw.portal.portlet.core.portaldata.servlet.PortalDataExportServlet.doGet(PortalDataExportServlet.java:141)
at
com.novell.afw.portal.portlet.core.portaldata.servlet.PortalDataExportServlet.doPost(PortalDataExportServlet.java:154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.novell.soa.common.i18n.BestLocaleServletFilter.doFilter(BestLocaleServletFilter.java:239)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.novell.afw.portal.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.novell.soa.common.i18n.URILoggerServletFilter.doFilter(URILoggerServletFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135)
at
org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
at
org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.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.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
2012-04-30 22:15:59,356 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/IDMProv].[PortalDataExportServlet]]
(http-0.0.0.0-8180-3) Servlet.service() for servlet
PortalDataExportServlet threw exception
java.lang.NullPointerException
at
com.novell.afw.portal.portlet.core.portaldata.PortalImportExportHelper.getItemsSelection(PortalImportExportHelper.java:263)
at
com.novell.afw.portal.portlet.core.portaldata.servlet.PortalDataExportServlet.doGet(PortalDataExportServlet.java:109)
at
com.novell.afw.portal.portlet.core.portaldata.servlet.PortalDataExportServlet.doPost(PortalDataExportServlet.java:154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.novell.soa.common.i18n.BestLocaleServletFilter.doFilter(BestLocaleServletFilter.java:239)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.novell.afw.portal.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.novell.soa.common.i18n.URILoggerServletFilter.doFilter(URILoggerServletFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135)
at
org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
at
org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.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.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
2012-04-30 22:18:27,743 INFO [org.jboss.cache.RPCManagerImpl]
(Incoming-16,10.100.2.251:56210) Received new cluster view:
[10.100.2.251:56210|1] [10.100.2.251:56210, 10.100.2.250:51842]
2012-04-30 22:24:41,712 INFO [STDOUT] (http-0.0.0.0-8180-3) ERROR
[RBPM] [com.novell.soa.persist.HibernateUtil:rollback] Error rolling
back transaction
org.hibernate.SessionException: Session is closed!
at
org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
at
org.hibernate.impl.SessionImpl.getTransaction(SessionImpl.java:1461)
at sun.reflect.GeneratedMethodAccessor311.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:345)
at $Proxy555.getTransaction(Unknown Source)
at
com.novell.soa.persist.HibernateUtil.rollback(HibernateUtil.java:237)
at
com.novell.afw.tools.imex.DataImport.rollbackTransaction(DataImport.java:800)
at
com.novell.afw.tools.imex.DataImport.importPortletRegistrations(DataImport.java:785)
at com.novell.afw.tools.imex.DataImport.doImport(DataImport.java:493)


--
nishita_jain
------------------------------------------------------------------------
nishita_jain's Profile: http://forums.novell.com/member.php?userid=124011
View this thread: http://forums.novell.com/showthread.php?t=455155

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.