Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Tomcat 5 trouble viewing standout (system.out.println  Statements)??

Posted on 2004-10-19
5
Medium Priority
?
215 Views
Last Modified: 2010-03-04
Hi everybody

This is probably a simple question.
I recently upgraded to Tomcat 5 from 4 and when debugging
 i no longer have a command prompt screen that displays the system.out.println
statements i use in debugging my programs.

I was wondering if it is possible to get this working so it is possible??

Thanks for all your help

Chad
0
Comment
Question by:Chad_MacArthur
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
ronan_40060 earned 500 total points
ID: 12346138
Hello Chad

When you upgrade Tomcat you need to go through the necessary steps
1> Save your configuration files, install a fresh  Tomcat and copy the file over your existing technologies.

The files  I mean are:
- All WAR files in your webapps directory.
- The files in your conf directory.
2> The conf files if you have not upgraded server.xml , web.xml and otheres then its no harm to leave them like that

3> If you have made changes - save a copy of the new files , also you need to  add your changes in the new files - those that came with Tomcat 5. ( you dont need to override them)

For JSPs
When you install a fresh copy of Tomcat  
1>You need to  create a folder name for example myapp in the webapps folder, place your jsp there  i.e <tomcat dir>/webapps/mytestapp
and restart tomcat and try
http://localhost:8080/mytestapp/Hello1.jsp

Copy your WAR files from old version  to the TOMCAT_HOME/webapps directory.


WAR means Web Archive.
its your set of web files (consisted of jsp/servlet, beans, images, other files used by ur web app).
u use jar (included in jar file) to "war" it.
Suppose MyApp is the folder and you have .jps files in it..
In it, you have a sub directory WEB-INF which has web.xml and and a subdirectory classes which contains all the servlet classes or any other java classes.

Then to create a war file, you can do

C:\Tomcat\webapps\MyApp>jar cvf app.war WEB-INF *

or C:\Tomcat\webapps\>jar cvf app.war MyApp/*

Ok When you install a fresh copy of Tomcat , Its likely that your web.xml will be overriden
so let it be
You just need to follow the procedure like above

Ronan
0
 
LVL 9

Expert Comment

by:ronan_40060
ID: 12568727
Dear Periwinkle

The solution provided deals with the upgrading issues that comes with Tomcat 4 to 5 , the solution provides the necessary steps to be followed while upgrading to solve any errors.
The Points should be awarded
Thank you
Ronan
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question