Skip to Content
0

MII Illuminator Service Import Project

May 21, 2017 at 10:48 AM

145

avatar image

Hello All,

We have to migrate some projects from one MII system to another, there are quite a few projects actually and we were looking for some automated way of doing it.

Came across the Export Service of Illuminator Service however we are not quite successful in using them. We have something like below.

http://<Server>:<Port>/XMII/Illuminator?service=Transport&Mode=ImportProject&encoding=false&Algorithm=123456&Passphrase=123456&name=<ProjectNAme>

we have following request properties set.

{name=[string:<ProjectName>], filename=[string:ProjectName.zip], Content-Length=[long:1223502], Content-Type=[string:application/x-zip-compressed]}

We are doing HTTP post action block and loading the zip file using Image Load action block. The netweaver logs look like this

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} span.Apple-tab-span {white-space:pre}

Message:

Project Import Failed, Zip File Is Not Valid

[EXCEPTION]

java.util.zip.ZipException: Open failed for '.\temp\XMII_2564158392221783050_IMPORTPROJECT.zip' with fd 12720 returning message 'couldn't find 'END' tag.' and errno 0 after trying cache.

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:244)

at java.util.zip.ZipFile.<init>(ZipFile.java:171)

at java.util.zip.ZipFile.<init>(ZipFile.java:185)

at com.sap.xmii.system.ProjectManager.doImport(ProjectManager.java:463)

at com.sap.xmii.Illuminator.services.transport.ImportProject.processRequest(ImportProject.java:48)

at com.sap.xmii.Illuminator.services.handlers.Transport.processRequest(Transport.java:39)

at com.sap.xmii.Illuminator.services.ServiceManager.run(ServiceManager.java:83)

at com.sap.xmii.servlet.Illuminator.service(Illuminator.java:112)

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

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:242)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

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

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

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

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

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

Any Help would be hight appreciated.

Thanks

Rupesh

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

christian libich May 22, 2017 at 07:14 PM
0

You could try using my product/tool linked below and use ftp. Its free for 30 days.

http://xmii.guru/downloads/

Regards,
Christian

Share
10 |10000 characters needed characters left characters exceeded