This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes how to encrypt catalina out files. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to encrypt catalina out files." Watch "how to encrypt catalina out files." New topic
Author

how to encrypt catalina out files.

Gopi Chand Maddula
Ranch Hand

Joined: May 11, 2010
Posts: 40

Hi,

Can we encrypt the catalina out files in the tomcat server.

Is it possible in any case or not.


Please help me in this issue......
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

Catalina.out is simply the intermingled System.out and System.err streams from Tomcat. Ideally, there would be very little that needs encrypting in them, since they shouldn't be carrying app-specific log information, just a small amount of info relating to the operation of the server itself. That's of course, if your apps do civilized logging and don't just dump stuff out to System.out.

Depending on what OS you're running on, you could encrypt the stdout/stderr streams by piping them to an encryption program before writing them to disk. However the downside of that is that if the server crashes and the pipeline breaks, the encryption process may lose data in transit, and that may include critical messages about why the server crashed.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to encrypt catalina out files.
 
Similar Threads
Tomcat 5.5.9 Admin Application
WA #1.....word association
ListenerTester
Tomcat servlet resource not available
Debugging JSP