2016-04-03 5 views
1

私はsetup solr、camel-toolbox:fcrepo-indexing-solrを持っていて、インデックス可能なプロパティをリポジトリオブジェクトに追加しました。 それで、フセキやゴマもセットアップする必要がありますか?それともsolrだけでいいですか?fedora commonsの外部検索のためにsolplerと一緒にtriplestoreを設定する必要がありますか?

私はいくつかのトランザクションをして、新しいオブジェクトを作成したり更新しています。しかし、私はsolrクエリページ内のインデックスオブジェクトを見つけることができません。

netstatから、私は61616(JMSポート)44863 & 44862(camel-solr-indexing ports)からの通信を見ることができます。

しかし、solrスタンドアロンサーバーとの通信はありません。だから、私はインデックスされたオブジェクトがsolrで全く作成されていないと思います。

私はここで何が欠けていますか?

transaction.logとvelocity.logという2つのログがあります。私がfedoraオブジェクトに対して行った最近のトランザクションのエントリがあれば、情報を得ることを考えました。しかし、私は見つけることができませんでした。

.

.

.

2016-04-03 16:50:25,230 - ResourceManager : found /views/mode-root.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,230 - ResourceManager : found /views/mode-root.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,231 - Could not load resource '/views/mode-repository.vsl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: ClasspathResourceLoader Error: cannot find resource /views/mode-repository.vsl

2016-04-03 16:50:25,231 - Could not load resource '/views/mode-repository.vsl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: ClasspathResourceLoader Error: cannot find resource /views/mode-repository.vsl

2016-04-03 16:50:25,231 - Could not load resource '/views/nt-base.vsl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: Classpat hResourceLoader Error: cannot find resource /views/nt-base.vsl

2016-04-03 16:50:25,231 - Could not load resource '/views/nt-base.vsl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: Classpat hResourceLoader Error: cannot find resource /views/nt-base.vsl

2016-04-03 16:50:25,232 - Could not load resource '/views/mix-created.vsl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: Clas spathResourceLoader Error: cannot find resource /views/mix-created.vsl

2016-04-03 16:50:25,232 - Could not load resource '/views/mix-created.vsl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: Clas spathResourceLoader Error: cannot find resource /views/mix-created.vsl

2016-04-03 16:50:25,235 - ResourceManager : found /views/jcr-nodetypes.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,235 - ResourceManager : found /views/jcr-nodetypes.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,238 - ResourceManager : found /views/node.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,238 - ResourceManager : found /views/node.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,241 - ResourceManager : found /views/fcr-versions.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,241 - ResourceManager : found /views/fcr-versions.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,243 - ResourceManager : found /views/fcr-fixity.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2016-04-03 16:50:25,243 - ResourceManager : found /views/fcr-fixity.vsl with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

とtransaction.logはこれだけ含まれています:そして、あなたの情報のため、velocity.logは次のように終了

2016-04-03 16:50:18,286 [main] INFO com.arjuna.ats.arjuna - ARJUNA012163: Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 35848

2016-04-03 16:50:18,298 [main] INFO com.arjuna.ats.arjuna - ARJUNA: TransactionStatusManagerItem host: 127.0.0.1 port: 35848

2016-04-03 16:50:18,328 [main] INFO com.arjuna.ats.arjuna - ARJUNA012170: TransactionStatusManager started on port 35848 and host 127.0.0.1 with service com.arjuna.ats

.arjuna.recovery.ActionStatusService

しかし、ポート上のnetstatの出力には何の実行中のサービス35848.

答えて

0

私は、このソリューションがそれにつきものになる可能性がある他の誰もがアクセスできることを確認したかったのです。この質問は、Fedora Community Google Group(https://groups.google.com/forum/#!searchin/fedora-community/triplestore/fedora-community/Fo4o98P_Tk4/H2WCGl8kEAAJ)のOPによっても投稿され、そこのメンバーが回答しました。

蒸留するには:Apache Camelを使用してFedora Commons 4.xイベントを取得し、Solrなどの検索エンジンにコンテンツ/更新を送信することをおすすめします。 SolrはFedora Commonsシステムの外部検索サービスとして機能します。最後に、KarafはApache Camelを展開する方法として推奨されました。

私は以下の答えを引用しました。

You will find some information on this page under "Deployment": https://wiki.duraspace.org/display/FEDORA4x/Setup+Camel+Message+Integrations

Basically, though, the first time you start Karaf, you use $KARAF_HOME/bin/karaf

From within the console, you install the "service wrapper":

$> feature:install wrapper $> wrapper:install

Then, you can quit the karaf session (CTRL-d). From there, Karaf can be started either as a system service:

service karaf-service start 

or manually:

$KARAF_HOME/bin/karaf-service start 

Now, in order to connect to Karaf, you can either use SSH:

ssh -p8101 -lkaraf localhost (the default pw is 'karaf') 

or simply:

$KARAF_HOME/bin/client 

For more details, I would recommend the Karaf documentation: http://karaf.apache.org/documentation.html

+0

こんにちはハドソン、ここで答えを投稿していただきありがとうございます。はい、カラフを使用することをお勧めします。しかし、まだラクダのいくつかの問題。私はもう一度それを試さなければならない。 –

関連する問題