cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat not starting with Vanilla ACS7.2

prakashpatel87
Champ in-the-making
Champ in-the-making

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?

1 ACCEPTED ANSWER

abhinavmishra14
World-Class Innovator
World-Class Innovator

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...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

3 REPLIES 3

abhinavmishra14
World-Class Innovator
World-Class Innovator

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...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)