Hi

I remember now that it was also a false alarm, that the mkdirs would
return false even if the dirs already exists.

public boolean mkdirs() {
    if (exists()) {
        return false;
    }


On Mon, Jan 10, 2022 at 1:00 PM Steve973 <steve...@gmail.com> wrote:
>
> At least I am consistent with speaking prematurely.  The messaging and,
> therefore, the alerts, are functioning properly.  Maybe we can forget this
> whole conversation.  Have a great day! :)
>
> On Mon, Jan 10, 2022 at 6:48 AM Steve973 <steve...@gmail.com> wrote:
>
> > Thanks, Claus.  I forgot to mention that this is also in a docker
> > container that has "VOLUME /tmp" in the dockerfile.  I actually do see the
> > /tmp/camel directory in the container.  It's odd because I was using JMS to
> > feed a websocket with alerts that show up in our UI, and I am no longer
> > seeing those visual notifications.  It could be a coincidence, but it is
> > still a little bit strange.  I'll keep poking around.
> >
> >
> > On Mon, Jan 10, 2022 at 6:38 AM Claus Ibsen <claus.ib...@gmail.com> wrote:
> >
> >> Hi
> >>
> >> It can be stream caching (if you use that) that overflow to disk,
> >> where it writes to a temp folder by default.
> >>
> >> However that warning is harmless - it was enabled due to a upstream
> >> contribution from a code scan tool so the contributor added WARN logs
> >> and much more in some big PRs
> >> where this falled between our review.
> >>
> >> It has been restored to as it was before in a newer Camel version
> >>
> >>
> >>
> >> On Mon, Jan 10, 2022 at 12:29 PM Steve973 <steve...@gmail.com> wrote:
> >> >
> >> > Hello.  I am using camel 3.12.0 in a project, and I am probably not
> >> logging
> >> > enough detail, but I see a message like this:
> >> >
> >> >     org.apache.camel.util.FileUtil (101) - mkdirs() failed for
> >> > /tmp/camel/camel-temp-<bunch of hex alphanumerics followed by a dash
> >> and a
> >> > bunch of zeros>
> >> >
> >> > To give a bit more context, I am using the following:
> >> >
> >> >    - camel-spring-boot-starter
> >> >    - camel-jms-starter
> >> >    - camel-bean-starter
> >> >    - camel-servlet-startre
> >> >    - camel-openapi-java-starter
> >> >    - camel-jsonpath-starter
> >> >    - camel-jackson-starter
> >> >    - spring-boot-starter-artemis
> >> >    - artemis-jms-server
> >> >
> >> > The last two are not camel artifacts, of course, but I include them
> >> because
> >> > I suspect that it has something to do with my configuration and/or use
> >> of
> >> > JMS in conjunction with the artemis server.  In /tmp, I do not see a
> >> camel
> >> > subdirectory, so perhaps it is lacking permissions to write to /tmp.  If
> >> > that is the case, can I set up a temp directory for camel file
> >> operations
> >> > that I give explicit permissions to?  Or if any of you have some ideas
> >> > about how I might be able to get some more information, that would help,
> >> > too.  Thanks in advance.
> >> >
> >> > Steve
> >>
> >>
> >>
> >> --
> >> Claus Ibsen
> >> -----------------
> >> http://davsclaus.com @davsclaus
> >> Camel in Action 2: https://www.manning.com/ibsen2
> >>
> >



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to