cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco3.2r2 using tomcat-6.0.18 on Debian install

frippe12573
Champ in-the-making
Champ in-the-making
Goodmorning to all,
i'm a new forum and alfresco user, i'm trying to install it on my work server, but i've got some problems.
I read somethings around alfresco on the web document, but what i read doesen't help my for now.
My start situation is: a server with debian lenny operation system 5.0, apache 2.2.9 ok and running,
mysql5.0.51 ready and running, java isa jdk downloaded from sun website in the version 1.6.0_18.
Tomcat is 6.0.18 version, but i didn't install it with apt method but it's part of a business intelligence package (SpagoBI)
so i downloaded alfresco3.2r2war package to deploy in my running tomcat (for spagobi).
with this italian white paper (old but useful): http://www.openfacile.it/e107_plugins/c … content.23
i created the missing directory in my tomcat installation and then i deplyed the alfresco.war, mobile.war and
share.war , then i put the mysql driver at version:
mysql-connector-java-5.1.7-bin.jar (that guide suggest mysql-connector-java-5.0.6-bin.jar), anyway if i use phpmysqladmin
i found alfresco db, created before with the script, but it results empty, with any table, but in the
information_schema i found 17 elements. (maybe the script didn't work right?).
If i try to connect to http://myserverip:8080/
i see tomcat page manager, i found share.war e mobile.war as running applications,
but alfresco (it's present) is not running, if i try to start it:
FAIL - Application at context path /alfresco could not be started

at this address: http://myserverip:8080/alfresco i have:
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.

if i try: http://myserverip:8080/share i have:
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: org.alfresco.error.AlfrescoRuntimeException: 02190000 Unable to retrieve object: site-index of type: page
org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:146)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

org.alfresco.error.AlfrescoRuntimeException: 02190000 Unable to retrieve object: site-index of type: page
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:140)
org.alfresco.web.site.Model.getObject(Model.java:513)
org.alfresco.web.site.Model.getPage(Model.java:165)
org.alfresco.web.site.SlingshotPageMapper.executeMapper(SlingshotPageMapper.java:188)
org.alfresco.web.site.AbstractPageMapper.execute(AbstractPageMapper.java:62)
org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:109)
org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:142)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

org.alfresco.web.framework.exception.ModelObjectPersisterException: Error loading object id: site-index from persister id: RemoteStore_alfresco/site-data/pages_page
org.alfresco.web.framework.MultiModelObjectPersister.getObject(MultiModelObjectPersister.java:110)
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:136)
org.alfresco.web.site.Model.getObject(Model.java:513)
org.alfresco.web.site.Model.getPage(Model.java:165)
org.alfresco.web.site.SlingshotPageMapper.executeMapper(SlingshotPageMapper.java:188)
org.alfresco.web.site.AbstractPageMapper.execute(AbstractPageMapper.java:62)
org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:109)
org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:142)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

org.alfresco.web.framework.exception.ModelObjectPersisterException: Failure to load model object for path: site-index.xml
org.alfresco.web.framework.StoreModelObjectPersister.getObjectByPath(StoreModelObjectPersister.java:170)
org.alfresco.web.framework.StoreModelObjectPersister.getObject(StoreModelObjectPersister.java:108)
org.alfresco.web.framework.MultiModelObjectPersister.getObject(MultiModelObjectPersister.java:106)
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:136)
org.alfresco.web.site.Model.getObject(Model.java:513)
org.alfresco.web.site.Model.getPage(Model.java:165)
org.alfresco.web.site.SlingshotPageMapper.executeMapper(SlingshotPageMapper.java:188)
org.alfresco.web.site.AbstractPageMapper.execute(AbstractPageMapper.java:62)
org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:109)
org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:142)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.io.IOException: Unable to test document path: site-index.xml in remote store: alfresco due to error: 404
org.alfresco.web.scripts.RemoteStore.hasDocument(RemoteStore.java:351)
org.alfresco.web.framework.StoreModelObjectPersister.getObjectByPath(StoreModelObjectPersister.java:136)
org.alfresco.web.framework.StoreModelObjectPersister.getObject(StoreModelObjectPersister.java:108)
org.alfresco.web.framework.MultiModelObjectPersister.getObject(MultiModelObjectPersister.java:106)
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:136)
org.alfresco.web.site.Model.getObject(Model.java:513)
org.alfresco.web.site.Model.getPage(Model.java:165)
org.alfresco.web.site.SlingshotPageMapper.executeMapper(SlingshotPageMapper.java:188)
org.alfresco.web.site.AbstractPageMapper.execute(AbstractPageMapper.java:62)
org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:109)
org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:142)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.

Finally if i try: http://myserverip:8080/mobile i have
the loggin page with user e password fields, but if i use (admin/admin)
i'm not able to login.

Anyone can help me?
Reguards
F.
2 REPLIES 2

smcardle
Champ in-the-making
Champ in-the-making
Hi All.

I had exact the same problem installing to a running Tomcat on Ubuntu 9.10

If you run Tomcat with security enabled then you will need to set a whole bunch of Grants in the generated policy file. This took me about 3 hours to get through them all and add them to the /etc/tomcat6/policy.d/04webapps.policy file which is used to auto create the catalina.policy file when Tomcat starts up. I will probably get around to creating afile just for Alfresco but would like to get it working first.

I actually over granted the permissions in this file because it took so frigging long to keep stopping and starting Tomcat to find them all.

Anyway, once this is done and you get over the Heap and PermGenSpace issues you get to the same issue as the previous poster. However, I have some more details.

nested exception is java.rmi.server.ExportException: internal error: ObjID already in use

This is obviously some issue with the RMI server during the Spring context initialisation but I can't find it. So, I downloaded all the Alfresco source code to try to do some debugging in Eclipse.
The line number in the stack trace I get for the Alfresco class:
at org.alfresco.web.app.ContextLoaderListener.createInitialized(ContextLoaderListener.java:69)
actually points to a logging method entry in the source code that I downloaded from the alfresco HEAD so that doesn't help me either.

Next I thought I would build alfresco from the sources, create the wars and use these instead of the downloaded ones. Has ANYBODY got the bunch of projects to compile and actuall create a deployable war file?

So far I am completely annoyed by the complete lack of any information to help in creating war files from the source or actually deploying the downloaded wars to an already installed Tomcat, not the alfresco Tomcat package.

I think you Alfresco techie guys should pull your fingers out and at least provide a guide to getting Alfresco to load and compile as an Eclipse project and I don't want any nonsence about using the Enterprise version and getting paid support instead. This is a basic requirement for an Open Source project.

Some simple instructions would be a start, such as :
Download Source Code from XXXX
Import projects from directory XXX into Eclipse (by the way, sort out the dupplicate project names in the SDK packages that screws this up)
Run the War task in this Ant build script.
Copy your JDBC drivers to XXX directory on Tomcat
etc etc etc
Deploy

So, it would be good to get some actual help here from one of the developers or contributors on how to fix these issues.

And by the way, what is the user name and password for the mobile.war because I can't log in either…….

Regards

Steve

smcardle
Champ in-the-making
Champ in-the-making
Do actual Alfresco developers look at this forum and try to address issues of the community?