[
https://issues.jboss.org/browse/GTNMGMT-8?page=com.atlassian.jira.plugin....
]
Tomas Kyjovsky updated GTNMGMT-8:
---------------------------------
Description:
Importing exported site via gadget on EPP-5.2.0-DEV01 causes:
07:56:21,875 ERROR [[uploadServlet]] Servlet.service() for servlet uploadServlet threw
exception
java.lang.NoSuchMethodError:
org.exoplatform.portal.pom.data.PortalData.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lorg/exoplatform/portal/pom/data/ContainerData;)V
...
(Importing via gadget on EPP-5.1.1 works.)
Importing the same exported site through the CLI on both EPP-5.2.0-DEV01 and EPP-5.1.1
shows:
2011-07-12 08:41:04,059 ERROR [ImportHandler] Exception during import.
java.lang.UnsupportedOperationException
at
org.gatein.management.portalobjects.client.impl.ClientDataStorageImpl.create(ClientDataStorageImpl.java:62)
...
was:
Importing exported site via the gadget causes:
07:56:21,875 ERROR [[uploadServlet]] Servlet.service() for servlet uploadServlet threw
exception
java.lang.NoSuchMethodError:
org.exoplatform.portal.pom.data.PortalData.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lorg/exoplatform/portal/pom/data/ContainerData;)V
at
org.gatein.management.portalobjects.binding.impl.site.PortalDataMarshaller.unmarshalPortalData(PortalDataMarshaller.java:309)
at
org.gatein.management.portalobjects.binding.impl.site.PortalDataMarshaller.unmarshal(PortalDataMarshaller.java:111)
at
org.gatein.management.portalobjects.binding.impl.site.PortalDataMarshaller.unmarshal(PortalDataMarshaller.java:52)
at
org.gatein.management.portalobjects.exportimport.impl.ExportImportUtils.importFromZip(ExportImportUtils.java:131)
at
org.gatein.management.portalobjects.exportimport.impl.ImportHandlerImpl.createContext(ImportHandlerImpl.java:67)
at
org.gatein.management.gadget.server.util.PortalService.importSite(PortalService.java:278)
at
org.gatein.management.gadget.server.FileUploadServlet$1.doInContainer(FileUploadServlet.java:173)
at
org.gatein.management.gadget.server.FileUploadServlet$1.doInContainer(FileUploadServlet.java:165)
at
org.gatein.management.gadget.server.ContainerRequestHandler.doInRequest(ContainerRequestHandler.java:54)
at
org.gatein.management.gadget.server.FileUploadServlet.processImport(FileUploadServlet.java:164)
at
org.gatein.management.gadget.server.FileUploadServlet.executeAction(FileUploadServlet.java:97)
at gwtupload.server.UploadAction.doPost(UploadAction.java:162)
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 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:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
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:599)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Thread.java:619)
Importing the same exported site through the CLI:
(-import.log)
2011-07-12 08:41:03,800 INFO [Importer] Starting import of file
portal_staging1_2011-07-12_07-31-24.zip for portal container portal
2011-07-12 08:41:03,933 INFO [Importer] Overwrite set to true, overwriting all data.
2011-07-12 08:41:04,059 ERROR [ImportHandler] Exception during import.
java.lang.UnsupportedOperationException
at
org.gatein.management.portalobjects.client.impl.ClientDataStorageImpl.create(ClientDataStorageImpl.java:62)
at
org.gatein.management.portalobjects.exportimport.impl.ImportHandlerImpl.importPortalConfig(ImportHandlerImpl.java:98)
at
org.gatein.management.portalobjects.exportimport.impl.ImportHandlerImpl.importContext(ImportHandlerImpl.java:77)
at
org.gatein.management.portalobjects.client.impl.RestfulPortalObjectsMgmtClient.importContext(RestfulPortalObjectsMgmtClient.java:318)
at org.gatein.management.portalobjects.cli.importer.Importer.doImport(Importer.java:164)
at org.gatein.management.portalobjects.cli.importer.ImportMain.main(ImportMain.java:152)
at org.gatein.management.portalobjects.cli.Main.main(Main.java:50)
2011-07-12 08:41:04,070 INFO [ImportHandler] Rolling back any changes that occurred
during import.
2011-07-12 08:41:04,070 INFO [ImportHandler] No portal configs were overwritten during
import
2011-07-12 08:41:04,070 INFO [ImportHandler] No portal configs were creating during
import
2011-07-12 08:41:04,070 INFO [ImportHandler] No pages were overwritten during import
2011-07-12 08:41:04,070 INFO [ImportHandler] No pages were creating during import
2011-07-12 08:41:04,070 INFO [ImportHandler] No navigations were overwritten during
import
2011-07-12 08:41:04,070 INFO [ImportHandler] No navigations were creating during import
2011-07-12 08:41:04,070 INFO [Importer] Import was successful.
Importing exported site doesn't work on EPP-5.2.0-DEV01
-------------------------------------------------------
Key: GTNMGMT-8
URL:
https://issues.jboss.org/browse/GTNMGMT-8
Project: GateIn Management
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.0.0-Alpha01
Environment: EPP-5.2.0-DEV01
Reporter: Tomas Kyjovsky
Assignee: Nick Scavelli
Attachments: import-via-gadget-dialog.png, import-via-gadget-stacktrace.txt,
portal_staging1_2011-07-12_07-31-24.zip,
portal_staging1_2011-07-12_07-31-24.zip-import.log
Importing exported site via gadget on EPP-5.2.0-DEV01 causes:
07:56:21,875 ERROR [[uploadServlet]] Servlet.service() for servlet uploadServlet threw
exception
java.lang.NoSuchMethodError:
org.exoplatform.portal.pom.data.PortalData.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lorg/exoplatform/portal/pom/data/ContainerData;)V
...
(Importing via gadget on EPP-5.1.1 works.)
Importing the same exported site through the CLI on both EPP-5.2.0-DEV01 and EPP-5.1.1
shows:
2011-07-12 08:41:04,059 ERROR [ImportHandler] Exception during import.
java.lang.UnsupportedOperationException
at
org.gatein.management.portalobjects.client.impl.ClientDataStorageImpl.create(ClientDataStorageImpl.java:62)
...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira