[opencms-dev] ADE Galleries not showing up in the list (OpenCms 8.0.4)

Mathias Lin mail at mathiaslin.com
Fri Aug 24 10:34:10 CEST 2012


I see the following related error in opencms.log - any idea where it's coming
from? Any kind of setting/configuration? Is ADE configured separately
anywhere from the rest?


24 Aug 2012 10:29:08,017 ERROR [ org.opencms.gwt.CmsGwtService: 181] Error
reading resource from path "null".
org.opencms.file.CmsVfsException: Error reading resource from path "null".
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:338)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4687)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2949)
at org.opencms.file.CmsObject.readResources(CmsObject.java:2986)
at org.opencms.file.CmsObject.readResources(CmsObject.java:2967)
at
org.opencms.ade.galleries.CmsGalleryService.getGalleriesByType(CmsGalleryService.java:802)
at
org.opencms.ade.galleries.CmsGalleryService.addGalleriesForType(CmsGalleryService.java:421)
at
org.opencms.ade.galleries.CmsGalleryService.readGalleryInfosByTypeBeans(CmsGalleryService.java:1087)
at
org.opencms.ade.galleries.CmsGalleryService.getInitialSettings(CmsGalleryService.java:281)
at
org.opencms.ade.galleries.CmsGalleryActionElement.export(CmsGalleryActionElement.java:166)
at
org.opencms.ade.galleries.CmsGalleryActionElement.export(CmsGalleryActionElement.java:94)
at
org.opencms.ade.galleries.CmsGalleryActionElement.exportAll(CmsGalleryActionElement.java:105)
at
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_galleries.gallery_jsp._jspService(gallery_jsp.java:84)
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:386)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
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(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:617)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:902)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:522)
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:213)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.sysvision.opencms.spring.RewriteFilter.doFilter(Unknown Source)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)




Mathias Lin wrote:
> 
> I developed an OpenCms 8.0.4 site under https://dev.domain.com/ and
> it's all working fine.
> Then I move/copy the app to be running under http://www.domain.com and
> all of a sudden, the ADE Galleries don't show anymore in the overview
> (i.e. when I edit a page and want to include an image from a gallery,
> clicking the image gallery icon in the editor toolbar):
> 
> The gallery overview comes up but stays empty - the one under this url
> pattern (sample):
> 
> https://dev.domain.com/opencms/opencms/system/modules/org.opencms.ade.galleries/gallery.jsp?dialogmode=editor&types=image&currentelement=&__locale=de&resource=/index.html&integrator=/system/workplace/editors/tinymce/integrator.js
> 
> But the permission settings (i.e. opencms-modules.xml) and everything
> else is exactly the same. In fact, for testing, even both OpenCms
> copies (under dev. and www.) connect to the same database. And still,
> while under my dev-subdomain the galleries are displayed, under my
> www-subdomain, they're not.
> 
> And I don't see any networking or script errors when checking Firebug.
> Both OpenCms run under pretty much identical environment, also under
> https, exactly same DB connected. So the only difference seems to the
> be subdomain. But I don't see that anything of an absolute url is
> somewhere configured for the ADE galleries / GWT / etc.
> 
> But - what's interesting and what works: if I click on the file icon
> of an image gallery in the OpenCms workplace (in my www-OpenCms), and
> then select 'open gallery' from the context menu, the images that are
> in this gallery are displayed in the Gallery popup under 'Results'.
> However, clicking on the 'Galleries' button then in this popup, to see
> the overview of all galleries, the list is empty, saying "No galleries
> found".
> 
> Anybody having an idea?
> 
> Thanks, Mathias
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> 
-- 
View this message in context: http://old.nabble.com/ADE-Galleries-not-showing-up-in-the-list-%28OpenCms-8.0.4%29-tp34342463p34343182.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list