Comment

Andrew
Tomcat,
August 13, 2007 at 1:41 AM

OK so to save stuff into tomcat save in webapps\folder\file. ROOT is something that shows up with http://localhost:8080/file and any other folder there shows up as http://localhost:8080/folder/file thats saving now startup:
I have my JDK in this folder: C:\jdk
JRE is here: C:\jdk\jre
I have my TOMCAT in this folder: C:\tomcat
startup is here: C:\tomcat\bin
My CMD prompt looks like this for startup:

C:\my\start\path\in\cmd>cd C:\tomcat\bin

C:\tomcat\bin>set CATALINA_HOME="C:\tomcat"

C:\tomcat\bin>set JRE_HOME="C:\jdk\jre"

C:\tomcat\bin>startup
Using CATALINA_BASE: "C:\tomcat"
Using CATALINA_HOME: "C:\tomcat"
Using CATALINA_TMPDIR: "C:\tomcat"\temp
Using JRE_HOME: "C:\jdk\jre"
C:\tomcat\bin>


And thats startup. If you keep that prompt open until you wish to shut TOMCAT down, use the command 'shutdown' as long as you didn't switch folders. Else Rename the TWO variables and go back to the bin folder. If you specified CATALINA_HOME then where ever you are in the cmd, unless you are in tomcat's bin, you can put the path like this in the command: 'C:\tomcat\bin\startup' and 'C:\tomcat\bin\shutdown'

Please replace the paths I have placed in this post with your very own paths.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
WebSevices Questions

Tomcat
Tomcat  to run one application in tomcat server which files we need.i think jsp,xml,html is sufficient 

Development process Questions

Tomcat
the project in tomcat where we can store the html and Jsp ad Java, XML files in the tomcat web apps folder. the following structure is correct or not Tomcat-web apps-my project(beside this one jsp file) Inside the my project WEB-INF 

JSP Servlet Questions

tomcat jsp call DLL
tomcat jsp call DLL  Where can i find Example of use JSP under Tomcat environment call DLL 

JSP Servlet Questions

JSP tomcat hosting
JSP tomcat hosting  Hi, What is JSP tomcat hosting? Thanks  ... then the hosting environment is called as jsp tomcat hosting. There are many hosting services provider who provides jsp tomcat hosting. Thanks 

JSP Servlet Questions

tomcat - JSP-Servlet
tomcat  i want to run my war file in server in tomcat... to how to assign static IP in tomcat.... i want to run my project in local-network... my project is in jsp 

JSP Interview Questions

tomcat - JSP-Interview Questions
tomcat  how to run a program of jsp using tomcat server.please give... the tomcat, create a folder 'application' into C:\apache-tomcat-6.0.16... that create a jsp file 'hello.jsp'and put into the 'application' folder. To start 

JSP Servlet Questions

tomcat cache - JSP-Servlet
tomcat cache  hai friends i have a query that is i want to remove the cache memory from Tomcat server Automatically using jsp without deleting it manually from work folder because every time when i make any changes 

JSP Interview Questions

tomcat - JSP-Interview Questions
tomcat   i have installed tomcat server but i have not got tomcat6.exe file in the bin directory.although i have got the icon (of apache tomcat... file after downloading tomcat server,then put it into C:\\ directory and extract 

JSP Servlet Questions

Tomcat error - JSP-Servlet
Tomcat error  Sir I have Installed Tomcat 6.0 om my personel computer havind Operating system windows xp. But when I start the tomcat it gives the error :-this is non microsoft product please see event log . what might 

JSP Servlet Questions

tomcat problem - JSP-Servlet
tomcat problem  Hi! Rose India Team, I am unable to install the tomcat server. It stops at this stage during installation .......c:\program files... installed several times and worked successfully on tomcat but this time it stops 

JSP Servlet Questions

ecclipse_tomcat - JSP-Servlet
have java also installed.. How can I configure Tomcat for ecclipse...For running a small applcation..  Procedure to configure Tomcat in eclipse Go... runtime click on add button on the right side panel choose Apache Tomcat 

JSP Servlet Questions

tomcat - JSP-Servlet
tomcat  hi friends, can anybody plzzzzzzzz help me to write ,compile servlet using tomcat 5 from the start..   Hi friend, Set... the values as Variable Name: CLASSPATH Variable Value: C:\Program Files\Java\Tomcat 

JSP Servlet Questions

connect jsp with tomcat - JSP-Servlet
connect jsp with tomcat  hello friends, i have severe problem in making connection between tomcat 6.0.18 and jsp pages.my system configuration... already set) ->tomcat 6.0.18 (c:/tomcat/tomcat6.0/) I have my site folder 

