Gregory Amerson 14 Years Ago Hey James, its cool that you got Liferay running using the micro instance (free) instead of having to go with the small instance which starts to charge. I was able to get Liferay to run and even deploy plugins to it, but it required me to customize the AMI image that is used to bootstrap the environment. In the custom image I modified the default tomcat install to include all of the dependencies (liferay jars) in the global classpath of tomcat so that plugins can be deploy just like a local tomcat bundle. I will try to post more detail after ECS when I have a bit more time. Please sign in to reply. Reply as... Cancel
Steffen Schuler 14 Years Ago Nice! I'll give it a try right now : ) Please sign in to reply. Reply as... Cancel
James Falkner 14 Years Ago Greg, yeah, that was the first (and only) major problem I faced - the Liferay dependencies that we manually distribute in the global Tomcat classpath in our bundles (in lib/ext). I wish there were a way to configure the default Tomcat on the default micro instance to pick up the appropriate JARs in the global classpath. There probably is, but I didn't take the time to find it. Please sign in to reply. Reply as... Cancel
Joosep Simm 14 Years Ago Gregory, how the micro instance is free? I looked at Amazon price list and see $0.02 per hour fee for micro instance. Am I missing something? Please sign in to reply. Reply as... Cancel Gregory Amerson Joosep Simm 14 Years Ago Oh right, micro is $0.02, I was thinking of another cloud service. Please sign in to reply. Reply as... Cancel James Falkner Gregory Amerson 14 Years Ago BTW, after my experimentations on Tuesday, my total bill is now $0.38. Most of it was from 'transfer charges' while uploading the 3 different versions of the 150MB .war file. I'm broke! Please sign in to reply. Reply as... Cancel Steffen Schuler James Falkner 14 Years Ago ... you are broke? That explains how LF Inc. doubles its First Quater Revenue : ) Please sign in to reply. Reply as... Cancel James Falkner Steffen Schuler 14 Years Ago Just doing my part for the betterment of the company and our mission. "A penny saved is a penny earned" :-) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 14 Years Ago What is the difference in doing a Liferay instance on Amazon using EC2 like Alexey Kahunin created or the instance that was created here using the Elastic Beanstalk? I am just trying to figure out an economical way of hosting Liferay and it seems that either could be a good option.Any insight would be great.Don Please sign in to reply. Reply as... Cancel
Gregory Amerson Joosep Simm 14 Years Ago Oh right, micro is $0.02, I was thinking of another cloud service. Please sign in to reply. Reply as... Cancel James Falkner Gregory Amerson 14 Years Ago BTW, after my experimentations on Tuesday, my total bill is now $0.38. Most of it was from 'transfer charges' while uploading the 3 different versions of the 150MB .war file. I'm broke! Please sign in to reply. Reply as... Cancel Steffen Schuler James Falkner 14 Years Ago ... you are broke? That explains how LF Inc. doubles its First Quater Revenue : ) Please sign in to reply. Reply as... Cancel James Falkner Steffen Schuler 14 Years Ago Just doing my part for the betterment of the company and our mission. "A penny saved is a penny earned" :-) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 14 Years Ago What is the difference in doing a Liferay instance on Amazon using EC2 like Alexey Kahunin created or the instance that was created here using the Elastic Beanstalk? I am just trying to figure out an economical way of hosting Liferay and it seems that either could be a good option.Any insight would be great.Don Please sign in to reply. Reply as... Cancel
James Falkner Gregory Amerson 14 Years Ago BTW, after my experimentations on Tuesday, my total bill is now $0.38. Most of it was from 'transfer charges' while uploading the 3 different versions of the 150MB .war file. I'm broke! Please sign in to reply. Reply as... Cancel Steffen Schuler James Falkner 14 Years Ago ... you are broke? That explains how LF Inc. doubles its First Quater Revenue : ) Please sign in to reply. Reply as... Cancel James Falkner Steffen Schuler 14 Years Ago Just doing my part for the betterment of the company and our mission. "A penny saved is a penny earned" :-) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 14 Years Ago What is the difference in doing a Liferay instance on Amazon using EC2 like Alexey Kahunin created or the instance that was created here using the Elastic Beanstalk? I am just trying to figure out an economical way of hosting Liferay and it seems that either could be a good option.Any insight would be great.Don Please sign in to reply. Reply as... Cancel
Steffen Schuler James Falkner 14 Years Ago ... you are broke? That explains how LF Inc. doubles its First Quater Revenue : ) Please sign in to reply. Reply as... Cancel James Falkner Steffen Schuler 14 Years Ago Just doing my part for the betterment of the company and our mission. "A penny saved is a penny earned" :-) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 14 Years Ago What is the difference in doing a Liferay instance on Amazon using EC2 like Alexey Kahunin created or the instance that was created here using the Elastic Beanstalk? I am just trying to figure out an economical way of hosting Liferay and it seems that either could be a good option.Any insight would be great.Don Please sign in to reply. Reply as... Cancel
James Falkner Steffen Schuler 14 Years Ago Just doing my part for the betterment of the company and our mission. "A penny saved is a penny earned" :-) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 14 Years Ago What is the difference in doing a Liferay instance on Amazon using EC2 like Alexey Kahunin created or the instance that was created here using the Elastic Beanstalk? I am just trying to figure out an economical way of hosting Liferay and it seems that either could be a good option.Any insight would be great.Don Please sign in to reply. Reply as... Cancel
Don DeMoss James Falkner 14 Years Ago What is the difference in doing a Liferay instance on Amazon using EC2 like Alexey Kahunin created or the instance that was created here using the Elastic Beanstalk? I am just trying to figure out an economical way of hosting Liferay and it seems that either could be a good option.Any insight would be great.Don Please sign in to reply. Reply as... Cancel
James Falkner 14 Years Ago Hey Don, the difference is that the Elastic Beanstalk provides additional features above and beyond just using EC2. For example, it will automatically configure and manage Tomcat (which is running Liferay). You can upgrade or downgrade Liferay, get monitoring statistics relevant to running Java apps, and Amazon will automatically scale by adding new instances once you reach a certain threshold of network or CPU activity. All of that would have to be done manually if you were just using EC2 directly (but you can also manage it yourself if you wish).According to Amazon, using Elastic Beanstalk costs no more than if you were to just use EC2 (and S3) directly, but it provides more administrative options. See here for more information on EB features: http://aws.amazon.com/elasticbeanstalk/#functionality Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 14 Years Ago James, Thanks for the update. I am just a one man band. If you were to look at my posts on Liferay I am not even a programmer, but more like a person who dabbles. I have been playing around in Liferay for quite awhile because I see all the potential available to anyone who wants to implement it.I will have to try the Elastic Beanstalk direction you have given us. I would like to see someone else pipe in with how to move beyond the HSQLDB and find out how to set up a production style database like you suggested.Don Please sign in to reply. Reply as... Cancel
Don DeMoss James Falkner 14 Years Ago James, Thanks for the update. I am just a one man band. If you were to look at my posts on Liferay I am not even a programmer, but more like a person who dabbles. I have been playing around in Liferay for quite awhile because I see all the potential available to anyone who wants to implement it.I will have to try the Elastic Beanstalk direction you have given us. I would like to see someone else pipe in with how to move beyond the HSQLDB and find out how to set up a production style database like you suggested.Don Please sign in to reply. Reply as... Cancel
Michael Hartman 14 Years Ago Thanks for the tutorial James. It was very helpful. It's amazing what we can do now where before it would have taken an entire enterprise to do!A note for you PuTTY users, the private key generated by EB is in OpenSSH format. PuTTY cannot recognize a key in this format. You must use PuTTYgen to convert the key from your .pem file into PuTTY's .ppk format. It's easy to do; simply refer to section "8.2.12 Dealing with private keys in other formats" of the PuTTY User Manual. Please sign in to reply. Reply as... Cancel
Srinivas Murty 14 Years Ago I did pretty much what you had written about in your post. For some strange reason, my instance just would not start when I tried the "micro" instance. However, I seem to be experiencing another problem. I am unable to log in to my default Liferay portal. I get the "guest" page with a message stating "You do not have the roles required to access this portlet" for the Sign-in portlet. What am I missing here? I've tried Liferay in the past on local Linux systems without any problems using the embedded database and the demo users. I wonder what's going on here. Please sign in to reply. Reply as... Cancel Don DeMoss Srinivas Murty 14 Years Ago Has anyone figured out how to set up the database using the RDS, or even MySQL?Don Please sign in to reply. Reply as... Cancel James Falkner Don DeMoss 14 Years Ago Hey Don, to configure Liferay to use an existing MySQL, check this out: http://www.liferay.com/community/wiki/-/wiki/Main/Database+ConfigurationAmazon's RDS service purports to be functionally identical to MySQL so it shouldn't be hard to configure to use it, you would do the exact same steps for RDS as you do for MySQL (and substitute the right hostname and port number and username and password for your RDS instance). Please sign in to reply. Reply as... Cancel
Don DeMoss Srinivas Murty 14 Years Ago Has anyone figured out how to set up the database using the RDS, or even MySQL?Don Please sign in to reply. Reply as... Cancel James Falkner Don DeMoss 14 Years Ago Hey Don, to configure Liferay to use an existing MySQL, check this out: http://www.liferay.com/community/wiki/-/wiki/Main/Database+ConfigurationAmazon's RDS service purports to be functionally identical to MySQL so it shouldn't be hard to configure to use it, you would do the exact same steps for RDS as you do for MySQL (and substitute the right hostname and port number and username and password for your RDS instance). Please sign in to reply. Reply as... Cancel
James Falkner Don DeMoss 14 Years Ago Hey Don, to configure Liferay to use an existing MySQL, check this out: http://www.liferay.com/community/wiki/-/wiki/Main/Database+ConfigurationAmazon's RDS service purports to be functionally identical to MySQL so it shouldn't be hard to configure to use it, you would do the exact same steps for RDS as you do for MySQL (and substitute the right hostname and port number and username and password for your RDS instance). Please sign in to reply. Reply as... Cancel
Michael Hartman 14 Years Ago @James,I've run into a problem with the 'Create Account' screen. The Captcha image is broken. Any thoughts as to why the image would not be able to be rendered when running in the Elastic Beanstalk? Please sign in to reply. Reply as... Cancel James Falkner Michael Hartman 14 Years Ago Hmm... I wonder if this bug is still present: http://issues.liferay.com/browse/LEP-7488 It causes captcha to not work when running on OpenJDK. It was seen a couple of years ago. Any chance you could try running with the Oracle JDK 1.5/1.6 instead of the built-in JDK on Elastic Beanstalk? (which is OpenJDK). Please sign in to reply. Reply as... Cancel Michael Hartman James Falkner 14 Years Ago Is that possible with Elastic Beanstalk? Or is the in-use JDK sorta "locked down" in the same way that Tomcat is "locked down".Is there a way to turn off Captcha? Please sign in to reply. Reply as... Cancel James Falkner Michael Hartman 14 Years Ago Set captcha.check.portal.create_account=false in your portal-ext.properties to disable. I'm not sure if you can use your own JDK, but I presume you can, if you copy a JDK to the underlying linux OS, extract it, and set the right environment variables so that Tomcat uses it. You can copy the JDK by using 'scp' (once you have set up ssh). I did not try this, though. Please sign in to reply. Reply as... Cancel Ryan Terwedo James Falkner 13 Years Ago James since I was researching this for awhile before hitting you guys up about it, I would recommend caution about using RDS vs mysql running on another instance in terms of performance, backing up, etc. We slapped our mysql db around a bit and got some interesting performance numbers back, like scaling up to larger instances only helped with specific types of db actions.... Please sign in to reply. Reply as... Cancel Ryan Terwedo Ryan Terwedo 13 Years Ago Btw I have some of the results I can release if you like, other more direct ones I cannot.. it is in an excel file however. Please sign in to reply. Reply as... Cancel James Falkner Ryan Terwedo 13 Years Ago Ryan, definitely I'd like to see those! Feel free to attach to a forum post or send directly to me firstname.lastname@liferay.com (replace first name with james and last name with falkner) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
James Falkner Michael Hartman 14 Years Ago Hmm... I wonder if this bug is still present: http://issues.liferay.com/browse/LEP-7488 It causes captcha to not work when running on OpenJDK. It was seen a couple of years ago. Any chance you could try running with the Oracle JDK 1.5/1.6 instead of the built-in JDK on Elastic Beanstalk? (which is OpenJDK). Please sign in to reply. Reply as... Cancel Michael Hartman James Falkner 14 Years Ago Is that possible with Elastic Beanstalk? Or is the in-use JDK sorta "locked down" in the same way that Tomcat is "locked down".Is there a way to turn off Captcha? Please sign in to reply. Reply as... Cancel James Falkner Michael Hartman 14 Years Ago Set captcha.check.portal.create_account=false in your portal-ext.properties to disable. I'm not sure if you can use your own JDK, but I presume you can, if you copy a JDK to the underlying linux OS, extract it, and set the right environment variables so that Tomcat uses it. You can copy the JDK by using 'scp' (once you have set up ssh). I did not try this, though. Please sign in to reply. Reply as... Cancel Ryan Terwedo James Falkner 13 Years Ago James since I was researching this for awhile before hitting you guys up about it, I would recommend caution about using RDS vs mysql running on another instance in terms of performance, backing up, etc. We slapped our mysql db around a bit and got some interesting performance numbers back, like scaling up to larger instances only helped with specific types of db actions.... Please sign in to reply. Reply as... Cancel Ryan Terwedo Ryan Terwedo 13 Years Ago Btw I have some of the results I can release if you like, other more direct ones I cannot.. it is in an excel file however. Please sign in to reply. Reply as... Cancel James Falkner Ryan Terwedo 13 Years Ago Ryan, definitely I'd like to see those! Feel free to attach to a forum post or send directly to me firstname.lastname@liferay.com (replace first name with james and last name with falkner) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Michael Hartman James Falkner 14 Years Ago Is that possible with Elastic Beanstalk? Or is the in-use JDK sorta "locked down" in the same way that Tomcat is "locked down".Is there a way to turn off Captcha? Please sign in to reply. Reply as... Cancel James Falkner Michael Hartman 14 Years Ago Set captcha.check.portal.create_account=false in your portal-ext.properties to disable. I'm not sure if you can use your own JDK, but I presume you can, if you copy a JDK to the underlying linux OS, extract it, and set the right environment variables so that Tomcat uses it. You can copy the JDK by using 'scp' (once you have set up ssh). I did not try this, though. Please sign in to reply. Reply as... Cancel Ryan Terwedo James Falkner 13 Years Ago James since I was researching this for awhile before hitting you guys up about it, I would recommend caution about using RDS vs mysql running on another instance in terms of performance, backing up, etc. We slapped our mysql db around a bit and got some interesting performance numbers back, like scaling up to larger instances only helped with specific types of db actions.... Please sign in to reply. Reply as... Cancel Ryan Terwedo Ryan Terwedo 13 Years Ago Btw I have some of the results I can release if you like, other more direct ones I cannot.. it is in an excel file however. Please sign in to reply. Reply as... Cancel James Falkner Ryan Terwedo 13 Years Ago Ryan, definitely I'd like to see those! Feel free to attach to a forum post or send directly to me firstname.lastname@liferay.com (replace first name with james and last name with falkner) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
James Falkner Michael Hartman 14 Years Ago Set captcha.check.portal.create_account=false in your portal-ext.properties to disable. I'm not sure if you can use your own JDK, but I presume you can, if you copy a JDK to the underlying linux OS, extract it, and set the right environment variables so that Tomcat uses it. You can copy the JDK by using 'scp' (once you have set up ssh). I did not try this, though. Please sign in to reply. Reply as... Cancel Ryan Terwedo James Falkner 13 Years Ago James since I was researching this for awhile before hitting you guys up about it, I would recommend caution about using RDS vs mysql running on another instance in terms of performance, backing up, etc. We slapped our mysql db around a bit and got some interesting performance numbers back, like scaling up to larger instances only helped with specific types of db actions.... Please sign in to reply. Reply as... Cancel Ryan Terwedo Ryan Terwedo 13 Years Ago Btw I have some of the results I can release if you like, other more direct ones I cannot.. it is in an excel file however. Please sign in to reply. Reply as... Cancel James Falkner Ryan Terwedo 13 Years Ago Ryan, definitely I'd like to see those! Feel free to attach to a forum post or send directly to me firstname.lastname@liferay.com (replace first name with james and last name with falkner) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Ryan Terwedo James Falkner 13 Years Ago James since I was researching this for awhile before hitting you guys up about it, I would recommend caution about using RDS vs mysql running on another instance in terms of performance, backing up, etc. We slapped our mysql db around a bit and got some interesting performance numbers back, like scaling up to larger instances only helped with specific types of db actions.... Please sign in to reply. Reply as... Cancel Ryan Terwedo Ryan Terwedo 13 Years Ago Btw I have some of the results I can release if you like, other more direct ones I cannot.. it is in an excel file however. Please sign in to reply. Reply as... Cancel James Falkner Ryan Terwedo 13 Years Ago Ryan, definitely I'd like to see those! Feel free to attach to a forum post or send directly to me firstname.lastname@liferay.com (replace first name with james and last name with falkner) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Ryan Terwedo Ryan Terwedo 13 Years Ago Btw I have some of the results I can release if you like, other more direct ones I cannot.. it is in an excel file however. Please sign in to reply. Reply as... Cancel James Falkner Ryan Terwedo 13 Years Ago Ryan, definitely I'd like to see those! Feel free to attach to a forum post or send directly to me firstname.lastname@liferay.com (replace first name with james and last name with falkner) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
James Falkner Ryan Terwedo 13 Years Ago Ryan, definitely I'd like to see those! Feel free to attach to a forum post or send directly to me firstname.lastname@liferay.com (replace first name with james and last name with falkner) Please sign in to reply. Reply as... Cancel Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Don DeMoss James Falkner 13 Years Ago Has anyone done any more work with this? I have been too busy with life, but I will have some free time soon, and I hope to play around with it soon. I'd love to hear about other peoples experiences.Don Please sign in to reply. Reply as... Cancel danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
danny chanyalew Don DeMoss 13 Years Ago Only issue I noticed so far is with the S3 hook. Seems to be working for document library , but not for image gallery. (this is in a clustered set up, so you need to bring up at least 2 servers to see problem) Please sign in to reply. Reply as... Cancel Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Don DeMoss danny chanyalew 13 Years Ago I know that James set this up on the Micro Instance (613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform) how was Liferay able to work using this? I believe the memory requirements for Liferay are beyond what the Micro Instance provides. Did anyone have issues with this? How robust of a website could you launch using Liferay with such low amounts of memory? I would think it would be very slow. I know that the AWS Micro Instance is free for a year while you test things out. Here is the info on that: Free Tier*As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free. Upon sign-up, new AWS customers receive the following EC2 services each month for one year: 750 hours of EC2 running Linux/Unix Micro instance usage 750 hours of Elastic Load Balancing plus 15 GB data processing 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests 15 GB of bandwidth out aggregated across all AWS servicesThe Small Instance (Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform). This isn't free and is charged at Small (Default) Linux $0.085 per hour Windows $0.12 per hour.So what would actually work? I don't mind spending money each money each money, but if I could get away with a micro instance I would do that.Thank you,Don Please sign in to reply. Reply as... Cancel Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Thiago Leão Moreira Don DeMoss 13 Years Ago Hey James,Do you mind if I turn this blog in a presentation? Please sign in to reply. Reply as... Cancel James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
James Falkner Thiago Leão Moreira 13 Years Ago Thiago,Go for it! I'd love to see the finished product Please sign in to reply. Reply as... Cancel James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
James Falkner James Falkner 13 Years Ago Don, the minimum supported configuration is > 613MB for sure, however Liferay can fit into smaller footprints, but you'll probably run out of memory for any reasonable site. I don't know what the absolute minimum would be, however I would guess it would be in the 400-500MB range. Please sign in to reply. Reply as... Cancel Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Shane MacPhillamy James Falkner 13 Years Ago I followed the steps as described, however I had to select a small instance, as micro caused a JVM exception out of memory.Now when I navigate to Server Administration->Resources the pane is blank, I would expect to see some dials -- is there anything I can do to get the dials to display? Please sign in to reply. Reply as... Cancel James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
James Falkner Shane MacPhillamy 13 Years Ago Hmm, I didn't get that... do you see any errors in the catalina.out file? (this will require you configure SSH as described in the blog to see the log file). Please sign in to reply. Reply as... Cancel murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
murali krishna James Falkner 13 Years Ago how to deploy my custom application(spring-hibernet) inside liferay on cloud...... Please sign in to reply. Reply as... Cancel James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
James Falkner murali krishna 13 Years Ago Murali: You would need to package it as a separate WAR file and deploy it in the same way that you deploy Liferay. Please sign in to reply. Reply as... Cancel Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Simran Butalia James Falkner 13 Years Ago Can't see the captcha image to create a new account.. java.lang.Error: Probable fatal error:No fonts found.Any thoughts on this? Please sign in to reply. Reply as... Cancel Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Vivek S Simran Butalia 13 Years Ago I was able to configure Liferay on beanstalk and also connect to mySQL RDS database but I am seeing the following two issuesISSUE 11) When I deploy a new theme to /tmp/liferay-home-eb/deploy I am getting the following error:22:45:13,441 ERROR [AutoDeployDir:143] Unable to write my-theme.war-6.0.6.1.warI resolved this error by changing file permissions as follows: sudo su chown tomcat my-theme.war-6.0.6.1.warLiferay then extracts the war file to /var/lib/tomcat6/webapps/my-theme folder and shows the following message22:45:25,976 INFO [ThemeAutoDeployListener:50] Themes for /tmp/liferay-home-eb/deploy/my-theme.war-6.0.6.1.war copied successfully. Deployment will start in a few seconds.BUT nothing happens after this step and the theme is not deployed.ISSUE 2:Same issue as reported by Simran. The captcha is not working and I see the No fonts found error in the catalina.out file. Please sign in to reply. Reply as... Cancel
Ryan Terwedo 13 Years Ago James--As you know this whole concept really intrigues me.. hence I posted the original forum spot u mention.I have been working on this for quite sometime and had a few comments.1) Did you ever terminate an instance, and then try to load it with same parameters? (i.e. 32bit Tomcat 6). When I did this (I shut down to conserve costs) and try to launch a new environment, it will not, as it states (and much to my dismay--I forgot to copy the logs) that there is a SEVERE issue with JDBC etc etc and it will cause a memory leak blah blah and in short will not launch. You must completely delete the beanstalk app and follow the process (i.e. upload the 130mb file) again.2) The default beanstalk AMI uses openjdk--reason why captcha doesnt work-- (I noticed the issue with some custom portlets and we think this is one reason why they don't load-- we get Jan 21, 2012 2:54:56 AM org.apache.catalina.core.StandardContext startInternalSEVERE: Error listenerStartJan 21, 2012 2:54:56 AM org.apache.catalina.core.StandardContext startInternalSEVERE: Context [/SRIADatabase-portlet] startup failed due to previous errors)You can change the sdk but it is a pain due to 1) above...3)After you change the sdk--you must create a custom AMI to launch in beanstalk so that problem does not keep happening... I am trying to get to this point, but I am running out of fruit roll ups and coffee today. I know in theory how to do it, the issue is you will no longer get any auto updates (to OS or Tomcat) once you use a custom AMI.4) Check out the control panel->server installation->Resources ...does not exist in the Liferay 6.0.6 I got booted. Same issue as stated above by another user.5) Can you provide JVM settings for the container for different instance sizes? The one above is for micro6) Did you try to scale it out(haev 2 micro instances reading same db)? I assume you would have to set the db parameters in the war file you upload, or create a custom AMI after setting it up in something like 6.1 initial load screen. ( I realize I have been talking about 6.0.6 this whole time)7) You can view logs without SSH and setting up a key etc etc. There is a tab under environment which allows you to do this.My brain is fried-and am almost out of fruit rollups, that is all for now =) ...I will try to update sdk as I just uploaded the war for about the 5th time. I can try and create a public custom AMI to use after it is sorted if there is a need for it. Please sign in to reply. Reply as... Cancel Ryan Terwedo Ryan Terwedo 13 Years Ago ***UPDATE***1) Turns out there was an AMI error on Amazons part... I was able to see the same thing in the logs, but fortunately for me it would restart {usually}...wonder where that link was...2) Fix catcha by installing sunjdk..Trick to this is below if you want it to stick around i) Load Amazon Beanstalk AMI for type of instance. (You can find this AMI by just loading an instance in the type of environment you want in beanstalk--like 32bit-Tomcat 6---use the sample beanstalk app if you want--- go to ec2, look at that running instance--it prob wont have a name--- and copy the ami..You NEED TO USE THIS... as it has special beanstalk additions ii) Boot up the beanstalk AMI image as any normal ec2 instance--log in via SSH-- modify it-- and create a private ami of modified ami iii) Boot up liferay war (have not tried this in a cross environment-ie use the same type u modified to play it safe--like small 32bit tom 6--).. and wait until it loads.. after it loads ---like the edit config option in blog to change jvm--- paste in your custom ami-- and load it again. I change other settings like health checks to 100 sec, 5 sec wait, 2 healthy tries, 10 bad tries... to give instance enough time to load 3) is fixed--see above4) is fixed when using Sunjdk instead of dedault openjsk5) same6) same7) same i) you may want to tail catalina to view items 8) NEW---I have been completely unable to deploy ANY portlet, it took tons of changing on tomcat 6 (set logging to FINE from INFO) and we still have no idea.A tail of catalina produces::08:29:31,464 INFO [AutoDeployDir:167] Processing SRIADatabase-portlet-6.0.5.1.war08:29:31,464 INFO [PortletAutoDeployListener:71] Copying portlets for /tmp/liferay-home-eb/deploy/SRIADatabase-portlet-6.0.5.1.war Expanding: /tmp/liferay-home-eb/deploy/SRIADatabase-portlet-6.0.5.1.war into /var/cache/tomcat6/temp/20120121082931466q Copying 1 file to /var/cache/tomcat6/temp/20120121082931466/WEB-INF Copying 1 file to /var/cache/tomcat6/temp/20120121082931466/WEB-INF/classes Copying 1 file to /var/cache/tomcat6/temp/20120121082931466/META-INF Copying 12 files to /usr/share/tomcat6/webapps/SRIADatabase-portlet Copying 1 file to /usr/share/tomcat6/webapps/SRIADatabase-portlet Deleting directory /var/cache/tomcat6/temp/2012012108293146608:29:32,709 INFO [PortletAutoDeployListener:81] Portlets for /tmp/liferay-home-eb/deploy/SRIADatabase-portlet-6.0.5.1.war copied successfully. Deployment will start in a few seconds.After changing logs to FINE:Jan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:03 AM org.apache.catalina.valves.RemoteIpValve invokeFINE: Incoming request / with originalRemoteAddr '127.0.0.1', originalRemoteHost='127.0.0.1', originalSecure='false', originalScheme='http' will be seen as newRemoteAddr='127.0.0.1', newRemoteHost='127.0.0.1', newScheme='http', newSecure='false'Jan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: No applicable constraint locatedJan 21, 2012 8:47:04 AM org.apache.catalina.loader.WebappClassLoader loadClassFINE: loadClass(com.liferay.taglib.util.VelocityTaglib, false)Jan 21, 2012 8:47:04 AM org.apache.catalina.loader.WebappClassLoader loadClassFINE: Returning class from cacheJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlPLEASE forget time differences... I tried to deploy tons...Funny enough under control panel-->update manager--> the plugins appeared. BUT WILL NOT SHOW UP in the portal to deploy in the normal fashion.I am stuck.. not being able to deploy a portlet sucks... I can expand on other items as needed.We deployed said portlets in a local host environment and all was good... so something on beanie is bad... Please sign in to reply. Reply as... Cancel Bruno Kirk Ryan Terwedo 13 Years Ago Hi Ryan,I'm facing the same problem with the basic Amazon Linux32/64 with tomcat6/7I was thinking of some kind of incompatibility between the generated class from the sun jdk and the open jdk from amazon. It seems you find it out.I will try to follow your first lead and see what I can find out. Please sign in to reply. Reply as... Cancel James Falkner Bruno Kirk 13 Years Ago @Ryan - this is really awesome that you are taking the time to share what you have found. You have gone WELL beyond any place I ever went with EB So unfortunately you are in uncharted waters. I would suggest you summarize all of your findings in a blog post and post here (or in the forums). It is very valuable information and the comments of my blog don't do it justice in terms of formatting and presentation Please sign in to reply. Reply as... Cancel S Noori James Falkner 13 Years Ago we are having the same issue... please post solutions. Please sign in to reply. Reply as... Cancel Ryan Terwedo S Noori 13 Years Ago @JamesFruit rollups and coffee make the world go round.. =)I have a few ideas, but would need some help from someone who has more tomcat/linux experience to test permissions (possible reason why it does not work) and who knows more about a clustering enviro (pertinant for using beanie in the first place) I have not ventured into that world much as of yet. Please sign in to reply. Reply as... Cancel Jack Bakker Ryan Terwedo 12 Years Ago I am wondering if anyone has created AMI Images for Liferay and dependent stuffI am working on a 'small' EC2 instance with LR v6.0.6 with Postgresql 8.4finally got the config right for persistent root EBS volume to survive termination of EC2 instance (command line aws tool magic) also got S3 bucket being accessed from an EC2 instance via s3fs but folder views are a bit wonky as seen from linux shell compared to AWS S3 web views and on first efforts the EC2 connection S3 using s3fs is a bit slowultimate goal is to play with LR 6.1 and Postgresql 9.1 towards clustering with nodes in the mars-east1 availability zone, but not there yet... Please sign in to reply. Reply as... Cancel
Ryan Terwedo Ryan Terwedo 13 Years Ago ***UPDATE***1) Turns out there was an AMI error on Amazons part... I was able to see the same thing in the logs, but fortunately for me it would restart {usually}...wonder where that link was...2) Fix catcha by installing sunjdk..Trick to this is below if you want it to stick around i) Load Amazon Beanstalk AMI for type of instance. (You can find this AMI by just loading an instance in the type of environment you want in beanstalk--like 32bit-Tomcat 6---use the sample beanstalk app if you want--- go to ec2, look at that running instance--it prob wont have a name--- and copy the ami..You NEED TO USE THIS... as it has special beanstalk additions ii) Boot up the beanstalk AMI image as any normal ec2 instance--log in via SSH-- modify it-- and create a private ami of modified ami iii) Boot up liferay war (have not tried this in a cross environment-ie use the same type u modified to play it safe--like small 32bit tom 6--).. and wait until it loads.. after it loads ---like the edit config option in blog to change jvm--- paste in your custom ami-- and load it again. I change other settings like health checks to 100 sec, 5 sec wait, 2 healthy tries, 10 bad tries... to give instance enough time to load 3) is fixed--see above4) is fixed when using Sunjdk instead of dedault openjsk5) same6) same7) same i) you may want to tail catalina to view items 8) NEW---I have been completely unable to deploy ANY portlet, it took tons of changing on tomcat 6 (set logging to FINE from INFO) and we still have no idea.A tail of catalina produces::08:29:31,464 INFO [AutoDeployDir:167] Processing SRIADatabase-portlet-6.0.5.1.war08:29:31,464 INFO [PortletAutoDeployListener:71] Copying portlets for /tmp/liferay-home-eb/deploy/SRIADatabase-portlet-6.0.5.1.war Expanding: /tmp/liferay-home-eb/deploy/SRIADatabase-portlet-6.0.5.1.war into /var/cache/tomcat6/temp/20120121082931466q Copying 1 file to /var/cache/tomcat6/temp/20120121082931466/WEB-INF Copying 1 file to /var/cache/tomcat6/temp/20120121082931466/WEB-INF/classes Copying 1 file to /var/cache/tomcat6/temp/20120121082931466/META-INF Copying 12 files to /usr/share/tomcat6/webapps/SRIADatabase-portlet Copying 1 file to /usr/share/tomcat6/webapps/SRIADatabase-portlet Deleting directory /var/cache/tomcat6/temp/2012012108293146608:29:32,709 INFO [PortletAutoDeployListener:81] Portlets for /tmp/liferay-home-eb/deploy/SRIADatabase-portlet-6.0.5.1.war copied successfully. Deployment will start in a few seconds.After changing logs to FINE:Jan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:46:54 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:03 AM org.apache.catalina.valves.RemoteIpValve invokeFINE: Incoming request / with originalRemoteAddr '127.0.0.1', originalRemoteHost='127.0.0.1', originalSecure='false', originalScheme='http' will be seen as newRemoteAddr='127.0.0.1', newRemoteHost='127.0.0.1', newScheme='http', newSecure='false'Jan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: Checking constraint 'SecurityConstraint[/c/portal/protected]' against GET /index.jsp --> falseJan 21, 2012 8:47:03 AM org.apache.catalina.realm.RealmBase findSecurityConstraintsFINE: No applicable constraint locatedJan 21, 2012 8:47:04 AM org.apache.catalina.loader.WebappClassLoader loadClassFINE: loadClass(com.liferay.taglib.util.VelocityTaglib, false)Jan 21, 2012 8:47:04 AM org.apache.catalina.loader.WebappClassLoader loadClassFINE: Returning class from cacheJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:04 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:14 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:24 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOT.warJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] redeploy resource /var/lib/tomcat6/webapps/ROOTJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[] reload resource /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] redeploy resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/context.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /usr/share/tomcat6/conf/web.xmlJan 21, 2012 8:47:34 AM org.apache.catalina.startup.HostConfig checkResourcesFINE: Checking context[/SRIADatabase-portlet] reload resource /etc/tomcat6/Catalina/localhost/SRIADatabase-portlet.xmlPLEASE forget time differences... I tried to deploy tons...Funny enough under control panel-->update manager--> the plugins appeared. BUT WILL NOT SHOW UP in the portal to deploy in the normal fashion.I am stuck.. not being able to deploy a portlet sucks... I can expand on other items as needed.We deployed said portlets in a local host environment and all was good... so something on beanie is bad... Please sign in to reply. Reply as... Cancel Bruno Kirk Ryan Terwedo 13 Years Ago Hi Ryan,I'm facing the same problem with the basic Amazon Linux32/64 with tomcat6/7I was thinking of some kind of incompatibility between the generated class from the sun jdk and the open jdk from amazon. It seems you find it out.I will try to follow your first lead and see what I can find out. Please sign in to reply. Reply as... Cancel James Falkner Bruno Kirk 13 Years Ago @Ryan - this is really awesome that you are taking the time to share what you have found. You have gone WELL beyond any place I ever went with EB So unfortunately you are in uncharted waters. I would suggest you summarize all of your findings in a blog post and post here (or in the forums). It is very valuable information and the comments of my blog don't do it justice in terms of formatting and presentation Please sign in to reply. Reply as... Cancel S Noori James Falkner 13 Years Ago we are having the same issue... please post solutions. Please sign in to reply. Reply as... Cancel Ryan Terwedo S Noori 13 Years Ago @JamesFruit rollups and coffee make the world go round.. =)I have a few ideas, but would need some help from someone who has more tomcat/linux experience to test permissions (possible reason why it does not work) and who knows more about a clustering enviro (pertinant for using beanie in the first place) I have not ventured into that world much as of yet. Please sign in to reply. Reply as... Cancel Jack Bakker Ryan Terwedo 12 Years Ago I am wondering if anyone has created AMI Images for Liferay and dependent stuffI am working on a 'small' EC2 instance with LR v6.0.6 with Postgresql 8.4finally got the config right for persistent root EBS volume to survive termination of EC2 instance (command line aws tool magic) also got S3 bucket being accessed from an EC2 instance via s3fs but folder views are a bit wonky as seen from linux shell compared to AWS S3 web views and on first efforts the EC2 connection S3 using s3fs is a bit slowultimate goal is to play with LR 6.1 and Postgresql 9.1 towards clustering with nodes in the mars-east1 availability zone, but not there yet... Please sign in to reply. Reply as... Cancel
Bruno Kirk Ryan Terwedo 13 Years Ago Hi Ryan,I'm facing the same problem with the basic Amazon Linux32/64 with tomcat6/7I was thinking of some kind of incompatibility between the generated class from the sun jdk and the open jdk from amazon. It seems you find it out.I will try to follow your first lead and see what I can find out. Please sign in to reply. Reply as... Cancel James Falkner Bruno Kirk 13 Years Ago @Ryan - this is really awesome that you are taking the time to share what you have found. You have gone WELL beyond any place I ever went with EB So unfortunately you are in uncharted waters. I would suggest you summarize all of your findings in a blog post and post here (or in the forums). It is very valuable information and the comments of my blog don't do it justice in terms of formatting and presentation Please sign in to reply. Reply as... Cancel S Noori James Falkner 13 Years Ago we are having the same issue... please post solutions. Please sign in to reply. Reply as... Cancel Ryan Terwedo S Noori 13 Years Ago @JamesFruit rollups and coffee make the world go round.. =)I have a few ideas, but would need some help from someone who has more tomcat/linux experience to test permissions (possible reason why it does not work) and who knows more about a clustering enviro (pertinant for using beanie in the first place) I have not ventured into that world much as of yet. Please sign in to reply. Reply as... Cancel Jack Bakker Ryan Terwedo 12 Years Ago I am wondering if anyone has created AMI Images for Liferay and dependent stuffI am working on a 'small' EC2 instance with LR v6.0.6 with Postgresql 8.4finally got the config right for persistent root EBS volume to survive termination of EC2 instance (command line aws tool magic) also got S3 bucket being accessed from an EC2 instance via s3fs but folder views are a bit wonky as seen from linux shell compared to AWS S3 web views and on first efforts the EC2 connection S3 using s3fs is a bit slowultimate goal is to play with LR 6.1 and Postgresql 9.1 towards clustering with nodes in the mars-east1 availability zone, but not there yet... Please sign in to reply. Reply as... Cancel
James Falkner Bruno Kirk 13 Years Ago @Ryan - this is really awesome that you are taking the time to share what you have found. You have gone WELL beyond any place I ever went with EB So unfortunately you are in uncharted waters. I would suggest you summarize all of your findings in a blog post and post here (or in the forums). It is very valuable information and the comments of my blog don't do it justice in terms of formatting and presentation Please sign in to reply. Reply as... Cancel S Noori James Falkner 13 Years Ago we are having the same issue... please post solutions. Please sign in to reply. Reply as... Cancel Ryan Terwedo S Noori 13 Years Ago @JamesFruit rollups and coffee make the world go round.. =)I have a few ideas, but would need some help from someone who has more tomcat/linux experience to test permissions (possible reason why it does not work) and who knows more about a clustering enviro (pertinant for using beanie in the first place) I have not ventured into that world much as of yet. Please sign in to reply. Reply as... Cancel Jack Bakker Ryan Terwedo 12 Years Ago I am wondering if anyone has created AMI Images for Liferay and dependent stuffI am working on a 'small' EC2 instance with LR v6.0.6 with Postgresql 8.4finally got the config right for persistent root EBS volume to survive termination of EC2 instance (command line aws tool magic) also got S3 bucket being accessed from an EC2 instance via s3fs but folder views are a bit wonky as seen from linux shell compared to AWS S3 web views and on first efforts the EC2 connection S3 using s3fs is a bit slowultimate goal is to play with LR 6.1 and Postgresql 9.1 towards clustering with nodes in the mars-east1 availability zone, but not there yet... Please sign in to reply. Reply as... Cancel
S Noori James Falkner 13 Years Ago we are having the same issue... please post solutions. Please sign in to reply. Reply as... Cancel Ryan Terwedo S Noori 13 Years Ago @JamesFruit rollups and coffee make the world go round.. =)I have a few ideas, but would need some help from someone who has more tomcat/linux experience to test permissions (possible reason why it does not work) and who knows more about a clustering enviro (pertinant for using beanie in the first place) I have not ventured into that world much as of yet. Please sign in to reply. Reply as... Cancel Jack Bakker Ryan Terwedo 12 Years Ago I am wondering if anyone has created AMI Images for Liferay and dependent stuffI am working on a 'small' EC2 instance with LR v6.0.6 with Postgresql 8.4finally got the config right for persistent root EBS volume to survive termination of EC2 instance (command line aws tool magic) also got S3 bucket being accessed from an EC2 instance via s3fs but folder views are a bit wonky as seen from linux shell compared to AWS S3 web views and on first efforts the EC2 connection S3 using s3fs is a bit slowultimate goal is to play with LR 6.1 and Postgresql 9.1 towards clustering with nodes in the mars-east1 availability zone, but not there yet... Please sign in to reply. Reply as... Cancel
Ryan Terwedo S Noori 13 Years Ago @JamesFruit rollups and coffee make the world go round.. =)I have a few ideas, but would need some help from someone who has more tomcat/linux experience to test permissions (possible reason why it does not work) and who knows more about a clustering enviro (pertinant for using beanie in the first place) I have not ventured into that world much as of yet. Please sign in to reply. Reply as... Cancel Jack Bakker Ryan Terwedo 12 Years Ago I am wondering if anyone has created AMI Images for Liferay and dependent stuffI am working on a 'small' EC2 instance with LR v6.0.6 with Postgresql 8.4finally got the config right for persistent root EBS volume to survive termination of EC2 instance (command line aws tool magic) also got S3 bucket being accessed from an EC2 instance via s3fs but folder views are a bit wonky as seen from linux shell compared to AWS S3 web views and on first efforts the EC2 connection S3 using s3fs is a bit slowultimate goal is to play with LR 6.1 and Postgresql 9.1 towards clustering with nodes in the mars-east1 availability zone, but not there yet... Please sign in to reply. Reply as... Cancel
Jack Bakker Ryan Terwedo 12 Years Ago I am wondering if anyone has created AMI Images for Liferay and dependent stuffI am working on a 'small' EC2 instance with LR v6.0.6 with Postgresql 8.4finally got the config right for persistent root EBS volume to survive termination of EC2 instance (command line aws tool magic) also got S3 bucket being accessed from an EC2 instance via s3fs but folder views are a bit wonky as seen from linux shell compared to AWS S3 web views and on first efforts the EC2 connection S3 using s3fs is a bit slowultimate goal is to play with LR 6.1 and Postgresql 9.1 towards clustering with nodes in the mars-east1 availability zone, but not there yet... Please sign in to reply. Reply as... Cancel
Ankit c p 11 Years Ago @James your blogs was really helpful and it inspire me to write more around this topic. I have created a blog post for Liferay on AWS Elastic Beanstalk, Configure with RDS db, S3 for liferay data folder. http://tech-ray.blogspot.com/your comments / suggestions would be really useful. Please sign in to reply. Reply as... Cancel Ankit c p Ankit c p 11 Years Ago here is the working link http://liferayconnect.blogspot.in/ Please sign in to reply. Reply as... Cancel
Ankit c p Ankit c p 11 Years Ago here is the working link http://liferayconnect.blogspot.in/ Please sign in to reply. Reply as... Cancel
David Welch 10 Years Ago James:This method doesn't seem to allow for Lucene, Jgroups, ehcache, document management. Seems that someone would have posted an image on AWS that allows for this using Elastic Beanstalk, and S3, along with a configuration that supports unicast. Seems once this is configured once (believe it could saved as an AMI), any could boot the CE version and have an instantly scaleable and redundant Liferay! Has anyone done this or is anyone working on this at Liferay?And, thanks for getting the discussion going with your blog, 4 years and still going! Please sign in to reply. Reply as... Cancel James Falkner David Welch 10 Years Ago hey David - I don't know of anyone @ Liferay working on this - and you're right it does sound like a great idea. Have you checked out the Bitnami Liferay stack at https://bitnami.com/stack/liferay ? Please sign in to reply. Reply as... Cancel David Welch James Falkner 10 Years Ago Hi James, yes, I've checked out the Bitnami offering, but, it doesn't seem to currently be using EB or S3 capabilities. There are a few posts out there about how to configure this using these features of AWS, with various opinions of the best method. Would be great to have a LR configuration guru post their opinion of best practice, and, even though there are a few issues to address, I think these issues could be overcome by LR configuration and some guidelines. This just seems to be a "perfect storm" to even have a "launch in AWS" (with Elastic Beanstalk) environment instead of having to go through the fairly extensive learning curve of knowing all the pieces that won't work when installing LRP "out of the box" in a multi-server AWS environment. Anyway, I'll be investigating, I'll post findings on the forums also. Please sign in to reply. Reply as... Cancel Ankit Pancholi David Welch 10 Years Ago James, It would be great if you could have someone review the following blog post, as lots of people seeking for inputs from liferay on same. https://www.liferay.com/web/ankitcp/blog/-/blogs/liferay-on-aws-elastic-beanstalk-configure-for-rds-and-s3 Please sign in to reply. Reply as... Cancel
James Falkner David Welch 10 Years Ago hey David - I don't know of anyone @ Liferay working on this - and you're right it does sound like a great idea. Have you checked out the Bitnami Liferay stack at https://bitnami.com/stack/liferay ? Please sign in to reply. Reply as... Cancel David Welch James Falkner 10 Years Ago Hi James, yes, I've checked out the Bitnami offering, but, it doesn't seem to currently be using EB or S3 capabilities. There are a few posts out there about how to configure this using these features of AWS, with various opinions of the best method. Would be great to have a LR configuration guru post their opinion of best practice, and, even though there are a few issues to address, I think these issues could be overcome by LR configuration and some guidelines. This just seems to be a "perfect storm" to even have a "launch in AWS" (with Elastic Beanstalk) environment instead of having to go through the fairly extensive learning curve of knowing all the pieces that won't work when installing LRP "out of the box" in a multi-server AWS environment. Anyway, I'll be investigating, I'll post findings on the forums also. Please sign in to reply. Reply as... Cancel Ankit Pancholi David Welch 10 Years Ago James, It would be great if you could have someone review the following blog post, as lots of people seeking for inputs from liferay on same. https://www.liferay.com/web/ankitcp/blog/-/blogs/liferay-on-aws-elastic-beanstalk-configure-for-rds-and-s3 Please sign in to reply. Reply as... Cancel
David Welch James Falkner 10 Years Ago Hi James, yes, I've checked out the Bitnami offering, but, it doesn't seem to currently be using EB or S3 capabilities. There are a few posts out there about how to configure this using these features of AWS, with various opinions of the best method. Would be great to have a LR configuration guru post their opinion of best practice, and, even though there are a few issues to address, I think these issues could be overcome by LR configuration and some guidelines. This just seems to be a "perfect storm" to even have a "launch in AWS" (with Elastic Beanstalk) environment instead of having to go through the fairly extensive learning curve of knowing all the pieces that won't work when installing LRP "out of the box" in a multi-server AWS environment. Anyway, I'll be investigating, I'll post findings on the forums also. Please sign in to reply. Reply as... Cancel Ankit Pancholi David Welch 10 Years Ago James, It would be great if you could have someone review the following blog post, as lots of people seeking for inputs from liferay on same. https://www.liferay.com/web/ankitcp/blog/-/blogs/liferay-on-aws-elastic-beanstalk-configure-for-rds-and-s3 Please sign in to reply. Reply as... Cancel
Ankit Pancholi David Welch 10 Years Ago James, It would be great if you could have someone review the following blog post, as lots of people seeking for inputs from liferay on same. https://www.liferay.com/web/ankitcp/blog/-/blogs/liferay-on-aws-elastic-beanstalk-configure-for-rds-and-s3 Please sign in to reply. Reply as... Cancel
Nish K 9 Years Ago Hi James, Thank you for your Blog Entry. I could setup Liferay 6.2.3 CE on Amazon Beanstalk, but unfortunately I couldn't deploy custom portlets. I used the Amazon AWS toolkit 2.0 on Eclipse Luna to upload and deploy custom portlets. After the upload Liferay is broken. I found that the reason for this is, that the content of docroot are directly copied into Liferay's ROOT folder and hereby Liferay Portal folders are overwritten. Is there a way to setup AWS or the beanstalk Liferay installation so that the aws toolkit does deploy the portlets correctly? Please sign in to reply. Reply as... Cancel James Falkner Nish K 9 Years Ago Great question, and to be honest I don't know yet - I am doing some experiments with CloudFoundry this week which I suspect has similar issues - will let you know (via this blog) how it goes. Please sign in to reply. Reply as... Cancel Ankit Pancholi Nish K 9 Years Ago Hi Nish,When you deploy any war on Amazon Elastic Beanstalk as you noticed it replaced the content of docroot with the ROOT folder, so it means Elastic Beanstalk is expecting the uploaded war as the main application war and not treat it as a separate application (portlet) war in webapps. As you have already gone through my blog, EBS ebextensions .config file 01_liferaysetup.config see the below command16-deploy-war:command: "s3cmd -c /home/ec2-user/.s3cfg get -f s3://lfr-data/Deploy/*.war /usr/share/tomcat7/deployI have configured s3 and placed the portlets war at the above path in s3 bucket, which will copy same to deploy folder and it works fine. Alternatively you can also keep your portlets war on .ebextensions folder in the bundled liferay war and mention appropriate cmd to copy same to deploy folder.I have added comments to your queries, https://www.liferay.com/web/ankitcp/blog/-/blogs/liferay-on-aws-elastic-beanstalk-configure-for-rds-and-s3 Please sign in to reply. Reply as... Cancel
James Falkner Nish K 9 Years Ago Great question, and to be honest I don't know yet - I am doing some experiments with CloudFoundry this week which I suspect has similar issues - will let you know (via this blog) how it goes. Please sign in to reply. Reply as... Cancel
Ankit Pancholi Nish K 9 Years Ago Hi Nish,When you deploy any war on Amazon Elastic Beanstalk as you noticed it replaced the content of docroot with the ROOT folder, so it means Elastic Beanstalk is expecting the uploaded war as the main application war and not treat it as a separate application (portlet) war in webapps. As you have already gone through my blog, EBS ebextensions .config file 01_liferaysetup.config see the below command16-deploy-war:command: "s3cmd -c /home/ec2-user/.s3cfg get -f s3://lfr-data/Deploy/*.war /usr/share/tomcat7/deployI have configured s3 and placed the portlets war at the above path in s3 bucket, which will copy same to deploy folder and it works fine. Alternatively you can also keep your portlets war on .ebextensions folder in the bundled liferay war and mention appropriate cmd to copy same to deploy folder.I have added comments to your queries, https://www.liferay.com/web/ankitcp/blog/-/blogs/liferay-on-aws-elastic-beanstalk-configure-for-rds-and-s3 Please sign in to reply. Reply as... Cancel