Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321671

Summary: 5 Minutes Tutorial doesn't work, section about changing the workflow
Product: z_Archived Reporter: nils.thieme
Component: SmilaAssignee: Project Inbox <smila.irms-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel.stucky, svoigt.brox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description nils.thieme CLA 2010-08-04 03:07:16 EDT
Build Identifier: I20100608-0911

If I had change the workflow as in the tutorial described it get the following error message if I try to start the web crawler by the JConsole interface:

Error during executeCrawl of DataSourceId 'web': org.eclipse.smila.connectivity.deltaindexing.DeltaIndexingException: data source web is already locked by another session

Reproducible: Always

Steps to Reproduce:
1. Work on the tutorial.
2. Start the web crawler by JConsole
Comment 1 nils.thieme CLA 2010-08-04 03:51:14 EDT
The bug can be narrowed. In the config file QueueWorkerListenerConfig the first rule must be changed by the tutorial. If the number threads still remains 4 the error message is shown. It seeams that a thread problem exists.

Error entry in config file:

<Rule Name="ADD Rule" WaitMessageTimeout="10" Threads="4">
  <Source BrokerId="broker1" Queue="SMILA.connectivity"/>
  <Condition>Operation='ADD' and NOT(DataSourceID LIKE 'web%')</Condition>
  <Task>
    <Process Workflow="AddPipeline"/>
  </Task>
</Rule>
Comment 2 Sebastian Voigt CLA 2010-08-06 05:21:23 EDT
Hi Nils,

thank you for the feedback and welcome to eclipse smila.

The error messages: 
org.eclipse.smila.connectivity.deltaindexing.DeltaIndexingException: data
source web is already locked by another session
applies to a bundle that is necessary for the crawling process. 
The amount of listener-threads should have no impact to this locking problem.

A database entry seems to be locked. Can you describe how you get to this status?



For a fresh new start please delete your workspace folder (it will erased all database including the index).

I will also daniel as CC, maybe it has some relevance to bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302634.

Thanks in advance for your effort

Sebastian
Comment 3 Sebastian Voigt CLA 2010-08-16 09:28:05 EDT
I can reproduce this problem.

I will fix that in the next upcoming days
Comment 4 Sebastian Voigt CLA 2010-08-16 09:31:14 EDT
Ups, i am sorry, i had the wrong bug open.

Do you have new experiences with the problem in this bug?

Sometimes the deltaindexing will be locked (e.gg if you kill the application).
but you can
delete the whole workspace

or use the JConsole to unlock a specific datasource deltaindexing db. 

(In reply to comment #3)
> I can reproduce this problem.
> 
> I will fix that in the next upcoming days
Comment 5 Igor Novakovic CLA 2011-09-21 06:45:31 EDT
Since we completely updated 5 minutes tutorial I am closing this bug.
Comment 6 Andreas Weber CLA 2013-04-15 11:48:08 EDT
Closing this