cancel
Showing results for 
Search instead for 
Did you mean: 

tomcat/webapps folder doesn't have what it should

rchapman
Champ in-the-making
Champ in-the-making
I followed the Alfresco installation steps on the Wiki and came to an abrupt halt when it mentioned the WEB-INF folder under the tomcat/webapps folder.

Unless I'm totally missing something, the only thing I have in the webapps folder is alfresco.war and ROOT. This is causing problems in startup, as the errors keep telling me that it can't find files in tomcat/webapps/…/META-INF/

Is there something I missed in installation? Or is something really weird with my folder structure?
7 REPLIES 7

loftux
Star Contributor
Star Contributor
That looks like it is correct. The alfresco folder under webapps will appear once tomcat is started and the alfresco,.war is unpacked. So you have to start at least once for you to see this folder.

/Peter

rchapman
Champ in-the-making
Champ in-the-making
Well this is a funny little catch-22, as it won't actually start tomcat without errors complaining of the missing directories.

So to start… it needs the files and folders that it creates… after it starts?

loftux
Star Contributor
Star Contributor
Have you checked that the user used to start tomcat does have write access?

If you are using the startup script from the wiki, that user is alfresco.
If that is not the problem, error messages will help to figure out what is going on

Peter

rchapman
Champ in-the-making
Champ in-the-making
Hi Peter,

I'm running the alfresco startup with the sudo command, so I assume root has full write access.

The first error that comes up in the log is

SEVERE: Exception fixing docBase: {0}
java.io.FileNotFoundException: /opt/alfresco/tomcat/webapps/alfresco/META-INF/MANIFEST.MF (No such file or directory)

Everything before that is just "initializations" so I assume everything else is going fine.

sacco
Champ in-the-making
Champ in-the-making
Yes, check that this has been done (it won't hurt to repeat the command):

chown -R alfresco:alfresco /var/lib/alfresco

rchapman
Champ in-the-making
Champ in-the-making
The /var/lib/alfresco directory is chowned properly to alfresco.

rchapman
Champ in-the-making
Champ in-the-making
I think I've got it. There were some OTHER permissions needing to be clarified, then I got my webapps folder fixed. Now I just need my sys admins to open a port or two, but I'm going. Alfresco away!

Thanks everyone for your help and suggestions.

~ Ross