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
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
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
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
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo