[jboss-user] [JCA] - Re: Bug in connection validation code

2009-10-14 Thread jorgemoralespou_2
As reported by bortx we have seen this issue with our RA. We havent tried this kind of functionality with any of the JBoss` shipped RAs. We have modified the sources for Jboss AS connector, from the sources in 4.2.3 tag, and now the problem is fixed for our RA. One might think that the problem i

[jboss-user] [JBoss Cache: Core Edition] - Re: Custom column in jbosscache table and Custom Loading fro

2009-05-08 Thread jorgemoralespou_2
Hi, Since JBC 3.1.0.GA JDBCCacheLoader is easily subclassable per this request, So you only need to subclass JDBCCacheLoader and JDBCCacheLoaderConfig, and redefine the methods you need, like: JDBCCacheLoaderConfig.constructCreateTableDDL() JDBCCacheLoaderConfig.constructUpdateNodeSql() JDBCCach

[jboss-user] [JBoss Cache: Core Edition] - Feature request: Change in EvictionQueue interface

2009-05-05 Thread jorgemoralespou_2
Hi, I have made a custom EvictionPolicy as explained here. Since there has been a new JBC release, I have to remodify released code in order to modify NodeEntry to enable setNumberOfElements to work. I think a good change could be to change EvictionQueue to have a method like this one: | void

[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: org.jboss.ws.core.jaxws.sp

2009-04-17 Thread jorgemoralespou_2
When upgrading to a new version of JBossWS remove all previous JBossWS libraries. We found that some libraries changed names, so we were not overwriting them. These libraries were: jboss-jaxrpc.jar jboss-jaxws-ext.jar jboss-jaxws.jar jboss-saaj.jar View the original post : http://www.jboss.or

[jboss-user] [JBoss Cache: Core Edition] - Re: Request for Guide for creating new eviction policies

2009-04-07 Thread jorgemoralespou_2
So far, for my requisites, I have to modify only one of JBoss Core classes, to make it possible to work. In some cases, it should be advisable to modify some other classes with instanceof statements, not required in my cases. I have made a new interface, extending EvictionQueue, named Subcontex

[jboss-user] [JBoss Cache: Core Edition] - Re: Request for Guide for creating new eviction policies

2009-04-07 Thread jorgemoralespou_2
Hi, I'm trying hard to create my new eviction policy, but I think my requirements are very difficult for first eviction policy. I have seen that EvictionQueue interface seems to poor for my use case. I have extended some methods to receive a Fqn. Also, I have made a custom EvictionAlgorithm rei

[jboss-user] [JBoss Cache: Core Edition] - Re: How to subclass JDBCCacheLoader

2009-04-07 Thread jorgemoralespou_2
"genman" wrote : | But instead of writing code, one thing you could consider is simply adding a update timestamp column to the cache loader's table, which is populated through a trigger. Then a background process run by your DBA could cull the data as necessary. | With the fixes Manick ha

[jboss-user] [JBoss Cache: Core Edition] - Re: Request for Guide for creating new eviction policies

2009-04-03 Thread jorgemoralespou_2
Then If I suceed in creating my eviction policy, I??ll try to post this guide and what I have done. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223254#4223254 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223254 _

[jboss-user] [JBoss Cache: Core Edition] - Request for Guide for creating new eviction policies

2009-04-03 Thread jorgemoralespou_2
Hi, I want to know if it is somehow documented what are the necessary steps for creating a new eviction policy? Something like: 1- Create your own EvictionActionPolicy 2- Create your own EvictionAlgorithm 3- Create your own EvictionQueue if needed ... And then, how to package all, to make it conf

[jboss-user] [JBoss Cache: Core Edition] - Re: How to subclass JDBCCacheLoader

2009-04-01 Thread jorgemoralespou_2
I created a JIRA: https://jira.jboss.org/jira/browse/JBCACHE-1501 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222718#4222718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222718 _

[jboss-user] [JBoss Cache: Core Edition] - How to subclass JDBCCacheLoader

2009-04-01 Thread jorgemoralespou_2
Hi, We have a requisite to remove old data from datastore that has not been used for a long time, or for example, as a ersult of an scheduled task, for example, every midnight, or data that is in DB for longer than 6 hours. We are trying to subclass JDBCCacheLoader, to add a timestamp column, so

[jboss-user] [JBoss Cache: Core Edition] - Re: Feature request for eviction policies

2009-03-30 Thread jorgemoralespou_2
>From what you say, I guess, that whenever I add a new Node, which is not in a >previously created Region, JBC dos not create any Region`s specific >infrastructure, so it is applying whatever configuration is configured for a >topper lever region. Is this infrastructure so costly in means of mem

[jboss-user] [JBoss Cache: Core Edition] - Feature request for eviction policies

2009-03-27 Thread jorgemoralespou_2
Hi, We are heavily using JBC, and think it is great. We have currently updated to version 3, and want to know if it is possible to implements some way an special behaviour we have, or if it could be a feature request, if it is likely to enhance the system for anybody. We have organized the cach

[jboss-user] [JBossWS] - Propagate an attachment when using JBossWS as service proxy

2009-02-04 Thread jorgemoralespou_2
Hi, I know that probably the name of the topic is misleading, but my english is not as good as I would like. I'm using JBossWS native 3.0.4 to make a service that acts as a proxy to access the same service in another server, but performing some policies. I want to proxy a service that supports a

[jboss-user] [JBoss Cache: Core Edition] - Re: Jarjared version of JBC3 for using in JBossAS 4.2

2009-01-20 Thread jorgemoralespou_2
We are using tagged release 3.0.2.CR2. In those lines is: | RPCManager barfingRpcManager = EasyMock.createNiceMock(RPCManager.class); | RPCManager originalRpcManager = cache1.getConfiguration().getRuntimeConfig().getRPCManager(); | Is there a way to validate the refactorings

[jboss-user] [JBoss Cache: Core Edition] - Re: Jarjared version of JBC3 for using in JBossAS 4.2

2009-01-19 Thread jorgemoralespou_2
We`ve been working hard on this one, and to the moment we are having issues with JBC tests. We have refactored jgroups to mycompany.org.jgroups, and passed all tests in JGroups distro. We have refactored JBC3 to use this mycompany.jgrousp, and all tests passed ok. Then we`ve been refactoring org.

[jboss-user] [JBoss Cache: Core Edition] - Re: Jarjared version of JBC3 for using in JBossAS 4.2

2009-01-08 Thread jorgemoralespou_2
Yes, that's what I did at first, but it didn't work. Maybe my fault? So I had hardcoded magicNumbers in the java class, so refactorings work better for my case. I still want to know if there is a test suite to pass over JBC to verify it works correctly. I have downloaded the distrib, which inclu

[jboss-user] [JBoss Cache: Core Edition] - Jarjared version of JBC3 for using in JBossAS 4.2

2009-01-07 Thread jorgemoralespou_2
Hi, I have made a jar jared version of JBC 3.0.x with JGroups also jarjared for using in a JBoss AS 4.2.x installation. The thing is it didn't work, so I had to use a move refactoring with the sources in eclipse to make it work. I'm in a testing phase, because I'm not very confident it is going

[jboss-user] [JBoss Cache: Core Edition] - Re: Naga and Maven

2009-01-01 Thread jorgemoralespou_2
Try here. http://repository.jboss.org/maven2/org/jboss/cache/jbosscache-core/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199119#4199119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199119

[jboss-user] [JBoss Cache: Core Edition] - Re: Where can I get underlying JBossCache from within JMX

2008-12-01 Thread jorgemoralespou_2
I'll go for the JNDI option, as the JMX Wrapper is documented to disappear in future versions. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193423#4193423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=419342

[jboss-user] [JBoss Cache: Core Edition] - Where can I get underlying JBossCache from within JMX

2008-11-30 Thread jorgemoralespou_2
Hi, I was using JBossCache 1.4, and with default JMX registration I used to get my TreeCache from within TreeCacheMBean, registered under "jboss.cache:service=MyCache". Now I'm trying to migrate to JBC 3, and registered my cache within an MBean, that when it starts registers all the caches I us

[jboss-user] [JBossWS] - What does " Cannot get port meta data for...." mean?

2008-10-22 Thread jorgemoralespou_2
I have webservice deployed that acts as a ws client application running in my app. I create a pool of clients to invoke different endpoints, and when starting my app, I get the following trace: anonymous wrote : | 2008-10-22 17:02:29,744 WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl]

[jboss-user] [JBoss Cache: Core Edition] - Re: Question regarding JDBCCacheloader

2008-10-09 Thread jorgemoralespou_2
I`ll try what you suggest, and I`ll enable traces for jbosscacheloader. I`m using JBoss 4.2.2, and although my app has a lot of traffic, I shouldn`t run out of DB connections as you say. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181157#4181157 Reply to t

[jboss-user] [JBoss Cache: Core Edition] - Re: Question regarding JDBCCacheloader

2008-10-08 Thread jorgemoralespou_2
In fact, I only perform a write at startup time, and never again, unless this values is changed (this hasent happen for more than a year). There shouldn't have been a write for that value in months, only reads, that is what confuses me. View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Cache: Core Edition] - Question regarding JDBCCacheloader

2008-10-08 Thread jorgemoralespou_2
Hi, I have a JBC 1.4.1.SP10 configured with a JDBCCacheLoader. I`m seeing that when I query cache there is an access to database, although the queried object is in cache. Also, sometimes, I have problems qith my database connection, and I`m getting exceptions querying for objects that are in cac

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-03 Thread jorgemoralespou_2
I've seen the FAQ and the Jira request, and now my question is, how are users using JBossWS as a client for, for example, acting as a proxy? I hope there is a large users community that can share experience with us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jorgemoralespou_2
I have thought on initially creating a pool of ports, to eache endpoint I must use, and use these instances from pool, this way preventing concurrency, but I'm not sure if this is efficient, or even, really needed. I wanted to know prior to develop, because it`s a lot of work, since I have lots

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jorgemoralespou_2
We have done this: |// Static initialization of webservice client |static protected SendSms stub; | |static{ | QName qname = new QName( | "http://www.csapi.org/wsdl/parlayx/sms/send/v2_2/service";, | "SendSms"); | SendSmsService service =

[jboss-user] [JBossWS] - Are ports reusable/concurrent?

2008-10-01 Thread jorgemoralespou_2
Hi, I'm developing an application with JBossWS, and using it as server and as client, invoking some other webservices in other servers. Doing tunning of my app, I have found that too much time is spent every time I invoke getPort on a service, as it seems that everytime is generating the port on

[jboss-user] [JBossWS] - Open file descriptors to wsdl

2008-09-22 Thread jorgemoralespou_2
I'm using JBossAS 4.2.2 with jbossws-native-3.0.2.GA. I have deployed a service and it is leaving file descriptors open for the wsdl. I was using jbossws-native 2.0.3 and I didn have this problem, but I have recently upgraded to 3.0.2 and this problem arrised. I haven't changed this service, bu

[jboss-user] [JBoss Cache: Core Edition] - Re: Custom Eviction Policy and JDBC Cache loader

2008-09-09 Thread jorgemoralespou_2
Thanks genman, thats what I did. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175380#4175380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175380 ___ jboss-user mailing lis

[jboss-user] [JBoss Cache: Core Edition] - Re: Custom Eviction Policy and JDBC Cache loader

2008-09-04 Thread jorgemoralespou_2
I have already tried with passivation, and this seems to be what I was looking for. In a clustered environment, how does passivation works? Is there a master cache doing the passivation, or every cache will passivate its data whenever an evict event is triggered? The problem with JBC3.x is what

[jboss-user] [JBoss Cache: Core Edition] - Custom Eviction Policy and JDBC Cache loader

2008-09-03 Thread jorgemoralespou_2
I want to achive this behaviour: Have a cache with a JDBCCacheLoade for secondary storage Have some regions configured to evict nodes, and some to remove Only have in secondary storage nodes being evicted, once, and only once, they have been evicted For this, I have done a custom eviction Poli

[jboss-user] [JBoss Cache: Core Edition] - Re: Has anyone used JBC 2.x series with JBossAS 4.2.x series

2008-08-19 Thread jorgemoralespou_2
That would be really great!!! Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171200#4171200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171200 ___ jboss-user maili

[jboss-user] [JBoss Cache: Core Edition] - Re: Has anyone used JBC 2.x series with JBossAS 4.2.x series

2008-08-18 Thread jorgemoralespou_2
Pitty for those stuck with JBossAS 4 for a while. :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=417#417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=417 ___ j

