Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SMILA/FAQ"

(Add SMILA category)
Line 1: Line 1:
This pages contains the frequently asked questions of the SMILA project. Please note that in some of the questions and answers you might run across the abbreviation EILF, which refers to the former name of the SMILA project.  
+
This pages contains the frequently asked questions of the SMILA project. Please note that in some of the questions and answers you might run across the abbreviation SMILA, which refers to the former name of the SMILA project.  
  
 
== Launching SMILA ==
 
== Launching SMILA ==
  
=== Why is the ''EILF'' package not in the JConsole tree? ===
+
=== Why is the ''SMILA'' package not in the JConsole tree? ===
  
I've started <tt>EILF.exe</tt> but the EILF package isn't in the tree of JConsole.
+
I've started <tt>SMILA.exe</tt> but the SMILA package isn't in the tree of JConsole.
  
 
To solve this try the following:
 
To solve this try the following:
Line 17: Line 17:
 
=== I receive an ''Out of Memory'' error? What can I do? ===
 
=== I receive an ''Out of Memory'' error? What can I do? ===
  
While building with <tt>EILF.builder</tt> I receive the following errror message:  
+
While building with <tt>SMILA.builder</tt> I receive the following errror message:  
  
 
<code>Build Failed - Out of Memory - Java heap space</code>
 
<code>Build Failed - Out of Memory - Java heap space</code>
Line 35: Line 35:
 
<code>Could not find crawler id</code>
 
<code>Could not find crawler id</code>
  
If you started '''<tt>EILF.launch</tt>''' to launch SMILA: The launcher didn't start your new crawler bundle. Try this:
+
If you started '''<tt>SMILA.launch</tt>''' to launch SMILA: The launcher didn't start your new crawler bundle. Try this:
  
# Add your bundle by selecting "Open Run dialog" in eclipse and choose your EILF profile.
+
# Add your bundle by selecting "Open Run dialog" in eclipse and choose your SMILA profile.
 
# Select your bundle in the list and set the checkmark.
 
# Select your bundle in the list and set the checkmark.
 
# Set the start level to "4" and the autostart to "true".
 
# Set the start level to "4" and the autostart to "true".
  
If you started '''<tt>EILF.EXE</tt>''' to launch SMILA: Your bundle isn`t defined in <tt>config.ini</tt> or the start level isn´t correct. Try this:
+
If you started '''<tt>SMILA.EXE</tt>''' to launch SMILA: Your bundle isn`t defined in <tt>config.ini</tt> or the start level isn´t correct. Try this:
  
 
<ol>
 
<ol>
 
<li>Open the file <tt>config.ini</tt> and add your bundle as show below:<br>
 
<li>Open the file <tt>config.ini</tt> and add your bundle as show below:<br>
<code>org.eclipse.eilf.connectivity.framework.crawler.owncrawler@5:start, \</code></li>
+
<code>org.eclipse.smila.connectivity.framework.crawler.owncrawler@5:start, \</code></li>
 
<li>Open the <tt>build.properties</tt> file of your bundle and include the folders <tt>schemas/</tt>, <tt>OSGI-INF/</tt>, and the file <tt>plugin.xml</tt>.</li>
 
<li>Open the <tt>build.properties</tt> file of your bundle and include the folders <tt>schemas/</tt>, <tt>OSGI-INF/</tt>, and the file <tt>plugin.xml</tt>.</li>
 
</ol>
 
</ol>
  
 
[[Category:SMILA]]
 
[[Category:SMILA]]

Revision as of 08:43, 16 October 2008

This pages contains the frequently asked questions of the SMILA project. Please note that in some of the questions and answers you might run across the abbreviation SMILA, which refers to the former name of the SMILA project.

Launching SMILA

Why is the SMILA package not in the JConsole tree?

I've started SMILA.exe but the SMILA package isn't in the tree of JConsole.

To solve this try the following:

  1. Create a new connection.
  2. Change your connection by setting the port "9004" on the Remote tab.
  3. Click the Connect button, switch to the MBeans tab, and check the tree again.

Building SMILA

I receive an Out of Memory error? What can I do?

While building with SMILA.builder I receive the following errror message:

Build Failed - Out of Memory - Java heap space

The reason for this is that Ant hasn´t enough heap space to build the project. You will have to expand the heap space by setting the VM arguments accordingly. In eclipse try the following:

  1. Click Open external tools dialog and select your Ant build profile.
  2. Switch to the JRE tab and add the following VM arguments: -Xms40m -Xmx512m.
  3. Save and build again.

Launching crawler bundles

How do I overcome the Could not find crawler id error message?

While launching SMILA I receive the following error message:

Could not find crawler id

If you started SMILA.launch to launch SMILA: The launcher didn't start your new crawler bundle. Try this:

  1. Add your bundle by selecting "Open Run dialog" in eclipse and choose your SMILA profile.
  2. Select your bundle in the list and set the checkmark.
  3. Set the start level to "4" and the autostart to "true".

If you started SMILA.EXE to launch SMILA: Your bundle isn`t defined in config.ini or the start level isn´t correct. Try this:

  1. Open the file config.ini and add your bundle as show below:
    org.eclipse.smila.connectivity.framework.crawler.owncrawler@5:start, \
  2. Open the build.properties file of your bundle and include the folders schemas/, OSGI-INF/, and the file plugin.xml.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.