473,811 Members | 3,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tomcat windows closes within seconds

5 New Member
Hi everybody,
Here is my problem:-
When I start tomcat the command prompt for tomcat openes but closes within seconds.
I've following environment varibles set:-
CATALINA_HOME C:\jakarta-tomcat-4.1.31
JAVA_HOME C:\j2sdk1.4.2

Path
%SystemRoot%\sy stem32;%SystemR oot%;%SystemRoo t%\System32\Wbe m;C:\Program Files\Microsoft SQL Server\80\Tools \BINN;C:\J2SDK1 .4.2\BIN;C:\Sun \AppServer\bin

classpath
.;C:\jakarta-tomcat-4.1.31\webapps\ iteration;C:\ja karta-tomcat-4.1.31\webapps\ iteration\WEB_I NF\classes;C:\j 2sdk1.4.2\lib\t ools.jar;C:\j2s dk1.4.2\lib\dt. jar;C:\jboss-4.0.2\client\jb ossall-client.jar;C:\j boss-4.0.2\client\lo g4j.jar;C:\jbos s-4.0.2\client\jb oss-client.jar;C:\j akarta-tomcat-4.1.31\common\l ib\jndi.jar;C:\ jboss-4.0.2\client\jn p-client.jar;C:\j ndi.properties;

The weird thing is that on my computer tomcat starts properly but when I start tomcat on other computer with all the environment variables set It does start on that system but tomcat window closes within seconds
Sep 16 '06 #1
1 2941
yovan
2 New Member
Hi,
FYI:

http://www.moreservlet s.com/Using-Tomcat-4.html

Hi everybody,
Here is my problem:-
When I start tomcat the command prompt for tomcat openes but closes within seconds.
I've following environment varibles set:-
CATALINA_HOME C:\jakarta-tomcat-4.1.31
JAVA_HOME C:\j2sdk1.4.2

Path
%SystemRoot%\sy stem32;%SystemR oot%;%SystemRoo t%\System32\Wbe m;C:\Program Files\Microsoft SQL Server\80\Tools \BINN;C:\J2SDK1 .4.2\BIN;C:\Sun \AppServer\bin

classpath
.;C:\jakarta-tomcat-4.1.31\webapps\ iteration;C:\ja karta-tomcat-4.1.31\webapps\ iteration\WEB_I NF\classes;C:\j 2sdk1.4.2\lib\t ools.jar;C:\j2s dk1.4.2\lib\dt. jar;C:\jboss-4.0.2\client\jb ossall-client.jar;C:\j boss-4.0.2\client\lo g4j.jar;C:\jbos s-4.0.2\client\jb oss-client.jar;C:\j akarta-tomcat-4.1.31\common\l ib\jndi.jar;C:\ jboss-4.0.2\client\jn p-client.jar;C:\j ndi.properties;

The weird thing is that on my computer tomcat starts properly but when I start tomcat on other computer with all the environment variables set It does start on that system but tomcat window closes within seconds
Sep 18 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
5934
by: Steve Adams | last post by:
Hi, I have a JSP application on Tomcat that performs XSL transformations on an XML file using the xtags-1.0 taglib. Basically, I have an 'edit' page that displays a table of entities from my XML file. Each row has a link to a 'delete' page that removes the row from the XML file itself and then forwards back to the edit page to display the updated table. My problem is that the deleted row is displayed when the edit page reloads. A copy...
2
9518
by: kimbuba | last post by:
Hi all, i'm writing cause i'm not able to find any good resources about this topic. I'm programming on tomcat and i have my browser open to see changes i made. The problem is that i'd like to see changes immediatly, is there a way to do this, but using start-stop-reload from tomcato manager admin? I tried to add this to server.xml <Context path="/info" docBase="info" debug="0" reloadable="true">
3
3181
by: Alan Krueger | last post by:
Greetings, I've been able to cache Transformer objects in a Tomcat-based servlet application to avoid unnecessary Transformer rebuilding, except for certain ones on certain machines. I'm running Tomcat 4.1.27 under Eclipse 2.1.0 using the Sysdeo Tomcat plugin using j2re1.4.1_02 under Windows 2000 SP4. I've digested this down to a small (albeit convoluted) sample that exhibits the behavior reliably on my development workstation.
8
3011
by: Les Desser | last post by:
Is there any way to detect within A97 when Windows is trying to shut down, so I can close down the application gracefully? We currently have a trap in the main menu asking the user to confirm if they want to shut the application. If the user is not at his desk and power fails and the UPS instructs Windows to close, then Windows will not shut down till the Access dialog is dismissed. Result = a flat battery and a crashed PC. Thanks.
0
1147
by: Richy | last post by:
Hi, I am running VB Express 2005 and have been developing an application fine under Windows XP, but now I have switched to WIndows Vista I am getting strange behaviour with the PropertyGrid control. The problem not only happens on the IWindowsFormsEditorService that I have provided myself, but on the generic Color dropdown. When I click the dropdown arrow next to a property in the Grid (be it Color or one of my own), one of three...
1
3742
by: Force Flow | last post by:
I'm trying to configure an apache 2.2 and tomcat 5.5 setup on Windows XP. I'm using mod_jk 1.2.25, which is working. I've also setup mod_rewrite, which is also working, but not with addresses that are located within a tomcat webapp. Here's what I have configured in my httpd.conf (I'm not sure if this is at all the correct way to do it since I'm new at this and many of the articles out there give contradicting information. So, the...
1
3664
by: bravo | last post by:
hi i am using tomcat-5.0.19 which was running fine but due to some reasons i have to format my system after that the tomcat is not getting started i have checked the environment variables all are correct. could any body tell me whats the procedure for troubleshoot tomcat for this situation ... one more thing i am not getting any error
0
2173
by: JimDaley | last post by:
I am running Windows server 2003 and Apache tomcat 5.0.25. If I reboot the system and once it is back up type in "net start "apache tomcat" it returns in 10 seconds saying it didn't start the service. If I look at the task manager it's running. If I kill tomcat5 and do the net start again it starts it fine. It looks like the first time after a reboot it takes 20 seconds to start. Everytime after that it starts in about 5 seconds. So my guess...
21
3393
by: Dan Tallent | last post by:
In my application I have a form (Customer) that I want to be able to open multiple copies at once. Within this form I have other forms that can be opened. Example: ZipCode. When the user enters a zipcode that is unknown this form will open. I don't want users to modify any of this customers data until they close the zipcode form. Normally this can accomplished using a modal form, however this prevents me from opening a new copy of...
0
9731
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10405
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4342
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.