cancel
Showing results for 
Search instead for 
Did you mean: 

Dashlets not showing site control panel in 4.2

mmccudden
Champ in-the-making
Champ in-the-making
Hi all.

I've just done a fresh install of Alfresco 4.2b Community on a 64 bit windows platform.

When I copied over some jar files to install Dashlets for sites they refuse to show up in the site control panel.

I place the dashlets in C:\Alfresco\tomcat\shared\lib

I have done this before on older Alfresco Community installs with no problems but in this particular case they don't work, no errors show up in logs either.

The dashlets are (latest versions of each dashlet):
site-tags-dashlet-2.0
site-blog-dashlet-2.0
site-poll-dashlet-2.0.1
twitter-dashlets-2.5

Has anyone seen this before? Any known solution?

Regards.
5 REPLIES 5

ddraper
World-Class Innovator
World-Class Innovator
Where have you copied these dashlets from?

Regards,
Dave

mmccudden
Champ in-the-making
Champ in-the-making
Downloaded from https://code.google.com/p/share-extras/downloads/list

I got to that url through the Alfresco addons site: http://addons.alfresco.com/addons/twitter-dashlets

Regards

ddraper
World-Class Innovator
World-Class Innovator
OK, I'll give Will a nudge to take a look at this when he has some time as he looks after the Share Extras site,

Regards,
Dave

mmccudden
Champ in-the-making
Champ in-the-making
Ok, thanks Dave.

Just to let you, I have been tinkering around with this and if I put them in:

C:\Alfresco\tomcat\webapps\share\WEB-INF\lib

they now show up in the site control panel.

This is not the correct solution because they reference external JS scripts that can’t be loaded, thus some functionality is non operative.

Failed to load resource: the server responded with a status of 404 (No Encontrado) http://192.168.2.2:8888/share/res//share/modules/simple-dialog_.js
Failed to load resource: the server responded with a status of 404 (No Encontrado) http://192.168.2.2:8888/share/res/extras/modules/oauth_.js
Failed to load resource: the server responded with a status of 404 (No Encontrado) http://192.168.2.2:8888/share/res//share/modules/taglibrary/taglibrary_.js
Failed to load resource: the server responded with a status of 500 (Error Interno del Servidor) http://192.168.2.2:8888/share/page/site/tic-moodle/_d41d8cd98f0b24e980998ecf8427e
Failed to load resource: the server responded with a status of 404 (No Encontrado) http://192.168.2.2:8888/share/res//share/modules/editors/tiny_mce_.js
Failed to load resource: the server responded with a status of 404 (No Encontrado) http://192.168.2.2:8888/share/res//share/modules/taglibrary/taglibrary_.css

Regards.

wabson
Star Contributor
Star Contributor
Hi, this is not specific to Share Extras but a couple of other people have reported similar issues to me recently.

I suspect that the installers have stopped enabling the shared/lib directory in 4.2. Please check your tomcat/conf/catalina.properties file and you should have a line like

shared.loader=${catalina.home}/shared/classes,${catalina.home}/shared/lib/*.jar

If you do not have this line please add it, then the JAR files should be picked up when you restart. You will want to comment out any other lines in the file where this property is set.

Cheers,
Will