"ResourceManager : unable to find resource" after upgrading dotCMS

407 views
Skip to first unread message

Moa. M.

unread,
Aug 22, 2012, 2:02:21 PM8/22/12
to dot...@googlegroups.com
Hello 

I am attempting to upgrade dotcms 1.9.1 to dotcms 1.9.2 version. 
All documentation steps was done including fixing asset inconsistencies,reindexing all structure, clearing cache.
Now, i am guetting a lot of errors, fontend does not display pages...
Below is a partial output of  log file. 

[22/08/12 12:06:31:634 EDT]  INFO action.ViewCMSMaintenanceAction: processAction : Running Contentlet Reindex
[22/08/12 12:06:31:634 EDT]  INFO util.AdminLogger: class com.dotmarketing.portlets.cmsmaintenance.action.ViewCMSMaintenanceAction : processAction : Running Contentlet Reindex
[22/08/12 12:30:15:748 EDT]  INFO cache.H2CacheLoader: Starting Region Cache Flush in h2 for /dotCMSUserRoleCache
[22/08/12 12:30:16:252 EDT]  INFO cache.H2CacheLoader: Finished Region Cache Flush in h2 for /dotCMSUserRoleCache
[22/08/12 12:30:16:300 EDT]  INFO cache.H2CacheLoader: Starting Region Cache Flush in h2 for /PermissionCache
[22/08/12 12:30:16:817 EDT]  INFO cache.H2CacheLoader: Finished Region Cache Flush in h2 for /PermissionCache
[22/08/12 12:30:16:819 EDT]  INFO cache.H2CacheLoader: Starting Region Cache Flush in h2 for /ParentPermissionableCache
[22/08/12 12:30:17:319 EDT]  INFO cache.H2CacheLoader: Finished Region Cache Flush in h2 for /ParentPermissionableCache
[22/08/12 12:30:18:867 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/5f5dbd7d-5a67-45bd-bde2-6e676e4e23f0_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/5f5dbd7d-5a67-45bd-bde2-6e676e4e23f0_1.content
[22/08/12 12:30:18:868 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/5f5dbd7d-5a67-45bd-bde2-6e676e4e23f0_1.content' in any resource loader.
[22/08/12 12:30:18:873 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/56c86721-2fa2-45d0-b298-157d3f93f1b3_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/56c86721-2fa2-45d0-b298-157d3f93f1b3_1.content
[22/08/12 12:30:18:873 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/56c86721-2fa2-45d0-b298-157d3f93f1b3_1.content' in any resource loader.
[22/08/12 12:30:18:889 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/5233330e-e548-4b1c-aae6-212b3e7b9fa4_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/5233330e-e548-4b1c-aae6-212b3e7b9fa4_1.content
[22/08/12 12:30:18:889 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/5233330e-e548-4b1c-aae6-212b3e7b9fa4_1.content' in any resource loader.
[22/08/12 12:30:18:909 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/d0efba35-18fd-4564-99cc-c7df93accbe4_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/d0efba35-18fd-4564-99cc-c7df93accbe4_1.content
[22/08/12 12:30:18:909 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/d0efba35-18fd-4564-99cc-c7df93accbe4_1.content' in any resource loader.
[22/08/12 12:30:18:925 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/90e8761e-8f14-49c6-95c0-9ab5db30db24_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/90e8761e-8f14-49c6-95c0-9ab5db30db24_1.content
[22/08/12 12:30:18:925 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/90e8761e-8f14-49c6-95c0-9ab5db30db24_1.content' in any resource loader.
[22/08/12 12:30:18:940 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/3eabc616-2d1e-49ba-8c69-65e6d9a55ee9_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/3eabc616-2d1e-49ba-8c69-65e6d9a55ee9_1.content
[22/08/12 12:30:18:941 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/3eabc616-2d1e-49ba-8c69-65e6d9a55ee9_1.content' in any resource loader.
[22/08/12 12:30:18:946 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/3e919f9c-9048-4634-a0c4-6e5858637743_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/3e919f9c-9048-4634-a0c4-6e5858637743_1.content
[22/08/12 12:30:18:946 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/3e919f9c-9048-4634-a0c4-6e5858637743_1.content' in any resource loader.
[22/08/12 12:30:20:435 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content
[22/08/12 12:30:20:435 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' in any resource loader.
[22/08/12 12:30:37:192 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/35c662d8-9b72-4071-be5f-ac993da713b0_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/35c662d8-9b72-4071-be5f-ac993da713b0_1.content
[22/08/12 12:30:37:192 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/35c662d8-9b72-4071-be5f-ac993da713b0_1.content' in any resource loader.
[22/08/12 12:30:38:641 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:30:38:642 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' in any resource loader.
[22/08/12 12:30:45:321 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:30:45:321 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' in any resource loader.
[22/08/12 12:30:57:749 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/8e405d14-5b82-4729-8c13-37d783a5128a_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/8e405d14-5b82-4729-8c13-37d783a5128a_1.content
[22/08/12 12:30:57:749 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/8e405d14-5b82-4729-8c13-37d783a5128a_1.content' in any resource loader.
[22/08/12 12:30:57:977 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:30:57:977 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' in any resource loader.
[22/08/12 12:32:01:818 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/8e405d14-5b82-4729-8c13-37d783a5128a_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:32:01:818 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/8e405d14-5b82-4729-8c13-37d783a5128a_1.content' in any resource loader.
[22/08/12 12:32:02:051 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:32:02:051 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/d00be1b7-3f48-4483-8dcf-36c0e79707ed_1.content' in any resource loader.
[22/08/12 12:35:03:282 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/5f5dbd7d-5a67-45bd-bde2-6e676e4e23f0_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:35:03:283 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/5f5dbd7d-5a67-45bd-bde2-6e676e4e23f0_1.content' in any resource loader.
[22/08/12 12:35:03:284 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/56c86721-2fa2-45d0-b298-157d3f93f1b3_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:35:03:284 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/56c86721-2fa2-45d0-b298-157d3f93f1b3_1.content' in any resource loader.
[22/08/12 12:35:03:285 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/5233330e-e548-4b1c-aae6-212b3e7b9fa4_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:35:03:285 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/5233330e-e548-4b1c-aae6-212b3e7b9fa4_1.content' in any resource loader.
[22/08/12 12:35:03:286 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/d0efba35-18fd-4564-99cc-c7df93accbe4_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:35:03:286 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/d0efba35-18fd-4564-99cc-c7df93accbe4_1.content' in any resource loader.
[22/08/12 12:35:03:288 EDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/90e8761e-8f14-49c6-95c0-9ab5db30db24_1.content' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[22/08/12 12:35:03:288 EDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/90e8761e-8f14-49c6-95c0-9ab5db30db24_1.content' in any resource loader.


Any idea? thanks

Moa. M.

unread,
Aug 22, 2012, 2:47:11 PM8/22/12
to dot...@googlegroups.com
i have to set up the right default language in dotmarketing-config.properties,

fontend works now.

Maria Ahues Bouza

unread,
Aug 28, 2012, 11:23:35 PM8/28/12
to dot...@googlegroups.com
I think the issue he had is his content was set in another language, and by default when you install dotCMS the default language is set to English. 

What error are you getting?

On Tue, Aug 28, 2012 at 3:54 PM, <mr.h...@gmail.com> wrote:
Hi Moa. M.,

I met a similar problem. At dotmarketing-config.properties, my my default language is English. Could you explain the change you made at dotmarketing-config.properties? Thanks.

my language setting in dotmarketing-config.properties

DEFAULT_LANGUAGE_COUNTRY = United States
DEFAULT_LANGUAGE = en_US
DEFAULT_LANGUAGE_CODE = en
DEFAULT_LANGUAGE_STR = English
DEFAULT_LANGUAGE_COUNTRY_CODE = US
--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dotcms/-/eusf8AQIEiAJ.

To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.



--
Community Manager

dotCMS
Main: 305.900.2001
Fax: 305.397.2579
www.dotcms.com
http://www.twitter.com/dotCMS
http://www.facebook.com/dotCMS
http://www.twitter.com/mabouza

Please consider the planet before printing this email.

Moa. M.

unread,
Aug 29, 2012, 10:03:30 AM8/29/12
to dot...@googlegroups.com
you are right Maria, my content was set to use french.

Maria Ahues Bouza

unread,
Aug 29, 2012, 5:53:34 PM8/29/12
to dot...@googlegroups.com
Ok, and in what language did you create all your content?

It's looking for content in English, not sure if that's the correct language for your site.

On Wed, Aug 29, 2012 at 2:48 PM, <mr.h...@gmail.com> wrote:
Hi Maria,

I'm trying to upgrade 1.9.3 to 1.9.5. After migrating the database, assets and plugin code, I start the tomcat. There is no error during the initialization of tomcat. But when I try to reach the content, it return a 404 page.

Here is the complete information shown in dotcms.log when I try to load the content page. Thank you for your help.

[29/08/12 14:43:03:303 PDT]  INFO business.DotGuavaCacheAdministratorImpl: ***   Building Cache : livecache_48190c8c-42c4-46af-8d1a-0cd5db894797, size:100, toDisk:false,Concurrency:32
[29/08/12 14:43:03:401 PDT]  INFO cache.VirtualLinksCache: mapping: demo.dotcms.com:/cms404Page -> /demos/404-override-test.dot
[29/08/12 14:43:03:428 PDT]  INFO business.DotGuavaCacheAdministratorImpl: ***   No Cache for   : htmlpagecache, using default
[29/08/12 14:43:03:440 PDT]  INFO business.DotGuavaCacheAdministratorImpl: ***   No Cache for   : permissioncache, using default
[29/08/12 14:43:03:950 PDT]  INFO business.DotGuavaCacheAdministratorImpl: ***   No Cache for   : hostvariablescache, using default
[29/08/12 14:43:04:083 PDT]  INFO business.DotGuavaCacheAdministratorImpl: ***   No Cache for   : velocitymisscache, using default
[29/08/12 14:43:04:148 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/e5fb7985-0f2e-4720-8d21-8dc38adbaf6b_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/e5fb7985-0f2e-4720-8d21-8dc38adbaf6b_1.contentMap
[29/08/12 14:43:04:150 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/e5fb7985-0f2e-4720-8d21-8dc38adbaf6b_1.contentMap' in any resource loader.
[29/08/12 14:43:04:480 PDT]  INFO business.DotGuavaCacheAdministratorImpl: ***   No Cache for   : categoryparentscache, using default
[29/08/12 14:43:10:879 PDT]  INFO cache.VirtualLinksCache: mapping: demo.dotcms.com:/cms404Page -> /demos/404-override-test.dot
[29/08/12 14:43:11:890 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap
[29/08/12 14:43:11:896 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' in any resource loader.
[29/08/12 14:43:11:897 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[29/08/12 14:43:11:897 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' in any resource loader.
[29/08/12 14:43:12:098 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[29/08/12 14:43:12:098 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' in any resource loader.
[29/08/12 14:43:12:142 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap
[29/08/12 14:43:12:142 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' in any resource loader.
[29/08/12 14:43:12:206 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[29/08/12 14:43:12:206 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' in any resource loader.
[29/08/12 14:43:12:252 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Contentlet is a miss in the cache
[29/08/12 14:43:12:253 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' in any resource loader.
[29/08/12 14:43:16:117 PDT]  INFO cache.VirtualLinksCache: mapping: demo.dotcms.com:/cms404Page -> /demos/404-override-test.dot
[29/08/12 14:43:16:481 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/63027ee4-e1e5-478e-9f67-8bed53e847ef_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/63027ee4-e1e5-478e-9f67-8bed53e847ef_1.contentMap
[29/08/12 14:43:16:482 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/63027ee4-e1e5-478e-9f67-8bed53e847ef_1.contentMap' in any resource loader.
[29/08/12 14:43:16:691 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap
[29/08/12 14:43:16:692 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' in any resource loader.
[29/08/12 14:43:16:917 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap
[29/08/12 14:43:16:917 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' in any resource loader.
[29/08/12 14:43:18:516 PDT]  INFO cache.VirtualLinksCache: mapping: demo.dotcms.com:/cms404Page -> /demos/404-override-test.dot
[29/08/12 14:43:18:765 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap
[29/08/12 14:43:18:765 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/11aa0a04-bc92-4db4-a01e-31f11590adca_1.contentMap' in any resource loader.
[29/08/12 14:43:20:669 PDT]  INFO cache.VirtualLinksCache: mapping: demo.dotcms.com:/cms404Page -> /demos/404-override-test.dot
[29/08/12 14:43:20:944 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/63027ee4-e1e5-478e-9f67-8bed53e847ef_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/63027ee4-e1e5-478e-9f67-8bed53e847ef_1.contentMap
[29/08/12 14:43:20:945 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/63027ee4-e1e5-478e-9f67-8bed53e847ef_1.contentMap' in any resource loader.
[29/08/12 14:43:21:084 PDT]  WARN app.VelocityEngine: Error ocurred finding resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' exception: org.apache.velocity.exception.ResourceNotFoundException: Invalid resource path provided = live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap
[29/08/12 14:43:21:084 PDT] ERROR app.VelocityEngine: ResourceManager : unable to find resource 'live/3f9b0a76-1b3d-4f14-9590-46e09986df63_1.contentMap' in any resource loader.
To view this discussion on the web visit https://groups.google.com/d/msg/dotcms/-/-FBHZ1J_KLYJ.

To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.

Maria Ahues Bouza

unread,
Aug 29, 2012, 6:02:57 PM8/29/12
to dot...@googlegroups.com
Did you try running a Full Reindex?

Go to CMS Admin --> CMS Maintenance --> Index --> and click on Reindex.

On Wed, Aug 29, 2012 at 2:59 PM, <mr.h...@gmail.com> wrote:
Yes, all the contents are in English
To view this discussion on the web visit https://groups.google.com/d/msg/dotcms/-/7FExn5z5GHoJ.

To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.

Maria Ahues Bouza

unread,
Aug 30, 2012, 5:53:31 PM8/30/12
to dot...@googlegroups.com
The assets should be under dotCMS or you should change the variable ASSET_REAL_PATH in the dotmarketing-config.properties file. 

Or if you're running on Linux you should create a symlink from dotCMS/assets to the location where they are.

Even trying http://localhost/c/ is giving you a 404?

On Wed, Aug 29, 2012 at 4:40 PM, <mr.h...@gmail.com> wrote:
Hi Maria,

Do you think it could be an asset problem? In 1.9.3, I put the assets under dotCMS. Should I put the assets at the same place in 1.9.5? Is there anything regarding to assets I should pay attention to? Thank you very much.

Regards,
Hong
To view this discussion on the web visit https://groups.google.com/d/msg/dotcms/-/nlGBsBFKZh8J.

To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.

Maria Ahues Bouza

unread,
Aug 30, 2012, 11:49:23 PM8/30/12
to dot...@googlegroups.com
If you have the assets under dotCMS/assets then you don't need to modify your dotmarketing-config.properties.

Please copy / paste the errors from your log.

On Thu, Aug 30, 2012 at 5:30 PM, <mr.h...@gmail.com> wrote:
Hi Maria,

You are right. I got 404 when I try to reach http://localhost/c/

I use linux and put the asset files under ./dotCMS/assets. 

I found two file named 'dotmarketing-config.properties' in ./src-conf/dotmarketing-config.properties and ./dotCMS/WEB-INF/classes/dotmarketing-config.properties It seems they are identical and 'ASSET_REAL_PATH' has been commented. Here is part of the document.

# PATHS
CMS_STRUTS_PATH = /dotCMS/
PATH_TO_REDIRECT = /redirectURL
PATH_TO_IMAGES = /images
#To set the report path you can specific a relative path normally like /reports The path is relative to the asset path.
#If you set the ASSETS_REAL_PATH variable usually because you have the assets on a shared windows path make the REPORT_PATH = a directory name
#For example REPORT_PATH=myReports  this will put a directory under your REAL_ASSETS_PATH with the reports in it.
REPORT_PATH=/reports
ASSET_PATH = /assets
# This variable should be used only if the assets and reports are located in a
# shared folder in unix/linux enviroments we encourage you to use symbolic links
# If this variable is commented the system will work as usual using
# the ASSET_PATH variable as the assets directory inside liferay web root
# ASSET_REAL_PATH = \\\\server01\\dotdata\\users\\david\\assets
# This variable should be used if the dynamic content is to be placed outside of the web application.  By the default, the location
# is in dotCMS/dotsecure.  If running as war inside an application server, it is important to move this data to a location
# outside of the web application, to prevent data such as the cache and the index from being deleted if the war is redeployed.
#DYNAMIC_CONTENT_PATH=\\dotcms\\dotsecure
PATH_TO_TITLE_IMAGES = /WEB-INF/generated_images/
PATH_TO_ICONS = /html/images/icons
PATH_THANKYOU_EMAIL = /global/emails/inquiry_thankyou.dot
PATH_RECEIPT_EMAIL = /global/emails/receipt.dot
To view this discussion on the web visit https://groups.google.com/d/msg/dotcms/-/rMRTXhdPST4J.

To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.

Dieter Geerts

unread,
May 27, 2014, 5:51:47 AM5/27/14
to dot...@googlegroups.com
Hi, I know this is some older thread, but I have a similar issue with assets.
I can see the following error in the dotcms-velocity.log:

ERROR resource.ResourceManagerImpl: ResourceManager : unable to find
resource
'/usr/share/dotcms/tomcat/webapps/../../dotCMS/assets/1/b/1b045287-82c7-412b-963a-26ca21d5fe1c/fileAsset/template.vtl'
in any resource loader.

If I check the filesystem, I can find the resource:

vagrant@debian-squeeze-64:/usr/share/dotcms/dotCMS/assets/1/b/1b045287-82c7-412b-963a-26ca21d5fe1c/fileAsset$

What I notice here is that dotcms is looking on a different path, how is
this possible, and how can I fix this?

Also, if I fix assets inconsistencies, rebuild index and flush caches, I can
see html pages, but errors are displayed that .vtl files can't be found. It
looks like doing this removes a lot of our template files.



--
View this message in context: http://forumarchive.dotcms.com/ResourceManager-unable-to-find-resource-after-upgrading-dotCMS-tp5711595p5722664.html
Sent from the dotCMS Users Group mailing list archive at Nabble.com.

Falzone, Chris

unread,
May 27, 2014, 7:25:22 AM5/27/14
to dot...@googlegroups.com
The 2 directories are the same:

/usr/share/dotcms/tomcat/webapps/../../dotCMS/assets/1/b/1b045287-82c7-412b-963a-26ca21d5fe1c/fileAsset/

Is the same as

/usr/share/dotcms/dotCMS/assets/1/b/1b045287-82c7-412b-963a-26ca21d5fe1c/fileAsset/

"../" means go up one directory.  

It could be file permissions maybe.



--
You received this message because you are subscribed to the Google Groups "Dotcms User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.

To post to this group, send email to dot...@googlegroups.com.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/d/optout.



--

Christopher Falzone

Interactive Developer


A Q U E N T

Digital, Creative, and Marketing Talent


aquent.com

cfal...@aquent.com

Kivi Shapiro

unread,
May 27, 2014, 8:42:42 AM5/27/14
to dot...@googlegroups.com, dieter...@ebit.be
On Tuesday, 27 May 2014 05:51:47 UTC-4, Dieter Geerts wrote:
Also, if I fix assets inconsistencies, rebuild index and flush caches, I can
see html pages, but errors are displayed that .vtl files can't be found. It
looks like doing this removes a lot of our template files.

We found the same, on older versions of Dotcms.  The most recent version doesn't seem to have that problem for us.

Kivi Shapiro
Qualicom Innovations
Reply all
Reply to author
Forward
0 new messages