Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: xmlimport from 1.6.3 to 2.2.1

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: xmlimport from 1.6.3 to 2.2.1


Chronological Thread 
  • From: Mickael Guyot <>
  • To: Chris Hyzer <>
  • Cc:
  • Subject: [grouper-users] Re: xmlimport from 1.6.3 to 2.2.1
  • Date: Thu, 23 Apr 2015 16:21:28 +0200 (CEST)

I applied all the patches the installer found when I installed grouper 2.2.1


----- Le 23 Avr 15, à 15:58, Chris Hyzer <> a écrit :

Do you have all the patches applied in 2.2.1?  There was a patch to fix imports…

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Mickael Guyot
Sent: Thursday, April 23, 2015 9:31 AM
To:
Subject: [grouper-users] xmlimport from 1.6.3 to 2.2.1

 

Hello.

 

We currently use grouper 1.6.3, and I want to import the datas in a new grouper 2.2.1.

I used gsh.sh -xmlexport to make an xml file and tried to import it in grouper 2.2.2 with gsh.sh -xmlimport, but a got a crash at about 16% with this error :

 

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:214)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.lang.reflect.InvocationTargetException
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:597)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
... 2 more
Caused by: java.lang.RuntimeException: Problem reading file: /home/grouper-test/data/export23042015.xml,
Problem in HibernateSession: HibernateSession (2aa96fd2): new, readonly, NONE, notActiveTransaction, session (null)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain$3.callback(XmlImportMain.java:555)
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:668)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXmlSecondPass(XmlImportMain.java:495)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXml(XmlImportMain.java:249)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain.processXml(XmlImportMain.java:203)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportGsh.main(XmlImportGsh.java:130)
... 7 more
Caused by: org.dom4j.DocumentException: Can't find stem by uuid: 'df7d878e1cd84cb1bbfda5d9c3467688' Nested exception: Can't find stem by uuid: 'df7d878e1cd84cb1bbfda5d9c3467688'
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at edu.internet2.middleware.grouper.xml.importXml.XmlImportMain$3.callback(XmlImportMain.java:537)
... 12 more

 

The grouper 2.2.1 is a fresh install, there is only the etc folder. We use PostgreSQL.

 

Can someone tell me if I did something wrong and how to import successfully from grouper 1.6 to grouper 2.2 ?

 

Regards

 

--

Mickaël Guyot                                  
Direction du numérique - Sous direction des infrastructures
Université de Lorraine
Tel : 03 83 68 53 66                            



--
Mickaël Guyot                                  
Direction du numérique - Sous direction des infrastructures
Université de Lorraine
Tel : 03 83 68 53 66                            



Archive powered by MHonArc 2.6.16.

Top of Page