× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



David,

This script would only run if the server was shut down and started again -- 
we have this server running constantly...  Other ideas?

Thanks

Mike

----- Original Message ----- 
From: "David Morris" <David.Morris@xxxxxxxxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Monday, March 08, 2004 11:09 AM
Subject: Re: Creating IFS Files


> Mike,
>
> I create the log files for tomcat in a startup shell script. I did this
> to get the right CCSID but it should work for you.
>
> cygwin=false
> os400=false
> case "'uname'" in
>   CYGWIN*) cygwin=true;;
>   OS400*) os400=true;;
> esac
> ...
> if $os400; then
>   touch -C 819 "$CATALINA_BASE"/logs/catalina.out
>  # set your authority here
> fi
>
> David Morris
>
> >>> msilvers@xxxxxxxxxxx 3/8/2004 6:23:22 AM >>>
> All,
>
> I have a bit of a problem.  I have a web application running in an
> Apache
> environment.  I have a class that creates a log file for specific
> information when the web app is running.  I need to keep the code
> platform
> neutral.  This creates a new log file each day.  My problem is with
> file
> authorities.  When the new file is created each day, the authorities
> are set
> to *PUBLIC *EXCLUDE and QTMHHTTP *RW.  When the normal Apache logs are
> created daily, the authorities are *PUBLIC *RWX, QTMHHTTP *RWX,
> HBSPGMR
> *RWX.  I need the log files I create in the class to have the same
> authorities as the Apache server log files.  I also need this to be
> platform
> neutral -- so I can not use iSeries specific classes.
>
> Any ideas/examples?
>
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
>
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.