tomcat stop problem
i am using intellijidea 5.0.1 and apache-tomcat. i have integrated both them. when i run my module everything is fine ,apache is running. but when i close my module server can not be stopped.and when i want to run my module again an error is occurt. "8080 port already in use".
Startup/Connection
Startup script----->> C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat5.exe
Shutdown script---->> C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat5.exe
Please sign in to leave a comment.
Hello ahmet,
Try to set the checkbox "use default" for Shutdown script in Run Configuration
| Starrup/Connection.
---
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I've tried yesterday and it did not found the exe, it still wanted to use
the bat (or cmd?) files.
Tom
Hello Tom,
>> Try to set the checkbox "use default" for Shutdown script in Run
>> Configuration | Starrup/Connection.
>>
That was printed in the Run console after pressing the 'stop' button?
---
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Please take a look at http://www.jetbrains.net/jira/browse/IDEA-6896, I even
can't start it.
Tom
when i check defalut
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\catalina.bat
is written. but there is no file as name catalina.bat.
what will i write in to a *.bat file to start and stop tomcat server.if i can do it i will create this file.
Hello ahmet,
You can create file "shutdown.bat" in "C:\Program Files\Apache Software Foundation\Tomcat
5.5\bin\"
and write to it
java -jar bootstrap.jar stop
After that specify the following:
Startup script: C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat5.exe
Shutdown script: C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\shutdown.bat
---
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Download the complete Tomcat package, not the Windows installer. You'll
get the start and stop scripts for free there.
Nikolay Chashnikov (JetBrains) wrote:
>> when i check defalut
>>
>> C:\Program Files\Apache Software Foundation\Tomcat
>> 5.5\bin\catalina.bat
>>
>> is written. but there is no file as name catalina.bat.
>>
>> what will i write in to a *.bat file to start and stop tomcat
>> server.if i can do it i will create this file.
>>
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
thanks all. i have downloaded complete tomcat file instead of windows binary file .http://godel.cs.bilgi.edu.tr/mirror/apache/tomcat/tomcat-5/v5.5.15/bin/apache-tomcat-5.5.15.zip. and now there is no problem any more
Hello Ahmet,
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=22&externalID=57
ftp://intellij.net/pub/.idea/TomcatTutorial/TomcatJspDebug.zip:
... For 5.x Tomcat versions make sure to download the zipped version instead
of installer, since the installer doesnâ??t contain batch startup script ...
--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"