Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Module initialization warning
Started by Borja at 06-11-2008 4:43. Topic has 7 replies.

Print Search « Previous Thread Next Thread »
  06-11-2008, 4:43
Borja is not online. Last active: 6/13/2008 9:50:36 AM Borja

Top 500 Posts
Joined on 02-04-2008
Posts 10
Module initialization warning
Reply Quote
Hellow I´m a problem with a web service. this web service implements a LeadTools OCR v15
when I use this web service with a mass consumption way , I have the next problem:

3664 || 10/06/2008 14:36:42 ||  Error || Error ||  Espacio de nombres: Leadtools.Document. Clase: RasterDocumentEngine. Método: Startup. Línea:  36. Mensaje: Module initialization warning.
3664 || 10/06/2008 14:36:42 ||  Information || Info || Leadtools.Document.RasterDocumentException: Module initialization warning
   at Leadtools.Document.RasterDocumentEngine.Startup()

the execution of web services isn´t parallel
   Report 
  06-12-2008, 8:53
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 290
Re: Module initialization warning
Reply Quote

Are you sure that you are not running parallel services?

 

What do you mean by "mass consumption way"? Is that a single document with large number of pages? Or is it multiple OCR jobs?


Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
  06-13-2008, 4:54
Borja is not online. Last active: 6/13/2008 9:50:36 AM Borja

Top 500 Posts
Joined on 02-04-2008
Posts 10
Re: Module initialization warning
Reply Quote

"mass consumption way" --> Or is it multiple OCR jobs

multi threads call to one web Service

 


   Report 
  06-15-2008, 6:35
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 290
Re: Module initialization warning
Reply Quote
I'm still not sure how your service works, but our OCR engine can handle only one job at a time.

This means you cannot initialize 2 or more instances of the OCR engine in the same process space at the same time. Are you sure your service does not do this?

Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
  06-20-2008, 5:11
Borja is not online. Last active: 6/13/2008 9:50:36 AM Borja

Top 500 Posts
Joined on 02-04-2008
Posts 10
Re: Module initialization warning
Reply Quote
how can i know if RasterDocumentEngine is startup or shutdown

   Report 
  06-22-2008, 10:05
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 290
Re: Module initialization warning
Reply Quote
If you call Leadtools.Document.RasterDocumentEngine.Startup() and it succeeds, you can set some global flag variable to True, and this variable will tell you that the engine was started.

You can set this variable to False when you call RasterDocumentEngine.Shutdown()

Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
  06-23-2008, 5:20
Borja is not online. Last active: 6/13/2008 9:50:36 AM Borja

Top 500 Posts
Joined on 02-04-2008
Posts 10
Re: Module initialization warning
Reply Quote
I can not do this

Because the ocr module is a plugin in my aplication

(Yo no puedo hacer esto porque el modulo de OCR en mi aplicación es un plugin )

   Report 
  06-24-2008, 9:06
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 290
Re: Module initialization warning
Reply Quote
I'm not sure what you mean by that. If you are using our LEADTOOLS OCR engine, you must call Startup somewhere. When you do that, simply store a value that indicates you started it.


Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » OCR » Module initialization warning

Powered by Community Server, by Telligent Systems