[JBoss-user] [JBossCache] - Re: Problems with Optimistic Locking in 1.2.4 FINAL

2005-10-26 Thread DashV
But this is only the case if I am also writing the transactions myself right? Meaning if I as the developer open a new transaction do a bunch of puts then commit. If I am just calling put over and over with no transaction code of my own in the middle then each interaction (each put) is an indiv

[JBoss-user] [JBossCache] - Re: Problems with Optimistic Locking in 1.2.4 FINAL

2005-10-25 Thread DashV
Yes the slsb is writing to the same fqn every time... As more of a philisophical question. Should a developer using jbosscache have to worry about this (catching and retrying a failed write) or should this behavior be inlined inside the api but only get used when the cache is configured for opt

[JBoss-user] [JBossCache] - Problems with Optimistic Locking in 1.2.4 FINAL

2005-10-24 Thread DashV
Manik> Per your request I have downloaded and installed the 1.2.4 final jbosscache.jar into my 4.0.2 jboss deployment. I still get the same transaction exceptions with 1.2.4 final as I did with the cvs releases. An important thing to note is that I have 1 remote client making repeated calls t

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-10-24 Thread DashV
[EMAIL PROTECTED] Sure thing. Where do you want me to post my findings? This topic, a new topic, or the 1.2.4 final topic? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902989#3902989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-10-11 Thread DashV
The latest from CVS does indeed fix the JBossAS service dependancy problems. I am now able to boot our configuration with optimistic locking enabled. So far I have the following things to note: 1) If optimistic locking is enabled on a cacheloader enabled cache access to that cache becomes painf

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-10-05 Thread DashV
I must be looking in the wrong place... Connected to: anoncvs.forge.jboss.com from within eclipse I don't see the tag: BRANCH_JBOSSCACHE_1_2_3_FINAL Under Branches under versions JBossCache or under versions jboss-cache I must be looking in the wrong place. View the original post : http://w

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-10-05 Thread DashV
Here is are the tree snippets that make up the fix we came up with yesterday for our production build. For the method: private void insertNode(Fqn name, Map node) | if(node != null) | { | //Object marshalledNode = new MarshalledValue(node); | //

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-10-05 Thread DashV
Unfortunately due to the CacheLoader startup also being busted I haven't been able to do any testing of 1.2.4beta with jboss4.0.2. I tried moving the code from createService back to startService as noted in this jira: http://jira.jboss.com/jira/browse/JBCACHE-303 Then I started getting NPEs on

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-09-29 Thread DashV
Found another potential problem with running the MBean inside of JBoss... When using a JDBC CacheLoader it seems to be trying to work with the datasource before its ready even though I have specified a dependancy on the datasource. I checked the constructor for TreeCache and I don't see anything

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-09-29 Thread DashV
Alrighty I'll grab the latest cvs source and compile it with the modified MBean interface and give it a go. Even as alpha I wouldn't mind checking it out. I don't plan to put it into production I really just want to try it out and give you guys some feedback. JBossCache saved us a ton of time w

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-09-28 Thread DashV
Heya does the Optimistic Locking stuff work when using JBossCache as an MBean within JBoss 4.0.2. I tried dropping jboss-cache.jar into my lib directory (overwriting the old one) and adding the attribute: OPTIMISTIC to my caches service.xml. Now I get the following exception: org.jboss.deploy

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available

2005-09-28 Thread DashV
Alrighty. I was just going to give it a go because the notes from the download page: http://jira.jboss.com/jira/secure/ReleaseNote.jspa?projectId=10051&styleName=Html&version=12310238 said it was in there in "beta" form so I thought I'd check it out and provide feedback. View the original post

[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-07 Thread DashV
FOUND A SOLUTION! Each JBossAS was using DefaultPartition. One of the keys in the hashmap must be based on this. Because as an experiment changing the partition name on one of the servers in the all configuration caused them both to worth concurrently without issue! -Djboss.partition.name=MyWo

[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-07 Thread DashV
Just for completeness... here is the debug tree from eclipse for the deployment in the default directory which is working... PublisherSequence this= PublisherSequence (id=28) | PublisherSequence IOS= PublisherSequence (id=27) | String intendedServerIP= "jnp://x.x.x.155:1099"

[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-07 Thread DashV
We redeployed everything into the default directory (it was in the "All" directory) and connections to multiple (non clustered) JBoss application servers works now. But of course we loose the ability to have JBossAS clusters. So the answer for us for now seems to be to support multiple connectio

[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-06 Thread DashV
Doh... I can't upload an image so here is a copy paste of the debug tree. PublisherSequence this= PublisherSequence (id=27) | String intendedServerIP= "jnp://x.x.155:1099" | PublisherSequenceSecurityProxyRemote pubSeq= $Proxy3 (id=40) | InvocationHandler h= ClientContai

[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-06 Thread DashV
Loading up my client in the Eclipse debugger I can see that its the InvocationContext that is getting confused. So my lookups are indeed being performed correctly but at some point that I haven't pinned down just yet the InvocationContect is getting changed internally. Attached is a screenshot

[JBoss-user] [JBossCache] - Re: Cache Replication takes prior to transaction commit

2005-08-30 Thread DashV
I might be missing something but isn't that the behavior that's desired if your cache is REPL_SYNC. This means that a commit should only be performed after all nodes confirm that they have the same data. If you want different behavior try setting your cache to REPL_ASYNC View the original pos

[JBoss-user] [JBossCache] - Re: Is JBossCache good inside EJB model?

2005-07-25 Thread DashV
If you look it up through the MBean Service and use whats passed back by that then yeah. It's basically a pass by reference. So its no different (to your ejb) than doing a remote or local lookup of an ejb. We have ejbs use MBeans all the time. The only time you need to be careful is when you ge

[JBoss-user] [JBossCache] - Re: TreeCache TCP configuration

2005-07-25 Thread DashV
I'm interested in knowing this as well. We are unable to use multicast here because we have several developers on the same subnet running many versions of jboss. But when I use the TCP configuration jboss clustering itself works fine but jboss cache just seems to not work (as a cluster) at all.

[JBoss-user] [JBossCache] - Re: JBoss Cache with JBoss 3.2.7 and Java 5

2005-07-25 Thread DashV
Last I knew only the JBoss 4.x branch is jdk 1.5 (java 5 as your calling it) compatible. If you try using 3.x.x with 1.5 you can expect much carnage. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886361#3886361 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Clustering/JBoss] - Re: Mixed OS Cluster.

2005-07-20 Thread DashV
I am also using a WindowsXP/Linux hybrid cluster... No problems whatsoever. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885747#3885747 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885747 -

[JBoss-user] [Clustering/JBoss] - 4.0.2 J2EE Remote Clients JNPing over 1099 Getting HA'd by t

2005-05-19 Thread DashV
We recently upgraded from JBoss 4.0.1AS to 4.0.2AS and I believe we came across a bug. I have triple checked that we have all the correct jars in our remote j2ee clients classpath but for some reason the JBoss clustering dispatcher seems to be HA'ing JNP calls using 1099. According to the docs

[JBoss-user] [JBossCache] - Re: commit() should not be called on TreeCache directly Bein

2005-04-01 Thread DashV
Bela> 1.2.1 is working here fine for us too. You fixed that bug several weeks ago. >From what I've experienced 1.2.1 is rock solid. nsakiya> Are you sure you replaced the jar? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872357#3872357 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Re: Warning : Deployed as CLUSTERED but not a single cluster

2005-02-09 Thread DashV
That and your bean MUST have remote interfaces... I don't know why but without remotes I would get the same "'Deployed as CLUSTERED but not a single clustered-invoker is bound to container" error. Try adding remotes and remote homes to your entities (if they don't already have them) and redeplo

[JBoss-user] [Clustering/JBoss] - Re: How can i setting up JMS clustering on jboss4.0?

2005-02-03 Thread DashV
te.mp> Your best bet would be to keep posting your questions here in the forums since there are plenty of people around here more knowledgeable than me to answer any other questions you may have. but you can still consider me a friend if you'd like ;) View the original post : http://www.jboss.

[JBoss-user] [Clustering/JBoss] - Re: JMS Clustering in JBOSS

2005-02-03 Thread DashV
The url of the wiki is here: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865044#3865044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865044 ---

[JBoss-user] [Clustering/JBoss] - Re: Is it necessary to use HAJMS when on a cluster?

2005-02-02 Thread DashV
Hey I don't know if you are still interesting in doing this... (parallelizing JMS in your cluster instead of using it as an HA Singleton) if you are still interested let me know... We've succeeding in doing it here. With a few caveats we are willing to live with. Its not hard to do at all (I m

[JBoss-user] [Clustering/JBoss] - Re: Multi-Homed Configuration passing wrong ip to Remote Cli

2005-02-02 Thread DashV
That worked :oD Thanks alot! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864837#3864837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864837 --- This SF.Net emai

[JBoss-user] [Clustering/JBoss] - Re: MDB in a cluster talking with a remote queue on other cl

2005-02-01 Thread DashV
I don't know if this will help but you could try explicitly defining the context settings like this: Hashtable contextSettings = new Hashtable(); | contextSettings.put("jnp.disableDiscovery", "true"); | contextSettings.put(Context.INITIAL_CONTEXT_FACTORY, |

[JBoss-user] [Clustering/JBoss] - Re: How can i setting up JMS clustering on jboss4.0?

2005-02-01 Thread DashV
The jboss wiki talks about HAJMS in some detail: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864629#3864629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864629

[JBoss-user] [Clustering/JBoss] - Re: A good book about clustering with jboss

2005-02-01 Thread DashV
The JBoss folks have written excellent docs on clustering. It explains what clustering in jboss means, the mechanisms and technologies they use to pull it off. How to configure it. And they even dive into some code. Do yourself a huge favor and get the JBoss Clustering docs http://docs.jboss.org

[JBoss-user] [Clustering/JBoss] - Multi-Homed Configuration passing wrong ip to Remote Clients

2005-01-31 Thread DashV
Hello. I currently have a 2 node JBoss 4.0.1 cluster running. I have two interface adapters in each machine. the first adapter in each has an ip 155.x.x.x that corresponds to our main subnet. The second adapter in each has its own private non-routable ips 192.168.1.x. I have set the bind_addr

[JBoss-user] [Clustering/JBoss] - Re: How can i setting up JMS clustering on jboss4.0?

2005-01-11 Thread DashV
The JBoss Clustering docs would be a great way to get started. You have to pay for them but they are well worth it. They should tell you just about everything you'd want to know. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861617#3861617 Reply to the post

[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-12-16 Thread DashV
anonymous wrote : Hopefully I can work this out, but really it seems that an Entity Bean approach is a much better idea. I don't know if it's too late to reply to this or not... but you could always go the hybrid route... Which is... Use your singletons the way you are now but anytime a method

[JBoss-user] [Clustering/JBoss] - Specify which nodes cannot be master for HASingleton?

2004-12-16 Thread DashV
Hey, In porting our current architechture to JBoss 4.0 using clustering there were quite a few Services we had that were caching state. We know that ultimately we need to use something like JBossCache or Entities (or both) to do this properly. But in the meantime we are just making the existing

[JBoss-user] [Clustering/JBoss] - Re: Warnings from DefaultPartition within > 2 node cluster

2004-12-14 Thread DashV
Sorry I didn't wrap the code in proper tags so it doesn't appear in the above post... here it is. | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858607#3858607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Clustering/JBoss] - Re: Warnings from DefaultPartition within > 2 node cluster

2004-12-14 Thread DashV
Hey all, for now in your all/conf/log4j.xml If you set the log threshold for the console (and file) appenders to ERROR for the package: org.jboss.ha These Warnings will no longer appear and you will reclaim a great deal of performance. the xml snippet in your log4j.xml would look like this

[JBoss-user] [Clustering/JBoss] - Re: Specify which nodes cannot be master for HASingleton?

2004-12-14 Thread DashV
A sub partition seemed like the best route but according to the latest for pay docs say on page 23 anonymous wrote : "Although JBoss does not currently support sub-partitioning, it will soon, so let?s discuss it here." For the heck of it I tried defining a sub partition and it almost seemed to

[JBoss-user] [Clustering/JBoss] - Re: Is it necessary to use HAJMS when on a cluster?

2004-11-23 Thread DashV
We are also using MySQL as our backend database for both JMS and our Entity beans. did you delete the all\deploy-hasingleton\jms\hsqldb-jdbc2-service.xml file and replace it with a suitable MySQL one? I copied and pasted the one found in docs/examples/jms/mysql-jdbc2-service.xml be sure to c

[JBoss-user] [Clustering/JBoss] - Re: Clustered HASingleton How-To

2004-11-22 Thread DashV
This step by step how to is great. It even worked for 4.0! You saved me hours of googling man. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855950#3855950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855950 -

[JBoss-user] [Clustering/JBoss] - Re: JBoss Clustering Rocks! But How do I get the Partition N

2004-11-22 Thread DashV
Well. I re-read the Clustering docs and although it didn't give me the answer to my question directly, it did give me some things to think about which led to a solution. I don't know that it's THEE solution but it seems to work OK. For anyone else whos wondering here's how I am getting the parti

[JBoss-user] [Clustering/JBoss] - Re: Is it necessary to use HAJMS when on a cluster?

2004-11-22 Thread DashV
Actually HA jms is much easier to get working than you might think... If you use the ALL configuration of JBoss 4.0 for example its up and going out of the box. The ONLY change you would need to make in your clients is setting the jnp url your clients use to connect from: jnp://localhost:1099

[JBoss-user] [Clustering/JBoss] - JBoss Clustering Rocks! But How do I get the Partition Name

2004-11-19 Thread DashV
reakin-tastic job at implementing clustering. (see why I'm called DashV? VERBOSE). I do have one question I haven't been able to find the answer to... Is there a way in code (like say a JMX Service MBean) to figure out what partition the code is deployed into... Our infrastructure (wh