---driver:name: vagrantcustomize:memory: 1024cpuexecutioncap: 50provisioner:name: chef_soloplatforms:- name: centos-6.4suites:- name: developerrun_list:- recipe[java::default]- recipe[tomcat::default]attributes:'java':'jdk_version': '7','java_home': '/u01/aa/bb/java','install_flavor': 'oracle','jdk':'7':'x86_64':'tomcat':'home': '/u01/aa/bb','owner': 'kevin'On Tue, Apr 29, 2014 at 11:34 PM, Julian C. Dunn < " target="_blank"> > wrote:
Send the .kitchen.yml? Just by virtue of the fact that you have “/app/bin/java” as the JRE/JVM (not the default) seems to indicate that you’re overriding some attributes somewhere which are messing with the intended behavior.- JulianOn Apr 28, 2014, at 9:51 PM, Kevin Meredith < " target="_blank"> > wrote:Hi -platform: test-kitchen with centos-64 imagevagrant - 1.5.4VirtualBox - 4.3.10r93012After provisioning the `opscode-chef/tomcat` cookbook, I'm unable to call `tomcat6` with arguments:[vagrant]$ tomcat6 start[vagrant]$ /usr/sbin/tomcat6: line 30: /logs/catalina.out: No such file or directory
[vagrant]$ tomcat6 stop/usr/sbin/tomcat6: line 60: /logs/catalina.out: No such file or directory
[vagrant]$ tomcat6 versionError: Could not find or load main class org.apache.catalina.util.ServerInfoBut, tomcat6 appears to be running:
[vagrant]$ ps -ef | grep tomcattomcat 4820 1 2 21:37 ? 00:00:12 /app/bin/java -Xmx128M -Djava.awt.headless=true -classpath :/usr/share/tomcat6/bin/bootstrap.jar:/usr/share/tomcat6/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.endorsed.dirs=/usr/share/tomcat6/lib/endorsed -Djava.io.tmpdir=/var/cache/tomcat6/temp -Djava.util.logging.config.file=/usr/share/tomcat6/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap startrem 4932 3856 0 21:45 pts/0 00:00:00 grep tomcatMy only overridden attribute is:'tomcat': {'keytool': '/usr/bin/keytool'},
Thanks,Kevin
Archive powered by MHonArc 2.6.16.