I am trying to start vanilla version of ACS7.2 on a linux server. I have unpackWARs true. I have placed alfresco and share context in tomcat/conf/Catalina/localhost. When I start tomcat, it says this for alfresco and share:
java.lang.IllegalArgumentException: The main resource set specified [/opt/alfresco/tomcat/webapps/alfresco] is not valid
I checked webapps and alfresco.war is not unpacked. Here is the snippet of exception: SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/opt/alfresco/tomcat/conf/Catalina/localhost/alfresco.xml]
java.lang.IllegalStateException: Error starting child........... Caused by: java.lang.IllegalArgumentException: The main resource set specified [/opt/alfresco/tomcat/webapps/alfresco] is not valid.
I tried to unzip alfresco and share and it still show same error.
Did anyone some across same issue?
Solved! Go to Solution.
May be a clue , check if you have appropriate permissions applied to the war files and appropriate user is being used to start the services. Clean the work directory first before you restart.
You can also refer detailed steps here: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html
and compare if you are missing anything.
General permission mapping example: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html#fi...
May be a clue , check if you have appropriate permissions applied to the war files and appropriate user is being used to start the services. Clean the work directory first before you restart.
You can also refer detailed steps here: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html
and compare if you are missing anything.
General permission mapping example: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html#fi...
Thanks Abhinav. Permissions did the trick. I had 777. Setting to 775 worked. Doesnt it sound weird?
Glad to hear that. I would say weird behavior if the permission was recursively set. I am not sure if you checked that.
You can try setting 777 instead of 775 using the same commands i shared and see what happens just to cross check.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.