[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem

2008-08-18 Thread jorgemoralespou_2
It seems that if I evict FQN.ROOT, only evicts nodes at primary level, and not its descendants. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171097#4171097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171097 _

[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem

2008-08-18 Thread jorgemoralespou_2
I was already working on it, although I didn't thought on passivation, rather in a cache.put for every node. I'll try cache.evict, as it seems rather easier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171056#4171056 Reply to the post : http://www.jboss.c

[jboss-user] [JBoss Cache: Core Edition] - Re: Has anyone used JBC 2.x series with JBossAS 4.2.x series

2008-08-18 Thread jorgemoralespou_2
This is a pity, since probably there are lots of projects in which isolating the classloaders is not desirable, and seems that introducing JBC2 breaks it all. If I set up Class Isolation for every app I deploy, I have to bundle common core classes and model, which are stored in cache, and also s

[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem

2008-08-17 Thread jorgemoralespou_2
Is there an easy way to save all in-memory state to Database. I need to update database state, since it may be corrupt, prior to updating my running instances with a patched version of JDBCCacheLoader with the fix you suggested? Any help will be appreciated. View the original post : http://www

[jboss-user] [JBoss Cache: Core Edition] - Has anyone used JBC 2.x series with JBossAS 4.2.x series?

2008-08-08 Thread jorgemoralespou_2
Hi, I want to upgrade my JBC distribution to a newer one to get some performance improvements and a clearer api. As fas as I know, I can upgrade JGroups to a newer version 2.6 series (required by JBC 2.x), but I need to have legacy JBC 1.4.1 for internal JBossAS caches (EJB cache, etc...). I ne

[jboss-user] [JBoss Cache: Core Edition] - JDBCCacheLoader problem

2008-07-01 Thread jorgemoralespou_2
I have seen a strange behaviour in my app that I have traced down to the JDBCCacheLoader not working as I should have expected. Propably can be missused, so I post it here to see if anybody can help me. I have a cache with a JDBCCacheLoader configured (JBC 1.4.1.SP8). 1- I put a new value in cac

[jboss-user] [JBoss Cache: Core Edition] - Re: Node in eviction queue not seen in printDetails

2008-06-27 Thread jorgemoralespou_2
Yeah, as you say, "it hould". We'll investigate a little deeper. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161120#4161120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161120 _

[jboss-user] [JBoss Cache: Core Edition] - Re: Node in eviction queue not seen in printDetails

2008-06-26 Thread jorgemoralespou_2
Using a remove(Fqn). As we don`t have a cache loader configured for this cache, we could probably do an evict, but since we have done our own abstraction on top of JBossCache for our way of doing things, we have chosen to use remove so it works with any underlying JBossCache. CacheEviction is

[jboss-user] [JBoss Cache: Core Edition] - Re: How memory consumption behave?

2008-06-26 Thread jorgemoralespou_2
Yes, we are running inside JBossAS. It seems that nodes/atributes in both servers are very different. Don't understand, as they should be very close to each other, as we have initial state transfer, and a whole day has passed by, so nodes not transferred should have been evicted. Machine-1: Nu

[jboss-user] [JBoss Cache: Core Edition] - Node in eviction queue not seen in printDetails

2008-06-26 Thread jorgemoralespou_2
Hi, I have this trace in my logs: | 2008-06-26 11:31:41,601 TRACE [org.jboss.cache.eviction.BaseEvictionAlgorithm] Recycle queue is empty | 2008-06-26 11:31:41,601 TRACE [org.jboss.cache.eviction.BaseEvictionAlgorithm] process(): region: /_default_/ | 2008-06-26 11:31:41,601 TRACE [org.jb

[jboss-user] [JCA/JBoss] - Re: Is JCA clustered?

2008-06-26 Thread jorgemoralespou_2
Yes. Here it goes. 1- We have 2 node cluster accesing an Ldap backend via JCA conx. (node-1, node-2) 2- Our Ldap server is restarted (due to maintenance) 3- We have a bug in our Ldap JCA conector, that doesn't detect invalid conections. So no reconnection happens. 4- In this point, bot nodes (no

[jboss-user] [JCA/JBoss] - Re: Is JCA clustered?

2008-06-26 Thread jorgemoralespou_2
Thanks Vickyk for your answer, But my question was not for the reconnection to the ldap backend. We know where the problem might be. What we don't understand is the problem we have seen where when we fix connections from one node of the cluster to the backend (redeploying the datasource), connec

[jboss-user] [JBoss Cache: Core Edition] - How memory consumption behave?

2008-06-25 Thread jorgemoralespou_2
Hi, We have a 2 node clustered application, with JBC 1.4.1-SP9. When we upgrade our app, we see this behaviour: 1- We stop node 1, upgrade our app, and start node 1. (Node 2 keeps processing application traffic) 2- It takes a while to start (~5 minutes) , since we have fetchInMemoryState to tru

[jboss-user] [JBoss Cache: Core Edition] - Re: Clustered and JDBCCacheLoader access to DB

2008-06-23 Thread jorgemoralespou_2
"jorgemoralespou_2" wrote : | Also, I see that every time I do a read from cache, it is retrieving the data from database. Why? It seems this is only happening when there is a cache miss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBoss Cache: Core Edition] - Re: Clustered and JDBCCacheLoader access to DB

2008-06-23 Thread jorgemoralespou_2
Forgot to mention: Cache is 1.4.1.SP9 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159895#4159895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159895 ___ jboss-user mail

[jboss-user] [JBoss Cache: Core Edition] - Re: Clustered and JDBCCacheLoader access to DB

2008-06-23 Thread jorgemoralespou_2
What I don`t understund is why, with this configurations (both) the cache loader does: 1.- Retrieve state from cluster and delete data in JDBCCacheLoader | | | | [org.jboss.cache.TreeCache] received the state (size=131072 bytes) | | 2008-06-23 13:33:42,733 DEBUG [org.jboss.cache.loa

[jboss-user] [JBoss Cache: Core Edition] - Clustered and JDBCCacheLoader access to DB

2008-06-20 Thread jorgemoralespou_2
Hi, I`m trying to configure my cache loader to achieve the following: 1- Firts node incluster starts. Unable to retrieve state from memory (another cluster` node) so get it from DB 2- Second clustered node starts. Gets state from memory (another cluster`node) On cache put. The cache that receives

[jboss-user] [JCA/JBoss] - Is JCA clustered?

2008-06-13 Thread jorgemoralespou_2
We have developed some JCA connectors for our app, one of them being an LdapJCA connector. Yesterday qe experienced a very strange behaviour that I can`t understand. We have a 2 node cluster accesing an ldap server, this Ldap server went down, and our JCA couldn`t create connections to the Ldap

[jboss-user] [JBoss Messaging] - Re: Is 1.4.1.CR1 accesible?

2008-06-06 Thread jorgemoralespou_2
Is there any incompatibility between this JBM version (1.4.0.SP3_CP02) and JBossAS 4.2.2. I see I have to update JBoss remoting to 2.2.2_SP7-brew? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156245#4156245 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss Messaging] - Re: Is 1.4.1.CR1 accesible?

2008-06-06 Thread jorgemoralespou_2
Is there going to be any other release for JB 4.2.x series? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156216#4156216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156216 ___

[jboss-user] [JBoss Messaging] - Re: Is 1.4.1.CR1 accesible?

2008-06-05 Thread jorgemoralespou_2
It is just for testing the NullPersistanceManager, as I need it. I can retrofit it into the latest version publicly available, 1.4.0.SP3. Any timeframe for 1.4.1 final release? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155981#4155981 Reply to the post :

[jboss-user] [JBoss Messaging] - Is 1.4.1.CR1 accesible?

2008-06-05 Thread jorgemoralespou_2
I have seen the Jira and want to have a look at some issues fixed in 1.4.1.CR1. Is it accesible somehow? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155918#4155918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41559

[jboss-user] [JBoss Cache: Core Edition] - Re: No transactionality in caches

2008-05-20 Thread jorgemoralespou_2
Why is it needed for optimistic locking? What if it is a single node cluster cache? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152114#4152114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152114 __

[jboss-user] [JBoss Cache: Core Edition] - No transactionality in caches

2008-05-20 Thread jorgemoralespou_2
I have read in the doc's that it is possible to not configure a TransactionManager at all for the caches, and these will behave like an auto-commit. We are experiencing transactional timeouts in the Arjuna Two-Phase commits, in our production environment, probably network issues. Until we solve

[jboss-user] [JBoss Messaging] - Different persitence strategies

2008-04-23 Thread jorgemoralespou_2
Hi, I`m new to JBM and I want to know how can I configure JBM to have some queues clustered (I think it is defaults) and some other queues not persistible at all. Using NullPersitence. I have read the docs but there is no pointers on how to mix different configurations. Thanks, View the orig

[jboss-user] [JBoss jBPM] - Re: jBPM concurrency

2008-04-18 Thread jorgemoralespou_2
The code for jbpm | package test.jpdl.test; | | import java.io.IOException; | | import org.jbpm.graph.def.ProcessDefinition; | import org.jbpm.graph.exe.ProcessInstance; | | public class TestSomJpdl { |ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(

[jboss-user] [JBoss jBPM] - Re: jBPM concurrency

2008-04-18 Thread jorgemoralespou_2
Hi Alex, You could probably be right, if there were same threading and system behaviour between PVM and jBpm. But this not beeing the case, and having proved this situation in our production environments with a simple test (which I will post later this morning, when I have time) in an 8 dual cor

[jboss-user] [JBoss jBPM] - Re: jBPM concurrency

2008-04-15 Thread jorgemoralespou_2
I have been throughly reading the forums, reading through the code, and find that although orchestration is a feature??? , as theres is some other people using jBpm to orchestrate services , it doesn't seem to fit the suit. Has anyone use jBpm to do service orchestration, and having solved p

[jboss-user] [JBoss jBPM] - Re: jBPM concurrency

2008-04-14 Thread jorgemoralespou_2
I have tried PVM (in it`s today state) and results are like the following: 10 executions - 1 Thread Total exec time Total executions Min. exec. time (ms) Max. exec. time (ms) Avg. exec. time (ms) jBpm Run 1311381001230,3114 jBpm Run 2307151001090,3072 jBpm Run 3286961001640,2870

[jboss-user] [JBoss jBPM] - jBPM concurrency

2008-04-14 Thread jorgemoralespou_2
I'm trying to execute multiple processes instances concurrently. I`m experiencing a locking behaviour. If I execute linearly 1 process instances, it takes an average 0.4 ms. If I execute concurrently (in 10 threads) 1000 process instances, it takes from 1.5 to 25.0 ms average, depending on

[jboss-user] [JBoss Cache: Core Edition] - Re: custom method to get size of nodes in cache evicts some

2008-04-02 Thread jorgemoralespou_2
But why adding a "Node visited event" is making the node to be evicted? I have set up a 5 max lement FIFO EvictionPolicy. There is 5 nodes in cache. When I make a call to my custom getSize method, one of the nodes gets evicted, and size return 4. I don't underastand this behaviour. Or is it cou

[jboss-user] [JBoss Cache: Core Edition] - custom method to get size of nodes in cache evicts some node

2008-03-28 Thread jorgemoralespou_2
Hi have a cache setup like: /a/b/node1 /a/b/node2 /a/b/node2 /a/b/node4 ... I have a custom method to get the number of the nodes in cache. Code is as follows: | public int size(Fqn fqn) { | Node child = cache.getRoot().getChild(fqn); | if (child == null) return 0; | r

[jboss-user] [JBoss Cache: Core Edition] - 2 node in cluster being stuck when GC runs due to JBC?

2008-03-28 Thread jorgemoralespou_2
Hi, We have a 2 node cluster. The only clustering is done through JBC, with configurations like the one below. We are seeing that when in one node there is a FullGC with a 10 seconds "Stop the world", requests in the other node get delayed by 10 seconds. Since we only have the cache shared betwe

[jboss-user] [JBossCache] - Re: FetchInMemoryState && InitialStateRetrievalTimeout

2008-03-14 Thread jorgemoralespou_2
Thanks, It seems to make sense. I`ll do some test to fully understand it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136653#4136653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136653 ___

[jboss-user] [JBossCache] - Re: FetchInMemoryState && InitialStateRetrievalTimeout

2008-03-13 Thread jorgemoralespou_2
"[EMAIL PROTECTED]" wrote : Ah, I see your problem - don't preload the root node ("/") in your CacheLoader. Let all the data load lazily. >From what I see in the docs: anonymous wrote : preload allows us to define a list of nodes, or even entire subtrees, that are visited by the cache on startup

[jboss-user] [JBossCache] - Re: FetchInMemoryState && InitialStateRetrievalTimeout

2008-03-12 Thread jorgemoralespou_2
We need to assure that the data that is not evicted is accesible from both nodes of the cluster. We have a big ammount of data in cache, so start up time is very high, if we do an initial state trasfer. We were trying to test if disabling initialStateTransfer and allowing the cache to get state

[jboss-user] [JBoss jBPM] - Delegation instantiate always parses configuration

2008-03-11 Thread jorgemoralespou_2
I have an application which executes a lot of processes. I have seen that for Delegations (DecisionHandlers, for example) it always parses the configuration xml. Is there a way to avoid this? I mean, having somethig like: | | ${context.a} | 1 | |

[jboss-user] [JBoss jBPM] - Thread contention in FieldInstantiator.parseConfiguration

2008-03-03 Thread jorgemoralespou_2
We are tunning our application, and profiling it, and we have seen that there is too much time spent in FieldInstantiator.parseConfiguration(String configuration). I don`t understund why this should be parsed in every run of the process. I thought that the execution graph is made the first time

[jboss-user] [JBossWS] - Why aren`t jbossws artifacts deployed to jboss maven repo?

2008-02-11 Thread jorgemoralespou_2
Hi, There are lot of people working with JBossWS and Maven2, and every time there is a release, we have to deploy artifacts into our private maven repositories, because they are not deployed in JBoss Maven2`s repository. This also happens with lots of other JBoss` projects. Is it so difficult to

[jboss-user] [JBossCache] - Re: Very different statistics in both nodes of the cluster

2008-01-30 Thread jorgemoralespou_2
"[EMAIL PROTECTED]" wrote : | Assuming load balancers equally distribute load, then it should be roughly equal. | That`s what I thought. And yes, we see an even balancing behaviour. Both nodes process more or less same traffic. "[EMAIL PROTECTED]" wrote : | When you say Read and Write

[jboss-user] [JBossCache] - Re: Very different statistics in both nodes of the cluster

2008-01-30 Thread jorgemoralespou_2
"[EMAIL PROTECTED]" wrote : cache_4 does use a cache loader though? (ExtendedClusteredCacheLoader). Cache misses will be broadcast across the cluster to attempt a load from a neighbouring cache. I never said this cache didn't use a cache loader. I assume broadcasting of misses occurs in both

[jboss-user] [JBossCache] - Re: Very different statistics in both nodes of the cluster

2008-01-30 Thread jorgemoralespou_2
This is a cache without a cacheloader. We have a 4 different caches in our app. This 4 caches have different constraints, and also varying times. This is in our production cluster, which is intensively used, so we can see this difference. Under development scenarios, load is not so tremendous, s

[jboss-user] [JBossCache] - Very different statistics in both nodes of the cluster

2008-01-29 Thread jorgemoralespou_2
We are seeing very different read/write time in CacheManagementInterceptor`s statistics for both of the 2 caches in our cluster. Traffic is almost the same in both nodes, and the rest of the statistical info seems reasonable and almost identical. Read/Write ratio, number of stores, number of hit

[jboss-user] [JBossWS] - What is the difference between a POJO endpoint and an EJB3 e

2007-12-17 Thread jorgemoralespou_2
Hi, reding the docs, I can't fully understand what are the differences between both types of endpoints, and when should I use one or the other. What is best for EJB3 endpoints? Since I have always done POJO endpoints, I want to know if doing EJB3 enpoints could signify in a performance boost of

[jboss-user] [JBossCache] - Re: Really important problem with JDBCCacheLoader

2007-12-12 Thread jorgemoralespou_2
Forget it. we were testing different versions. The one with Oracle really had the problem, but it was in our code. We were modifying an attribute in a node, not by calling the api to modify the attribute, but the api to modify the whole node, which seems it wasn't updating the node in database.

[jboss-user] [JBossCache] - Really important problem with JDBCCacheLoader

2007-12-11 Thread jorgemoralespou_2
Hi, We have a system, where we test it with Oracle9i and Mysql5, with these configuration. | | | | | | | | | | | | | jboss:service=Naming | jboss:service=TransactionManager | |

[jboss-user] [JBossCache] - Re: Funky behaviour with JBC1.4 and replication

2007-12-11 Thread jorgemoralespou_2
I answer myself. It seems to be a problem with replication. Replication in one side was not working. JGroups channel didn`t connect. The problem was that I didn't see any trace in the logs. Thanks, anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=411185

[jboss-user] [JBossCache] - Funky behaviour with JBC1.4 and replication

2007-12-10 Thread jorgemoralespou_2
Hi, we have a cache configured like this: | | | | | | | | | | | | | | | | | | | | | jboss:service=Naming | jboss:service=TransactionManager | | jboss.jc

[jboss-user] [JBossCache] - Re: Why won`t fix JBCACHE-622?

2007-12-09 Thread jorgemoralespou_2
Thanks genman, but my app and the cache are both fully started. In fact, using Node directly instead of TreeCache works. The problem this way is that interceptors dont get called, which may prevent getting evicted nodes. what I want to know is if this jira is a bug, and why it wont be fixed, or i

[jboss-user] [JBossCache] - Why won`t fix JBCACHE-622?

2007-12-05 Thread jorgemoralespou_2
I'm having a similar problem in my app. I use getChildrenNames() to iterate over the tree to get my nodes, in order to print them, or do queries on them. When I set up a ClusteredCacheLoader, every call to getChildrenNames() remove the children from the cache. I have searched Jira, and found JBCA

[jboss-user] [JBossCache] - What replicates in JBC 1.4?

2007-11-29 Thread jorgemoralespou_2
Hi, We have a large application, with large amount of data stored in cache. For some data, we store it as nodes, for some other data, we store it as attributes, in order to find a good compromise between number of nodes, data in each node. We use SYNC_REPL to replicate data between our 2 node cl

[jboss-user] [JBoss jBPM] - Re: Getting first non exception transition

2007-11-28 Thread jorgemoralespou_2
We`re not using persistence, so I guess HQL is not an option. Thanks anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108477#4108477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108477 __

[jboss-user] [JBoss jBPM] - Getting first non exception transition

2007-11-28 Thread jorgemoralespou_2
Hi, We have an ActionHandler where we want to Transition to take the first possible transition that is not an Exception Path, this is, is not one of the possible transitions taken by an ExceptionHandler`s actions. We have this code now: | private String getOutputTransition(ExecutionContex

[jboss-user] [JBossCache] - Re: Deploy JBC 2.x in JBossAS 4.2.x

2007-11-20 Thread jorgemoralespou_2
We`ll share our results when we get into the change. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106320#4106320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106320 ___ jb

[jboss-user] [JBossCache] - Re: Deploy JBC 2.x in JBossAS 4.2.x

2007-11-20 Thread jorgemoralespou_2
anonymous wrote : Also, make sure your JBC 2.x jar (and it's dependencies) reside in your WAR or EAR file. So if we have more than one application using these caches, say for example, caches are defined in one APP, and used in this and some other apps, would there be any conflict? Also, if we

[jboss-user] [JBossCache] - Deploy JBC 2.x in JBossAS 4.2.x

2007-11-20 Thread jorgemoralespou_2
Is it possible? Would libraries interfere between bundled JBC 1.4.1x and our JBC 2.x? Has anybody done this? How is youre deployment? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106293#4106293 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems

2007-11-13 Thread jorgemoralespou_2
Thanks for youre response. We`ll try it tomorrow. And, yes, youre right, this post is also ours. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104272 Sorry for crossposting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104275#4104275 Reply to t

[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems

2007-11-13 Thread jorgemoralespou_2
We have a problem with this. Our cache is InactiveOnStartup, and we activate it programatically, so we wait for objects (classes) being fully loaded in the starting cluster node, before getting data nodes replicated from the other cluster node, so we avoid ClassNotFoundExceptions, and such. In

[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems

2007-11-13 Thread jorgemoralespou_2
Then, for another cache that we don`t persist, but we do evict. Should we configure a ClusteredCacheLoader? Is eviction clustered node dependant? Is eviction in this case, the same as removing the node? Or by evicting the node, and having a ClusteredCacheLoader, we can have data in one node and

[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems

2007-11-13 Thread jorgemoralespou_2
So, to be completely correct, we should have a ClusteredCacheLoader, and then a JBossCacheLoader configured. This will help us with evicted data. Normal replication, for puts and removes will always happen, independently of having or not any clustered cache loader. Is this right? View the origi

[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems

2007-11-13 Thread jorgemoralespou_2
anonymous wrote : The cache will first check it's own local memory and after that, check all cache loaders. If you want it to query other caches in the cluster as well, add a ClusteredCacheLoader to your configuration, *before* the JDBCCacheLoader. This seems strange to me, because, we have ano

[jboss-user] [JBossCache] - JBC 1.4.1SP replication problems

2007-11-13 Thread jorgemoralespou_2
Hi, We have a two node cluster configured with replication and a JDBCCacheLoader, as follows: | | | | | | jboss:service=Naming | jboss:service=TransactionManager | jboss.jca:name=jdbc/somservices,service=DataSourceBinding | | o

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Is JBoss AS 4.2.2.GA released?

2007-10-19 Thread jorgemoralespou_2
Hi, I see in Jira the 4.2.2 release notes: http://jira.jboss.org/jira/browse/JBAS?report=com.atlassian.jira.plugin.system.project:changelog-panel But I can`t find any link to download it. Anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096920#4096920

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - CrossContext jsessionid

2007-10-18 Thread jorgemoralespou_2
Hi, I have two applications: One of them generates a session ID, executes some process, and in some situations, forwards to a jsp in another web application. I do this as a pluggable templating system. In this JSP I do some things, and return the requested page to the user, but although I do a

[jboss-user] [JBossCache] - Re: Some questions about JBC 1.4

2007-10-18 Thread jorgemoralespou_2
Thanks Manik for your response. I`ll go for a custom classloaders that only listen for startup/stop events. Hope I get it right. I`ll let you all know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096569#4096569 Reply to the post : http://www.jboss.com/in

  1   2   >