E_PACK_ERROR

Hello, my error is:
java -Xmx1024M -jar UploadTest-1_2.jar http://server:8080/packaging/Package c:\contentserver_quickst
art2.pdf -pass pass
Creating package request for: c:\contentserver_quickstart2.pdf
Creating connection to Packaging Server: http://server:8080/packaging/Package
Sending Package Request
There was an error with the Package Request
<error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://server:8080/packaging/Package /book-ebooks/77d1ce91-864c-470b-bbb5-a40ab435a6e0.pdf%20(No%20such%20file%20or%20director y)"/>
Finished!
Successful packages created: 0
Unsuccessful package attempts:1
Here are the files that failed to package:
c:\contentserver_quickstart2.pdf
My packaging.conf
com.adobe.adept.log.level=trace
com.adobe.adept.file=/var/log/packaging.log
com.adobe.adept.persist.sql.driverClass=com.mmysql.jdbc.Driver
com.adobe.adept.persist.sql.connection=jdbc:mysql://127.0.0.1:3306/adept
com.adobe.adept.persist.sql.user=content
com.adobe.adept.persist.sql.password=pass
com.adobe.adept.persist.sql.dialect=mysql
com.adobe.adept.serviceURL=http://server:8080/packaging
com.adobe.adept.packaging.baseLocation=/book-ebooks
com.adobe.adept.packaging.baseURL=http://server:8080/ebooks

> com.adobe.adept.packaging.baseLocation=/book-ebooks
/book-ebooks is not a valid directory for the system you are running the packaging service on.  In general you want this value to be the location on the file system that is served up by your web server as the location specified in the the baseURL setting.

