SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: saving index in a seperate datasource causing transaction issues

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 14 - Pages: 1 - Last Post: Nov 14, 2011 2:35 AM Last Post By: tonnyben
davidl340

Posts: 5
Registered: 1/20/10
saving index in a seperate datasource causing transaction issues
Posted: Mar 18, 2011 4:25 PM
 
  Click to reply to this thread Reply
Bear with me, I am not an expert on transaction management

I am using Compass with an EJB3 application on jboss5.1, JPA, storying the index in a DB (due to some clustering issues). If I have my index stored in the same DB as the jpa tables that I index, I have no problem. If I use a separate datasource for where compass stores the index than where the jpa tables are stored, I get:

this warning: http://com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow Adding multiple last resources is disallowed
followed by: Failed to index the database org.compass.core.engine.SearchEngineException: Failed to execeute job [Job Create

Basically a transaction error because I am using local-tx-datasource across 2 datasources. I don't really want to switch to xa transactions.

Is there anyway to have the reading of the jpa datasource in a separate transaction as the writing to the compass index datasource? Am I doing something fundamentally wrong?

compass config:

<compass-core-configuration>
<compass>
<setting name="compass.engine.connection">jdbc://java:indexDataSource</setting>
<setting name="compass.transaction.factory">org.compass.core.transaction.JTASyncTransactionFactory</setting>
<setting name="compass.query.maxClauseCount">5000</setting>
<setting name="compass.engine.store.jdbc.managed">true</setting>
<setting name="compass.engine.store.jdbc.connection.provider.class">org.compass.core.lucene.engine.store.jdbc.JndiDataSourceProvider</setting>
<setting name="compass.transaction.commitBeforeCompletion">true</setting>
<setting name="compass.engine.localCache.__default__.connection">file:///tmp/compasscache</setting>
<mapping resource="data.cpm.xml"/>
</compass>
</compass-core-configuration>


<datasources>
<local-tx-datasource>
<jndi-name>jpaDataSource</jndi-name>
<connection-url>bla</connection-url>
<driver-class>bla</driver-class>
<user-name>bla</user-name>
<password>bla</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>100</max-pool-size>
</local-tx-datasource>

<local-tx-datasource>
<jndi-name>indexDataSource</jndi-name>
<connection-url>bla</connection-url>
<driver-class>bla</driver-class>
<user-name>bla</user-name>
<password>bla</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>100</max-pool-size>
</local-tx-datasource>
</datasources>

afra

Posts: 683
Registered: 8/10/11
tory burch
Posted: Sep 18, 2011 9:39 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
If you are interested in this tory burch wallet,welcome to our online store to buy tory burch handbags it. Here we provide several tory burch shoes styles and colors wallets for you to choose tory burch sale from. You also can choose to buy elegant tory burch boots. Take these tory burch flats to attend some fashion activities.
afra

Posts: 683
Registered: 8/10/11
discount puma shoes
Posted: Sep 18, 2011 9:50 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
The return with the discount puma shoes proved to be a productive more by simply puma store. With the new cheap puma shoes branch, discounted puma sneakers line is actually cashing in on puma shoes sale the limited updates, which frequently sell on puma shoes Outlet insane prices.
afra

Posts: 683
Registered: 8/10/11
christian louboutin shoes
Posted: Sep 18, 2011 10:04 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
It is worth you to buy christian louboutin shoes from our online store. Our discount christian louboutin shoes products possess high quality and fashion louboutin sale design. No matter what age you are, wearing this brand cheap louboutin store will make you look more young and louboutin pumps fashionable. The christian louboutin boots fashion world is waiting for you coming.
afra

Posts: 683
Registered: 8/10/11
ugg classic boots
Posted: Sep 18, 2011 10:15 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
I love the ugg classic boots. I thought that the right discount ugg boots one felt a little narrow around my big toe in the cheap ugg boots initial wears. Now they are perfect ugg boots clearance. I wear without ugg boots australia socks and I do not like the feel of the discount uggs boot with socks on.
afra

Posts: 683
Registered: 8/10/11
christian louboutin boots
Posted: Sep 18, 2011 10:37 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
At the first sight of the christian louboutin boots, I know the name, for the red discount louboutin shoes sole is apparent. In the cabinet, every woman should have pairs of cheap louboutin shoes. they will be your best love discount christian louboutin shoes, and will cherish them most. We can show the christian louboutin on sale in some famous parties,we will attract a lot of christian louboutin shoes people.
afra

Posts: 683
Registered: 8/10/11
cheap louboutins
Posted: Sep 18, 2011 10:48 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
This kind of cheap louboutins can make you be the focus and more shining in the discount christian louboutin shoes street by its perfect and fashionable christian louboutin on sale design. So if you want to be a fashion lady, you need have a pair of discount louboutin shoes. Come our christian louboutin shoes online and choose the best christian louboutin on sale style that you want.
fangcao

Posts: 92
Registered: 8/14/11
Re: saving index in a seperate datasource causing transaction issues
Posted: Sep 26, 2011 10:06 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
Wow!!!!! runescape powerleveling improves so quickly. I can’t believe!!!! Oh, Shit! Runescape Gold is so cheap. So easy get rs accounts and rs character .Hey, friend, this is not a scam. I have had a try. Really great!
macmakeup12

Posts: 174
Registered: 9/21/11
billige nike shox sko
Posted: Oct 3, 2011 4:08 AM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
billige nike shox sko SlendertoneSlendertone Belt Beltbargain-accessories is booming privateSlendertone Belts, whether watches, cell phones or sunglassesSlendertone System. GrowingSlendertone Flex consumerism hasSlendertone New Face led to mendiscount nike shox and women Slendertone Boottom Tonerseeking OPI Nail PolishindividualOPI Nail Polish Wholesale componentsCheap OPI Nail Polish for billige nike shoxreasonsOPI Nail Polish Sale more than mereOPI Summer Splash utility. ThisOPI BrightPair enthusiasm has also ledOPI Colorcopia to muchOPI DS of the OPI FranceduplicityOPI SoftShades and imitationsOPI Spain that havemac-wholesale floodedflat iron outlets theNike Air Max Sko Women consumeri love shop here market todayflat iron box that hasnew bag tastedLip Gloss Ladygaga bloodflat iron stores. One of thevibram five fingers review elementsvibram five fingers review thatnike shox men are theMac Cosmetics mostP90X reviews imitated Oakley Sunglassesof OakleyCheap Oakley Sunglasses sunglasses. Industry Wholesale Oakley Sunglassesestimates say thatOakley Sunglasses 25 Nike Shox Men SkopercentOakley Sunglasses Cheap correct Oakley Oakley Multi Lenssunglasses nike shox womenobservedNike Air Max Sko Men in theOakley Polarized currentnike shox sko market,slendertone
factoryoutlet

Posts: 523
Registered: 10/5/11
Re: saving index in a seperate datasource causing transaction issues
Posted: Oct 5, 2011 8:38 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply

louis vuitton outlet leads you to bags collection of wide, such as LV bags and LV handbag etc. They are main name in luxury and style. It is excellent quality, fine Italian technology and extraordinary beauty.LV is universally renowned as a luxury brand. louis vuitton online store offers customers the newest fashion collections which can make you different.

In the past, Louis Vuitton only emphasis on classic, but in recent year, Louis Vuitton change its strategy and style to acquire new breakthrough. Especially louis vuitton bags like Louis Vuitton Vernis Wallet.Want to become more charming and faddish? Go to visit louis vuitton outlet webpage and select the most suitable products for yourself.

Want to become more charming and faddish? Go to visit louis vuitton outlet webpage and select the most suitable products for yourself.louis vuitton outlet online may often be the consideration alternative inside of your event to get these kinds of bags.Is without a doubt louis vuitton online seriously is present? Is it possible to offer an outlet designed for Louis Vuitton merchandise speaks out?

The choices are likely to be basically countless seeing that louis vuitton outlet occurs with the help of completely new and also incredible concepts once in a while.Mainly because mentioned before, you could buy in the louis vuitton online, via the producer's the web outlet. Owning worn it in past times. They can supply a appropriate evaluate for the property's simplicity as well as client service description.louis vuitton outlet online is the method to show the confidence of our handbags. The person who show himself in front of other people is a confident one.

LV bags in the louis vuitton outlet are a feminine update on an urban classic. With plenty of room for all of your essentials this covetable carryall will take you through the weekend in style.LV is universally renowned as a luxury brand. louis vuitton online store offers customers the newest fashion collections which can make you different.

This collection focus more on color selection compared with other LV handbags. Cute and sunshine design style increases its charm. louis vuitton outlet online provides you the very famous luxury worldwide brand.We are glad you come to join in our louis vuitton outlet online store, because the winter is upcoming now, Louis Vuitton released many new handbags to feedback our customers.Just come to visit once the louis vuitton online, you will fall in love with its fancy bags, purses, sunglasses, shoes and so on.

factoryoutlet

Posts: 523
Registered: 10/5/11
Re: saving index in a seperate datasource causing transaction issues
Posted: Oct 5, 2011 8:41 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply

coach factory outlet offer excellent, elegant coach products in order to generate room for your new collections.They're purchased more quickly that you may at any time imagine.coach factory store is the greatest destination to buy what type of bags you like. If you need to manage a new Coach carrier and most preferable strategy is to the coach regarding coupon codes.Here's your new way to look sophisticated styles. Carry the hot coach factory outlet store of this summer and be the true trendsetter!in the market you definitely can find various colorways that are designed in as well as the high quality that applied in. For most of you would like to come. So just come to our coach factory outlet online store to choose one.

coach factory outlet is really sizzling kinds of shopping way for you. With the usage of the replica designer coach bags, you can surely be able to change your individual looks in a stunning manner.You know, Coach items are so perfect and fascinating. Now I grow up, and find coach outlet on the Internet offering affordable products with reliable quality.Many fashionable women match with practical Coach Purses which will make the street shopping become relaxed,and make every person can enjoy more diversiform combination in coach factory outlet online.The coach factory outlet store are utilized for formal event in company area that will display your excellent taste.Not only does a briefcase make is easier to carry things.

Almost everyone has identified effectively about this, below, among the best to make sure you will get much more information about coach outlet.In the coach outlet online shop, a collection of high quality and hottest Coach Shoulder Bags is offered to you. They are all at the best prices you will ever find.

You know, Coach items are so perfect and fascinating. Now I grow up, and find coach outlet on the Internet offering affordable products with reliable quality.Once visit, you will be unable to restrain loving it. Warmly welcome all of you to the Summer Sales Promotion on coach factory outlet.coach factory outlet has new coach laptop bags in listing. No matter which style do you want, we can provide it for you.Coach bags enjoy high popularity throughout the world. I would like to share the coach factory outlet online with you. What are you waiting for? Just come to visit.

coach factory outlet supplies the newest and most fashionable brand Coach on sale.The more Coach shoulder bags you order, the more discount you will get.It's wonderful to find out it does not slip in your signature at the bottom of the case and the appearance of brass accents from coach outlet online, Because women who can look stylish this summer.coach outlet has a zippered closure and buckles for extra security. Shiny brass hardware, rounded leather handle, and an interior pocket. It also includes a limited edition Hawaii luggage tag and lock.You can find all kinds of coach bags whatever you chose which one in coach factory outlet online will never be out of fashion. Not only they have many nice and design styles, but also made from the finest leather and fabric.

With the great diversity of styles, patterns and sizes available nowadays, finding the right pieces to highlight your personality is quite important. coach outlet offers exactly what you want.coach factory outlet supplies the newest and most fashionable brand Coach on sale.The more Coach shoulder bags you order, the more discount you will get.Look at this golden Coach bag in the? coach factory outlet online.Those new bags with classic and fashionable design are more and more popular now!After graduating from university, my cousin came back to my hometown from USA last month. She told me that coach outlet store is very popular among her classmate.

coach outlet online own a couple of line, color, or the selected theme, it should be a good choice. It may be the place where offer the bag ladies handbag, you will be able to follow a course of education or training receives for the slim project chest strap wallet.coach outlet will send you a coupon in the post to use in their upon only after you type a achieve. The Coach bags are customarily somewhat many than the ones in the stores.In particular, products from coach factory outlet with leather design are fashionable, handmade,leading the wave of American pop.It with simple,durable and unique style to win consumers.coach factory not only supply with the highest quality crystal at reasonable price but also provide good after-sales service. Companies operating purposes: science and technology in order to survive, credibility and development, strict quality control.

coach outlet handbags's special design and fashion is certainly and so eye-catching, I hope you are able to get much more attention towards the Cheap Coach Crossbody.As long as you open our coach factory outlet webpage, you will view various Coach New Arrivals which are the most popular also the most fashionable in this year.Are you anxious to choose some of the brand bags? Are you searching for reliable sellers? When you come to the coach factory outlet online, these are not problems.

At the coach outlet online you have the largest selection of the day. If you touch the item and like it, keep it in your possession until you make your final decision.Over the years, coach factory online has added a multitude of new handbag shapes, styles and materials to their collection. However, the highest care is taken that every Coach handbags is both aesthetically beautiful and functional.Are you searching for a cool and stylish coach bag? The coach factory outlet online Online is your first priority.

jenny

Posts: 271
Registered: 11/13/11
coach outlet store online
Posted: Nov 13, 2011 7:41 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
The

coach factory outlet

has been in business for many years. You can log in to find more information about its products and services.
At

louis vuitton sale

,you will find Louis Vuitton Vernis Wallet uses Vernis leather lining instead of classic Monogram canvas, meanwhile creates another classic style with fashion.
Here's your new way to look sophisticated styles. Carry the hot

coach outlet store online

of this summer and be the true trendsetter!
Several days ago, I chose one style of

hermes scarf

from the Swarovski Outlets, which has won good reputation from many customers.
It is a symbol regarding position not to mention nature, Here I would like to launch a excellent bags pertaining to business men, which may be

louis vuitton online

Cupertino M56398.
Almost everyone has identified effectively about this, below, among the best to make sure you will get much more information about

coach outlet

.
lvzeng

Posts: 268
Registered: 11/13/11
louis vuitton
Posted: Nov 13, 2011 7:57 PM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply
Owning

louis vuitton bags

of their own has been the dreams of many fad-seeking people for a quite long time.
You need not worry about the quality of the

coach outlet store online

for sale now. The Coach brand is famous for the perfect products.
I am so confused that I don,t even know where to buy the

louis vuitton

Handbags. Because I can prefer to chose the fashionable design, favorable price, top service .

coach outlet store online

with fashion style and top quality succeed. In any occasions they are very suitable and appropriate for its precise and rich design.
They're not chosen, so one of these ideal for you.For more flexibleness a lot more like these, there are lots of discount 'shoulder' variations outlet

louis vuitton bags

.

hermes birkin

is an Austrian success story par excellence. At the end of the 19th century Daniel Swarovski founded a company with the aim to cut crystals automatically.

coach outlet store

vision system is a visual enjoy, is a visual art. The particular design has been integrated function and the element of elegancy, then show you an exquisite and excellent product.
coach8outlet

Posts: 282
Registered: 11/13/11
Re: saving index in a seperate datasource causing transaction issues
Posted: Nov 14, 2011 1:44 AM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply

louis vuitton handbags

enjoy high reputation all over the world. They are designed for hand, elbow and shoulder carry thanks to comfortable flat leather handles.
If you have been to the mall lately and browsed

coach outlet

you may find that a high price tag goes along with just about everything in the mall.
This client-oriented and faith-rooted store aims at providing the best LV goods and services, such as top-class

louis vuitton uk

and free shipping.
Turn your attention to such discount coach sneakers for women from Coach Outlet Store online, you will find something unique and special of such authentic coach for sale at coach factory outlet store online.

louis vuitton outlet

online just like a person who want to show himself in front of other people, because he is confident enough, he can attain the respect of other people.
Bezel-set

hermes birkin bag

are showcased in all their brilliance in the chic and timeless design of this tennis bracelet. Rhodium-plated metal bracelet with foldover clasp.
The

coach outlet store online

are utilized for formal event in company area that will display your excellent taste.Not only does a briefcase make is easier to carry things.
tonnyben

Posts: 270
Registered: 11/14/11
Re: Spring inheritance, lazy-init with Compass namespace?
Posted: Nov 14, 2011 2:35 AM   in response to: davidl340 in response to: davidl340
 
  Click to reply to this thread Reply

coach factory outlet online

featured with stylish leather bags and signature materials, and carry this bag, it can designate people seem to be captivatingly feminine and good-looking. Why not to buy one when it is at an affordable price?
The products that

louis vuitton outlet

is countless, such as: purses, bags, handbags, shoes, belt. Even the same kind of product includes the products for women, the products for men, for summer-day use, for winter-day use.So, it is probably far beyond your imagination.
As a perfect combination of classic and modern fashion,

coach outlet online

can show the customers'unique personality.

hermes birkin

is your premier online shop for a wide range of quality Swarovski Crystal products such as Swarovski Crystals earring, Jewelry, Bracelet etc.
You could find them in desirable quality and price. If you don't mind high class louis vuitton replica bags, have a good time at

louis vuitton outlet online

.

coach purses

tend to be among finest style strikes associated with these days! They're the standing image that many ladies possess, or even, intend on obtaining.
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums