In order to run AEM in production ready mode all you need to do is add the nosamplecontent via the -r runmode switch to your existing startup arguments:
1 | java -jar aem-quickstart.jar -r nosamplecontent |
Code samples are intended for illustration purposes only.
For example, you can use the production ready to launch an author instance with MongoDB persistence like this:
1 | java -jar aem-quickstart.jar -r author,crx3,crx3mongo,nosamplecontent -Doak.mongo.uri=mongodb: //remoteserver :27017 -Doak.mongo.db=aem-author |
Reference Link:- http://blogs.adobe.com/contentmanagement/2013/11/27/install-aem-nosamplecontent-runmode/
Coming back to your problem, please look at error.logs to better understand you problem.
Thanks and Regards
Kautuk Sahni