Similar Messages

  • "E_PACK_ERROR: illegal filename for a PUT" Error in Packaging a PDF file

    Hi Jim,
    As per ContentServer_Technical_Reference.pdf (page no 9) I passed <filename>, <location> and <src> parameter in our packaging request xml. File is packaging successfully and service is also placing the encrypted file to new location listed in <location> but following error is comming:
    <error xmlns="http://ns.adobe.com/adept"
    data="E_PACK_ERROR http://myserverurl/packaging/Package illegal%20filename%20for%20a%20PUT"/>
    My Packaging XML:
    <package xmlns="http://ns.adobe.com/adept" action="add">
    <fileName>9781591439745.pdf</fileName>
    <location>ftp://username:password@myserverurl/www/folder/9781591439745.pdf</location>
    <src>http://myserverurl/folder/9781591439745.pdf</src>
    <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
    <dc:title>9781591439745</dc:title>
    <dc:creator>Nicolya Christi</dc:creator>
    <dc:format>application/pdf</dc:format>
    <dc:publisher>Work Disribution System</dc:publisher>
    <dc:language>en</dc:language></metadata>
    <permissions><display/><excerpt/></permissions>
    <dataPath>C:/folder/9781591439745.pdf</dataPath>
    <expiration>2011-03-02T15:18:02+05:30</expiration>
    <nonce>LTIyNzc1Mjk4</nonce>
    </package>
    Please suggest me why the "E_PACK_ERROR http://myserverurl/packaging/Package illegal%20filename%20for%20a%20PUT" error is comming.
    I am waiting your reply...
    With regards,
    Mangal Varshney

    Hello Jim,
    I tried as you suggest not to use all three, filename, location and src. I removed the <filename> parameter from packaging xml and then try to package the same error are comming again. Jim this same code was working earlier, we are using same on our production sever till now but suddenly it stop working.
    "E_PACK_ERROR: illegal filename for a PUT"
    I checked the packaging.log file, the log message are:
    02 Mar 2011 05:41:56,673 TRACE AdeptServlet: request POST http://myserverurl/packaging/Package
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: Open jdbc:mysql://127.0.0.1:3306/adept with user=dmr_mysql_dba
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: SELECT distid, name, description, disturl, notifyurl, publickey, sharedsecret, maxloancount, linkexpiration FROM distributor WHERE distid = ?
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: rollback
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: SELECT distid, nonce, expiration FROM distusednonce WHERE distid = ? AND nonce = ?
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 2 = [B@6c2a78
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: INSERT INTO distusednonce(distid, nonce, expiration) VALUES(?, ?, ?)
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 2 = [B@6c2a78
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 3 = Wed Mar 02 06:41:56 CST 2011
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: DELETE FROM distusednonce WHERE expiration < ? AND distid = ? AND nonce = ?
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = Wed Mar 02 05:41:56 CST 2011
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 2 = 00000000-0000-0000-0000-000000000001
    02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 3 = [B@6c2a78
    02 Mar 2011 05:41:56,689 TRACE DefaultSQLDatabaseConnection: SELECT resourceid, item, description, title, publisher, creator, language, identifier, thumbnailurl, format, src, downloadtype FROM resourceitem WHERE src = ? AND downloadtype = ?
    02 Mar 2011 05:41:56,689 TRACE DefaultSQLDatabaseConnection:   obj 1 = http://myserver2url/folder/9781591439745.pdf
    02 Mar 2011 05:41:56,689 TRACE DefaultSQLDatabaseConnection:   obj 2 = simple
    02 Mar 2011 05:41:56,876 ERROR Package: Error in packaging
    java.io.IOException: illegal filename for a PUT
        at sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(Unknown Source)
        at com.adobe.adept.packaging.servlet.Package.aquireLocationStream(Package.java:359)
        at com.adobe.adept.packaging.servlet.Package.doPost(Package.java:535)
        at com.adobe.adept.packaging.servlet.Package.doPost(Package.java:43)
        at com.adobe.adept.servlet.AdeptServlet.doPost(AdeptServlet.java:184)
        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.j ava:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:579)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
        at java.lang.Thread.run(Unknown Source)
    02 Mar 2011 05:41:56,876 TRACE DefaultSQLDatabaseConnection: rollback
    02 Mar 2011 05:41:56,907 ERROR AdeptServlet: request error [myip]: E_PACK_ERROR http://myserverurl/packaging/Package illegal+filename+for+a+PUT
    02 Mar 2011 05:41:56,907 TRACE AdeptServlet: request end http://myserverurl/packaging/Package
    Please debug the above message and suggest me what i will do to rectify this issue.
    With Ragards,
    Mangal Kumar

  • Problem with InDesign CC exported epub for upload to IngramSpark

    I am completely frustrated with IngramSpark.  I have an epub file exported directly from InDesign and it repeatedly is being rejected by Ingram with the following message:
    Adobe Format Rejected - Invalid Metadata or Content File
    04/10/2014 12:05:48
    Conversion Error: An error has occurred during the packaging process: E_PACK_ERROR http://localhost:8085/packaging/Package File%20already%20encrypted%20or%20unexcpected%20font%20mangling%20algorithm:%20http://www.idpf.org/2008/embedding Request XML was: &lt;package xmlns=&quot;http://ns.adobe.com/adept"> &lt;location&gt;ftp://LIGHTNINGSOURCE\autoftp:s3tpwd@localhost/GBTargets/9780985849405.enc</location> &lt;src&gt;http://ebook.lightningsource.com/TitleDownload/LSCFD.dll?hdlr=ADEPT&
    Ingram claims the E_PACK_ERROR is the problem and that it originates on my end.  We (the author and I) have tried numerous times via Verizon and AT&T servers to upload the file.  I have vetted the file for anything extraneous, even replacing an ornamental font with just the one font family, Adobe Caslon Pro.  I do not encrypt any files on my computer.
    I do not know what else I can do to avoid the E_PACK_ERROR.  Any suggestions would be of great assistance. This file passes muster with no errors when run through any of several different epub "validators", and the book performs flawlessly on Android phones and tablets, iPhones, and Windows and Mac PCs using several different ebook readers.

    If the support staff at Ingram Spark is not helpful, maybe you'll just have to deal with the eBook sellers yourself. If the file passes IDPF validation, and if it view correctly on the eBooks you want it on, then the problem is at their end, not yours.

  • Problem packaging epubs - Invalid UUID

    Hi All,
    We have some epubs that will not package. There are various messages but the epubs seem valid when checked on epub validators.
    error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912173"
    error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912159"
    error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912128"
    error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912166"
    etc
    The string that ACS is complaining about is the ISBN of the book. This could possibly be coming from the file name which is <ISBN>.epub.
    What does the Invalid UUID mean?
    If we change from epub to pdf the file works fine which suggests its something to do with the epub.
    Any help appreciated.

    The package command is similar to the following:
    Which as you can see doesn't contain a dc:identifier composite. Or do you mean there is an identifier within the epub file that I need to check?
    Thanks

  • Bug parsing epub?

    Hi
    I have an epub witdh this xhtml:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Cap&iacute;tulo 1</title>
    <link href="css/book.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
      <div>
        <h3>Cap&iacute;tulo Uno: En el que se habla de los gatos y otras  formas de vida</h3>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
    </div>
    </body>
    </html>
    when I packaging :
    There was an error with the Package Request
    <error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://server/packaging/Package null"/>
    if I remove a line:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Cap&iacute;tulo 1</title>
    <link href="css/book.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
      <div>
        <h3>Cap&iacute;tulo Uno: En el que se habla de los gatos y otras  formas de vida</h3>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
       <p>&ldquo;1&rdquo;,&ldquo;2&rdquo;,&ldquo;3&rdquo;,&ldquo;4&rdquo;,&ldquo;5&rdquo;,&ldquo ;6&rdquo;,&ldquo;7&rdquo;,&ldquo;8&rdquo;,&ldquo;9&rdquo;,&ldquo;0&rdquo;</p>
    <!-- LINE REMOVED !!! -->
    </div>
    </body>
    </html>
    then i get:
    The book has been successfully packaged!
    Finished!
    Successful packages created: 1
    Can anyone confirm if this is a bug and how to fix? (We have lost many hours of work with this.)
    Thanks

    This is not Adobe tech support. This is a forum of InDesign users.  Often these forums are NOT monitored by Adobe staff.
    If you've found a workaround for the bug, what you need to do is report the bug. Here is a link to that form:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Maybe you are looking for