Skip to Content
author's profile photo Former Member
Former Member

Error importing epa-file

Hi all,

I'm using EP6.0 and have successfully implemented a web application with the appintgrator component.

My Problem now points to the deployment.

I've created a transport pakage for exporting my components. The export of this transport pakage works fine and an epa file is created.

But importing this newly created epa file is not possible due to the following error:

"Error extracting the package file. Check the log files for details." I've included the log file entry at the bottom of this message.

Does anyone have a suggestion what went wrong ?

Even if I create a transport pakage e.g. only with a simple folder it's not possible to re-import it with the same error.

Thanks in advance,

Michael

Log-File entry:

#

#1.5#0011D87B8CD9005E0000001E00000880000406630C2064C7#1132922382000#com.sap.portal.transport#sap.com/irj#com.sap.portal.transport#admin#1544####8ce07b005db011daab450011d87b8cd9#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Server#Java### [com.sapportals.portal.transport.ui.ImportComponent] Error while extracting EP6.0 package C:
usr
sap
J2E
SYS
global
pcd
Import
upload
admin
test_20051125_013435.epa

[EXCEPTION]

#1#com.sapportals.portal.transport.app.TransportApplicationException: [com.sapportals.portal.transport.app.TransportApplicationImpl].openPackageFile(): failed to read file C:
usr
sap
J2E
SYS
global
pcd
Import
upload
admin
test_20051125_013435.epa

error in opening zip file

at com.sapportals.portal.transport.app.TransportApplicationImpl.openPackageFile(TransportApplicationImpl.java:680)

at com.sapportals.portal.transport.ui.ImportComponent.createPreviewList(ImportComponent.java:365)

at com.sapportals.portal.transport.ui.ImportComponent.createPreviewList(ImportComponent.java:310)

at com.sapportals.portal.transport.ui.ImportComponent.doFileUpload(ImportComponent.java:832)

at com.sapportals.portal.transport.ui.ImportComponent.doOnUpdatePreviewPage(ImportComponent.java:536)

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:324)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)

at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)

at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

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

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)

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

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

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

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

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

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

Original exception:

java.util.zip.ZipException: error in opening zip file

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

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

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

at com.sapportals.portal.transport.app.EpaFile.<init>(EpaFile.java:34)

at com.sapportals.portal.transport.app.TransportApplicationImpl.openPackageFile(TransportApplicationImpl.java:612)

at com.sapportals.portal.transport.ui.ImportComponent.createPreviewList(ImportComponent.java:365)

at com.sapportals.portal.transport.ui.ImportComponent.createPreviewList(ImportComponent.java:310)

at com.sapportals.portal.transport.ui.ImportComponent.doFileUpload(ImportComponent.java:832)

at com.sapportals.portal.transport.ui.ImportComponent.doOnUpdatePreviewPage(ImportComponent.java:536)

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:324)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)

at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)

at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

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

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)

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

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

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

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

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

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 25, 2005 at 03:08 PM

    Hi Michael,

    1) Did you check with WinZIP or a similar tool if the EPA can be opened / extracted manually withour errors?

    2) Check if the ZIP (the entries, i.e. file/folder names) contains Umlauts (probably it has not, for there should already be problems creating the ZIP through Java).

    3.) On which version are you?

    Hope it helps

    Detlev

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Detlev Beutner

      Hi Detlev,

      I could solve the problem and would like to thank you for your help.

      The reason is that the export functionality creates an epa file that includes the zipped epa file itself ?!?

      So I have to extract the content of the epa file and rename the extension of the content to epa. I seems to be a bug in the export but with this workarround it works.

      Best regards,

      Michael

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.