cancel
Showing results for 
Search instead for 
Did you mean: 

running alfresco server

rmesli
Champ in-the-making
Champ in-the-making
Hello,
Installed Alfresco WAR(Alfresco 2.0 Release), Tomcat 5.5 and Mysql 5.0.
Followed all steps described in README_war.txt and README_mysql.txt. Started MySql, then Tomcat.
When trying alfresco , error 404 resource not available. Here is the alfresco.log content.
I hope someone can help
Thanks
ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:444)
…
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to read zip file due to Cp437
   at org.alfresco.repo.importer.ACPImportPackageHandler.startImport(ACPImportPackageHandler.java:83)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:227)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430)
   … 33 more
Caused by: java.util.zip.ZipException: Cp437
   at org.apache.tools.zip.ZipFile.getString(ZipFile.java:454)
   at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:298)
   at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:142)
   at org.alfresco.repo.importer.ACPImportPackageHandler.startImport(ACPImportPackageHandler.java:79)
   … 35 more
ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:444)
   at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:666)
…
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to read zip file due to Cp437
   at org.alfresco.repo.importer.ACPImportPackageHandler.startImport(ACPImportPackageHandler.java:83)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:227)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430)
   … 33 more
Caused by: java.util.zip.ZipException: Cp437
   at org.apache.tools.zip.ZipFile.getString(ZipFile.java:454)
   at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:298)
   at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:142)
   at org.alfresco.repo.importer.ACPImportPackageHandler.startImport(ACPImportPackageHandler.java:79)
   … 35 more
ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:444)
   at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:666)
…
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to read zip file due to Cp437
   at org.alfresco.repo.importer.ACPImportPackageHandler.startImport(ACPImportPackageHandler.java:83)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:227)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430)
   … 33 more
Caused by: java.util.zip.ZipException: Cp437
   at org.apache.tools.zip.ZipFile.getString(ZipFile.java:454)
   at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:298)
   at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:142)
   at org.alfresco.repo.importer.ACPImportPackageHandler.startImport(ACPImportPackageHandler.java:79)
   … 35 more
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Hi,

Please see if this thread http://forums.alfresco.com/viewtopic.php?t=2785 answers your problem.

thanks,
Mike

rmesli
Champ in-the-making
Champ in-the-making
That was it!  the charsets.jar was not in my jre1.5.0_11 automatic update. I made a copy form my own jre installation which fixed the problem.

Thanks and I suggest that this issue be added to the README_war.txt in the Trouble-Shooting section

rmesli
Champ in-the-making
Champ in-the-making
Sorry the problem is not solved. I was too quick in my reply. There was an alfresco enterprise trial version running and I got mixed up.

I will continue my investgations and may commeback with this issue

rmesli
Champ in-the-making
Champ in-the-making
Ok! Now I confirm: the problem was with the charsets.jar missing from jre/lib

I had to clean up  everything and start anew. Everything is working fine now
Thanks for your fast reply.