Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-user] Build servlet bundle and have it ready to use

Hi Lorenzo,

 

so you created a new OSGi bundle with a servlet inside similar to the org.eclipse.smila.search.servlet bundle?

 

Hmm, never done this before... however:

The search servlet in SMILA runs in the embedded jetty webserver.

The jetty configuration can be found here:  SMILA\configuration\org.eclipse.smila.http.server\jetty.xml

So I think you have to add your webapp configuration there.

(Maybe it’s easier to use the existing search servlet webapp and add your servlet there (configuration\org.eclipse.smila.search.servlet\webapp\WEB-INF\web.xml)

 

If the problem is related to an OSGI service/bundle that isn’t started (because you talk about an “Activator”) have a look at the FAQ:

http://wiki.eclipse.org/SMILA/FAQ#I_implemented.2Fdeployed_an_OSGi_Service_but_it_seems_that_it_isn.27t_activated

 

Hope this helps.

 

Best regards,

Andreas

 

 

Von: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] Im Auftrag von Lorenzo Eccher
Gesendet: Freitag, 11. Oktober 2013 13:22
An: smila-user@xxxxxxxxxxx
Betreff: [smila-user] Build servlet bundle and have it ready to use

 

Hi to everybody.

I tried to build a servlet and deploy it into a running platform.
It is more or less similar to org.eclipse.smila.search.servlet.

I create it with its activator but debugging it connecting to smila.exe I saw that the activator is never call.

How can I tell to SMILA to activate my servlet?

Thank you

--


Lorenzo Eccher
lorenzo.eccher@xxxxxx
   (+39) 0461 312 306
Engineering Ingegneria informatica s.p.a
www.eng.it

ENGINEERING Society and Territory Trento Research Office
EIT-ITC Labs, Trento node

ESTRO Lab at FBK building
via Sommarive, 18
Povo - 38123 Trento

  Le informazioni trasmesse sono destinate esclusivamente alla persona o alla società in indirizzo e sono da intendersi confidenziali e riservate. Ogni trasmissione, inoltro, diffusione o altro uso di queste informazioni a persone o società differenti dal destinatario è proibita. Se ricevete questa comunicazione per errore, contattate il mittente e cancellate le informazioni da ogni computer.
  The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
  Die Informationen in dieser E-Mail-Mitteilung sind vertraulich und deren Verbreitung in jeglicher Art oder Form ist untersagt. Sollten Sie diese Nachricht irrtümlich erhalten haben, ersuchen wir Sie, sofort den Absender darüber zu informieren und die Mail zu löschen.


Back to the top