installing tomcat7-admin --- I have not /etc/tomcat7 directory

2014-07-12 Thread Jim Anderson
   I am running on crunchbang Linux, a derivative of Debian Linux, and 
I use apt-get to install most packages.


However, I am in the process of upgrading from tomcat6 to tomcat7 and I 
have a problem because tomcat7
is not available for download with the crunchbang distribution. When 
tomcat6-admin was installed with apt-get,
the /etc/tomcat6 directory got populated for me. I downloaded tomcat7 as 
a compressed tar file from
apache and installed it. The Tomcat7 daemon is running. But right now, 
non of my web applications
can be accessed from my browser and there is no /etc/tomcat7 directory 
to control the local configuration.


I will look at the web application failure at a later time. For now, I 
would like to get the tomcat web
manager running but I need a /etc/tomcat7 directory set up properly. It 
looks like it should be created when the
tomcat7-admin package is installed. But I cannot find any documentation 
about installing tomcat7-admin.


I have scanned through the tomcat7 doc website and have not been able to 
find the installation instructions
I'm looking for. Can someone either point me to the instructions I would 
need to install tomcat7-admin?


Regards,
Jim Anderson



RE: installing tomcat7-admin --- I have not /etc/tomcat7 directory

2014-07-12 Thread Caldarale, Charles R
 From: Jim Anderson [mailto:jim_ander...@jjajava.com] 
 Subject: installing tomcat7-admin --- I have not /etc/tomcat7 directory

 I have a problem because tomcat7 is not available for download with the 
 crunchbang distribution.

You would need to discuss on whatever support mechanism is available for 
crunchbang.

 When tomcat6-admin was installed with apt-get, the /etc/tomcat6 directory 
 got populated for me.

That is a characteristic of the particular repackaged Tomcat you were using, 
not of any standard Tomcat distribution.

 there is no /etc/tomcat7 directory to control the local configuration.

No such directory exists in a standard Tomcat distribution.

 For now, I would like to get the tomcat web manager running but I need a 
 /etc/tomcat7 directory set up properly.

No, you don't need any such directory.  You do need to look at the Tomcat 
manager documentation:
http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html

 It looks like it should be created when the tomcat7-admin package is 
 installed.

Again, that is not part of a standard Tomcat distribution.

 But I cannot find any documentation about installing tomcat7-admin. 

Because it's an aspect of the 3rd-party repackaging of Tomcat, not of a real 
Tomcat.  The 3rd-party repackaged versions tend to scatter files all over the 
place, disregarding the proper Tomcat setup.  Stick with the standard Tomcat 
from tomcat.apache.org, read the docs for the level you chose, and have a look 
at the FAQ/Wiki.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: installing tomcat7-admin --- I have not /etc/tomcat7 directory

2014-07-12 Thread Hassan Schroeder
On Sat, Jul 12, 2014 at 11:59 AM, Jim Anderson jim_ander...@jjajava.com
wrote:

I am running on crunchbang Linux, a derivative of Debian Linux, and I
 use apt-get to install most packages.

 However, I am in the process of upgrading from tomcat6 to tomcat7 and I
 have a problem because tomcat7
 is not available for download with the crunchbang distribution. When
 tomcat6-admin was installed with apt-get,
 the /etc/tomcat6 directory got populated for me. I downloaded tomcat7 as a
 compressed tar file from
 apache and installed it. The Tomcat7 daemon is running. But right now, non
 of my web applications
 can be accessed from my browser and there is no /etc/tomcat7 directory to
 control the local configuration.

 I will look at the web application failure at a later time. For now, I
 would like to get the tomcat web
 manager running but I need a /etc/tomcat7 directory set up properly.


No you don't :-)

A standard Tomcat installation doesn't (thankfully!) splatter parts of
the app all over the place, Debian-style.

Take a closer look at what you installed; everything you need to run
Tomcat, including the manager app, is right there already.

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan


Re: installing tomcat7-admin --- I have not /etc/tomcat7 directory

2014-07-12 Thread Jim Anderson


Chuck and Hassan,

