Issue getting TOMCAT working with IDEA
I am getting the following errors in IDEA when I run a local TOMCAT server
/usr/local/apache-tomcat-5.5.23/bin/catalina.sh run
/usr/local/apache-tomcat-5.5.23/bin/catalina.sh: line 244: /Applications/IntelliJ IDEA 6.0.5.app/bin/java: No such file or directory
/usr/local/apache-tomcat-5.5.23/bin/catalina.sh: line 244: exec: /Applications/IntelliJ IDEA 6.0.5.app/bin/java: cannot execute: No such file or directory
Disconnected from server
The TOMCAT server doesn't deploy.
However if I run the script in terminal, the TOMCAT server is deployed. I have included the output below.
US-Computer:/usr/local US$ /usr/local/apache-tomcat-5.5.23/bin/catalina.sh run
Using CATALINA_BASE: /usr/local/apache-tomcat-5.5.23
Using CATALINA_HOME: /usr/local/apache-tomcat-5.5.23
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-5.5.23/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
Jul 10, 2007 11:25:01 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Jul 10, 2007 11:25:01 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 10, 2007 11:25:01 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2028 ms
Jul 10, 2007 11:25:02 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 10, 2007 11:25:02 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Jul 10, 2007 11:25:02 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 10, 2007 11:25:05 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 10, 2007 11:25:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 10, 2007 11:25:05 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94 config=null
Jul 10, 2007 11:25:05 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 10, 2007 11:25:06 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4137 ms
Versions used:
IDEA 6.0.5 and TomCat 5.5.23
Any help would be much appreciated as I have been working on this for a couple of days
Please sign in to leave a comment.
Hello Chris,
Are you sure that JDK is specified properly for your module?