Ate Douma | 27 Oct 01:35 2014
Picon

[SCXML] heads-up: Major SCXML 2.0 trunk refactoring incoming - breaking changes and intermediate instability to be expected!

Hi SCXML developers and users,

This is a heads-up for everyone using the current SCXML 2.0 trunk for their 
projects.

Please checkout issue https://issues.apache.org/jira/browse/SCXML-213 which I 
just created, which will requires some extensive refactoring and *breaking* 
changes to the current datamodel and xpath based expressions handling.

And this includes SCXML documents using the supported non-xpath languages like 
Jexl, Ecmascript and Groovy!

These changes are needed to 'fix' the current incomplete and incorrect datamodel 
handling and in particular the usage of the custom Data() function and the 
<assign> action.

This issue, and the related subtasks, will take some time to process and 
complete, and in the mean time the current SCXML 2.0 trunk might become 
intermediately instable.

So please be warned and probably best do NOT update to the incoming changes 
until the dust has settled...
Unless you'd like to hand me some help, with testing, feedback or otherwise, 
which I'd definitely would appreciate!

I'll send a following heads-up to this list once I think the engine is 
stabilized again and reliable enough to upgrade again.

And as indicated, this WILL result in some breaking changes in how you use the 
Data() function and <assign> action.
(Continue reading)

Benoît Thiébault | 25 Oct 09:22 2014

[SCXML] Plans for making SCXML more dynamic?

Hi everyone,

I am very pleased to learn that SCXML is back online and that new evolutions are coming with version 2.0.
Congrats and good luck to the development team!

I already use SCXML 0.9 in one of my applications and one feature I was missing was a more dynamic state
engine. My application is OSGi-based and thus very dynamic: modules come and go at runtime. What I wanted
to do was to be able to modify the state diagram at runtime: when a new bundle is loaded, it injects its own
state chart as a sub-set of the existing state chart. If I understood SCXML correctly, this was not really
possible with 0.9. Is it planned for future versions?

Kind regards,

Ben
arnout cator | 24 Oct 00:48 2014
Picon

JCS Cache behaviour question

I am relatively new to JCS. So please do not shoot me with this question.

I have set up a test on a web application using JCS cache and I would like to ask about some behaviour that I cannot explain.

The cache.ccf file is attached.

I have set maxobjectsize for components on a page to 5. I have done some clicking through 5 pages and the objects items have gone up to 5 and Auxiliary Hits are reaching 8. 




The question I have is, that I have not seen any disk cache files growing from 0k size, but in the detailed view on components I see a data file length of 132202 (132kb) and a key map size of 10. 



Can someone tell me how JCS works to show Auxiliary hits and no data file size nor key size, considering my setup? 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe <at> commons.apache.org
For additional commands, e-mail: user-help <at> commons.apache.org
Anthony Biacco | 18 Oct 02:38 2014

evictor destroying connections below minIdle?

I just started running pool 2.2 alongside dbcp 2.0.1 in tomcat 7 against
mysql.

I noticed a situation while running the idle evictor where there's a time
during eviction where the number of connections drops below the value set
for minIdle, so in theory if all connections were idle for
minEvictableIdleTimeMillis, i could have no free connections.
After the eviction, connections seem to be created back up to minIdle.

I expected it to only evict down to the minIdle value, not evict all
eligible idle connections and then recreate up to minIdle.
The way i'm viewing the number of connections is through mysql's "show full
processlist" command.
Is what i'm describing possible or am I missing something?
If it is possible, couldn't this cause the resource to become unavailable
in the time between destruction and recreation?

Here's my config:
                initialSize="15"
                minIdle="15"
                maxIdle="100"
                maxTotal="200"
                maxWaitMillis="4000"
                defaultQueryTimeout="20"
                testOnBorrow="true"
                testWhileIdle="true"
                blockWhenExhausted="true"
                numTestsPerEvictionRun="50"
                timeBetweenEvictionRunsMillis="120000"
                minEvictableIdleTimeMillis="119000"
                validationQuery="SELECT 1"
                validationQueryTimeout="2"
                removeAbandoned="true"
                removeAbandonedOnBorrow="true"
                removeAbandonedTimeout="60"
                logAbandoned="true"

Thanks,

-Tony
R.C. Hoekstra | 17 Oct 21:57 2014
Picon

Re: Re: [scxml] passing datamodel elements into method call

Thanks Woonsan, Ate, 

I think I can work that out. 

best regards, Rinke
Andrew Affolter | 16 Oct 08:52 2014
Picon

[imaging]

On the getting started page for Apache Imaging Commons:
http://commons.apache.org/proper/commons-imaging/gettingstarted.html it says to download the
latest release from the download page which provides download links of the apache-sanselan 0.97
version. However the source code on github.com shows a rename to imaging from sanselan in July 2013 and
many updates through 2013. I now see that imaging goes up to 1_0_RC7. I downloaded the code from github and
built it using mvm package and was able to produce a jar that I could include in my project and would work.
However I am now looking for the central maven location for this? Can someone point me to the dependency I
need so I don’t have to build the JAR from source to include it in my project? I searched on the central
repository on search.maven.org but couldn’t find the  commons imaging in there.