Thank you for your replies. Obviously, I did not realize that 
/etc/tomcat6 is an artifact of

the crunchbang distribution.

However, I actually did use the standard tomcat7 distribution prior to 
sending in my

help request.

I have now read the directions and
they were very helpful. I got tomcat7 working with no trouble at all in a
short amount of time. Lets just say I was misled by the tomcat6 
distribution from
Crunchbang. In some ways, I do not like some of their restructuring, but 
in all
honesty, they do a great job of distribution and support. I love their 
version

of Linux because they use the KISS (Keep It Simple Stupid!) principle.

Anyway, you help not only resolved my tomcat7 problem. But now that I have
tomcat7 working, my problems with Struts 2 in tomcat (struts 2 was
crashing in my linux environment) is also resolved, so now I can get
back to my software development. A big thanks to you and to Hassan for 
taking

the time to help me out

Regards,
Jim

On 07/12/2014 03:13 PM, Caldarale, Charles R wrote:

From: Jim Anderson [mailto:jim_ander...@jjajava.com]
Subject: installing tomcat7-admin --- I have not /etc/tomcat7 directory
 
   

I have a problem because tomcat7 is not available for download with the
crunchbang distribution.
 

You would need to discuss on whatever support mechanism is available for 
crunchbang.

   

When tomcat6-admin was installed with apt-get, the /etc/tomcat6 directory
got populated for me.
 

That is a characteristic of the particular repackaged Tomcat you were using, 
not of any standard Tomcat distribution.

   

there is no /etc/tomcat7 directory to control the local configuration.
 

No such directory exists in a standard Tomcat distribution.

   

For now, I would like to get the tomcat web manager running but I need a
/etc/tomcat7 directory set up properly.
 

No, you don't need any such directory.  You do need to look at the Tomcat 
manager documentation:
http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html

   

It looks like it should be created when the tomcat7-admin package is installed.
 

Again, that is not part of a standard Tomcat distribution.

   

But I cannot find any documentation about installing tomcat7-admin.
 

Because it's an aspect of the 3rd-party repackaging of Tomcat, not of a real 
Tomcat.  The 3rd-party repackaged versions tend to scatter files all over the 
place, disregarding the proper Tomcat setup.  Stick with the standard Tomcat 
from tomcat.apache.org, read the docs for the level you chose, and have a look 
at the FAQ/Wiki.

  - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


   



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



How to search SVN Log Messages for Apache Tomcat VCS Repository

2014-07-12 Thread Ashish Sureka
The link to the web view of the Apache Tomcat SVN is:
http://svn.apache.org/viewvc/tomcat/


A Revision consists of four attributes: Revision ID, Timestamp, Author
userid and a free-form text log message



My question is How can I search (online, web-search) SVN Log Messages for
Apache Tomcat VCS Repository.


Thanks in advance,

Ashish

-- 
Ashish Sureka : [Homepage http://www.iiitd.edu.in/~ashish/ ] , [Blog :
http://ashish-sureka-delhi.blogspot.in/ ]


Question regarding usage of Logging Level

2014-07-12 Thread Ashish Sureka
Apache uses a logging utility. The logging utility consists of several
levels such as: TRACE, DEBUG, INFO, WARN, ERROR and FATAL.


Which logging level to use (and also when to use) depends on the
level/severity of the event (which needs to be tracked/logged).


My question is:

1.   Are there situations when logging is not used when it is supposed
to be used and vice-versa.

2.   Are there situations when incorrect logging level is used?

An SVN-commit/code-change (or perhaps sometimes a bug report is filed) is
then done to fix the issue.


For example (a concrete example). A recent bug report:

https://issues.apache.org/bugzilla/show_bug.cgi?id=56546


has a developer comment “Reduce the log level for stack trace message from
log.error() to log.info(). In the current code there are two log.error()
messages at once, which looks like overkill.”


This comment shows that logging was used incorrectly.


Thanks in advance,

Ashish

-- 
Ashish Sureka : [Homepage http://www.iiitd.edu.in/~ashish/ ] , [Blog :
http://ashish-sureka-delhi.blogspot.in/ ]