Tomcat Server

Download Tomcat
protocol for web server. Jasper : Jasper is called the JSP engine of Tomcat. JSP...Download Tomcat In this section we will discuss about downloading tomcat. This section will describe you about Apache Tomcat. This page will describe you 

JSP Servlet Questions

Tomcat installation problem - JSP-Servlet
Tomcat installation problem   Hello I have installed Tomcat... tomcat homepage "http://localhost:8000/"..I am awaiting for response..Thanks...:\apache-tomcat-6.0.16; 2) Put the servlet-api.jar into lib folder of apache tomcat 

JSP Servlet Questions

apache tomcat problem - JSP-Servlet
apache tomcat problem  hi, i am trying to run apache tomcat. but it is showing "The CATALINA_HOME environment variable is not defined correctly...\;"; i installed my apache tomcat in c: whats wrong with this   

Tomcat Server

Tomcat Server
(JSP) specifications. Tomcat can be configured through the XML configuration... engine of Tomcat that parses the JSP file. The parsed JSP file is converted... : Servlet 3.0 JSP 2.2 EL 2.2 The latest stable version of Tomcat at the time 

JSP Servlet Questions

JSP, Tomcat apche6, Crimson Editor - JSP-Servlet
JSP, Tomcat apche6, Crimson Editor  Hello, some additional in my first question. how can i use JSP, Apache Tomcat 6 and crimson editor to save my data. please teach me step by step regarding to this question. thanks a lot 

Eclipse Plugins

Sysdeo Tomcat Launcher Plugin
) ClassNotFoundException on javac/Main when accessing JSP : Tomcat is started with a JRE... Sysdeo Tomcat Launcher Plugin   ... Tomcat 4.x, 5.x and 6.x Registering Tomcat process to Eclipse 

JSP Servlet Questions

Tomcat access to network files
Tomcat access to network files  i have web application which is running on tomcat 6.0, it access network files from JSP. but i am getting an errror. please help 

Tomcat Server

Tomcat an Introduction
/ JSP specifications: Servlet/JSP Spec  Apache Tomcat... Tomcat an Introduction        Apache Tomcat:  Apache Tomcat server is one of the most popular open source 

Java Beginners

netbeans with mysql and tomcat
netbeans with mysql and tomcat  Hi. I have to run a JSP or JAVA file in netbeans with mysql database and tomcat server 7.0. But while the page loading itself it say error. ClassNotFoundException: com.mysql.jdbc.Driver. How 

Free Programming books

