cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Tomcat Server Restart

arun_123
Champ in-the-making
Champ in-the-making
Hello Everyone,

            I installed Alfresco Tomcat in Windows 2003 i want to start the tomcat server in php file. I tried with my code but its not working.
 
$cmd = "c:\Alfresco\tomcat\bin\service.bat START";
//exec($cmd, $data, $ret); // execute command, output is array
system("cmd /c c:\Alfresco\tomcat\bin\service.bat");

I tried this windows command but its not working anybody help what is the mistake or how to run the tomcat server with php.

Thanks,
Arunmozhi
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
You might have better luck looking at a general PHP forum or reference site. If you can get PHP to run any BAT file you should be able to get it to call Alfresco's.

Jeff