You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Mark Lybarger <Ma...@CBC-Companies.com> on 2004/05/26 20:21:37 UTC
turbine regexp library usage
Hi,
i noticed that (i believe) the tdk 2.1 included the jakarta regexp library:
jakarta-regexp-1.3-dev.jar
while the tdk 2.2_01 seems to include the 1.2 version of that library. It's in the server/lib area, but seems to be used by the intake stuff for handling regular expression type rules. we're using the tdk 2.1, and notice sporadic error message related to this library (using the 1.3-dev.jar). the error message seem to be logged when attempting to parse or compile a regular expression in our intake.xml, and only are noticed when we have multiple users hitting the system (during performance/load testing).
we're running on a weblogic server if that makes a difference...
if anyone has any knowledge on this libraries evolution through the tdk lifetime , or in general why would perhaps see these errors, it would be most appreciated!!!
thanks!
~mark
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: turbine regexp library usage
Posted by Jeffery Painter <pa...@kiasoft.com>.
Thanks for the ORO tip... I had not really looked at ORO before but it was
a pretty simple switch to move all my regexp code to use ORO libraries
instead and got rid of a pesky old problem that had been lingering for
sometime now.
I swapped out the regexp libs and put ORO in my old 2.2 app without any
hiccups
YMMV!
Jeff Painter
On Thu, 27 May 2004, Henning P. Schmiedehausen wrote:
> "Mark Lybarger" <Ma...@CBC-Companies.com> writes:
>
> >i noticed that (i believe) the tdk 2.1 included the jakarta regexp library:
>
> >jakarta-regexp-1.3-dev.jar
>
> As far as I know, regexp is dead and for 2.3 I replaced it with oro in
> the intake service. Don't know if it is actually still used anywhere
> else in the code.
>
> > while the tdk 2.2_01 seems to include the 1.2 version of that
> > library. It's in the server/lib area, but seems to be used by the
> > intake stuff for handling regular expression type rules. we're
> > using the tdk 2.1, and notice sporadic error message related to this
> > library (using the 1.3-dev.jar). the error message seem to be
> > logged when attempting to parse or compile a regular expression in
> > our intake.xml, and only are noticed when we have multiple users
> > hitting the system (during performance/load testing).
>
> When I was working on the 2.2 code, I wasn't able to get anywhere with
> regexp and it was IMHO a constant source of problems, exceptions and
> general grief without any response from the (then) still semi-active
> project. So at some point we discussed this briefly on the dev-list
> and found a consent to drop it in favour of oro.
>
> For the 2.2 code, sorry. Don't know about this anymore, it's already too
> far in the past. 8-/
>
> Regards
> Henning
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: turbine regexp library usage
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Mark Lybarger" <Ma...@CBC-Companies.com> writes:
>i noticed that (i believe) the tdk 2.1 included the jakarta regexp library:
>jakarta-regexp-1.3-dev.jar
As far as I know, regexp is dead and for 2.3 I replaced it with oro in
the intake service. Don't know if it is actually still used anywhere
else in the code.
> while the tdk 2.2_01 seems to include the 1.2 version of that
> library. It's in the server/lib area, but seems to be used by the
> intake stuff for handling regular expression type rules. we're
> using the tdk 2.1, and notice sporadic error message related to this
> library (using the 1.3-dev.jar). the error message seem to be
> logged when attempting to parse or compile a regular expression in
> our intake.xml, and only are noticed when we have multiple users
> hitting the system (during performance/load testing).
When I was working on the 2.2 code, I wasn't able to get anywhere with
regexp and it was IMHO a constant source of problems, exceptions and
general grief without any response from the (then) still semi-active
project. So at some point we discussed this briefly on the dev-list
and found a consent to drop it in favour of oro.
For the 2.2 code, sorry. Don't know about this anymore, it's already too
far in the past. 8-/
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
"Fighting for one's political stand is an honourable action, but re-
fusing to acknowledge that there might be weaknesses in one's
position - in order to identify them so that they can be remedied -
is a large enough problem with the Open Source movement that it
deserves to be on this list of the top five problems."
-- Michelle Levesque, "Fundamental Issues with
Open Source Software Development"
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: turbine regexp library usage
Posted by Jeffery Painter <pa...@kiasoft.com>.
I know there were some limitations on the length of string (more than 80
characters I believe) in earlier versions of the regexp library
and I also had some bugginess with early versions.
The tdk-2.3_01 that I put together had regexp-1.3.jar in the lib folder.
http://kiasoft.com/~painter/tdk_2.3/lib/regexp-1.3.jar
I don't believe there is any harm in just swapping out the jar file to see
if that helps or not.
regexp-1.3 seems to be the last release that was put out.
Jeff Painter
On Wed, 26 May 2004, Mark Lybarger wrote:
> Hi,
>
> i noticed that (i believe) the tdk 2.1 included the jakarta regexp library:
>
> jakarta-regexp-1.3-dev.jar
>
> while the tdk 2.2_01 seems to include the 1.2 version of that library. It's in the server/lib area, but seems to be used by the intake stuff for handling regular expression type rules. we're using the tdk 2.1, and notice sporadic error message related to this library (using the 1.3-dev.jar). the error message seem to be logged when attempting to parse or compile a regular expression in our intake.xml, and only are noticed when we have multiple users hitting the system (during performance/load testing).
>
> we're running on a weblogic server if that makes a difference...
>
> if anyone has any knowledge on this libraries evolution through the tdk lifetime , or in general why would perhaps see these errors, it would be most appreciated!!!
>
> thanks!
> ~mark
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org