ufonduo / share-extras

Automatically exported from code.google.com/p/share-extras
0 stars 0 forks source link

Media Viewers plugins not getting enabled #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install the jar's in shared/lib
2. create the web-preview.get.config.xml in the rigth place with the content 
from docu
3. restart tomcat
4. enable the modules in  Module Deployment console
4. go to share-url and view some javascript 
5. the output will be "no preview possible"

What is the expected output? What do you see instead?
expected the output like this 
http://sharextras.org/trunk/Media%20Preview/screenshots/prettify-js.png

What version of the add-on are you using? Please provide version of the
downloaded package, or Subversion revision number.
media-viewers-2.0.jar
share-webodf-0.1.jar

What version of Alfresco are you using? On what application server?
Alfresco started (Community). Current version: 4.0.0 (7) schema│
09│ 5.025. Originally installed version: 4.0.0 (4003) schema 5.025.
on
tomcat 7.0.26-1ubuntu1.1
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

What web browser are you using? Please supply browser name and version.
firefox 15.0.1 on ubuntu 12.04

Please provide any additional information below.
there are no errors in alfresco.log or catalina.out

Original issue reported on code.google.com by jan.krupka on 4 Oct 2012 at 9:21

Attachments:

GoogleCodeExporter commented 8 years ago
Renamed issue, summary is not specific

Original comment by will.abson on 4 Oct 2012 at 9:39

GoogleCodeExporter commented 8 years ago
It sounds like your custom web-preview.get.config.xml is not getting loaded. 
Please check your paths are correct and also ensure that shared/classes is 
included in the shared.loader property in Tomcat's conf/catalina.properties.

If you still have problems you can use the web scripts console 
(http://server/share/page/index) to take a look at the web script 
org.alfresco.preview.web-preview.get and check which config file is being 
loaded.

Original comment by will.abson on 4 Oct 2012 at 9:44

GoogleCodeExporter commented 8 years ago

Original comment by will.abson on 4 Oct 2012 at 9:46

GoogleCodeExporter commented 8 years ago
It was a problem with the path for the web-preview.get.config.xml. I forget the 
folder site-webscripts.

many thanks for your support

Original comment by jan.krupka on 4 Oct 2012 at 11:20

GoogleCodeExporter commented 8 years ago
No problem, thanks for the feeback

Original comment by will.abson on 4 Oct 2012 at 11:22