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
----------------------------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-------------------------------
Thanks for the Reply.
I was getting this error because my eclipse development environment was pointing to standalone tomcat shipped with LiveCycle Mosaic and i was using eclipse to start the server. I was able to deploy same catalog zip on fresh tomcat (v6.0.29) instance downloaded from apache.
But now i am having new issue and not able to login using Mosaic AIR client as it gives me "Error 500". On Tomcat server i can see following stack trace.
----------------Start of the error-----------------------
Sep 21, 2010 12:10:34 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalAccessError: tried to access method com.adobe.livecycle.mosaic.common.impl.BeanLookupMixin.<init>()V from class org.apache.jsp.login_jsp
at org.apache.jsp.login_jsp._jspService(login_jsp.java:58)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 13)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
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)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:343)
at org.springframework.security.web.access.intercept.FilterSecurityInter ceptor.invoke(FilterSecurityInterceptor.java:109)
at org.springframework.security.web.access.intercept.FilterSecurityInter ceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.access.ExceptionTranslationFilter.do Filter(ExceptionTranslationFilter.java:97)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.session.SessionManagementFilter.doFi lter(SessionManagementFilter.java:100)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.authentication.AnonymousAuthenticati onFilter.doFilter(AnonymousAuthenticationFilter.java:78)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.servletapi.SecurityContextHolderAwar eRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:5 4)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter .doFilter(RequestCacheAwareFilter.java:35)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.authentication.www.BasicAuthenticati onFilter.doFilter(BasicAuthenticationFilter.java:177)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.authentication.AbstractAuthenticatio nProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java :188)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.authentication.logout.LogoutFilter.d oFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.context.SecurityContextPersistenceFi lter.doFilter(SecurityContextPersistenceFilter.java:79)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain. doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChai nProxy.java:149)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(D elegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegat ingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48 9)
at java.lang.Thread.run(Thread.java:619)
----------------Start of the error-----------------------
Also let me know if you want me to start new thread for this error.
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?
Thanks for the reply.
I was using Tomcat along with Eclipse so that I can change Java code for LCDS Assemblers and have quickly test changes. Eclipse has feature to auto deploy changes to servers. I am pretty use to this kind of setup.
When running LCDS.war on Mosaic standalone I was facing some unknown issues for which I was not getting any trace logs. (I did not dig into details of this.) So was trying to deploy Mosaic on Tomcat where I have my LCDS,MySQL configured. I did follow steps given under "Installing Mosaic 9.5 on a Tomcat server you provide" in link http://help.adobe.com/en_US/LiveCycleMosaic/9.0/getStart/WSe851854fd1e 0856a-2169537a128406c16bb-8000.html#WSe851854fd1e0856a-2169537a128406c 16bb-7ffe
Regarding installation I downloaded Mosaic and was using mosaic.war from \deploy\war\log4j-logging\debug. I also tried release version of war file but it did not helped.
From Browser after redirection to http://locahost:8080/mosaic/# it gives me a blank screen.
Thanks,
Divyakumar Jain
Deloitte Consulting LLP |Mobile: +1 713 876 9178 |Fax: +1 469 417 5031|Email: divyjain@deloitte.com | www.deloitte.com
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
North America
Europe, Middle East and Africa
Asia Pacific