Tomcat Books
more sophisticated Web applications. Tomcat version 5 supports the latest JSP... Software Foundation. Tomcat implements the servlet and the JavaServer Pages (JSP... Servlet/JSP container. Apache Tomcat version 5.5 implements the Servlet 2.4 

WebSevices Questions

TOMCAT
TOMCAT  how can we deploy the project in Apache Tomcat 

Java Beginners

Tomcat
Tomcat  I am using UBUNTU and I want to install tomcat to run servlet programs 

Development process Questions

tomcat
tomcat  Is it necessary to restart the server if we change the JDK path in tomcat server?   Yes, Thanks   Yes, Thanks 

Java Beginners

tomcat
the following links: http://www.roseindia.net/quickguide/tomcat/tomcatdownloadinstall.shtml http://www.roseindia.net/web-application-server/tomcat/install 

JSP Servlet Questions

How to run a simple jsp page in tomcat???
How to run a simple jsp page in tomcat???  i am trying to run a simple jsp page in tomcat,i am having web.xml also in WEB-INF folder. but it is giving me this error below....please help me to solve it. my jsp page code is given 

Development process Questions

Tomcat
Tomcat  When i want to run the servlet program in tomcat i got the following errors type Status report message Servlet InsertServlet is not available description The requested resource (Servlet InsertServlet is not available 

Development process Questions

Tomcat
type in the url path of the tomcat to see the output 

JDBC Questions

jsp fie execution in tomcat and using mysql - JDBC
jsp fie execution in tomcat and using mysql  I created 2 jsp files and kept them under a new directory in the web-apps subdirectory of Tomcat's...:THE LAST JSP PAGE IS COMING DIRECTLY ON EXECUTION IN TOMCAT 

JSP Servlet Questions

Protect to folder in webapps Tomcat - JSP-Servlet
Protect to folder in webapps Tomcat  Thanks for previous answer. my question is- I want to know how to protect the folder inside the webapps in tomcat. i want to give only war/jar file to client .how to do 

JSP Servlet Questions

How Run JSP in Apache TomCat Server? - JSP-Servlet
How Run JSP in Apache TomCat Server?  How to Run JSP in Apache Tomcat... pasted my hello world example of JSP in the Jsp-example directory. and tried. ... the Jsp-example\WEB-INF\classes directory and put the class files of your example 

JDBC Questions

Connection pool in Tomcat 6 - JDBC
Connection pool in Tomcat 6  Hi All, Any one please tell me how to implement connection pooling in Tomcat 6 and MySQL 5.0.1b. Thanks...://www.roseindia.net/jsp/jspfundamentals.shtml Hope that it will be helpful 

JSP Servlet Questions

Tomcat
Tomcat  i have a problem in starting tomcat server.. May 12, 2011 12... resolving reference java.io.FileNotFoundException: D:\Workspace\conf\tomcat... Global JNDI Resources javax.naming.NamingException: D:\Workspace\conf\tomcat 

Development process Questions

TOMCAT
TOMCAT  When i am deploy the servlet class file in tomcat server i get the following errors pe Exception report message description The server encountered an internal error () that prevented it from fulfilling this request 

JSP Servlet Questions

Tomcat jar file issue - JSP-Servlet
Tomcat jar file issue  Hello All, Currently in my application we... folder from JRUN server to Tomcat 6.0.29 webapps folder. When our GUI code...) at org.apache.jsp.securepages.homePage_jsp._jspService(homePage_jsp.java :503 

Development process Questions

TOMCAT
 

Development process Questions

Tomcat
 

JSP Tutorials

Tomcat 7 in Eclipse Helios
the jsp file and save, it will automatically deploy the JSP file on tomcat...: How To Download Eclipse Helios, Tomcat 7 and create first JSP page Here... a simple JSP file and run on Tomcat 7. URL to Download Eclipse Helios You 

Development process Questions

why tomcat is shoutdown when access the jsp page - Development process
why tomcat is shoutdown when access the jsp page  I have a menu.when i click on menutitem(jsp page),some time tomcat is shoutdown and sometimes it is working fine  Hi Friend, Please send your code. Thanks 

Java Beginners

urgent-Exception in Tomcat - Java Beginners
urgent-Exception in Tomcat  I am using eclipse ee and tomcat server. my jsp pages are working fine.after some time it cant display my jsp pages.it raises following exception.Html pages is working . HTTP Status 500 

Java Beginners

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0
Steps For SSL Implementation/Enabling in Apache Tomcat 6.0   Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp... / enable In Apache Tomcat 6.0 

Java Beginners

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0
Steps For SSL Implementation/Enabling in Apache Tomcat 6.0   Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp... / enable In Apache Tomcat 6.0 

Servlets

Working with Tomcat Server
Working with Tomcat Server       This section explains how to work with Tomcat Server Apache Tomcat is a famous Servlet container developed at  Apache 

JSP Servlet Questions

start tomcat automatically by double clicking on exe
start tomcat automatically by double clicking on exe  Hi I wanted to start tomcat automatically by double clicking on exe. i made project in jsp and use tomcat 6 as a server. but now i wanted to do some challenging in that. i 

Web Services

Introduction to the Tomcat web server
a web application with jsp/servlet install any web server like JRun, Tomcat etc... Introduction to the Tomcat web server       Tomcat is an open source web server developed 

JDK 6 Tutorials

Installing JSF 1.1 in TOMCAT 5.5.23
Tomcat 5.5.23 Jsf 1.1 Servlet 2.3 Jsp 1.2  The steps required..." from tomcat/webapps/jsp-examples/WEB-INF/lib directory ...Installing JSF 1.1 in TOMCAT 5.5.23    

JSP Servlet Questions

java web application without running tomcat
java web application without running tomcat  I did a project by using jsp,html,javascript,css,tomcat,editplus and MSAccess as backend..i created set... the tomcat. That means by clicking an icon it has to go to the main page in the project 

Training

Apache Tomcat Training
Apache Tomcat Training     Description of Apache Tomcat Server  Tomcat is an open source web server developed by Apache Group. Apache Tomcat is the web container that is used 

JSP Servlet Questions

Same email-massage is sending twice in online server(tomcat) but working fine in my local server(Tomcat)..
Same email-massage is sending twice in online server(tomcat) but working fine in my local server(Tomcat)..  Sir, I created one project in jsp... mail to admin at specific time. In local Server(tomcat):::>When employee 

Java Server Faces Questions

tomcat server - Java Server Faces Questions
URL file:E:\ tomcat\webapps\jsp-examples Jul 28, 2008 10:42:13 PM...tomcat server   Hi, friends /* the given given below is the tomcat... install INFO: Processing Context configuration file URL file:E:\tomcat\conf 

JSP Interview Questions

how to set the class path variable in tomcat ?
how to set the class path variable in tomcat ?  description... in the Apache Tomcat/6.0.16 logs. Apache Tomcat/6.0.16 jsp file <html>...;jsp:useBean id="test" class="action.TestBean" /> <jsp:setProperty name 

Eclipse Plugins

Tomcat For Eclipse
Tomcat For Eclipse   ... It: Create a java project In the java project properties select 'Tomcat... projects check the 'Can Contain JSP in src' if you want to put jsp file 

Java Beginners

JOptionPane.showMessageDialog is not working on tomcat however it is working on netbeans on same machine
JOptionPane.showMessageDialog is not working on tomcat however it is working... it working on tomcat individually. <%@ page import...;title>JSP Page</title> </head> <body> < 

WebSevices Questions

Tomcat - WebSevices
Tomcat  Need help on Tomcat server with Questions and Answers 

JSP Servlet Questions

Tomcat Server
Tomcat Server  Why my tomcat server installation stop at using:jvm c:\program files\java\jdk 1.6.0\bin\client\jvm.dll. Even though i trying to install several times. please help me....   Installing Tomcat Server 

WebSevices Questions

Tomcat - WebSevices
Tomcat Error calling delegate restart  I am getting error like! ENTRY org.eclipse.wst.server.core 4 0 2008-03-10 12:26:33.992 !MESSAGE Error calling delegate restart() Tomcat v5.0 Server at localhost 

JSP Servlet Questions

Tomcat 6.0
Tomcat 6.0  Hi,this is harish i got an issue while running my project.I hope something wrong with my tomcat server .. ERROR:An internal error occurred during: "Publishing to Tomcat v6.0 Server at localhost 

JSP Servlet Questions

tomcat problem
tomcat problem  error like requested(rootdirectory/urlpattern) resources are not available getting while running servlet on tomcatserver 

General

Tomcat Quick Start Guide
fast tomcat jsp tutorial, you will learn all the essential steps need to start quickly with JSP on the tomcat server. We assume that you are familiar with Core... Core Java section and JSP Tutorial Section? Now, get ready for Tomcat and JSP 

JSP Servlet Questions

Tomcat Error:
Tomcat Error:   Hi, I am not able to start the tomcat server. If I try to start it then I am getting the below error. "coyote connector has not been started" Could some body please help me to solve the problem??? Thanks a ton 

Java Beginners

Tomcat 6.
Tomcat 6.  hi......I have problem like windows could not start the Apache Tomcat 6 on Local Computer. for more information ,review theSystem Event Log. If this is a non-Microsoft service,contact the service vendor, and refer 

Hibernate Questions

Tomcat server
Tomcat server  Can anyone tell me in simple words what this error is about.. ERROR org.hibernate.event.def.AbstractFlushingEventListener Could not synchronize database state with session org.hibernate.StaleObjectStateException 

WebSevices Questions

Tomcat.... - WebSevices
Tomcat....  Hi i am using tomcat5.0 & jdk1.5.The installation directories are as: C:\Tomcat5.0 & C:\Program Files\Java\jdk1.5.0_12   Suggession: Restart tomcat server and then try again. Before that check 

Java Beginners

Project of a web application that performs login logout with eclipse / tomcat
visit the following link: http://www.roseindia.net/jsp/bank.shtml Hope 

JSP Servlet Questions

jsp
folder like examples and put jsp file into it. 7)Then start the tomcat server... CATALINA_HOME and put the path of your apache tomcat as a value like: C:\apache...-tomcat lib as a value like C:\apache-tomcat-5.5\lib.*; 3)Also put the servlet 

JSP Servlet Questions

JSP
JSP  Hello...this is Prashant khandekar..i am very much new to JSP and tomcat. So i just wanted to ask you i m working on very basic project in which there will be 2 text boxes "start" and "end" this text boxes will contain 2 

Development process Questions

jsp
in tomcat type Exception report message description The server encountered... org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 7 in the jsp file: /jsp/insertdate.jsp month cannot be resolved 4 

Struts Questions

Tomcat & Struts - Struts
Tomcat & Struts  How a install and configure struts version 1.3.8 and Tomcat version 4.0 

JSF Tutorials & Examples

JSF Installation on Tomcat
and jsp 2.1 complaint container. So, to install and test JSF 1.2 we will use Tomcat...JSF Installation on Tomcat        ... 1.2 on tomcat server. We will develop small web application to test our 

Java Beginners

How to download and install Tomcat?
How to download and install Tomcat?  Hi, How to download and install Tomcat? Share me the url to learn Tomcat. Thanks   Hi, Please check the tutorial: Guide to download and install Tomcat 6. Thanks 

Tomcat Server

Tomcat Quick Start Guide
 

IDE Questions

Tomcat Configuration For Eclipse Server
Tomcat Configuration For Eclipse Server  How to configure Eclipse Tomcat Server? I am using Tomcat 6.0v Thanks In Advance   Install tomcat on eclipse 1)First download the tomcat and install it on your hard drive. 2 

Framework Questions

Tomcat Server error - Framework
Tomcat Server error  I am doing problem on struts,spring integration.in that at the time of tomcat server starting SEVERE: Error listenerStart occurs.why this error will occurs please tell the reason 

WebSevices Questions

tomcat server - WebSevices
tomcat server  i want to know about installion process of 6.0.16 tomcat server.please give me detailed procedure along with how to set environment variable 

Programming Tutorials

tomcat web server
Tomcat Web Server         ... the Tomcat Server Tomcat is an open source web server developed by Apache Group. Apache Tomcat is the servlet container that is used in the official 

JSP Servlet Questions

servlet (tomcat server) and jar
servlet (tomcat server) and jar  how to create a jar file and where to place the jar file in tomecat server 

Development process Questions

Deployment on apache tomcat 7.0.14.0
Deployment on apache tomcat 7.0.14.0  Hi guys, Sorry but im... : /EasyOrdo.) directly on netbeans, who use this tomcat version, integrated, on port 8084. but I have one another apache tomcat with what I deply others apps 

Ajax Questions

Apache Tomcat Login Failed
Apache Tomcat Login Failed  Several ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start 

Ajax Questions

Apache Tomcat Login Failed
Apache Tomcat Login Failed  Several ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start 

Development process Questions

Tomcat - Development process
Tomcat connection pooling  What is Tomcat connection pooling configuration? And how can i configure it?  Hi,You can configure the Apache DBCP for connection pooling in tomcat.Please check http://www.roseindia.net 

JMS Questions

JMS with Tomcat 6 - JMS
JMS with Tomcat 6  Hi, How to implement JMS with Tomcat6, even though Tomcat-6 is not a complete J2EE. Need to receive and post the messages from ActiveMQ or IBM MQSeries through JMS in Tomcat environment. Thanks 

JSP Servlet Questions

uploading file to tomcat server
uploading file to tomcat server  please tell me how to upload a file to the URL "http://192.168.12.7:8000/tomcat-docs/" ? thanks 

Development process Questions

Deployment on apache tomcat 7.0.14.0
Deployment on apache tomcat 7.0.14.0  Hi guys, Sorry but im... : /EasyOrdo.) directly on netbeans, who use this tomcat version, integrated, on port 8084. but I have one another apache tomcat with what I deply others apps 

Java Beginners

Eclipse-Apache tomcat error
Eclipse-Apache tomcat error  Hi..I'v been trying to install apache tomcat 7 with eclipse helios to try web applications ..but unable to run...) required by Tomcat v7.0 Server at localhost are already in use. The server may 

JSP Servlet Questions

problem running a servlet on tomcat.
problem running a servlet on tomcat.  i have followed the steps given here. on typing "http://localhost:8080" i do get the apache tomcat page. i suppose that should mean that my tomcat server is up and running. but whn i try 

Java Beginners

tomcat installation - Java Beginners
tomcat installation  How to install the apache-tomact server on my..., To install the tomcat server,please visit the following link: http://www.roseindia.net/web-application-server/tomcat/install-configure.shtml Then set 

Hibernate-Tutorials

hibernate tomcat
In this section, you will learn about Hibernate datasource configuration in Tomcat 

Servlet Interview Questions

tomcat - Servlet Interview Questions
tomcat  Hi Deepakji, I am swamy,when tomcat memory is fulled with web applications how we can increase memory of tomcat.is it possible. Thank You, Thanks&Regards, Swamy 

Java Beginners

tomcat - Java Beginners
tomcat  can any body help me for installing apache tomcat and running the servlet program  Just go to the website www.sun.com in this website help mention regarding your problem 

Java Beginners

tomcat server problem
tomcat server problem  hello rose india, my name is raju. I am placing a problem with tomcat5.5 server. when i am trying to execute my project I have deployed my project in tomcat and then i tried to execute first it showed me 

Java Beginners

tomcat installation - Java Beginners
tomcat installation  i am unable to run tomcat6.0 , can you give me a step by step procedure to instal it , the error shown is :the specified...://www.roseindia.net/web-application-server/tomcat/install-configure.shtml 

Java Beginners

Tomcat - Java Beginners
You just follow the Steps for jdk as well as tomcat 1)Run the exe file 2)see...:\Tomcat 4)Click Next Button 5)finally finish Thanks Rajanikant 

Java Beginners

Running and deploying Tomcat Server
Running and deploying Tomcat Server  HI Somebody has given... for servlet is like this Apache Software Foundation/Tomcat 5.0/webapps/ i created... directory Now i started Tomcat . Next i opened Browser and i typed Tomcat Manager 

Java Beginners

About running the Tomcat Server
About running the Tomcat Server   HI I want to run a simple... this Apache Software Foundation/Tomcat 5.0/webapps/ i created myapps... directory Now i started Tomcat . Next i opened Browser and i typed Tomcat Manager 

Web Services

How to install and Configure the Tomcat Server
How to install and Configure the Tomcat Server  ... and configuration process for Tomcat 6.0.10 are illustrated below: Step 1: Installation...) because any tomcat requires the  Java 1.5 (Java 5) and Java 1.6 (Java 6 

JSP Servlet Questions

jsp - JSP-Servlet
jsp  how to use java program in jsp ie, how to call a java program from jsp page I saw some of the sample java programs like - webapps/examples/WEB-INF/classes/HelloWorldExample.java in Tomcat folder when i installed Apache 

Java Beginners

About downloading Tomcat 7.x version
About downloading Tomcat 7.x version  Hi Kindly tell me from which website i can download Tomcat 7.x version 

WebSevices Questions

Tomcat not supporting Oracle 10g - WebSevices
Tomcat not supporting Oracle 10g  While Starting my Tomcat Server am... of Oracle version(Oracle 8i to Oracle10g). SEVERE: End event threw exception... time=16/47 config=C:\Tomcat 4.1\bin\..\conf\jk2.properties 

Advertisements Advertisements
 

 

 

DMCA.com