aspose file tools*
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 Spring in Action this week in the Spring 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: 16140
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to encrypt catalina out files.