cancel
Showing results for 
Search instead for 
Did you mean: 

Docasu Java Error on Login

usuf
Champ in-the-making
Champ in-the-making
Hello, I am hoping you guys can steer me in the right direction with this Docasu error I am receiving.

Installed on Fedora 9 is
-Alfresco_LabsC
-jdk1.6.0_13
-mysql

Here is the error msg I get immediately after I log into the admin account, & when I want to add a space/file to my favorites. Alfresco.log is posted directly after the error message.

Failed to load favorite : java.lang.String cannot be cast to java.util.List
Status: 500 Internal ErrorAn error inside the HTTP server which prevented it from fulfilling the request.
Exception: java.lang.ClassCastException - java.lang.String cannot be cast to java.util.List
Server: Alfresco Labs v3.0.0 (c 1342) schema 1,000
Mar 30, 2009 4:07:35 PM

Alfresco.log

16:14:17,535 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
16:14:48,645 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
16:14:56,726 ERROR [org.alfresco.repo.content.transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer:
Execution result:
   os:         Linux
   command:    pdf2swf -V
   succeeded:  false
   exit code:  1
   out:
   err:        Cannot run program "pdf2swf": java.io.IOException: error=2, No such file or directory
16:15:02,963 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
16:15:03,760 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
16:15:04,755 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
command:    "/opt/openoffice.org3/program/soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:////opt/openoffice.org3" -nologo -headless -nofirststartwizard -nocrashrep -norestore
   succeeded:  false
   exit code:  2
   out:
   err:        Cannot run program ""/opt/openoffice.org3/program/soffice"": java.io.IOException: error=2, No such file or directory
16:15:07,405 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/Alfresco/alf_data
16:15:07,470 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
16:15:07,619 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
16:15:07,624 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
16:15:07,679 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'com.optaros.alfresco.docasu' version 1.6.0.
16:15:12,862 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
16:15:12,863 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
16:15:13,103 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
16:15:13,183 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_13-b03; maximum heap size 506.313MB
16:15:13,184 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (c 1342) schema 1000 - Installed version 3.0.0 (c 1342) schema 1000
16:15:13,435 WARN  [org.alfresco.linkvalidation.LinkValidationServiceImpl] LinkValidationService Update is not running (virtualization server not registered or started)
16:15:36,605 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 21 Web Scripts (+0 failed), 23 URLs
16:15:41,622 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 5095.2866ms)
16:15:42,523 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 134 Web Scripts (+0 failed), 136 URLs
16:15:42,523 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 899.3145ms)
16:15:42,594 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework


Any help whatsoever would be much appreciated, thanks ;D
2 REPLIES 2

sry412406
Champ in-the-making
Champ in-the-making
I also encountered the same problem


org.alfresco.web.scripts.WebScriptException - Wrapped Exception (with status template): Failed to execute script '/com/optaros/alfresco/docasu/shortcuts/addshortcut.put.js (in classpath store fileSmiley Very Happy:/MyEclipse 6.0/workspace/ACWS_KM/km/WEB-INF/classes/alfresco/extension/templates/webscripts)': TypeError: Cannot find function push.

hongbo
Champ in-the-making
Champ in-the-making
I got similar error as well. Anyone from optaros in this forum?

Failed to load favorite : Wrapped Exception (with status template): Transaction must be active and synchronization is required: Thread[http-8080-6,5,main]

Status: 500 Internal ErrorAn error inside the HTTP server which prevented it from fulfilling the request.

Exception: org.alfresco.web.scripts.WebScriptException - Wrapped Exception (with status template): Transaction must be active and synchronization is required: Thread[http-8080-6,5,main]

Server: Alfresco Enterprise v3.1.0 (142) schema 1,008

Apr 22, 2009 8:03:51 AM