[jboss-user] [Beginners Corner] - Re: JBoss4.0.3SP1 | Issues with Parsing XML Schema importin

2009-02-19 Thread sg283
Instead of parsing the schema with DOM/SAX, just loading it with URL worked with JBoss. But I don’t know how and why? here is the sample code: URL schemaURL = Thread.currentThread().getContextClassLoader().getResource(WSConstants.BOOKING_SCHEMA_FILE); SchemaFactory provBookingSchemaFactor

[jboss-user] [Beginners Corner] - JBoss4.0.3SP1 | Issues with Parsing XML Schema importing an

2009-02-18 Thread sg283
I am trying to validate XML with XSD. The XML has elements in two different namespaces:- 1-"http://schemas.xmlsoap.org/soap/envelope/"; 2-urn:Hotel_Reserve So in Schema I have defined elements Envelop, Header and Body in "http://schemas.xmlsoap.org/soap/envelope/"; namespace and targetNamespace

[jboss-user] [JBossCache] - Re: What is the relation between in-memory nodes and nodes i

2007-09-14 Thread sg283
Genman , Manik, Please reply. Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084457#4084457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084457 ___ j

[jboss-user] [JBossCache] - Re: What is the relation between in-memory nodes and nodes i

2007-09-12 Thread sg283
Please confirm if I understand this correctly:- 1- Suppose I have defined maxNodes in region X to be 4500, and my application tries to put 1000 more nodes in region X then there would be 5500 nodes in total; 4500 in region X and 1000 nodes in region _default_. All 4500 nodes in region X would b

[jboss-user] [JBossCache] - What is the relation between in-memory nodes and nodes in db

2007-09-11 Thread sg283
I have configured one of my cache region ( called fare) as below:- maxNodes = 4500 timeToLiveSeconds = 2073600 I have defined maxNodes in this region to be 4500.I am persisting cache in db using cache loader. In my application I am keeping data only on the leaf nodes. When I query my db for node

[jboss-user] [JBossCache] - TreeCache eviction erratic

2007-08-23 Thread sg283
I am using JBoss Cache 1.4.3SP3 (TreeCache in Local mode). I am facing the problem that tree cache eviction is behaving erratically. I have regions with same eviction policy but different timeToLiveSeconds. In one of the regions, timeToLiveSeconds is 2073600 seconds (i.e. 24 days). Sometimes the

[jboss-user] [JBossCache] - Re: Getting InterruptedException while putting into tree cac

2007-08-08 Thread sg283
If we chose READ_COMMITED, the thread would wait for the transaction to be commited. As I mentioned, in our application number of read/write is very high. We can read the uncommited value rather that waiting for the transaction to be commited. If we are getting InterruptedException, what should b

[jboss-user] [JBossCache] - Re: Getting InterruptedException while putting into tree cac

2007-08-08 Thread sg283
The reason behind using READ_UNCOMMITED is that our cache read/write hit is very high. We are more concerned to get something from cache even if that data is no longer valid in terms of use. The application must display data to the user. View the original post : http://www.jboss.com/index.ht

[jboss-user] [JBossCache] - Re: Getting InterruptedException while putting into tree cac

2007-08-08 Thread sg283
Whenever the InterruptedException is thrown nothing is written in cache. Please suggest if I should handle this exception in my code and retry to put in cache. Will this ensure write in cache if InterruptedException is not thrown again. View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBossCache] - Getting InterruptedException while putting into tree cache

2007-08-07 Thread sg283
I am using JBoss Cache 1.4.1 SP3. We are using PESSIMISTIC locking scheme with isolation level READ_UNCOMMITED. While writing into the cache, sometimes we get InterruptedException. However, the API(put method in org.jboss.cache.TreeCache) only throws CacheException. Here is the stacktrace:- 04

[jboss-user] [JBossCache] - Re: Getting duplicate entry exception

2007-07-26 Thread sg283
I am using JBoss Cache 1.4.1SP3 & JBoss AP 4.0.3 SP1. I am facing the same issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068094#4068094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068094

[jboss-user] [JBossCache] - JBoss Cache 1.4.1 SP3 |Problem with OPTIMISTIC NodeLockingSc

2007-07-26 Thread sg283
We are using JBoss AS 4.0.3 SP1 and JBoss Cache 1.4.1 SP3 and MySQL Server 5.0.18. We are using OPTIMISTIC NodeLockingScheme currently. We are getting various cache exceptions:- 1- DataVersioning 2- Duplicate Key 3- ReadWriteLock Because of these errors, our production system gets down. Here is

[jboss-user] [JBossCache] - JBoss Cache 1.4.1 SP3 | Eviction Policy

2007-07-26 Thread sg283
We are using JBoss Cache 1.4.1 SP3 and getting following warning. 25 Jul 07 09:52:34, WARN org.jboss.cache.TreeCache:setEvictionPolicyProvider:1594 Using deprecated configuration element 'EvictionPolicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in fut

[jboss-user] [JBossCache] - JBoss Cache 1.4.1 SP3 | NodeLockingScheme

2007-07-26 Thread sg283
We are using JBoss AS 4.0.3 SP1 and JBoss Cache 1.4.1 SP3 and MySQL Server 50.18. We are using PESSIMISTIC NodeLockingScheme currently. We are getting various cache exceptions:- 1- DataVersioning 2- Duplicate Key 3- ReadWriteLock Because of these errors, our production system gets down. Here is