JSP/Tomcat Development?

How do I start/stop the web server?
How do I know if the web server is running?
How do I see the web server console output?
Where is the web server control documentation?

IntelliJ 5.0.2
Java 1.5.06
Apache Tomcat 5.5.12

I've looked through the docs at http://www.jetbrains.com/idea/docs/help/index.html, there is nothing on controlling a web server.

Actually I believe I can start the server using the Run command. But I can't figure out how to stop it. Even when I shutdown the IDE, the server is still running. If I use the regular shutdown.bat command, I get an error:

java.io.FileNotFoundException: C:\apache-tomcat-5.5.12" -Dcatalina.home=C:\apache-tomcat-5.5.12"\conf\server.xml (The filename, directory name, or volume label syntax is incorrect)

3 comments

Jezzajaya wrote on 13/01/06 11:08:

java.io.FileNotFoundException: C:\apache-tomcat-5.5.12" -Dcatalina.home=C:\apache-tomcat-5.5.12"\conf\server.xml (The filename, directory name, or volume label syntax is incorrect)


Looks like there some mismatched quotes in their - following 5.5.12 - is
the setting for your tomcat directory wrong?

mark

0

Hello Jezzajaya,

How do I start/stop the web server?
How do I know if the web server is running?
How do I see the web server console output?
Where is the web server control documentation?
IntelliJ 5.0.2
Java 1.5.06
Apache Tomcat 5.5.12
I've looked through the docs at
http://www.jetbrains.com/idea/docs/help/index.html, there is nothing
on controlling a web server.

Actually I believe I can start the server using the Run command. But I
can't figure out how to stop it. Even when I shutdown the IDE, the
server is still running. If I use the regular shutdown.bat command, I
get an error:

java.io.FileNotFoundException: C:\apache-tomcat-5.5.12"
-Dcatalina.home=C:\apache-tomcat-5.5.12"\conf\server.xml (The
filename, directory name, or volume label syntax is incorrect)


Follow this tutorial: ftp://intellij.net/pub/.idea/TomcatTutorial/TomcatJspDebug.zip
.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"




0

Thanks to both of you.

For whatever, reason, the error I posted yesterday was gone this morning. I can start/stop the server without problem today. I'm not 100% sure what changed, but I think I fixed the JAVA_HOME/CATALINA_HOME environment variables last night; I'm sure I didn't change any IntelliJ settings.

Thanks for the tutorial link as well.

I love it when my dev tools actually work :)

0

Please sign in to leave a comment.