Re: Barracuda 1.2.0 released

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Ok, I"ve implemented #2.  #1 would push the problem onto everyone, not just 
the barracudamvc server.  #3 would be a security issue as James points 
out.  So, I just do a filter copy of "sample.discRack.prp" to 
"discRack.prp".  This will not be overwritten once it exists just like the 
behavior of the other sample.* copied files.

The path written for the traceFile property is:
[email protected]@/db/idb/tmp/trace.log

That will make it so the file gets written to 
BarracudaDiscRack/WEB-INF/db/idb/tmp

"tmp" is a directory that is created by idb at runtime.  It should exist by 
the time idb needs to write the trace.log file.  Could someone double check 
that this is the case on their UNIX/Linux system?  Shawn, could you try 
this on barracudamvc?

Note that if you have an existing discRack.prp file, that file won't be 
overwritten.  So, make sure to delete that file and delete the "tmp" 
directory mentioned above to make sure that the runtime creation of that 
directory and the writing of the trace log work ok.  It does on my Win2k 
system.

I just uploaded a new copy of barracuda-discrack-1.2.0.zip to the downloads 
directory, so if you've downoaded that file previously, grab a new copy.

Jake

At 01:43 PM 5/23/2003 -0500, you wrote:
>Shawn Wilson <[email protected]> wrote:
>
> > As it is right now nothing has changed for the Windows installs because
> > I only changed the local copy of discRack.prp... I didn't check anything
> > into CVS. So for now I will just leave it until I hear back from you
> > because it shouldn't affect anyone. I think we have three options:
> >
> >    1. Do nothing... the copy in the webapps folder on the server will
> > remain changed and different from the copy in CVS.
> >    2. Implement this file as a sample.discRack.prp file so that we can
> > have a default in CVS but a different version for each implementation.
> >    3. Do what you suggested and create a trace.log in CATALINA_HOME/bin
> > with write permissions for tomcat4 user.
>
>Well, in my opinion, having a webapp being able to create files in
>CATALINA_HOME/bin is a bad policy.  It would be better that it go
>into CATALINA_HOME/logs.  And better still for it to go into some
>application-specific directory.
>
>Just my $0.02.
>
>Sure would have been handy if the original error message had printed out
>its current working directory, eh?
>
>James Graves, CTO
>Delta Mobile Software                           http://www.deltamobile.com
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.