GIPA mbH Di Ly | 16 Oct 13:17 2014
Picon

[codec] - change transitive dependency from commons-codec-1.3 to 1.6 or 1.9

Our software has a transitive dependency to commons-codec-1.3. Is there any problem when I change the
commons-codec-1.3 to 1.6 or 1.9?

Thanks.

Ly
GIPA mbH Di Ly | 16 Oct 12:36 2014
Picon

[logging] change transitive dependency from commons-logging-1.1.1 to 1.2

Our software has a transitive dependency to commons-logging-1.1.1. Is there any problem when I change the
commons-logging-1.1.1 to 1.2?

Thanks.

Ly

Mit freundlichen Grüßen

i.A. Truong Di Ly

_________
GIPA Gesellschaft für Informationssysteme
und Prozessautomation mbH
Carnotstr. 4, 10587 Berlin
Telefon +49(0)30 390720-31
Telefax +49(0)30 390720-22
www.gipa.de

Sitz der Gesellschaft: 10587 Berlin
Amtsgericht Berlin Charlottenburg HRB 84893
Geschäftsführer: Dipl.-Ing. Ronald Urban

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie
bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended
recipient (or have received this e-mail in error) please notify the sender immediately and destroy this
e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Thomas Vandahl | 15 Oct 14:49 2014
Picon

Re: [JCS] Remote Cache causes Tomcat Windows Service to hang on shutdown.

On 06.10.14 15:55, Art Thursland wrote:
> Here is the part of the log written during shutdown:
> 
> 09:42:18,899 INFO  [RemoteCacheStartupServlet] Shutting down remote cache
> 09:42:18,903 INFO  [CompositeCache] In DISPOSE, [tokenCache] fromRemote [false]
> Region Name = tokenCache
> HitCountRam = 0
> HitCountAux = 0
> ---------------------------LRU Memory Cache
> List Size = 0
> Map Size = 0
> Put Count = 0
> Hit Count = 0
> Miss Count = 0
> 09:42:18,903 INFO  [CompositeCache] In DISPOSE, [tokenCache] disposing of memory cache.
> 09:42:18,903 INFO  [AbstractMemoryCache] Memory Cache dispose called.  Shutting down shrinker thread
if it is running.
> 

Could you please switch the log level to DEBUG and post the log section?

Bye, Thomas.
Josh Highley | 14 Oct 23:20 2014
Picon

[Imaging] sanselan dependency missing Imaging class

Per the main imaging page, I've added sanselan as a dependency to my
project:

<groupId>org.apache.sanselan</groupId>
<artifactId>sanselan</artifactId>
<version>0.97-incubator</version>

However, this does not include the org.apache.commons.imaging.Imaging class
referenced in the javadocs and the image read example:
https://svn.apache.org/repos/asf/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/ImageReadExample.java

I can't find commons-imaging in a Maven repo.  What information am I
missing?

Thanks,

Josh
Stefan Bodewig | 10 Oct 18:16 2014
Picon

[ANN] Apache Commons Compress 1.9 Released


The Apache Commons Team is pleased to announce the release of Apache
Commons Compress 1.9.

Version 1.9 adds support for raw DEFLATE streams without GZIP framing.
In addition it fixes bugs in the 7z and tar packages and may improve
checking for the presence of the XZ for Java library.

The Apache Commons Compress Library defines a Java API for working with
ar, cpio, tar, zip, 7z, arj, dump, gzip, pack200, bzip2, lzma, snappy,
Z, xz and deflate files.

Source and binary distributions are available for download from the
Apache Commons download site:

http://commons.apache.org/proper/commons-compress/download_compress.cgi

When downloading, please verify signatures using the KEYS file available
at the above location when downloading the release.

Changes in this version include:

New features:
o Added support for DEFLATE streams without any gzip framing.
  Issue: COMPRESS-263.
  Thanks to Matthias Stevens.

Fixed Bugs:
o When reading 7z files unknown file properties and properties of type
  kDummy are now ignored.
  Issue: COMPRESS-287.
o Expanding 7z archives using LZMA compression could cause an
  EOFException.
  Issue: COMPRESS-286. 
o Long-Name and -link or PAX-header entries in TAR archives always had
  the current time as last modfication time, creating archives that
  are different at the byte level each time an archive was built.
  Issue: COMPRESS-289.
  Thanks to Bob Robertson.

Changes:
o Checking for XZ for Java may be expensive.  The result will now be
  cached outside of an OSGi environment.  You can use the new
  XZUtils#setCacheXZAvailability to overrride this default behavior.
  Issue: COMPRESS-285.

For complete information on Commons Compress, including instructions
on how to submit bug reports, patches, or suggestions for improvement,
see the Apache Commons Compress website:

http://commons.apache.org/compress/

Stefan Bodewig, on behalf of the Apache Commons community

Gmane