Alfresco Tomcat Server Restart

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:45 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2012 12:10 PM
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
Jeff
