Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. I created a key pair in US West and was confused when I couldn't get beanstalk to use that key pair.
    • Beanstalk is only in US East so you have to make and use a key pair from US East
    • Get the key pair PlatformKeyPairEast from Nicole
  2. I could not ssh to my box even though I had the right key pair and the hostname.
    • I needed to edit the default firewall setttings to open up port 22
  3. My serlvet didn't work right away and I wanted to look at stuff on disk.
    • The servlet WAR is expanded under /var/lib/tomcat6/webapps/ROOT/
      • If you want to save time (and a beanstalk deployment) you can overwrite that WAR with a new WAR if you want.
    • The log files are here:
      Code Block
      /var/log
      /var/log/tomcat6/monitor_catalina.log.lck
      /var/log/tomcat6/tail_catalina.log
      /var/log/tomcat6/tail_catalina.log.lck
      /var/log/tomcat6/monitor_catalina.log
      /var/log/httpd/error_log
      /var/log/httpd/access_log
      /var/log/httpd/elasticbeanstalk-access_log
      /var/log/httpd/elasticbeanstalk-error_log
      
  4. Error: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
    • In a tomcat container, such as Elastic Beanstalk, you have to include jstl.jar manually, hence this entry.
      Code Block
          <dependency>
      	  <groupId>javax.servlet</groupId>
      	  <artifactId>jstl</artifactId>
      	  <version>1.2</version>
          </dependency>
      
  5. Here's what your deployment might look like when things are working well:

Image Added