Tomcat not starting with Vanilla ACS7.2

cancel
Showing results for 
Search instead for 
Did you mean: 
prakashpatel87
Customer

Tomcat not starting with Vanilla ACS7.2

Jump to solution

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 Solution

Accepted Solutions
abhinavmishra14
Advanced

Re: Tomcat not starting with Vanilla ACS7.2

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

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View solution in original post

3 Replies
abhinavmishra14
Advanced

Re: Tomcat not starting with Vanilla ACS7.2

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

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
prakashpatel87
Customer

Re: Tomcat not starting with Vanilla ACS7.2

Jump to solution

Thanks Abhinav. Permissions did the trick. I had 777. Setting to 775 worked. Doesnt it sound weird?

abhinavmishra14
Advanced

Re: Tomcat not starting with Vanilla ACS7.2

Jump to solution

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)