Davide,
Thanks for the responseā¦I have also fired the attached code from outside a
rule, and it works perfectly (I created a hidden test menu option that
allows me to call runNeedleChestDecompressionReport()). In fact, every
other instance of using ZipUtil works fine. And the place where the
I agree with Davide.
Google with java.util.zip.Deflater native method init returns
several interesting hits, some of which indicate that it is possible
to run into an
OOME, e.g., when heap and perm space doesn't leave enough room for
native memory allocation.
When this problem became manifest:
Wolfgang,
Here's my dilemma...there is no exception thrown! I wouldn't even be here
asking the question if I was getting an OOME...my problem is that the rule
hangs, and from that point on, the entire rules engine is hung, even though
other processing continues on that jboss node.
Note that I'm
October, 2012 4:46:53 PM
Subject: Re: [rules-users] Noob desperately needing help
Did you try to debug your code to see exactly where the hung is? zip4j seems to
be open source, you could even debug its internals to see where the problem is
and maybe you can get a clue of what is going wrong.
Best
Mattias (and Esteban)...
Well.you guys gave me the solution to the problem, but in a wildly
indirect way. I downloaded the source for zip4j, added a bunch of logging
so I could figure out where the code was hanging, went to replace the
existing library and.hmmm, where the heck IS the
I will provide some code, however:
The rule that fails
The runNeedleChestDecompressionReport method:
And the method in the zip utility that fails (I'm using zip4j, as I need to
password-protect the zip file):
One additional useful pointif I remove the compression call (in other
words, I
Code posting failif you want to help, I guess go to the mailing list web
site and read the codesigh
--
View this message in context:
http://drools.46999.n3.nabble.com/Noob-desperately-needing-help-tp4020589p4020591.html
Sent from the Drools: User forum mailing list archive at
From your description, it does not seem a rule engine issue... Have you tried
reproducing the problem
outside the rule engine? I.e. invoking the ZipUtil in a more traditional
context?
And does it get stuck with ANY bytearray or just with that one particular
input?
--
View this message in