cancel
Showing results for 
Search instead for 
Did you mean: 

Dashboard error on a newly installed alfresco

morimo
Champ in-the-making
Champ in-the-making
I was ask to check Alfresco for work.

I just installed ubuntu 9.0.4 jaunty server.
Installed LAMP, Tomcat, SAMBA at OS install.
Used sudo apt-get install alfresco-community to install alfresco.

installation went well no errors.

opened workspace and everything went well.

when i opened Alfresco Share using admin account i get this error on one of the dashlet.

An error has occured in the Share component: /share/service/components/dashlets/rssfeed.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 07080003 Failed to load script '/org/alfresco/components/dashlets/rssfeed.get.js (in classpath store file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 07080002 ReferenceError: "XML" is not defined. (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js#150)
Server: Alfresco <unknown> v<unknown> schema -1
Time: Aug 8, 2009 2:04:31 AM

didn't really mind at first just deleted rss dashlet. but when I was making a collaboration page. I run into another error on the wiki and the rest.


An error has occured in the Share component: /share/service/components/wiki/page.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 07080021 Failed to load script '/org/alfresco/components/wiki/page.get.js (in classpath store file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 07080020 ReferenceError: "XML" is not defined. (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/wiki/page.get.js#173)
Server: Alfresco <unknown> v<unknown> schema -1


An error has occured in the Share component: /share/service/components/blog/filters.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 07080023 Failed to load script '/org/alfresco/components/blog/filters.get.js (in classpath store file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 07080022 ReferenceError: "XML" is not defined. (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/blog/filters.get.js#9)
Server: Alfresco <unknown> v<unknown> schema -1


An error has occured in the Share component: /share/service/components/documentlibrary/documentlist.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 07080025 Failed to load script '/org/alfresco/components/documentlibrary/documentlist.get.js (in classpath store file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 07080024 ReferenceError: "XML" is not defined. (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/documentlist.get.js#41)
Server: Alfresco <unknown> v<unknown> schema -1

My question is what am I missing? I thought it was bad install so I did a fresh installl and the same thing.

Thank you in advance.
10 REPLIES 10

mikeh
Star Contributor
Star Contributor
It's picking up an old version of Rhino - you need the one that ships with Alfresco. Usually a classpath issue.

Thanks,
Mike

morimo
Champ in-the-making
Champ in-the-making
Does that mean that I have to reinstall alfresco?

mikeh
Star Contributor
Star Contributor
No. Make sure Alfresco is picking up the Sun JDK that pas installed as part of the package dependencies, not OpenJDK. I'm not an Ubuntu expert, so can't point you to the exact place to change this setting.

Thanks,
Mike

morimo
Champ in-the-making
Champ in-the-making
Thank you,

That should point me to the right direction.

bartddgd
Champ in-the-making
Champ in-the-making
Morimo,

if you've solved your problem, could you please post the steps to solve it? I'm facing a similar issue on Centos.

Best regards,
Bernd.

pcfyiu
Champ in-the-making
Champ in-the-making
I am using Ubuntu 9.04 too and had the same problem.
I solved the issue by uninstalling openjdk

apt-get remove openjdk-6-*

peterowc
Champ in-the-making
Champ in-the-making
Solved for Alfresco 3.2, MySQL and Ubuntu version 8.10 uninstalling openjdk

apt-get remove openjdk-6-*
Bye

stegbth
Champ in-the-making
Champ in-the-making
hi all,

i am running into the same error.

but i dont have an openjdk installed.
there is running Ubuntu 8.04, Sun JDK 1.6.0_18 from Sun/Oracle and Mysql Database.

in /opt/Alfresco/alfresco.sh there is under JAVA_HOME=/usr/local/jdk160 where i installed the jdk.

where is the CLASSPATH checked?

best regards
thomas

stegbth
Champ in-the-making
Champ in-the-making
hi all,

i just doublechecked my ubuntu 8.04, there is no openjdk, no openjre, no java from the repository installed.
only
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

also when starting alfresco in catalina.out i get
13:25:26,002  INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_18-b07; maximum heap size 1820,500MB
13:25:26,023  INFO  [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (r2 2440) schema 3300 - Originally installed version 3.2.0 (r2 2440) schema 3300

what let me assume it is using the correct java.

the only java program which is installed dpkg -l |grep java
ii  ooobasis3.2-javafilter                3.2.0-12                    Java filter module for OpenOffice.org 3.2

i tried the same installation on a Ubuntu 8.10 i386, there does not come up this error.

any ideas?

thomas