Skip navigation
Divyakumar Jain
Currently Being Moderated

Unable to deploy custom Tile because of error "tile content not found in archive"

Sep 19, 2010 8:26 PM

Hi All,

 

I have developed a custom tile in Flash Builder. But when deploying this tile in a catalog via ant script am getting following error. I am running Mosaic on my own Tomcat server version 6.0.29.  I have followed steps given in http://help.adobe.com/en_US/LiveCycleMosaic/9.0/getStart/WSe851854fd1e 0856a-2169537a128406c16bb-8000.html#WSe851854fd1e0856a7bf09eed1284549b 445-7ff8

 

----------------------------start of error while running ant script--------------------------

 

<crx:Response timestamp="2010-09-19T20:20:06.452-05:00" method="POST" result="failure" request="/mosaic/catalogs/ContactManagementCatalog" xmlns:crx="http://ns.adobe.com/Mosaic/CRXTypes/1.0/">

    <crx:Error code="CAT_E40000">

        <crx:Message>Error importing catalog {} : {}.</crx:Message>

        <crx:Key position="0">ContactManagementCatalog</crx:Key>

        <crx:Key position="1">tile content not found in archive for tile ContactListTile</crx:Key>

        <crx:StackTrace>com.adobe.livecycle.mosaic.common.MosaicServerExcepti on: Error importing catalog [ContactManagementCatalog, tile content not found in archive for tile ContactListTile] : {}.

at com.adobe.livecycle.mosaic.service.rest.catalogservice.CatalogService ImportResourceRestHandler$CatalogServiceAppModelImportFilter.terminate (CatalogServiceImportResourceRestHandler.java:180)

at com.adobe.livecycle.mosaic.appmodel.impl.AppModelFacade.importArchive (AppModelFacade.java:132)

at com.adobe.livecycle.mosaic.service.rest.catalogservice.CatalogService ImportResourceRestHandler.handleRequest(CatalogServiceImportResourceRe stHandler.java:84)

at com.adobe.livecycle.rest.RestRequestRouter.routeRequest(RestRequestRo uter.java:19)

at com.adobe.livecycle.rest.RestServlet.doAction(RestServlet.java:46)

at com.adobe.livecycle.rest.RestServlet.doPost(RestServlet.java:37)

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(Appl icationFilterChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)

... 40 more

</crx:StackTrace>

    </crx:Error>

</crx:Response>

 

----------------------------end of error while running ant script--------------------------

 

----------------------------start of Zip file content--------------------------

ContactManagementCatalog.zip

  • tiles (Folder)
    • descriptor.xml
    • ContactListTile(Folder)
      • ContactListTile.swf

----------------------------End of Zip file content--------------------------

 

-----------------------------start descriptor.xml-------------------------------

 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<catalog:Catalog name="ContactManagementCatalog" label="Contact Management Catalog"

    xmlns:shell="http://ns.adobe.com/Mosaic/Shell/1.0/"

    xmlns:catalog="http://ns.adobe.com/Mosaic/Catalog/1.0/"

    xmlns:tile="http://ns.adobe.com/Mosaic/Tile/1.0/"

    xmlns:view="http://ns.adobe.com/Mosaic/View/1.0/"

    xmlns:crx="http://ns.adobe.com/Mosaic/CRXTypes/1.0/">

    <crx:Metadata>

        <crx:Description>Contact Management Catalog</crx:Description>

    </crx:Metadata>

 

    <catalog:Categories>

        <catalog:Category name="Contact_Management_Category"/>

    </catalog:Categories>

 

   <tile:TileClassList>

        <tile:TileClass label="Contact List"

        name="ContactListTile"

        initialWidth="100%"

        catalog="ContactManagementCatalog"

        initialHeight="100%" height="100%" width="100%">

 

        <crx:Metadata>

        <crx:Description>Contact List</crx:Description>

        <crx:Category>

        Contact_Management_Category

        </crx:Category>

        </crx:Metadata>

 

        <tile:Content loadAs="default"

        contentType="application/x-shockwave-flash"

        uri="/mosaic/catalogs/ContactManagementCatalog/tiles/ContactListTile/c ontent" />

       

        </tile:TileClass>

 

   </tile:TileClassList>

</catalog:Catalog>

 

 

 

-----------------------------End descriptor.xml-------------------------------

 
Replies
  • Currently Being Moderated
    Sep 19, 2010 8:30 PM   in reply to Divyakumar Jain

    Double-check the catalog zip file. The descriptor.xml should be a peer to the TIles directory, and the ContactListTile directory should be spelled exactly as it is inside of the descriptor.xml. The failure to import the catalog is probably due to a typo somewhere.

    Don

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 21, 2010 6:33 AM   in reply to Divyakumar Jain

    Just to tow the official company line - Adobe supports Mosaic in the Stand Alone server for development.  For full production Adobe requires the LiveCycle server running on one of the supported J2EE platforms.  I don't believe that Adobe supports installing Mosaic on a custom Tomcat enviroment (other that the one that is shipped).

     

    Personally, I use Eclipse as my dev/testing environment, but I always start the Stand Alone server outside of Eclipse, using the startup script file.

     

    Having said that - it looks like a security issue.  Mosaic uses Spring security for authorization and authentication of users.  The mosaic-context.XML file contains the Spring configuration information.  This file has some default classes and users (user, designer, etc.) but it can be configured to use 3rd party systems for authorization and authentication.

     

    It looks like Spring security can't find one of the classes that is injected into the Mosaic code.  com.adobe.livecycle.mosaic.common.impl.BeanLookupMixin seems to be missing or unavailable.

     

    Was there anything odd in the installation?  Can you login via the browser?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 21, 2010 11:07 AM   in reply to Divyakumar Jain

    Interesting, looks like you have the right version of the Mosaic war.  I wonder if there is some conflict with the LCDS setup, or one of the services that are configured.

     

     

    BTW -

    The link for the browser has to have the application name in the URL: http://server:port/mosaic/#/applications/appName

     

    For example:  http://localhost:8080/mosaic/#/applications/myApp

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points