File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to encrypt catalina out files.

 
Gopi Chand Maddula
Ranch Hand
Posts: 40
Eclipse IDE Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17626
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic