[Building Sakai] Check server started

Aaron Zeckoski azeckoski at unicon.net
Mon May 20 05:16:08 PDT 2013


You should not create Sakai services using "new". You should either inject
them using Spring or use the ComponentManager (though this will have the
same load order issue). The reason Sakai is using Spring is to manage load
order and dependency issues like this.
If you don't want to use spring then you are stuck reinventing the work
that Spring has already done. I recommend you use Spring.

-AZ


On Mon, May 20, 2013 at 7:57 AM, Francisco
<francisco.saez.sakai at gmail.com>wrote:

>  Hi Juan,
> thanks for the response, but in this case samigo components are not
> inyected with spring. We just create new instances of services (i.e:
> AssessmentService service = new AssessmentService();)...
>
> Regards,
> Francisco
>
> El 20/05/2013 13:29, Juan Arcadio Martínez Cárceles escribió:
>
> Hi Francisco,
>
> in your quartz job, in the spring component could use depends-on clause to
> point the services that your job needs.
>
> Cheers,
> Juan Arcadio
>
>
> El 20/05/2013 12:57, Francisco escribió:
>
> Hi all,
>
> anyone know how to check if sakai server is completely started and all its
> components loaded from a scheduled job? Our problem comes because we have a
> job that uses samigo logic, and when we start the server, sometimes (and
> the word is sometimes) that job starts working before samigo is loaded...
>
> Regards,
> Francisco.
> --
>
> [image: Samoo LOGO]**** <http://www.samoo.es/>
>
> ** ** <http://www.samoo.es/>
>
> *Francisco Sáez*
>
> *Analista - Programador*
>
> francisco.saez at samoo.es****
>
> +34 - 673 80 32 69 ****
>
> www.samoo.es****
>
> ** **
>
> Este  correo  y  sus archivos asociados son privados y confidenciales y va
> dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser
> el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga
> en  conocimiento del emisor. La difusión por cualquier medio del contenido
> de  este  correo podría ser sancionada conforme a lo previsto en las leyes
> españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter
> Personal.  No  se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor o del
> destinatario.”****
>
> ** **
>
> This mail and its attached files are confidential and are only and
> exclusively intended to their addressee. In case you may receive this mail
> not being its addressee, we beg you to let us know the error by reply and
> to proceed to destroy it. The circulation by any mean of this mail could be
> penalised in accordance with the Spanish legislation. Is not allowed the
> use of both, the transmitter and the addressee’s, address with a commercial
> aim, or in order to be incorporated to automated data process or to any
> kind of files. ****
>
> ** **
>
> P Antes de imprimir este correo electrónico piense bien si es necesario
> hacerlo. El medioambiente es cosa de todos.****
>
> ** **
>
> ** **
>
>
> _______________________________________________
> sakai-dev mailing listsakai-dev at collab.sakaiproject.orghttp://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
>
> _______________________________________________
> sakai-dev mailing listsakai-dev at collab.sakaiproject.orghttp://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
>
> --
>
> [image: Samoo LOGO]**** <http://www.samoo.es/>
>
> ** ** <http://www.samoo.es/>
>
> *Francisco Sáez*
>
> *Analista - Programador*
>
> francisco.saez at samoo.es****
>
> +34 - 673 80 32 69 ****
>
> www.samoo.es****
>
> ** **
>
> Este  correo  y  sus archivos asociados son privados y confidenciales y va
> dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser
> el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga
> en  conocimiento del emisor. La difusión por cualquier medio del contenido
> de  este  correo podría ser sancionada conforme a lo previsto en las leyes
> españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter
> Personal.  No  se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor o del
> destinatario.”****
>
> ** **
>
> This mail and its attached files are confidential and are only and
> exclusively intended to their addressee. In case you may receive this mail
> not being its addressee, we beg you to let us know the error by reply and
> to proceed to destroy it. The circulation by any mean of this mail could be
> penalised in accordance with the Spanish legislation. Is not allowed the
> use of both, the transmitter and the addressee’s, address with a commercial
> aim, or in order to be incorporated to automated data process or to any
> kind of files. ****
>
> ** **
>
> P Antes de imprimir este correo electrónico piense bien si es necesario
> hacerlo. El medioambiente es cosa de todos.****
>
> ** **
>
> ** **
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130520/c5acab94/attachment.html 


More information about the sakai-dev mailing list